I tried to correct the file, but ... nothing...

But, I noticed another thing. If I start Tomcat with

        >tomcat run (in /usr/bin)

the output is visible on the screen but Tomcat doesn't work properly (tomcat
start correctly but if I try to access at 8080 ... it doesn't works)

instead, if I try with:

      >./tomcat start (where "tomcat" in this case, is the "script" in
/etc/rc.d/init.d/ that run the tomcat daemon ---> it run a command like:
daemon tomcat start ...)

the engine works but not the output.

Thanks, thanks for your interest!!!
----- Original Message -----
From: "Loïc Lefèvre" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 4:32 PM
Subject: RE: I don't see the output under Linux


> Okay, this file stands in the conf directory of Tomcat on your LINUX
server?
> If the answer is true, replace
> workers.tomcat_home=c:\jakarta-tomcat
>
> workers.java_home=c:\jdk1.2.2
>
> ps=\
>
> with the good parameters:
>
> especially:  ps=/         (Path separator for Linux is equals to / not \)
>
> Try and tell me...
>
> -----Message d'origine-----
> De : Stefano Bonnin [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 7 août 2001 16:04
> À : [EMAIL PROTECTED]
> Objet : Re: I don't see the output under Linux
>
>
> > Can you send your workers.properties file?
>
> Yes. This is my workers.properties:
>
> **************************************************
> workers.tomcat_home=c:\jakarta-tomcat
>
> workers.java_home=c:\jdk1.2.2
>
> ps=\
>
> worker.list=ajp12, ajp13
>
> worker.ajp12.port=8007
> worker.ajp12.host=localhost
> worker.ajp12.type=ajp12
> worker.ajp12.lbfactor=1
>
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
>
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp12, ajp13
>
> worker.inprocess.type=jni
>
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)classes
>
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jaxp.jar
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)parser.jar
>
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)jasper.jar
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)servlet.jar
>
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)webserver.jar
>
> worker.inprocess.class_path=$(workers.java_home)$(ps)lib$(ps)tools.jar
>
> worker.inprocess.cmd_line=-config
> worker.inprocess.cmd_line=$(workers.tomcat_home)/conf/jni_server.xml
> worker.inprocess.cmd_line=-home
> worker.inprocess.cmd_line=$(workers.tomcat_home)
>
>
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
> s)jvm.dll
>
>
> #
> # Setting the place for the stdout and stderr of tomcat
> #
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)inprocess.stdout
> worker.inprocess.stderr=$(workers.tomcat_home)$(ps)inprocess.stderr
>
>
>
> worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)
>
> ********************************************************
>
> Thanks (I wait your help).
>
> ----- Original Message -----
> From: "Loïc Lefèvre" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 07, 2001 3:07 PM
> Subject: RE: I don't see the output under Linux
>
>
> >
> > -----Message d'origine-----
> > De : Stefano Bonnin [mailto:[EMAIL PROTECTED]]
> > Envoyé : mardi 7 août 2001 14:47
> > À : [EMAIL PROTECTED]
> > Objet : Re: I don't see the output under Linux
> >
> >
> > Yes, if I add this attribute the tomcat.log (when I start tomcat)
become:
> >
> > 2001-08-07 01:40:57 - ContextManager: Adding context Ctx( /examples )
> > 2001-08-07 01:40:57 - ContextManager: Adding context Ctx( /admin )
> > 2001-08-07 01:40:57 - ContextManager: Adding context Ctx( /cocoon )
> > 2001-08-07 01:40:57 - ContextManager: Adding context Ctx(  )
> > 2001-08-07 01:40:57 - ContextManager: Adding context Ctx( /test )
> > 2001-08-07 01:40:57 - ContextManager: Adding context Ctx( /Cocoon )
> >
> > but no message other this are printed on this file.
> > (All System.out.println are not printed!!)
> >
> > Thanks.
> >
> > ----- Original Message -----
> > From: "Loïc Lefèvre" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, August 07, 2001 12:23 PM
> > Subject: RE: I don't see the output under Linux
> >
> >
> > > in your server.xml file, add the attibut path to:
> > >
> > >     <Logger name="tc_log"
> > >             path="/tmp/tomcat.log"       <---- here
> > >             verbosityLevel = "INFORMATION"
> > >     />
> > >
> > > ;)
> > >
> > > -----Message d'origine-----
> > > De : Stefano Bonnin [mailto:[EMAIL PROTECTED]]
> > > Envoyé : mardi 7 août 2001 09:39
> > > À : [EMAIL PROTECTED]
> > > Objet : I don't see the output under Linux
> > >
> > >
> > > I am a new linux user and I have just installed Tomcat under linux.
> > > I have developed an application and now I am testing it.
> > >
> > > Tomcat is installed on a linux server and I try to access it (at my
> > > application) with a windows 98 PC.
> > >
> > > I have introduced a System.out.println lines in my application (for
the
> > > testing phase), but I don't see theirs output.
> > > I have tried to do this (every time that tomcat is started):
> > >
> > >     > ./tomcat start > tomcat.out
> > >
> > > without success.
> > >
> > > How can I do a right redirect?
> > >
> > > Thanks in advance.
> > >
> > > Stefano
> > >
> >
>

Reply via email to