Where is this checkbox? How can i reach there? I am talking about TomCat
4.1.18...

-----Mensagem original-----
De: Goehring, Chuck Mr., RCI - San Diego
[mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de outubro de 2003 14:22
Para: Tomcat Users List
Assunto: RE: Bugs and weakness when Tomcat works a NT Service
(tcservcfg)


Jose,

I spent a long time trying to manually setup Tomcat to run as a service.
Finally ended up re-installing and checking the little checkbox that makes
it usable as a service.  It is unchecked by default. Once it is installed,
you can change the account it executes as in the services thingy in control
panel.

Chuck

-----Original Message-----
From: Jose Euclides da Silva Junior - DATAPREVRJ
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:11 AM
To: '[EMAIL PROTECTED]'
Subject: Bugs and weakness when Tomcat works a NT Service (tcservcfg)


Hi all,
there have been a nightmare since i ve decided to make TomCat 4.1.18 be a
Windows NT 4.0's Service.First of all, i ve the stuped idea of looking for a
program which could make it for me. So,  i found the nightmare main actor
--> tcservcfg and the second one --> windows!!!
Thus, i made the following steps:
1 - ...runned the main actor ( tcservcfg ) - OK!
2 -  started up the service - OK!
3 - test the environment - FAILURE!
NOW, THE NIGHTMARE begins
4 - Only the static pages are availables, so whenever my app tries to use
Result Sets, I get this error message:  

HTTP Status 500 - 

type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception 

java.lang.NullPointerException
        at BancoServlet.recuperaTopicoAssunto(BancoServlet.java:413)
        at BancoServlet.service(BancoServlet.java:249)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tion
FilterChain.java:247)

LINE 413 points to a  resultset statement, see below:

ring query = "Select * FROM DICAS WHERE ID_TOPICO = " + topico2;
      pstmt = con.prepareStatement(query);
      rs = pstmt.executeQuery();
      if ( !rs.next() ) 
         {   // --> THIS IS LINE 413 <--
            fechaconection( pstmt,rs,con);
            chamadevolta =
getServletContext().getRequestDispatcher("/semconteudo.jsp");
            chamadevolta.forward(request,response);
         }

5 - I ve tried to find something about permission but i didnt find anything.
6 - THE WORST: I stopped the service and tried to work as before -->
starting TomCat by running startup.bat file. Unfortunatelly, TomCat doesnt
starts up ANYMORE !!!
7- Then, i ve disabled all TomCat's services
8- Tried step 6 again - FAILURE AGAIN
9 - Finally, i ve removed the Registry key of TomCat service.
10 -  Tried step 6 again - FAILURE AGAIN - it is a loop, isnt it...

Really, any single help will be appreciated...
Euclides.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to