You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lull, Joe" <JL...@sybronlab.com> on 2000/10/06 15:36:38 UTC

Enviroment or Security Difference between running Tomcat normal o r as a service w\ winnt and win2k?

Greetings:

I have deployed a servlet that calls a method in an EJB.  The servlet works
fine as long as Tomcat is started from the command line but bombs out after
doing context.lookup when Tomcat is running as a service.  What differences
are there between running as a service or running from the command line that
could be causing this to fail?  

Thanks

Re: Enviroment or Security Difference between running Tomcat normal or as a service w\ winnt and win2k?

Posted by Steve Ruby <st...@rubysolutions.com>.
Steve Ruby wrote:
> 
> "Lull, Joe" wrote:
> >
> > Greetings:
> >
> > I have deployed a servlet that calls a method in an EJB.  The servlet works
> > fine as long as Tomcat is started from the command line but bombs out after
> > doing context.lookup when Tomcat is running as a service.  What differences
> > are there between running as a service or running from the command line that
> > could be causing this to fail?
> >
> > Thanks
> 
> When running from the command line tomcat is subject to the envronment
> of the user who launched it.. When running as a service it gets
> environment
> from the user specified as the "owner" (see services control pannel).


CLASSPATH is set from the users environment when starting fromt he
command
line, it is set from wrapper.properties (wrapper.class_path) when
starting
as a service.

Re: Enviroment or Security DiffereUNSUBSCRIBE gduvak@net-gate.com

Posted by gduvak <gd...@net-gate.com>.
UNSUBSCRIBE gduvak@net-gate.com


Re: Enviroment or Security Difference between running Tomcat normal or as a service w\ winnt and win2k?

Posted by Steve Ruby <st...@rubysolutions.com>.
"Lull, Joe" wrote:
> 
> Greetings:
> 
> I have deployed a servlet that calls a method in an EJB.  The servlet works
> fine as long as Tomcat is started from the command line but bombs out after
> doing context.lookup when Tomcat is running as a service.  What differences
> are there between running as a service or running from the command line that
> could be causing this to fail?
> 
> Thanks

When running from the command line tomcat is subject to the envronment
of the user who launched it.. When running as a service it gets
environment
from the user specified as the "owner" (see services control pannel).

context-param

Posted by Mauricio Santacruz <ma...@latinsecure.com>.
I have my directory /opt/tomcat/webapps/asv/WEB-INF/classes
my servlet in
ec/gov/sri/auto
find context-param but in
com/warehouseman/base
no

help me, tanks


System.out.println()

Posted by Mauricio Santacruz <ma...@latinsecure.com>.
How to System.out.printl() write in file??????