users@glassfish.java.net

Connecting to Glassfish server on Remote host(unix/linux). sending printout

From: <forums_at_java.net>
Date: Mon, 1 Oct 2012 04:33:03 -0500 (CDT)

Hi, I have a client/server application. the Glassfish is running on remote
host which unix/linux server I connect to glassfish
props1.setProperty("org.omg.CORBA.ORBInitialHost", "myRemoteHost");
props1.setProperty("org.omg.CORBA.ORBInitialPort", "3700"); My problem: I am
going to send the file to central printer from glassfish server. So I create
the .pcl file and run unix command to print out file. All these jobs are done
on server. When I create this .pcl file I want to write it on this folder
/glassfish/glassfish/domains/domain1/applications/prtintouts got an error
Could not create output file:
/glassfish/glassfish/domains/domain1/applications/prtintouts/15744_Document_11015_142101.pcl
My question is that when I connect to glassfish on unix server with host name
and port number what is then default username which should be known for unix
server in order the unix server allows this user to write the file on this
folder? If the admin is default user. Do I need to create a new user on unix
server named admin with the same password as glassfish admin user which
should have privilege to read and write on glassfish folder? Thanks for your
help. h.

--
[Message sent by forum member 'haleh']
View Post: http://forums.java.net/node/890907