Servlet problem
Hi!I have a problem with running a servlet.I use win98,I can execute JSP page(also mine) and i can execute the servlet examples.I can't use my servlet!How can i do?Where i have to put it?and how to visualize the result? THANKS A LOT!!!...also if you don't know how! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Re: Who can help me??
The version is 3.2.1 > > Da: "Arunas Andriulaitis" <[EMAIL PROTECTED]> > Data: 2001/02/09 Fri PM 03:41:58 GMT > A: <[EMAIL PROTECTED]> > Oggetto: Re: Who can help me?? > > what tomcat version do you use? > > try to place jsp files in tomcat/webbapps/root directory > and then try to get jsp files from your browser. > > Arunas Andriulaitis > Programmer > No Magic > Gedimino g. 47-407, 3000 Kaunas > P.O. box 2166, LT-3000, Kaunas > Phone: +370 7 324032 Fax: +370 7 320670 > e-mail: [EMAIL PROTECTED] > WWW: http://www.nomagic.com > > > > I'm a Java Developer,my name is Mariano Scardino. > > Now I need to work with JSP and so I would use TOMCAT.I downloaded it I > made > > something to configure it(directory structure,modify to server.xml > file,update > > the path for JAVA_HOME and TOMCAT_HOME in the tomcat.bat). > > However:I can see the index at "http://localhost:8080/index.htm" and also > use > > the examples of JSP:they work!but when I try to make my JSpage it > doesen't > > work!!I think it's a problem of startup.bat or tomcat.bat.Here is the > message I > > see in the secon window when I execute startup.bat: > > > > Starting tomcat. Check logs/tomcat.log for error messages > > 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /admin ) > > 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( ) > > 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /test ) > > Error generating automatic apache configuration > java.lang.NullPointerException: > > > > java.lang.NullPointerException: > > at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289) > > at org.apache.tomcat.task.ApacheConfig.execute(Compiled Code) > > at > > org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:217 > > ) > > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) > > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) > > Error generating automatic Netscape configuration > > java.lang.NullPointerException > > : > > java.lang.NullPointerException: > > at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289) > > at org.apache.tomcat.task.NSConfig.execute(Compiled Code) > > at > > org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229 > > ) > > at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) > > at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) > > 2001-02-09 12:56:56 - PoolTcpConnector: Starting HttpConnectionHandler on > 8080 > > 2001-02-09 12:56:56 - PoolTcpConnector: Starting Ajp12ConnectionHandler on > 8007 > > > > > > Who can help > > me? > > THANK you > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Who can help me??
I'm a Java Developer,my name is Mariano Scardino. Now I need to work with JSP and so I would use TOMCAT.I downloaded it I made something to configure it(directory structure,modify to server.xml file,update the path for JAVA_HOME and TOMCAT_HOME in the tomcat.bat). However:I can see the index at "http://localhost:8080/index.htm" and also use the examples of JSP:they work!but when I try to make my JSpage it doesen't work!!I think it's a problem of startup.bat or tomcat.bat.Here is the message I see in the secon window when I execute startup.bat: Starting tomcat. Check logs/tomcat.log for error messages 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /admin ) 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( ) 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /test ) Error generating automatic apache configuration java.lang.NullPointerException: java.lang.NullPointerException: at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289) at org.apache.tomcat.task.ApacheConfig.execute(Compiled Code) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:217 ) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) Error generating automatic Netscape configuration java.lang.NullPointerException : java.lang.NullPointerException: at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289) at org.apache.tomcat.task.NSConfig.execute(Compiled Code) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229 ) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) 2001-02-09 12:56:56 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-02-09 12:56:56 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 Who can help me? THANK you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Damned Configuration!!!
I'm a Java Developer,my name is Mariano Scardino. Now I need to work with JSP and so I would use TOMCAT.I downloaded it I made something to configure it(directory structure,modify to server.xml file,update the path for JAVA_HOME and TOMCAT_HOME in the tomcat.bat). However:I can see the index at "http://localhost:8080/index.htm" and also use the examples of JSP:they work!but when I try to make my JSpage it doesen't work!!I think it's a problem of startup.bat or tomcat.bat.Here is the message I see in the secon window when I execute startup.bat: Starting tomcat. Check logs/tomcat.log for error messages 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /admin ) 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( ) 2001-02-09 12:56:55 - ContextManager: Adding context Ctx( /test ) Error generating automatic apache configuration java.lang.NullPointerException: java.lang.NullPointerException: at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289) at org.apache.tomcat.task.ApacheConfig.execute(Compiled Code) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:217 ) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) Error generating automatic Netscape configuration java.lang.NullPointerException : java.lang.NullPointerException: at org.apache.tomcat.util.FileUtil.isAbsolute(FileUtil.java:289) at org.apache.tomcat.task.NSConfig.execute(Compiled Code) at org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229 ) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) 2001-02-09 12:56:56 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-02-09 12:56:56 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 Who can help me? THANK you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Fw: Time exceeded
HI,I don't know if the problem it's up to executing a servlet.I found the same problem many times executing an application on Oracle Db.I discovered that the problem was that sometimes the connection or the statement not close so the time exceeded depends on too much time opened connection(or statement).I suggest you to see if your connectiion and statement close also if your servlet throws an exception executing a query.And if you don't need to use "select" instruction use method:"executeUpdate(Str)"(return an int) instead of "executeQuery(Str).I hope that I could help you and you can help me! Bye,! Mariano Scardino > > Da: "Guillermo de Miguel" <[EMAIL PROTECTED]> > Data: 2001/02/09 Fri PM 12:21:12 GMT > A: <[EMAIL PROTECTED]> > Oggetto: Fw: Time exceeded > > > > Hi everyone, > I have a problem executing a servlet under Tomcat 3.2.1 and Apache 1.1.3. This >servlet is executing queries and the process consumes a lot of time. An advice from >Internet Explorer is show indicating that this server can't follow the task due to >time has excedeed. > I would like to know where must i fix a time limit, in my servlet or in tomcat, and >how to configure it. > A lot of thanks in advance. > > Hi everyone, I have a problem executing a servlet under Tomcat 3.2.1 and Apache 1.1.3. This servlet is executing queries and the process consumes a lot of time. An advice from Internet Explorer is show indicating that this server can't follow the task due to time has excedeed. I would like to know where must i fix a time limit, in my servlet or in tomcat, and how to configure it. A lot of thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Who can help me??you can see the error showed me in startup execution
I'm a Java Developer,my name is Mariano Scardino. Now I need to work with JSP and so I would use TOMCAT.I downloaded it I made something to configure it(directory structure,modify to server.xml file,update the path for JAVA_HOME and TOMCAT_HOME in the tomcat.bat). However:I can see the index at "http://localhost:8080/index.htm" and also use the examples of JSP:they work!but when I try to make my JSpage it doesen't work!!I think it's a problem of startup.bat or tomcat.bat.I attacched a file in wich you can see the error showed me in startup execution.Who can help me?PLEASEE!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Who can help me??
I'm a Java Developer,my name is Mariano Scardino. Now I need to work with JSP and so I would use TOMCAT.I downloaded it I made something to configure it(directory structure,modify to server.xml file,update the path for JAVA_HOME and TOMCAT_HOME in the tomcat.bat). However:I can see the index at "http://localhost:8080/index.htm" and also use the examples of JSP:they work!but when I try to make my JSpage it doesen't work!!I think it's a problem of startup.bat or tomcat.bat.Who can help me?PLEASEE!!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]