You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jose Euclides da Silva Junior - DATAPREVRJ <Jo...@rj.previdenciasocial.gov.br> on 2003/10/18 01:40:46 UTC

RES: Urgent help -crazy error when turnning tomcat a NT4.0 Servi ce

I ve put tools.jar at my JAVA HOME - like that -->
c:\j2sdk1.4.1_01\lib\tools.jar. Unfortunatelly, this problem goes on 
I am still needing help. Euclides.
-----Mensagem original-----
De: Filip Hanik [mailto:devlists@hanik.com]
Enviada em: sexta-feira, 17 de outubro de 2003 19:45
Para: Tomcat Users List
Assunto: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


the only thing I can think of is that JAVA_HOME (tools.jar in CLASSPATH)
is not set correctly when running as a service, this
would cause static pages to show up, but compiled pages to fail during
compilation

Filip

----- Original Message -----
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<Jo...@rj.previdenciasocial.gov.br>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Friday, October 17, 2003 3:44 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Ok, i will try to find out something like that...


-----Mensagem original-----
De: John Corrigan [mailto:john@johncorrigan.net]
Enviada em: sexta-feira, 17 de outubro de 2003 19:38
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


No.

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@rj.previdenciasocial.gov.br]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-----Mensagem original-----
De: John Corrigan [mailto:john@johncorrigan.net]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@rj.previdenciasocial.gov.br]
Sent: Friday, October 17, 2003 3:13 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me -> http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides.






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Urgent help -crazy error when turnning tomcat a NT4.0 Service

Posted by John Corrigan <jo...@johncorrigan.net>.
If Jose is using a 4.1.x version of Tomcat and using the tools which are
included with Tomcat for running it as a service then environment variables
are irrelevant other than during the service installation process.  To
change CLASSPATH or any other Java environment settings, he would have to
edit the registry.

It is not clear as to whether by "dynamic" pages he is referring to JSPs,
servlets, or those which access the database.  If it is only JSPs which
fail, then I would suspect that the jvm.dll pointed to is incorrect (common
problem with 4.1.24).  If it is only database access (which the original
post implied) then I would stick with my original hunch that it is a
permissions issue, depending upon the database/driver.

-----Original Message-----
From: Filip Hanik [mailto:devlists@hanik.com]
Sent: Friday, October 17, 2003 4:51 PM
To: Jose Euclides da Silva Junior - DATAPREVRJ; 'Tomcat Users List'
Subject: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


no, set your

JAVA_HOME=c:\j2sdk1.4.1_01

nothing else
then set

PATH=%JAVA_HOME%\bin;%PATH%

in your computer environments, not the user environment

----- Original Message -----
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<Jo...@rj.previdenciasocial.gov.br>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>;
<de...@hanik.com>
Sent: Friday, October 17, 2003 4:40 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


I ve put tools.jar at my JAVA HOME - like that -->
c:\j2sdk1.4.1_01\lib\tools.jar. Unfortunatelly, this problem goes on
I am still needing help. Euclides.
-----Mensagem original-----
De: Filip Hanik [mailto:devlists@hanik.com]
Enviada em: sexta-feira, 17 de outubro de 2003 19:45
Para: Tomcat Users List
Assunto: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


the only thing I can think of is that JAVA_HOME (tools.jar in CLASSPATH)
is not set correctly when running as a service, this
would cause static pages to show up, but compiled pages to fail during
compilation

Filip

----- Original Message -----
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<Jo...@rj.previdenciasocial.gov.br>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Friday, October 17, 2003 3:44 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Ok, i will try to find out something like that...


-----Mensagem original-----
De: John Corrigan [mailto:john@johncorrigan.net]
Enviada em: sexta-feira, 17 de outubro de 2003 19:38
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


No.

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@rj.previdenciasocial.gov.br]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-----Mensagem original-----
De: John Corrigan [mailto:john@johncorrigan.net]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@rj.previdenciasocial.gov.br]
Sent: Friday, October 17, 2003 3:13 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me -> http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides.






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Urgent help -crazy error when turnning tomcat a NT4.0 Service

Posted by Filip Hanik <de...@hanik.com>.
no, set your

JAVA_HOME=c:\j2sdk1.4.1_01

nothing else
then set

PATH=%JAVA_HOME%\bin;%PATH%

in your computer environments, not the user environment

----- Original Message -----
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<Jo...@rj.previdenciasocial.gov.br>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>;
<de...@hanik.com>
Sent: Friday, October 17, 2003 4:40 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


I ve put tools.jar at my JAVA HOME - like that -->
c:\j2sdk1.4.1_01\lib\tools.jar. Unfortunatelly, this problem goes on
I am still needing help. Euclides.
-----Mensagem original-----
De: Filip Hanik [mailto:devlists@hanik.com]
Enviada em: sexta-feira, 17 de outubro de 2003 19:45
Para: Tomcat Users List
Assunto: Re: Urgent help -crazy error when turnning tomcat a NT4.0
Service


the only thing I can think of is that JAVA_HOME (tools.jar in CLASSPATH)
is not set correctly when running as a service, this
would cause static pages to show up, but compiled pages to fail during
compilation

Filip

----- Original Message -----
From: "Jose Euclides da Silva Junior - DATAPREVRJ"
<Jo...@rj.previdenciasocial.gov.br>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Friday, October 17, 2003 3:44 PM
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Ok, i will try to find out something like that...


-----Mensagem original-----
De: John Corrigan [mailto:john@johncorrigan.net]
Enviada em: sexta-feira, 17 de outubro de 2003 19:38
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


No.

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@rj.previdenciasocial.gov.br]
Sent: Friday, October 17, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: RES: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Why? its no make sense... I didnt setted up any kind of rule about it. I
guess, if you were right
none page would be showed! Isnt it?

-----Mensagem original-----
De: John Corrigan [mailto:john@johncorrigan.net]
Enviada em: sexta-feira, 17 de outubro de 2003 19:20
Para: Tomcat Users List
Assunto: RE: Urgent help -crazy error when turnning tomcat a NT4.0
Service


Perhaps the service needs to run as a different user?

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:Jose.Euclides@rj.previdenciasocial.gov.br]
Sent: Friday, October 17, 2003 3:13 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Urgent help -crazy error when turnning tomcat a NT4.0 Service


Howdy,
this is really a strange error. My app was running fine until TomCat 4.1.18
became a NT service. After that, only static web pages runs fine and the
environment  always returns me -> http 500 error when a dinamic page is
called ( accessing database).
Thanks in advance, Euclides.






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org