Re: Http-status 500 error in Tomcat 4.1
Hello all, I tried both the options: 1. I uninstalled the tomcat and reinstalled so that not it resides c:\tomcat1.4 2. I tried changing my URL Patern url-pattern/servets/TestServlet/url-pattern Now I am able to get the html file correctly and after clicking the show button it gives the following error: HTTP Status 404 - /testapp/TestServlet ---servlet not found. Where i went wrong? Please enlighten On 8/18/05, Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: Good spotted -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 18 August 2005 10:00 To: Tomcat Users List Subject: Re: Http-status 500 error in Tomcat 4.1 Just guessing, but are your servlets in a package? Packageless classes do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html Mark subi wrote: Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp -here i have a sample.htmfile 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF -here is the web.xml resides my web.xml entry is like this: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /web-app -- the sample.htm has the following entries: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body pfont color=#99Hello, Welcome!/font /p form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self input type=submit name=Submit value=Click Me /form pnbsp; /p /body /html --- Here is what I done: 1. I started the Tomcat server 2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm; 3. clicked the button which gives the error HTTP Status 500 - TestServlet is not found Please tell me what is the problem? - 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] -- ilu, subi
Re: Http-status 500 error in Tomcat 4.1
Hi subi, you hav did servlet deployment almost correct but in url-pattern you hav made a little mistake.Change it to: servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/servlet/TestServlet/url-pattern /servlet-mapping Try it and reply. - Original Message - From: subi [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, August 18, 2005 11:28 AM Subject: Http-status 500 error in Tomcat 4.1 Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp -here i have a sample.htmfile 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF -here is the web.xml resides my web.xml entry is like this: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /web-app -- the sample.htm has the following entries: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body pfont color=#99Hello, Welcome!/font /p form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self input type=submit name=Submit value=Click Me /form pnbsp; /p /body /html --- Here is what I done: 1. I started the Tomcat server 2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm; 3. clicked the button which gives the error HTTP Status 500 - TestServlet is not found Please tell me what is the problem? -- ilu, subi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Http-status 500 error in Tomcat 4.1
Well I can also think of one more issue ... Installing tomcat in a directory with spaces in them I would rather suggest that you install tomcat in directory without spaces ( not C:\Program Files\Apache Group\Tomcat 4.1\ ) c:\Server\tomcat4.1\ will be a good option. I had loads of problems when I installed tomcat to C:\Program Files\Apache Group\Tomcat 4.1\ Regards Guru -Original Message- From: Rakesh [mailto:[EMAIL PROTECTED] Sent: 18 August 2005 10:01 To: Tomcat Users List Subject: Re: Http-status 500 error in Tomcat 4.1 Hi subi, you hav did servlet deployment almost correct but in url-pattern you hav made a little mistake.Change it to: servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/servlet/TestServlet/url-pattern /servlet-mapping Try it and reply. - Original Message - From: subi [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, August 18, 2005 11:28 AM Subject: Http-status 500 error in Tomcat 4.1 Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp -here i have a sample.htmfile 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF -here is the web.xml resides my web.xml entry is like this: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /web-app -- the sample.htm has the following entries: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body pfont color=#99Hello, Welcome!/font /p form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self input type=submit name=Submit value=Click Me /form pnbsp; /p /body /html --- Here is what I done: 1. I started the Tomcat server 2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm; 3. clicked the button which gives the error HTTP Status 500 - TestServlet is not found Please tell me what is the problem? -- ilu, subi - 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]
Re: Http-status 500 error in Tomcat 4.1
Just guessing, but are your servlets in a package? Packageless classes do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html Mark subi wrote: Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp -here i have a sample.htmfile 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF -here is the web.xml resides my web.xml entry is like this: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /web-app -- the sample.htm has the following entries: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body pfont color=#99Hello, Welcome!/font /p form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self input type=submit name=Submit value=Click Me /form pnbsp; /p /body /html --- Here is what I done: 1. I started the Tomcat server 2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm; 3. clicked the button which gives the error HTTP Status 500 - TestServlet is not found Please tell me what is the problem? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Http-status 500 error in Tomcat 4.1
Good spotted -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 18 August 2005 10:00 To: Tomcat Users List Subject: Re: Http-status 500 error in Tomcat 4.1 Just guessing, but are your servlets in a package? Packageless classes do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html Mark subi wrote: Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp -here i have a sample.htmfile 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF -here is the web.xml resides my web.xml entry is like this: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /web-app -- the sample.htm has the following entries: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body pfont color=#99Hello, Welcome!/font /p form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self input type=submit name=Submit value=Click Me /form pnbsp; /p /body /html --- Here is what I done: 1. I started the Tomcat server 2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm; 3. clicked the button which gives the error HTTP Status 500 - TestServlet is not found Please tell me what is the problem? - 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]
Re: Http-status 500 error in Tomcat 4.1
Hi Subi, 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet But ur class files shud be in : C:\Program Files\Apache Group\ Tomcat4.1\webapps\testapp\WEB-INF\classes And in ur html file ur form action shud be instead of : form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self It shud be : action=http:\\localhost:8080\testapp\servlet\TestServlet Hope this will work ... With Regards, Litty Preeth Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Http-status 500 error in Tomcat 4.1
Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me. Here is my webapp structure: 1. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\classes -here i have my servlet classes 2. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\jsp -here i have a sample.htmfile 3. C:\Program Files\Apache Group\Tomcat 4.1\webapps\testapp\WEB-INF -here is the web.xml resides my web.xml entry is like this: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameTestServlet/servlet-name servlet-classTestServlet/servlet-class /servlet servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping /web-app -- the sample.htm has the following entries: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body pfont color=#99Hello, Welcome!/font /p form action=http:\\localhost:8080\testapp\TestServlet method=post name=form1 target=_self input type=submit name=Submit value=Click Me /form pnbsp; /p /body /html --- Here is what I done: 1. I started the Tomcat server 2. opened the IE browser and http://localhost:8080/testapp/jsp/sample.htm; 3. clicked the button which gives the error HTTP Status 500 - TestServlet is not found Please tell me what is the problem? -- ilu, subi
HTTP Status 500
I have having problems with a servlet using Tomcat 5.0.25. In my research it appears to be associated with the Invoker. However, when I go through the Environmental and Container Dependencies everything checks out. I have my system set up to run both a Tomcat project and a JBoss project simultaneously. Up until now, I have had no problems with that configuration. The following is the display seen in the browser: * HTTP Status 500 - _ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class com.ikano.wildblue.web.QueueServlet org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) java.lang.Thread.run(Thread.java:534) root cause java.lang.NoClassDefFoundError: com/ikano/wildblue/Queue java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:1610) java.lang.Class.getConstructor0(Class.java:1922) java.lang.Class.newInstance0(Class.java:278) java.lang.Class.newInstance(Class.java:261) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) java.lang.Thread.run(Thread.java:534) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs. _ Apache Tomcat/5.0.25 * Here is the information from the Log file... # 2005-08-11 16:34:48 StandardContext[/jsp-examples]SessionListener: contextDestroyed() 2005-08-11 16:34:48 StandardContext[/jsp-examples]ContextListener: contextDestroyed() 2005-08-11 16:34:49 StandardContext[/servlets-examples]SessionListener: contextDestroyed() 2005-08-11 16:34:49 StandardContext[/servlets-examples]ContextListener: contextDestroyed() 2005-08-11 16:35:02 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 2005-08-11 16:35:02 StandardContext[/jsp-examples]ContextListener: contextInitialized() 2005-08-11 16:35:02 StandardContext[/jsp-examples]SessionListener: contextInitialized() 2005-08-11 16:35:05 StandardContext[/servlets-examples]ContextListener: contextInitialized() 2005-08-11 16:35:05 StandardContext[/servlets-examples]SessionListener: contextInitialized() 2005-08-11 16:36:27 StandardContext[/jsp-examples]SessionListener: contextDestroyed() 2005-08-11 16:36:27 StandardContext[/jsp-examples]ContextListener: contextDestroyed() 2005-08-11 16:36:28 StandardContext[/servlets-examples]SessionListener: contextDestroyed() 2005-08-11 16:36:28 StandardContext[/servlets-examples]ContextListener: contextDestroyed() 2005-08-11 16:36:47 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 2005-08-11 16:36:47 StandardContext[/jsp-examples]ContextListener: contextInitialized() 2005-08-11 16:36:47 StandardContext[/jsp-examples]SessionListener
Re: Rookie needs help resolving HTTP Status 500 error message
And be advised that you have to recapitulate your package structure in the directory hierarchy under ..WEB-INF\classes. In other words, if you compile your bean inside package org.company.my.java, then you should place the class file for your bean in ..WEB-INF\classes\org\company\my\java QM wrote: On Sun, Mar 20, 2005 at 03:45:23PM -0500, Barry Kimelman wrote: : An error occurred at line: 8 in the jsp file: /logon.jsp : Generated servlet error: : DatabaseBean cannot be resolved or is not a type : [snip] : jsp:useBean id=foobar scope=session class=DatabaseBean / : [more snip] The error message indicates that the class DatabaseBean is not in a package, such as com.someproject.DatabaseBean Packageless classes are discouraged, and will not load under Tomcat 5.x and later (aka servlet spec 2.3 and later). Put your DatabaseBean class in a package and this error should fade away. -QM - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Rookie needs help resolving HTTP Status 500 error message
My system is a Windows XP PC running Tomcat 5.5.8 I have been able to compile and install my Tomcat project. When I visit the URL corresponding to my Tomcat project I see the "starting" page I expected to see. When I click on the "SUBMIT" button on the form on the main page, I receive the following error message from Tomcat : ======== HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 8 in the jsp file: /logon.jsp Generated servlet error: DatabaseBean cannot be resolved or is not a type An error occurred at line: 8 in the jsp file: /logon.jsp Generated servlet error: DatabaseBean cannot be resolved or is not a type An error occurred at line: 8 in the jsp file: /logon.jsp Generated servlet error: DatabaseBean cannot be resolved or is not a type == The contents of the named JSP file is as follows : %@ page language="java" contentType="text/html" %%-- This JSP is to test my own personal Bean/class. --%htmlheadtitleLogon/title/headbodyjsp:useBean id="foobar" scope="session" class="DatabaseBean" /jsp:setProperty name="foobar" property="*" / %-- First call the method that generates the data --%%foobar.user_logon();% %-- Now call the method that retrieves the generated data --%%= foobar.getHtmldata() % /body/html I checked the directory structure where my Tomcat project was deployed and I found that my class file DatabaseBean.class file was located under the WEB-INF\classes sub-directory as expected. So why am I receiving the error message from Tomcat ? Is there something I need to do to set the value for CLASSPATH ? * Barry KimelmanToronto, Ontario, Canadaemail :[EMAIL PROTECTED] , [EMAIL PROTECTED]
Re: Rookie needs help resolving HTTP Status 500 error message
On Sun, Mar 20, 2005 at 03:45:23PM -0500, Barry Kimelman wrote: : An error occurred at line: 8 in the jsp file: /logon.jsp : Generated servlet error: : DatabaseBean cannot be resolved or is not a type : [snip] : jsp:useBean id=foobar scope=session class=DatabaseBean / : [more snip] The error message indicates that the class DatabaseBean is not in a package, such as com.someproject.DatabaseBean Packageless classes are discouraged, and will not load under Tomcat 5.x and later (aka servlet spec 2.3 and later). Put your DatabaseBean class in a package and this error should fade away. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error I am running Jbuilder 7, JBoss 3.0.2. When I touch a jsp I get the following exception when trying to run it javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja va:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 3) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j ava:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1107) at java.lang.Thread.run(Thread.java:479) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at com.borland.jbuilder.webserverglue.tomcat.jsp.JasperSunJavaCompiler.comp ile(Unknown Source) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(J spServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServle t.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja va:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 3) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline.invokeNext
HTTP Status 500
Hi, I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on RedHat Linux 7.3. When I start Tomcat with startup.sh and i got the following messages: Using CATALINA_BASE: /usr/local/bin/tomcat Using CATALINA_HOME: /usr/local/bin/tomcat Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp Using JAVA_HOME: /usr/local/bin/java When i look at the Process Table I can see the Tomcat-Threads. But when I try to go to the first Site (http://localhost:8080/) I got the error I attached on the end of this mail. When I put a html File instead of a JSP File into the webapps/ROOT Directory it works, so I see that the Server is running. I have had the same Problem before with my Win2K System but there I fixed the Problem by setting the right PATH (to the SDK Directory). I also searched the web for this Problem and I saw, that a lot of Users have the same Problem. But I found no solution for me. I installed the SDK not only the JRE (so javac is available). I put the variables JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory to my PATH. I don't understand why it won't work :-( Perhaps somebody here has a good idea for solving this Problem. Thanxs in advance Marco THE ERROR-PAGE: === HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool
RE: HTTP Status 500
Howdy, Do the JSP examples work? Yoav Shapira Millennium ChemInformatics -Original Message- From: Marco Miedl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: HTTP Status 500 Hi, I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on RedHat Linux 7.3. When I start Tomcat with startup.sh and i got the following messages: Using CATALINA_BASE: /usr/local/bin/tomcat Using CATALINA_HOME: /usr/local/bin/tomcat Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp Using JAVA_HOME: /usr/local/bin/java When i look at the Process Table I can see the Tomcat-Threads. But when I try to go to the first Site (http://localhost:8080/) I got the error I attached on the end of this mail. When I put a html File instead of a JSP File into the webapps/ROOT Directory it works, so I see that the Server is running. I have had the same Problem before with my Win2K System but there I fixed the Problem by setting the right PATH (to the SDK Directory). I also searched the web for this Problem and I saw, that a lot of Users have the same Problem. But I found no solution for me. I installed the SDK not only the JRE (so javac is available). I put the variables JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory to my PATH. I don't understand why it won't work :-( Perhaps somebody here has a good idea for solving this Problem. Thanxs in advance Marco THE ERROR-PAGE: === HTTP Status 500 - --- - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH andl er.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j ava: 293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j ava: 473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: 190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j ava:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j ava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 15) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve .java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 2) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process
Re: Re: HTTP Status 500
NO - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 5:25 PM Subject: RE: HTTP Status 500 Howdy, Do the JSP examples work? Yoav Shapira Millennium ChemInformatics -Original Message- From: Marco Miedl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: HTTP Status 500 Hi, I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on RedHat Linux 7.3. When I start Tomcat with startup.sh and i got the following messages: Using CATALINA_BASE: /usr/local/bin/tomcat Using CATALINA_HOME: /usr/local/bin/tomcat Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp Using JAVA_HOME: /usr/local/bin/java When i look at the Process Table I can see the Tomcat-Threads. But when I try to go to the first Site (http://localhost:8080/) I got the error I attached on the end of this mail. When I put a html File instead of a JSP File into the webapps/ROOT Directory it works, so I see that the Server is running. I have had the same Problem before with my Win2K System but there I fixed the Problem by setting the right PATH (to the SDK Directory). I also searched the web for this Problem and I saw, that a lot of Users have the same Problem. But I found no solution for me. I installed the SDK not only the JRE (so javac is available). I put the variables JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory to my PATH. I don't understand why it won't work :-( Perhaps somebody here has a good idea for solving this Problem. Thanxs in advance Marco THE ERROR-PAGE: === HTTP Status 500 - --- - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH andl er.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j ava: 293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j ava: 473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: 190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j ava:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j ava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 15) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve .java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 2) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a:174) at org.apache.catalina.core.StandardPipeline
Re: HTTP Status 500
Even those that are servlets and not JSP? John Marco Miedl wrote: NO - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 5:25 PM Subject: RE: HTTP Status 500 Howdy, Do the JSP examples work? Yoav Shapira Millennium ChemInformatics -Original Message- From: Marco Miedl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: HTTP Status 500 Hi, I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on RedHat Linux 7.3. When I start Tomcat with startup.sh and i got the following messages: Using CATALINA_BASE: /usr/local/bin/tomcat Using CATALINA_HOME: /usr/local/bin/tomcat Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp Using JAVA_HOME: /usr/local/bin/java When i look at the Process Table I can see the Tomcat-Threads. But when I try to go to the first Site (http://localhost:8080/) I got the error I attached on the end of this mail. When I put a html File instead of a JSP File into the webapps/ROOT Directory it works, so I see that the Server is running. I have had the same Problem before with my Win2K System but there I fixed the Problem by setting the right PATH (to the SDK Directory). I also searched the web for this Problem and I saw, that a lot of Users have the same Problem. But I found no solution for me. I installed the SDK not only the JRE (so javac is available). I put the variables JAVA_HOME and CATALINA_HOME and I added the j2sdk1.4.2/bin Directory to my PATH. I don't understand why it won't work :-( Perhaps somebody here has a good idea for solving this Problem. Thanxs in advance Marco THE ERROR-PAGE: === HTTP Status 500 - --- - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH andl er.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j ava: 293) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j ava: 473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: 190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295 ) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j ava:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j ava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:24 15) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:18 0) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve .java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a:17 2) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve .jav a:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invo keNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke
Re: Re: HTTP Status 500
Even those that are servlets and not JSP? The Servlet Examples work perfect. Only the JSP Examples didn't work. It's very strange ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: HTTP Status 500
I had the same problem and I think that it was related to the CLASSPATH for Java. If your JSP doesn't work properly but the servlet does, it means that the JVM is working properly but not the Java Compiler. Make sure you have the JAVA_HOME variable set and all proper directories in the CLASSPATH related to Java. Laters, Jeremy -Original Message- From: Marco Miedl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:06 AM To: Tomcat Users List Subject: Re: Re: HTTP Status 500 Even those that are servlets and not JSP? The Servlet Examples work perfect. Only the JSP Examples didn't work. It's very strange ;-) - 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]
Re: Re: HTTP Status 500
I had the same problem and I think that it was related to the CLASSPATH for Java. If your JSP doesn't work properly but the servlet does, it means that the JVM is working properly but not the Java Compiler. Make sure you have the JAVA_HOME variable set and all proper directories in the CLASSPATH related to Java. Laters, Jeremy JAVA_HOME is set and I included now the SDK main directory and all subdirectorys to the PATH. It doesn't work. Tomcat generates the Java Sourcecode (in the work directory) but isn't able to compile the *.java files - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: HTTP Status 500
You need to have the bin directory of your Java 2 SKD installation in your CLASSPATH as well. Give that a try and let me know. Later, Jeremy -Original Message- From: Marco Miedl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:39 AM To: Tomcat Users List Subject: Re: Re: HTTP Status 500 I had the same problem and I think that it was related to the CLASSPATH for Java. If your JSP doesn't work properly but the servlet does, it means that the JVM is working properly but not the Java Compiler. Make sure you have the JAVA_HOME variable set and all proper directories in the CLASSPATH related to Java. Laters, Jeremy JAVA_HOME is set and I included now the SDK main directory and all subdirectorys to the PATH. It doesn't work. Tomcat generates the Java Sourcecode (in the work directory) but isn't able to compile the *.java files - 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]
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
This is the error during jsp execution. How to solve this error; Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.core.StandardPipeline.invokeNext
AW: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
hi, look for tools.jar. This file must be in the classpath. greetings alexander -Ursprüngliche Nachricht- Von: lunasahu [SMTP:[EMAIL PROTECTED] Gesendet am: Dienstag, 18. März 2003 09:44 An: [EMAIL PROTECTED] Betreff: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error This is the error during jsp execution. How to solve this error; Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error -- -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati onFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter Chain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve. java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 ) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve. java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBa se.java:472) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 ) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1 64) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv e.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1 70) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 ) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja va:163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 ) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.jav a:1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:11 06) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:12 8) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Jsp Servlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet. java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati onFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter Chain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve. java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 ) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve. java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java :566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke
Re: Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
Make sure you are using a JDK and not JRE. It looks like there is no java compiler available. -Tim lunasahu wrote: This is the error during jsp execution. How to solve this error; Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:484) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:271) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344
HTTP Status 500 Error
Hello how do I replace HTTP Status 500 error page with my own page? Thanks Ravi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HTTP Status 500 Error
web.xml - an example: error-page error-code500/error-code location/error.jsp?code=500/location /error-page -Original Message- From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 1:24 PM To: Tomcat Users List Subject: HTTP Status 500 Error Hello how do I replace HTTP Status 500 error page with my own page? Thanks Ravi - 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]
RE: HTTP Status 500 Error
On 2/27/2003 at 1:30 PM Raible, Matt wrote: web.xml - an example: error-page error-code500/error-code location/error.jsp?code=500/location /error-page note - be sure when you do this to manually set the status code. e.g. in this jsp page you would do: % response.setStatus(Integer.parseInt(request.getParameter(code))); % otherwise the http user agent will get a response code of 200 instead of a 500. - donald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: redirectPort results in HTTP Status 500
CONFIDENTIAL will only allow it to be transported via https. -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: Friday, February 21, 2003 1:02 PM To: Tomcat Users List Subject: redirectPort results in HTTP Status 500 I am (for the first time) playing with security-constraint transport-guarantee CONFIDENTIAL. My site is already working fine on ports 80 and 443 (SSL), I've just never used this declarative security mechanism before. I have this constraint applied to page test.jsp for me to test the redirection. Every time I hit the page, I get a HTTP Status 500 from Tomcat (4.1.18), The server encountered an internal error (/test.jsp) that prevented it from fulfilling this request.. When I hit the page test.jsp from https://, it loads just fine. Any help would be appreciated! Am I missing something? BTW Tomcat is fronted by Apache and mod_webapp. Bryan - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For additional commands, e-mail: tomcat-user-help@xx
RE: redirectPort results in HTTP Status 500
On Fri, 2003-02-21 at 11:10, John Trollinger wrote: CONFIDENTIAL will only allow it to be transported via https. That's right. That's the effect I'm trying to achieve... When tomcat receives a request for /test.jsp on port 80, have it redirect to port 443 with https:. It's documented that this is supposed to work, but, I am hitting a snag somewheres.. Bryan
RE: redirectPort results in HTTP Status 500
make sure your redirect port is set to 443 and not 8443 in server.xml Filip -Original Message- From: Bryan Field-Elliot [mailto:bryan_lists@xxx] Sent: Friday, February 21, 2003 10:13 AM To: Tomcat Users List Subject: RE: redirectPort results in HTTP Status 500 On Fri, 2003-02-21 at 11:10, John Trollinger wrote: CONFIDENTIAL will only allow it to be transported via https. That's right. That's the effect I'm trying to achieve... When tomcat receives a request for /test.jsp on port 80, have it redirect to port 443 with https:. It's documented that this is supposed to work, but, I am hitting a snag somewheres.. Bryan - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For additional commands, e-mail: tomcat-user-help@xx
RE: redirectPort results in HTTP Status 500
On Fri, 2003-02-21 at 11:13, Filip Hanik wrote: make sure your redirect port is set to 443 and not 8443 in server.xml Filip Thanks.. It is (set correctly to 443). Bryan
Re: redirectPort results in HTTP Status 500
Well, I was using JDK 1.3.1, and just for fun I tried booting up Tomcat on JDK 1.4, and the problem below just vanished. It works now. I'll report this as a bug (or at least, a request for documentation addendum) in Bugzilla, if it isn't already... On Fri, 2003-02-21 at 11:02, Bryan Field-Elliot wrote: I am (for the first time) playing with security-constraint transport-guarantee CONFIDENTIAL. My site is already working fine on ports 80 and 443 (SSL), I've just never used this declarative security mechanism before. I have this constraint applied to page test.jsp for me to test the redirection. Every time I hit the page, I get a HTTP Status 500 from Tomcat (4.1.18), The server encountered an internal error (/test.jsp) that prevented it from fulfilling this request.. When I hit the page test.jsp from https://, it loads just fine. Any help would be appreciated! Am I missing something? BTW Tomcat is fronted by Apache and mod_webapp. Bryan
HTTP Status 500-Tomcat 4.1
Hi Everyone, I have a WAR file which works properly with TOMCAT 4.0. Recently I installed Tomcat 4.1 and put that WAR file under webapp directory. When try to access that webapp, my browser throws error message as HTTP Status 500 - Type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /init.jsp(71,1) jsp.error.buffer.invalid at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler. java:94) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428 ) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:140 ) at org.apache.jasper.compiler.Validator$PageDirectiveVisitor.visit(Validator.ja va:183) at org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:280) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076) at org.apache.jasper.compiler.Node$Root.accept(Node.java:232) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028) at org.apache.jasper.compiler.Validator.validate(Validator.java:581) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:226) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4 74) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 84) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:536) Anyone help me to fix this problem Thanks Suresh
Re: HTTP Status 500: Cannot find any information on property myProperty in a bean of type 'myPackage.MyBean'
I wish it were that simple. Remember that the application works if the components are shoved into the appropriate directories under the 'examples' directory. However, here is the bean (which I should have included previously): ** FormBean.java * package coreBeans; public class FormBean { private String passwd; private String uName; private String incomingPassword; public FormBean() { uName=; incomingPassword=; passwd=28max; } public String getUName() { return uName; } public String getIncomingPassword() { return incomingPassword; } public void setUName(String in) { uName = in; } public void setIncomingPassword(String in) { incomingPassword = in; } public boolean isOKPassword() { return (incomingPassword.compareTo(passwd) == 0); } } - Original Message - From: Ralph Einfeldt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 7:55 AM Subject: RE: HTTP Status 500: Cannot find any information on property myProperty in a bean of type 'myPackage.MyBean' AFAIK that means that there isn't setUName() and/or getUName() in coreBeans.FormBean. -Original Message- From: Wilson Snook [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: HTTP Status 500: Cannot find any information on property myProperty in a bean of type 'myPackage.MyBean' snip/ org.apache.jasper.JasperException: Cannot find any information on property 'uName' in a bean of type 'coreBeans.FormBean' snip/ jsp:useBean id=formHandler class=coreBeans.FormBean / jsp:setProperty name=formHandler property=* / /jsp:useBean % if (formHandler.isOKPassword()) { % hr span Welcome, jsp:getProperty name=formHandler property=uName /. You are now logged into the site. /span % } else { % hr span style=color:red ERROR: login failed, jsp:getProperty name=formHandler property=uName /! snip/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HTTP Status 500: Cannot find any information on property myProperty in a bean of type 'myPackage.MyBean'
I am a new user of Tomcat (4.1.18) under Win2K. I have the following problem (standalone development) with a test web application (single page using a bean: action is to reload itself updated by bean): I have this webapp directory structure (I've simplified the contents for readability): %TOMCAT_HOME%/webapps/core --/index.jsp, etc. --/WEB-INF/classes/coreBeans/FormBean.class FormBean.java has the package declaration package coreBeans. I've added the following context to server.xml: Context path=/core docBase=core debug=0 reloadable=true crossContext=true / As I understand it Tomcat should now automatically locate my bean class - but it doesn't. From http://localhost:8080/core I get HTTP Status 500 and the following error: org.apache.jasper.JasperException: Cannot find any information on property 'uName' in a bean of type 'coreBeans.FormBean' I followed a tutorial on the web and created another application (that used a servlet) - same result, but eventually I made it work by amending the entry in the web.xml under the WEB-INF directory to map the servlet. However, I don't think I can use this trick on beans. If I shove the webapp under the webapps/examples/jsp folder and put the bean under the associated WEB-INF/classes directory it works, so I know that the bean has compiled and the JSP page is error free. It seems to me that my setup of Tomcat is not configured to find the classes and libraries of a web application properly. I'm baffled and I'd appreciate any help. index.jsp ** !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleJSP development site: %= application.getServerInfo() %/title !-- style sheet (remove to external css file) -- style type=text/css !-- body { color: #00; background-color: #f0f0f0; font-family: verdana, arial, helvetica, sans-serif } table { border-collapse: collapse; } table.bordered { border: 1px 1px 1px 1px; border-style:solid; } td.head { font-family: arial, verdana, helvetica, sans-serif; font-size: 1.2em; padding: 3 3 3 3; } td { font-family: verdana, arial, helvetica, sans-serif; font-size: 0.8em; padding: 3 3 3 3; } .LgnBtn { font-size: 75% } -- /style !-- focus on login box -- script !-- function SetLoginFocus() { var elem = document.forms ? document.forms.login : false; elem = elem elem.elements ? elem.elements[userName] : false; if (elem) { elem.focus(); elem.select(); } } //-- /script /head body onload=SetLoginFocus() !-- encase the HTML in a form -- form name=login action=/core/index.jsp method=post !-- header -- table width=100% tr td class=head style=color:white; background-color: #99; font-weight: boldJSP development site/td /tr tr td style=background-color: #FFThis site is under construction. When completed it will demonstrate a simple database application using JSP technology and Java servlets. The database employed in the application is planned to be bOraclei8i/i Personal Edition./b This site is strictly for demonstration purposes only. It has no commercial function./td /tr /table br !-- acknowledgement -- table class=bordered style=border-color: #AA bgcolor=#FF width=100% tr td style=font-size:0.7emI gratefully acknowledge the assistance and encouragement given to me by X in the development of this site./td /tr /table br !-- description and log-in table -- table class=bordered style=border-color: #FF;border-collapse:separate width=85% align=center tr td class=head style=background-color:#FF; width=60%Database design/td td class=head style=background-color:#FF width=40%Log in/td/td /tr tr valign=top td style=background-color: whitebrThe database comprises two simple tables: div style=background-color:#99 dl dtbnbsp;company/b/dt ddID (primary key)/dd ddname/dd ddsector/dd ddcountry/dd brbr dtbnbsp;report/bdt ddR_ID (primary key)/dd ddstart_date/dd ddend_date/dd ddanalyst_name/dd ddR_FK (foreign key referencing icompany.ID/i)/dd /dl /div Simple (but nonetheless representative) queries and transactions on these tables are implemented on this site. /td td style=background-color: white br p align=right style=position:relative;margin-right:4emUser name: input size=20 name=uName value=brbr Password: input type=password size=20 name=incomingPassword value=brbr input type=submit name=authenticate value=Login class=LgnBtn/p pUnless you have been notified of your iuser name/i and ipassword/i by the administrator you will not be able to proceed past this point./p /pIf you would like to access this site then please contact the a href=xxxadministrator/a./p /td /tr /table
RE: HTTP Status 500: Cannot find any information on property myProperty in a bean of type 'myPackage.MyBean'
AFAIK that means that there isn't setUName() and/or getUName() in coreBeans.FormBean. -Original Message- From: Wilson Snook [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 8:24 AM To: [EMAIL PROTECTED] Subject: HTTP Status 500: Cannot find any information on property myProperty in a bean of type 'myPackage.MyBean' snip/ org.apache.jasper.JasperException: Cannot find any information on property 'uName' in a bean of type 'coreBeans.FormBean' snip/ jsp:useBean id=formHandler class=coreBeans.FormBean / jsp:setProperty name=formHandler property=* / /jsp:useBean % if (formHandler.isOKPassword()) { % hr span Welcome, jsp:getProperty name=formHandler property=uName /. You are now logged into the site. /span % } else { % hr span style=color:red ERROR: login failed, jsp:getProperty name=formHandler property=uName /! snip/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HTTP Status 500
Hi there, I'm trying to get the attached webapp (from Chapter Three of Mastering Struts) working with Tomcat 4.1.12. My understanding is that I should be able to just drop the attached (unzipped of course) into a webappname/ folder and then be able to access it via http://localhost/webappname. Is this correct ? When I try however, I get get this error: HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request. Apache Tomcat/4.1.12-LE-jdk14 I know this is probably something dumb and config-related on my behalf. I appreciate the help. Thanks in advance, -Paul ps I've removed the Struts Jars from the zip, but they are in WEB-INF/lib wileystruts.zip Description: Zip compressed data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HTTP Status 500
Hi there, I'm trying to get the attached webapp (from Chapter Three of Mastering Struts) working with Tomcat 4.1.12. My understanding is that I should be able to just drop the attached (unzipped of course) into a webappname/ folder and then be able to access it via http://localhost/webappname. Is this correct ? When I try however, I get get this error: HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request. Apache Tomcat/4.1.12-LE-jdk14 I know this is probably something dumb and config-related on my behalf. I appreciate the help. Thanks in advance, -Paul ps I've removed the Struts Jars from the zip, but they are in WEB-INF/lib wileystruts.zip Description: Zip compressed data -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HTTP Status 500 error from simple servlet in tomcat 4.1
Hello Forum, I just installed tomcat 4.1 in a new Linux box and a simple servlet that renders an xml page to the browser throws an HTTP Status 500 error. The same servlet works fine in another Linux box that has Tomcat 4.03. I deploy the servlet in a war file. The war file installs very well (?), I can see the directory mytest under the webapps directory with all the classes and libraries under it. I invoke the servlet from the web browser with the following address: http://IP address:8080/mytest/servlet/mytest.atom02. Does something comes to mind from reading the error? Thank you in advance for your help HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Cannot allocate servlet instance for path /mytest/servlet/mytest.atom02 at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java :427) at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:533) at java.lang.Thread.run(Thread.java:512) root cause java.lang.InstantiationException: mytest/atom02 at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:262) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:89 2) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658) at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java :408) at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260
HTTP Status 500 - Internal Server Error
Please help me on this. Everytime I'm trying to run the sample .jsp file, this page is displayed. Why is this so? type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP Status 500 - Internal Server Error
Glinn, It looks like tools.jar is not in your classpath. Do you have the jdk (not jre) installed, and is your JAVA_HOME environment variable set to point at the root directory of the jdk installation? /mde/ just my two cents . . . . __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP Status 500 - Internal Server Error
Thanks Mark for the reply... Where can I find tools.jar?..I've tried searching that file in Tomcat directory but I failed. Yes, I do have JDK installed in JAVA_HOME environment variable has been set. Any more idea Mark?... r/gli Mark Eggers wrote: Glinn, It looks like tools.jar is not in your classpath. Do you have the jdk (not jre) installed, and is your JAVA_HOME environment variable set to point at the root directory of the jdk installation? /mde/ just my two cents . . . . __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP Status 500 - Internal Server Error
tools.jar should be in JAVA_HOME/lib (jdk 1.3.1_04). Mine is also in TOMCAT_HOME/common/lib. I don't know where it would be if you are using jdk 1.4. Make sure that your JAVA_HOME environment variable points to the root of your JDK installation. For example, mine is at C:\jdk1.3.1_04. Make sure that JAVA_HOME/bin is also in your path. If you are using a Windows platform, I would install it in your System PATH variable instead of just your user path variable. /mde/ just my two cents . . . . __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP Status 500 - Internal Server Error
Thanks Mark!...Now it's working already. by the way, I've added you in my yahoo list. r/gli Mark Eggers wrote: tools.jar should be in JAVA_HOME/lib (jdk 1.3.1_04). Mine is also in TOMCAT_HOME/common/lib. I don't know where it would be if you are using jdk 1.4. Make sure that your JAVA_HOME environment variable points to the root of your JDK installation. For example, mine is at C:\jdk1.3.1_04. Make sure that JAVA_HOME/bin is also in your path. If you are using a Windows platform, I would install it in your System PATH variable instead of just your user path variable. /mde/ just my two cents . . . . __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HTTP status 500 on a SOAP call
Hi guys, I'm sort of new to Java Environment and doing my best to catch up. Things were going pretty well until I got stuck with this problem: I registered a service and when I call it I get back the message below. I've checked the router using the browser and it gives me the answer the tutorial says it should. I've done some searching and gone through some suggestions but it didn't work. Hope someone can help. TIA, Alphonsus. Caught SOAPException (SOAP-ENV:Protocol):Unsupported response content type text/html, must be: text/xml. Response was: htmlheadtitleApache Tomcat/4.0.1 - Error report/titleSTYLE!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE /headbodyh1Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error/h1HR size=1 noshadepbtype/b Exception report/ppbmessage/b uInternal Server Error/u/ppbdescription/b uThe server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request./u/ppbexception/b prejavax.servlet.ServletException: Error building response envelope: java.lang.NullPointerException at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35 3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: HTTP status 500 on a SOAP call
you've got a NullPointerException at line 35 of RPCRouterServlet. Have a look at javadoc or java source for that class. Your request is probably not passing some parameter the servlet requires (as a best guess). Tomcat returns an html error report and the soap client is expecting a response with a mime type text/xml. Jon -Original Message- From: Alphonsus [mailto:[EMAIL PROTECTED]] Sent: 26 September 2002 19:10 To: 'Tomcat Users List' Subject: HTTP status 500 on a SOAP call Hi guys, I'm sort of new to Java Environment and doing my best to catch up. Things were going pretty well until I got stuck with this problem: I registered a service and when I call it I get back the message below. I've checked the router using the browser and it gives me the answer the tutorial says it should. I've done some searching and gone through some suggestions but it didn't work. Hope someone can help. TIA, Alphonsus. Caught SOAPException (SOAP-ENV:Protocol):Unsupported response content type text/html, must be: text/xml. Response was: htmlheadtitleApache Tomcat/4.0.1 - Error report/titleSTYLE!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE /headbodyh1Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error/h1HR size=1 noshadepbtype/b Exception report/ppbmessage/b uInternal Server Error/u/ppbdescription/b uThe server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request./u/ppbexception/b prejavax.servlet.ServletException: Error building response envelope: java.lang.NullPointerException at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35 3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP status 500 on a SOAP call
you've got a NullPointerException at line 35 of RPCRouterServlet. Have a look at javadoc or java source for that class. Your request is probably not passing some parameter the servlet requires (as a best guess). Tomcat returns an html error report and the soap client is expecting a response with a mime type text/xml. Jon Error building response envelope: java.lang.NullPointerException at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35 3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) Thanks for your answer Jon. The registered class couldn't be more simple (see below). package javasoap.book.ch4; /** * pTitle: /p * pDescription: /p * pCopyright: Copyright (c) 2002/p * pCompany: /p * @author unascribed * @version 1.0 */ public class MethodCounter { int _counter; public MethodCounter() { _counter = 0; } public int getCount() { return _counter; } public boolean doSomething() { _counter += 1; return true; } } -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
HTTP Status 500 - Internal Server Error
Hi all, Having deployed Tomcat 4.0.4 in IIS 4.0 When I try to run a java bean program I get following error. * testbean.jsp ** html %@ page language=Java import=java.sql.* session=true % %@ page import=java.util.* % jsp:useBean id=pool scope=application class=connectionpool.ConnectionPool / % Connection con=null; out.println(enter 1); try { out.println(enter 2); //the pull is not initailized if(pool.getDriver()==null) { //initialize the pool pool.setDriver(sun.jdbc.odbc.JdbcOdbcDriver); pool.setURL(jdbc:odbc:oradsn); pool.setUsername(paytest); pool.setPassword(paytest); pool.setSize(5); pool.initializePool(); } //get a connection from the connection pool con = pool.getConnection(); out.println(connection is +con); //create the statement Statement statement1 =con.createStatement(); } catch (Exception e ) {System.out.println(CException : + e.getMessage()); } % * End Of testbean.jsp ** * ERROR ** Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception java.lang.ClassCastException: examples.connectionpool.ConnectionPool at org.apache.jsp.testbean$jsp._jspService(testbean$jsp.java:73) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424) at java.lang.Thread.run(Unknown Source) * END OF ERROR ** Thanks Regards Vishal Mukherjee -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
re: HTTP Status 500 - No Context configured to process this request
Hi (Jose), Had to put this aside as I was gone over the holiday weekend; I'm back at it again. I forgot to give you one very important piece of information regarding my setup: tomcat is installed to /var/tomcat4 and the jsp that we are trying to use tomcat for is in /bioinformatics/webapps/bioinformatics (and again, we want to use the URL http://bioinformatics.ist.unomaha.edu/bioinformatics to access it; note the lack of a port). Based on this I'm assuming that Docswouldbe /bioinformatics/webapps/ and Manager would be /var/tomcat4/work/localhost/manager (where it exists in my install). For your reference, here are the relevant (uncommented-out) portions of my server.xml file and Apache httpd.conf file. One immediate question: should I be changing localhost to the DNS name of the machine? server.xml Host name=localhost debug=0 appBase=webapps unpackWARs=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logsprefix=localhost_access_log. suffix =.txt pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ Contextpath=/var/tomcat4 docBase=/bioinformatics/webapps debug=0/ !-- Tomcat Manager Context -- Context path=/manager docBase=manager debug=0 privileged =true/ !-- Tomcat Examples Context -- Context path=/examples docBase=examples debug=0 reloadable =true Logger className=org.apache.catalina.logger.FileLogger prefix=localhost_examples_log. suffix=.txt timestamp=true/ Ejb name=ejb/EmplRecord type=Entity home=com.wombat.empl.EmployeeRecordHome remote=com.wombat.empl.EmployeeRecord/ ManagerclassName =org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1 minIdleSwap=-1 maxIdleSwap=-1 maxIdleBackup=-1 Store className=org.apache.catalina.session.FileStore/ /Manager -- Environment name=maxExemptions type=java.lang.Integer value=15/ Parameter name=context.param.name value=context.param.value override=false/ Resource name=jdbc/EmployeeAppDb auth=SERVLET type=javax.sql.DataSource/ ResourceParams name=jdbc/EmployeeAppDb parameternameuser/namevaluesa/value/parameter parameternamepassword/namevalue/value/parameter parameternamedriverClassName/name valueorg.hsql.jdbcDriver/value/parameter parameternamedriverName/name valuejdbc:HypersonicSQL:database/value/parameter /ResourceParams Resource name=mail/Session auth=Container type=javax.mail.Session/ ResourceParams name=mail/Session parameter namemail.smtp.host/name valuelocalhost/value /parameter /ResourceParams /Context /Host httpd.conf VirtualHost 137.48.138.201 ServerName bioinformatics.ist.unomaha.edu ServerAlias bioinformatics.unomaha.edu DocumentRoot /bioinformatics/webapps DirectoryIndex index.jsp index.html /VirtualHost Again, with the current configuration, the jsp works but the manager and examples contexts don't. Mark Mark A. Pauley, Ph.D. Senior Research Fellow Instructor, Department of Computer Science College of Information Science Technology, UNO Omaha, NE 68182-0116 e-mail: [EMAIL PROTECTED] phone: (402) 554-4954 fax: (402) 554-3284 Content-Transfer-Encoding: 7bit From: =?iso-8859-1?Q?Jos=E9_Montiel?= [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: HTTP Status 500 - No Context configured to process this request Date: Tue, 2 Jul 2002 13:36:02 -0400 Message-ID: 004701c221ee$f09c3fa0$6900030a@jmontiel MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Hi Mark, Ok I'm not totally clear with you set up, but try this Your context in Tomcat should look like this Context path=/manager docBase=/bioinformatics/webapps/manager debug=0 privileged=true / if it doesn't work try this Context path=/bioinformatics/manager docBase=/bioinformatics/webapps/manager debug=0 privileged=true / If this doesn't work please send me your entire conf directory, where server.xml file is, and your httpd.conf file of Apache. Also explain me the structure of you file system (ex. Docs: /bioinformatics/webapps, manager: /bioinformatics/webapps/manager, etc) I'm sending my server.xml file so you can take a look
Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
Can you attach the JSP you are using. And the precise location you have put FormBean.class (you should have compiled it already). Regards. - Original Message - From: John and Alicia Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 05, 2002 10:58 PM Subject: Fw: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Thanks for the suggestion. I did have the wrong path in the jsp:useBean. I corrected this, but now I get the same error with the correct path. The error is below. Now what? John java.lang.ClassNotFoundException: examples.WEB-INF.classes.forms.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 1) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) - Original Message - From: Arshad Mahmood [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, July 05, 2002 2:22 PM Subject: Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Because you have put your bean in com.jguru, you need to duplicate this under WEB-INF/classes. Your bean should then reside as WEB-INF/classes/com/jguru/FormBean.class. Regards. - Original Message - From: John and Alicia Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 05, 2002 8:19 PM Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Hi, I've just started to use Tomcat 4.0.3. All of the applications in the \webapps\examples file that came with Tomcat run correctly. I added a new folder, \webapps\examples\jsp\forms, that contains form.jsp. This file sends/receives data from a javabean that I put in the \webapps\examples\WEB_INF\classes\forms folder. The bean is named FormBean.java. When I try to run the jps page from my browser, I get the following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server Error. I copies part of the long root cause output below. java.lang.ClassNotFoundException: com.jguru.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 1) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) This appears to be a classpath problem, but I can't identify what is wrong with my configuration, if anything. Do you have suggestions on how to correct this problem? Thanks, John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
Are you referencing the page as x.jsp or just That caught me out a couple of times. Additionally check the servlet entries in your web.XML file. Regards Kevin -Original Message- From: John and Alicia Scott [mailto:[EMAIL PROTECTED]] Sent: 05 July 2002 20:19 To: [EMAIL PROTECTED] Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Hi, I've just started to use Tomcat 4.0.3. All of the applications in the \webapps\examples file that came with Tomcat run correctly. I added a new folder, \webapps\examples\jsp\forms, that contains form.jsp. This file sends/receives data from a javabean that I put in the \webapps\examples\WEB_INF\classes\forms folder. The bean is named FormBean.java. When I try to run the jps page from my browser, I get the following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server Error. I copies part of the long root cause output below. java.lang.ClassNotFoundException: com.jguru.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 1) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) This appears to be a classpath problem, but I can't identify what is wrong with my configuration, if anything. Do you have suggestions on how to correct this problem? Thanks, John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.0.3-HTTP Status 500-Internal Server Error
Hi, I've just started to use Tomcat 4.0.3. All of the applications in the \webapps\examples file that came with Tomcat run correctly. I added a new folder, \webapps\examples\jsp\forms, that contains form.jsp. This file sends/receives data from a javabean that I put in the \webapps\examples\WEB_INF\classes\forms folder. The bean is named FormBean.java. When I try to run the jps page from my browser, I get the following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server Error. I copies part of the long root cause output below. java.lang.ClassNotFoundException: com.jguru.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:181) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) This appears to be a classpath problem, but I can't identify what is wrong with my configuration, if anything. Do you have suggestions on how to correct this problem? Thanks, John
Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
Because you have put your bean in com.jguru, you need to duplicate this under WEB-INF/classes. Your bean should then reside as WEB-INF/classes/com/jguru/FormBean.class. Regards. - Original Message - From: John and Alicia Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 05, 2002 8:19 PM Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Hi, I've just started to use Tomcat 4.0.3. All of the applications in the \webapps\examples file that came with Tomcat run correctly. I added a new folder, \webapps\examples\jsp\forms, that contains form.jsp. This file sends/receives data from a javabean that I put in the \webapps\examples\WEB_INF\classes\forms folder. The bean is named FormBean.java. When I try to run the jps page from my browser, I get the following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server Error. I copies part of the long root cause output below. java.lang.ClassNotFoundException: com.jguru.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 1) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) This appears to be a classpath problem, but I can't identify what is wrong with my configuration, if anything. Do you have suggestions on how to correct this problem? Thanks, John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fw: Tomcat 4.0.3-HTTP Status 500-Internal Server Error
Thanks for the suggestion. I did have the wrong path in the jsp:useBean. I corrected this, but now I get the same error with the correct path. The error is below. Now what? John java.lang.ClassNotFoundException: examples.WEB-INF.classes.forms.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 1) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) - Original Message - From: Arshad Mahmood [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, July 05, 2002 2:22 PM Subject: Re: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Because you have put your bean in com.jguru, you need to duplicate this under WEB-INF/classes. Your bean should then reside as WEB-INF/classes/com/jguru/FormBean.class. Regards. - Original Message - From: John and Alicia Scott [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 05, 2002 8:19 PM Subject: Tomcat 4.0.3-HTTP Status 500-Internal Server Error Hi, I've just started to use Tomcat 4.0.3. All of the applications in the \webapps\examples file that came with Tomcat run correctly. I added a new folder, \webapps\examples\jsp\forms, that contains form.jsp. This file sends/receives data from a javabean that I put in the \webapps\examples\WEB_INF\classes\forms folder. The bean is named FormBean.java. When I try to run the jps page from my browser, I get the following error message: Tomcat 4.0.3-HTTP Status 500-Internal Server Error. I copies part of the long root cause output below. java.lang.ClassNotFoundException: com.jguru.FormBean at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1394) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1243) at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 1) at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato r.java:102) at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J spParseEventListener.java:834) at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi stener.java:241) at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE ventListener.java:197) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:215) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) This appears to be a classpath problem, but I can't identify what is wrong with my configuration, if anything. Do you have suggestions on how to correct this problem? Thanks, John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: HTTP Status 500 - No Context configured to process this request
Hi (Jose), I made the changes you suggested but I'm still having problems. Let me give you a little more background: The website we would like to drive using tomcat4 is located in the /bioinformatics/webapps/bioinformatics directory (again, we're using RedHat Linux 7.3; I don't think it matters but /bioinformatics is a RAID 0 drive). Since it is possible that other websites might be developed in the future that need tomcat we want to access it using http://bioinformatics.ist.unomaha.edu/bioinformatics. Thus, lines 198 - 201 in my server.xml file now look like this !-- Context path= docBase=ROOT debug=0/ -- Context path=/var/tomcat4 docBase=/bioinformatics/webapps debug =0/ Note that bioinformatics.ist. . . is a VirtualHost in Apache, configured thusly, VirtualHost 137.48.138.201 ServerName bioinformatics.ist.unomaha.edu ServerAlias bioinformatics.unomaha.edu DocumentRoot /bioinformatics/webapps DirectoryIndex index.jsp index.html /VirtualHost Now for the problem that we're having: The website itself seems to work butIcannot access any of the manager functions; e.g., http://bioinformatics.ist.unomaha.edu:8180/bioinformatics/manager/list. I have modified the tomcat-users.xml file to contain a user admin with a role of manager. This is the error message that I get: Apache Tomcat/4.0.3 - HTTP Status 404 - /manager/list type Status report message /manager/list description The requested resource (/manager/list) is not available. Any help you could provide to help solve this problem would be greatly appreciated. Other general questions (if you have time): 1) I know that tomcat can not stand alone and requires Apache to work. However, in our case, how do they interact? Do we need to set up a VirtualHost? 2) My understanding is that we need to specify the port when accessing a tomcat-enabled website, e.g., http://bioinformatics.ist.unomaha.edu:8180 . Is this true? If so, is there any way to configure Apache/Tomcat so that the port number is NOT required? 3) Right now, all we have done is to use some include file statements in an otherwise static webpage. In this case, do we need a WEB-INF directory in .../bioinformatics? 4) We have not deployed anything but our application seems to work. When is deploying necessary? Mark Mark A. Pauley, Ph.D. College of Information Science Technology, UNO Omaha, NE 68182-0116 e-mail: [EMAIL PROTECTED] phone: (402) 554-4954 fax: (402) 554-3284 tomcat-user-digest-help@jakarta .apache.org To: [EMAIL PROTECTED] cc: 07/01/2002 10:59 AM Subject: tomcat-user Digest 1 Jul 2002 15:59:30 - Issue 980 Please respond to Tomcat Users List Hi Mark, Your server.xml looks fine. Question which URL are you trying to access? If you are trying to access http://localhost/ you will get this error because there is no context defined to answer this request, only request of the form http://localhost/examples/*** and http://localhost/manager/*** will be answered since they are the only two context defined If that is the case, do the following Replace line 198 -200 !-- Context path= docBase=ROOT debug=0/ -- for Context path=/bioinformatics docBase=bioinformatics debug=0/ which will create a context /bioinformatics, so you can access it using http://localhost/bioinformatics/ Or you can setup this app as the default context as follows Replace line 198 -200 !-- Context path= docBase=ROOT debug=0/ -- for Context path=/ docBase=bioinformatics debug=0/ which will create a context /, so you can access it using http://localhost/ well, I hope this helps you, let me know how it goes -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: HTTP Status 500 - No Context configured to process this request
Hi Mark, Ok I'm not totally clear with you set up, but try this Your context in Tomcat should look like this Context path=/manager docBase=/bioinformatics/webapps/manager debug=0 privileged=true / if it doesn't work try this Context path=/bioinformatics/manager docBase=/bioinformatics/webapps/manager debug=0 privileged=true / If this doesn't work please send me your entire conf directory, where server.xml file is, and your httpd.conf file of Apache. Also explain me the structure of you file system (ex. Docs: /bioinformatics/webapps, manager: /bioinformatics/webapps/manager, etc) I'm sending my server.xml file so you can take a look at it. my files are in /home/inmuebles/docs/ - site files (HTML, JSP, GIF etc) /home/inmuebles/webapps/manager - manager app About the other questions 1.- Tomcat can work Stand Alone, it is just not so efficient delivering HTML content for what I have read, but in my dev box I have it running Stand Alone (No Apache at all). If you want to set up Apache with tomcat you have to configure the connector AJP or WARP, there are more docs for AJP connector. Virtual Hosts has nothing to do with this. 2.-When you connect to http://bioinformatics.ist.unomaha.edu:8180, you are probably connecting directly to Tomcat bypassing Apache, and if you set up the connector mentioned above you will not have to specify the port. 3.- I don't really know if a WEB_INF is required, I have always had it since I work with JSP pages. I any case it doesn't do any harm to have that directory and even the web.xml file that is supposed to be there. SERVER.XML == Server port=8005 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8040 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=6 connectionTimeout=6/ !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=6 !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Realm className=org.apache.catalina.realm.MemoryRealm / !-- Define the default virtual host -- Host name=localhost debug=6 appBase=/home/inmuebles/docs unpackWARs=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=PP_access_log. suffix=.txt pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ !-- Tomcat Root Context -- Context path= docBase= debug=6/ Context path=/manager docBase=/home/inmuebles/webapps/manager debug=6 privileged=true/ /Host /Engine /Service /Server I acces this site using http://10.3.0.241:8080 And the manager app http://10.3.0.241:8080/manager/list -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Martes, 02 de Julio de 2002 11:41 a.m. To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: HTTP Status 500 - No Context configured to process this request Hi (Jose), I made the changes you suggested but I'm still having problems. Let me give you a little more background: The website we would like to drive using tomcat4 is located in the /bioinformatics/webapps/bioinformatics directory (again, we're using RedHat Linux 7.3; I don't think it matters but /bioinformatics is a RAID 0 drive). Since it is possible that other websites might be developed in the future that need tomcat we want to access it using http://bioinformatics.ist.unomaha.edu/bioinformatics. Thus, lines 198 - 201 in my server.xml file now look like this !-- Context path= docBase=ROOT debug=0/ -- Context path=/var/tomcat4 docBase=/bioinformatics/webapps debug =0/ Note that bioinformatics.ist. . . is a VirtualHost in Apache, configured thusly, VirtualHost 137.48.138.201 ServerName bioinformatics.ist.unomaha.edu ServerAlias bioinformatics.unomaha.edu DocumentRoot /bioinformatics/webapps DirectoryIndex index.jsp index.html /VirtualHost Now for the problem that we're having: The website itself seems to work butIcannot access any of the manager
RE: HTTP Status 500 - No Context configured to process this request
Hi Mark, Your server.xml looks fine. Question which URL are you trying to access? If you are trying to access http://localhost/ you will get this error because there is no context defined to answer this request, only request of the form http://localhost/examples/*** and http://localhost/manager/*** will be answered since they are the only two context defined If that is the case, do the following Replace line 198 -200 !-- Context path= docBase=ROOT debug=0/ -- for Context path=/bioinformatics docBase=bioinformatics debug=0/ which will create a context /bioinformatics, so you can access it using http://localhost/bioinformatics/ Or you can setup this app as the default context as follows Replace line 198 -200 !-- Context path= docBase=ROOT debug=0/ -- for Context path=/ docBase=bioinformatics debug=0/ which will create a context /, so you can access it using http://localhost/ well, I hope this helps you, let me know how it goes bye -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sábado, 29 de Junio de 2002 11:27 p.m. To: Tomcat Users List Subject: Re: HTTP Status 500 - No Context configured to process this request Hi, Apparently my server.xml file was deleted when I tried to send it as an attachment (below). Here it is as plain text: !-- Example Server Configuration File -- !-- Note that component elements are nested corresponding to their parent-child relationships with each other -- !-- A Server is a singleton element that represents the entire JVM, which may contain one or more Service instances. The Server listens for a shutdown command on the indicated port. Note: A Server is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- Server port=8005 shutdown=SHUTDOWN debug=0 !-- A Service is a collection of one or more Connectors that share a single Container (and therefore the web applications visible within that Container). Normally, that Container is an Engine, but this is not required. Note: A Service is not itself a Container, so you may not define subcomponents such as Valves or Loggers at this level. -- !-- Define the Tomcat Stand-Alone Service -- Service name=Tomcat-Standalone !-- A Connector represents an endpoint by which requests are received and responses are returned. Each Connector passes requests on to the associated Container (normally an Engine) for processing. By default, a non-SSL HTTP/1.1 Connector is established on port 8180. You can also enable an SSL HTTP/1.1 Connector on port 8543 by following the instructions below and uncommenting the second Connector entry. SSL support requires the following steps (see the SSL Config HOWTO in the Tomcat 4.0 documentation bundle for more detailed instructions): * Download and install JSSE 1.0.2 or later, and put the JAR files into $JAVA_HOME/jre/lib/ext. * Execute: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows) $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix) with a password value of changeit for both the certificate and the keystore itself. By default, DNS lookups are enabled when a web application calls request.getRemoteHost(). This can have an adverse impact on performance, so you can disable it by setting the enableLookups attribute to false. When DNS lookups are disabled, request.getRemoteHost() will return the String version of the IP address of the remote client. -- !-- Define a non-SSL HTTP/1.1 Connector on port 8180 -- Connector className=org.apache.catalina.connector.http.HttpConnector port=8180 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8543 acceptCount=10 debug=0 connectionTimeout=6/ !-- Note : To disable connection timeouts, set connectionTimeout value to -1 -- !-- Define an SSL HTTP/1.1 Connector on port 8543 -- !-- Connector className=org.apache.catalina.connector.http.HttpConnector port=8543 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 scheme=https secure=true Factory className=org.apache.catalina.net.SSLServerSocketFactory clientAuth=false protocol=TLS/ /Connector -- !-- Define an AJP 1.3 Connector on port 8109 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8109 minProcessors=5 maxProcessors=75
Re: HTTP Status 500 - No Context configured to process this request
Hi, Can you send a copy of your server.xml? it seems you either did not configure or mis configure your context. bye On Fri, 2002-06-28 at 23:59, [EMAIL PROTECTED] wrote: Hi, I'm a newbie Tomcat4 user who is having trouble getting the program to work after having properly -- I think -- installed it from rpms. Here is the error that I am getting (I've searched the web and have found references to this problem but no real solutions): Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request type Status report message No Context configured to process this request description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request. Setup Particulars: - 1.8 GHz Pentium IV with 1.5 GB Ram - RedHat Linux 7.3 - Apache 1.3 - The site that is to use tomcat4 is a virtual host - Tomcat is using port 8180 Any help in resolving this issue would be greatly appreciated. Mark Mark A. Pauley, Ph.D. College of Information Science Technology, UNO Omaha, NE 68182-0116 e-mail: [EMAIL PROTECTED] phone: (402) 554-4954 fax: (402) 554-3284 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Please Help: HTTP Status 500 - Internal Server Error
For what it's worth, I've come across this problem far too many times when installing things under Windows. I have now adopted the practice of installing native Windows applications (Photoshop, Office etc) in c:\program files and server applications like Apache, Tomcat as well as command line programs like Perl, Java, Ant etc in c:\servers or c:\apps, and then c:\servers\apache, c:\servers\tomcat etc rather than c:\servers\apache group\apache or whatever the default is. These steps have meant I have been able to weed out most of the problems of developing under Windows, apart from some CVS issues for which I need to use Cygwin - though these are easily compensated for given how gorgeous Ant makes things - like updating modules automatically before building. Ant is the way forward! HTH, apologies for rambling - trying to avoid revising for finals. ;) Joel Baker. Whitcomb, Roger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... | It's because of the spaces in the path under Win98. Use the 8.3 version of the Apache Group and Apache Tomcat 4.0 folders and try again. | | Roger Whitcomb | Computer Associates | Senior Software Engineer | Development | Phone: +1 408 965 8653 | FAX: +1 408 965 8805 | [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | | | -Original Message- | From: VIDYASAGAR R NALLU [mailto:[EMAIL PROTECTED]] | Sent: Friday, May 24, 2002 4:05 PM | To: [EMAIL PROTECTED] | Subject: Please Help: HTTP Status 500 - Internal Server Error | | | Hi all, | | Basically i have developed a small application using JSP, Tomcat 4.0.3, | j2sdk1.4.0 under win2k. It was working absolutely fine. The same | application when i'm trying to run on windows 98, it is giving the | following error: | | Note: I'm not copying whole output. These are the few lines of code to | give basic idea. | exception | javax.servlet.ServletException: sun/tools/javac/Main | at | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) | | root cause | java.lang.NoClassDefFoundError: sun/tools/javac/Main | at | org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:1 | 36) | | I set the PATH and CLASSPATH variables as follows in autoexec.bat: | | PATH=%PATH%;c:\j2sdk1.4.0\bin; | JAVA_HOME=c:\j2sdk1.4.0 | CATALINA_HOME=c:\Program Files\Apache Group\Apache Tomcat 4.0 | TOMCAT_HOME=%CATALINA_HOME | | %CLASSPATH=%CLASSPATH%;c:\j2sdk1.4.0\jre\lib\tools.jar;c:\Program | Files\Apache Group\Apache | Tomcat 4.0\common\lib\servlet.jar | | I'm just wondering that whether i should include servlet.jar in the | CLASSPATH or any other place. | | What i feel is for some reason tomcat is not loading servlet.jar. | Please someone assist me in this regard. | | Thanks in advance | Rajasree | | -- | To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] | For additional commands, e-mail: mailto:[EMAIL PROTECTED] | | -- | To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] | For additional commands, e-mail: mailto:[EMAIL PROTECTED] | -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: http status 500 internal error when loading localhost:8080
Roger Downloaded and installed j2re1.4.0 and got an error when starting Tomcat server so then downloaded jakarta-tomcat-4.0.3-LE-jdk14.exe and installed. Everything is now aok, well as far as being able to load the Tomcat Welcome page. Thanks for your help and advice. Lynne -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: 24 May 2002 18:27 To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 Can you load ANY Tomcat examples or Doc? Is this the default index.jsp in the Tomcat installation? Did you set JAVA_HOME in your system environment? Is Tomcat running as a service or from the command line? I have not had problems like this on Win2k with Tomcat 4.0.3, but I was running the 1.4 JDK from Sun. If you have all the configuration right you might want to uninstall the JDK and install the 1.4 version and see what happens. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:34 PM To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 Tomcat 4.0 jdk1.3 -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 20:19 To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 What version of Tomcat are you running? And what version of the Java SDK? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:38 AM To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all . . . Found this in the log file. Don't know what it means . . . does anyone else out there understand? 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /webdav 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /admin 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /manager 2002-05-23 08:55:51 NamingContextListener[/Standalone/localhost/manager]: Failed to unbind object: javax.naming.NameNotFoundException: Name users is not bound in this Context 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 09:32 To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all I have just installed Tomcat for the first time. Sorry if this question is lame. I can't seem to find the answer when I searched the archive. I have successfully started the Tomcat server. I am running it on windows 2000. I cannot load the index.jsp file at http://localhost:8080. So I changed the port to 8088 . . . still no joy. I have been at this all day searching for a solution in the archives. Here is the error message that I am getting: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline
RE: http status 500 internal error when loading localhost:8080
Can you load ANY Tomcat examples or Doc? Is this the default index.jsp in the Tomcat installation? Did you set JAVA_HOME in your system environment? Is Tomcat running as a service or from the command line? I have not had problems like this on Win2k with Tomcat 4.0.3, but I was running the 1.4 JDK from Sun. If you have all the configuration right you might want to uninstall the JDK and install the 1.4 version and see what happens. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:34 PM To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 Tomcat 4.0 jdk1.3 -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 20:19 To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 What version of Tomcat are you running? And what version of the Java SDK? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:38 AM To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all . . . Found this in the log file. Don't know what it means . . . does anyone else out there understand? 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /webdav 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /admin 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /manager 2002-05-23 08:55:51 NamingContextListener[/Standalone/localhost/manager]: Failed to unbind object: javax.naming.NameNotFoundException: Name users is not bound in this Context 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 09:32 To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all I have just installed Tomcat for the first time. Sorry if this question is lame. I can't seem to find the answer when I searched the archive. I have successfully started the Tomcat server. I am running it on windows 2000. I cannot load the index.jsp file at http://localhost:8080. So I changed the port to 8088 . . . still no joy. I have been at this all day searching for a solution in the archives. Here is the error message that I am getting: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source
Please Help: HTTP Status 500 - Internal Server Error
Hi all, Basically i have developed a small application using JSP, Tomcat 4.0.3, j2sdk1.4.0 under win2k. It was working absolutely fine. The same application when i'm trying to run on windows 98, it is giving the following error: Note: I'm not copying whole output. These are the few lines of code to give basic idea. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:1 36) I set the PATH and CLASSPATH variables as follows in autoexec.bat: PATH=%PATH%;c:\j2sdk1.4.0\bin; JAVA_HOME=c:\j2sdk1.4.0 CATALINA_HOME=c:\Program Files\Apache Group\Apache Tomcat 4.0 TOMCAT_HOME=%CATALINA_HOME %CLASSPATH=%CLASSPATH%;c:\j2sdk1.4.0\jre\lib\tools.jar;c:\Program Files\Apache Group\Apache Tomcat 4.0\common\lib\servlet.jar I'm just wondering that whether i should include servlet.jar in the CLASSPATH or any other place. What i feel is for some reason tomcat is not loading servlet.jar. Please someone assist me in this regard. Thanks in advance Rajasree -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Please Help: HTTP Status 500 - Internal Server Error
It's because of the spaces in the path under Win98. Use the 8.3 version of the Apache Group and Apache Tomcat 4.0 folders and try again. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: VIDYASAGAR R NALLU [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 4:05 PM To: [EMAIL PROTECTED] Subject: Please Help: HTTP Status 500 - Internal Server Error Hi all, Basically i have developed a small application using JSP, Tomcat 4.0.3, j2sdk1.4.0 under win2k. It was working absolutely fine. The same application when i'm trying to run on windows 98, it is giving the following error: Note: I'm not copying whole output. These are the few lines of code to give basic idea. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:1 36) I set the PATH and CLASSPATH variables as follows in autoexec.bat: PATH=%PATH%;c:\j2sdk1.4.0\bin; JAVA_HOME=c:\j2sdk1.4.0 CATALINA_HOME=c:\Program Files\Apache Group\Apache Tomcat 4.0 TOMCAT_HOME=%CATALINA_HOME %CLASSPATH=%CLASSPATH%;c:\j2sdk1.4.0\jre\lib\tools.jar;c:\Program Files\Apache Group\Apache Tomcat 4.0\common\lib\servlet.jar I'm just wondering that whether i should include servlet.jar in the CLASSPATH or any other place. What i feel is for some reason tomcat is not loading servlet.jar. Please someone assist me in this regard. Thanks in advance Rajasree -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
http status 500 internal error when loading localhost:8080
Hello all I have just installed Tomcat for the first time. Sorry if this question is lame. I can't seem to find the answer when I searched the archive. I have successfully started the Tomcat server. I am running it on windows 2000. I cannot load the index.jsp file at http://localhost:8080. So I changed the port to 8088 . . . still no joy. I have been at this all day searching for a solution in the archives. Here is the error message that I am getting: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:376) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:518) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoSuchMethodError at org.apache.jasper.compiler.TldLocationsCache.processJars(Unknown Source) at org.apache.jasper.compiler.TldLocationsCache.(Unknown Source) at org.apache.jasper.EmbededServletOptions.(Unknown Source) at org.apache.jasper.servlet.JspServlet.init(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at
http status 500 internal error when loading localhost:8080
Hello all . . . Found this in the log file. Don't know what it means . . . does anyone else out there understand? 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /webdav 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /admin 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /manager 2002-05-23 08:55:51 NamingContextListener[/Standalone/localhost/manager]: Failed to unbind object: javax.naming.NameNotFoundException: Name users is not bound in this Context 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 09:32 To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all I have just installed Tomcat for the first time. Sorry if this question is lame. I can't seem to find the answer when I searched the archive. I have successfully started the Tomcat server. I am running it on windows 2000. I cannot load the index.jsp file at http://localhost:8080. So I changed the port to 8088 . . . still no joy. I have been at this all day searching for a solution in the archives. Here is the error message that I am getting: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:376) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:518) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoSuchMethodError at org.apache.jasper.compiler.TldLocationsCache.processJars(Unknown Source) at org.apache.jasper.compiler.TldLocationsCache.(Unknown Source) at org.apache.jasper.EmbededServletOptions.(Unknown Source) at org.apache.jasper.servlet.JspServlet.init(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
Hi, would some body helped me? I installed tomcat on Windows 2000, I could make it work (partialy), when I try to run the JSP samples, it shows an error message which I pasted below. It seems that the problem might be a bad configuration, but I really don´t know. Regards, Antonio Salazar Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
Antonio - Do you have the Java SDK installed (with the compiler)? If so, you need to set an environmental value JAVA_HOME=path to the Java SDK and restart Tomcat. The error means it can't find the Java compiler in the tools.jar file. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: SALAZAR,ANTONIO (Non-HP-Guadalajara,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:33 AM To: Tomcat distribution list (E-mail) Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Hi, would some body helped me? I installed tomcat on Windows 2000, I could make it work (partialy), when I try to run the JSP samples, it shows an error message which I pasted below. It seems that the problem might be a bad configuration, but I really don´t know. Regards, Antonio Salazar Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
Hi Roger, No I don't, I have already installed the JDK, are both SDK or JDK the same? Thanks so much! Antonio Salazar -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 12:36 PM To: Tomcat Users List Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Antonio - Do you have the Java SDK installed (with the compiler)? If so, you need to set an environmental value JAVA_HOME=path to the Java SDK and restart Tomcat. The error means it can't find the Java compiler in the tools.jar file. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: SALAZAR,ANTONIO (Non-HP-Guadalajara,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:33 AM To: Tomcat distribution list (E-mail) Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Hi, would some body helped me? I installed tomcat on Windows 2000, I could make it work (partialy), when I try to run the JSP samples, it shows an error message which I pasted below. It seems that the problem might be a bad configuration, but I really don´t know. Regards, Antonio Salazar Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
If it has a tools.jar under the lib directory, you're fine. BUT, you need to set JAVA_HOME in the system environment space to point to the base directory where the JDK/SDK is installed. Mine is in c:\j2sdk1.4.0 and the tools.jar is in c:\j2sdk1.4.0\lib Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: SALAZAR,ANTONIO (Non-HP-Guadalajara,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:39 AM To: 'Tomcat Users List' Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Hi Roger, No I don't, I have already installed the JDK, are both SDK or JDK the same? Thanks so much! Antonio Salazar -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 12:36 PM To: Tomcat Users List Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Antonio - Do you have the Java SDK installed (with the compiler)? If so, you need to set an environmental value JAVA_HOME=path to the Java SDK and restart Tomcat. The error means it can't find the Java compiler in the tools.jar file. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: SALAZAR,ANTONIO (Non-HP-Guadalajara,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:33 AM To: Tomcat distribution list (E-mail) Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Hi, would some body helped me? I installed tomcat on Windows 2000, I could make it work (partialy), when I try to run the JSP samples, it shows an error message which I pasted below. It seems that the problem might be a bad configuration, but I really don´t know. Regards, Antonio Salazar Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
Roger I am getting this error as well but a different error message. Could you please have a look at the error in my email - subject: http status 500 internal error when loading localhost:8080? I would be most grateful. Lynne -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 18:45 To: Tomcat Users List Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error If it has a tools.jar under the lib directory, you're fine. BUT, you need to set JAVA_HOME in the system environment space to point to the base directory where the JDK/SDK is installed. Mine is in c:\j2sdk1.4.0 and the tools.jar is in c:\j2sdk1.4.0\lib Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: SALAZAR,ANTONIO (Non-HP-Guadalajara,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:39 AM To: 'Tomcat Users List' Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Hi Roger, No I don't, I have already installed the JDK, are both SDK or JDK the same? Thanks so much! Antonio Salazar -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 12:36 PM To: Tomcat Users List Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Antonio - Do you have the Java SDK installed (with the compiler)? If so, you need to set an environmental value JAVA_HOME=path to the Java SDK and restart Tomcat. The error means it can't find the Java compiler in the tools.jar file. Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: SALAZAR,ANTONIO (Non-HP-Guadalajara,ex1) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 10:33 AM To: Tomcat distribution list (E-mail) Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error Hi, would some body helped me? I installed tomcat on Windows 2000, I could make it work (partialy), when I try to run the JSP samples, it shows an error message which I pasted below. It seems that the problem might be a bad configuration, but I really don´t know. Regards, Antonio Salazar Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke
RE: http status 500 internal error when loading localhost:8080
What version of Tomcat are you running? And what version of the Java SDK? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:38 AM To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all . . . Found this in the log file. Don't know what it means . . . does anyone else out there understand? 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /webdav 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /admin 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /manager 2002-05-23 08:55:51 NamingContextListener[/Standalone/localhost/manager]: Failed to unbind object: javax.naming.NameNotFoundException: Name users is not bound in this Context 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 09:32 To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all I have just installed Tomcat for the first time. Sorry if this question is lame. I can't seem to find the answer when I searched the archive. I have successfully started the Tomcat server. I am running it on windows 2000. I cannot load the index.jsp file at http://localhost:8080. So I changed the port to 8088 . . . still no joy. I have been at this all day searching for a solution in the archives. Here is the error message that I am getting: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:376) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:518) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoSuchMethodError at org.apache.jasper.compiler.TldLocationsCache.processJars(Unknown Source) at org.apache.jasper.compiler.TldLocationsCache.(Unknown Source) at org.apache.jasper.EmbededServletOptions.(Unknown Source) at org.apache.jasper.servlet.JspServlet.init(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source
RE: http status 500 internal error when loading localhost:8080
Tomcat 4.0 jdk1.3 -Original Message- From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 20:19 To: Tomcat Users List Subject: RE: http status 500 internal error when loading localhost:8080 What version of Tomcat are you running? And what version of the Java SDK? Roger Whitcomb Computer Associates Senior Software Engineer Development Phone: +1 408 965 8653 FAX: +1 408 965 8805 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 3:38 AM To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all . . . Found this in the log file. Don't know what it means . . . does anyone else out there understand? 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /webdav 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /tomcat-docs 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /admin 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path /manager 2002-05-23 08:55:51 NamingContextListener[/Standalone/localhost/manager]: Failed to unbind object: javax.naming.NameNotFoundException: Name users is not bound in this Context 2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at context path -Original Message- From: Lynne Gurney [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 09:32 To: [EMAIL PROTECTED] Subject: http status 500 internal error when loading localhost:8080 Hello all I have just installed Tomcat for the first time. Sorry if this question is lame. I can't seem to find the answer when I searched the archive. I have successfully started the Tomcat server. I am running it on windows 2000. I cannot load the index.jsp file at http://localhost:8080. So I changed the port to 8088 . . . still no joy. I have been at this all day searching for a solution in the archives. Here is the error message that I am getting: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source) at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source) at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardContext.invoke(Unknown Source) at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(Unknown Source) at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source) at org.apache.catalina.core.ContainerBase.invoke(Unknown Source) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:376) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:518) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoSuchMethodError at org.apache.jasper.compiler.TldLocationsCache.processJars(Unknown Source) at org.apache.jasper.compiler.TldLocationsCache.(Unknown Source
Re: Fwd: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
What JDK version are you using? You do not need to set the classpath. Just set CATALINA_HOME to c:\tomcat if that is your directory. And JAVA_HOME to your jdk directory. -MN --- sucharitha madineni [EMAIL PROTECTED] wrote: Note: forwarded message attached. - Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! ATTACHMENT part 2 message/rfc822 Date: Wed, 8 May 2002 10:57:39 -0700 (PDT) From: sucharitha madineni [EMAIL PROTECTED] Subject: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] hi iam getting this problem after reinstalling Tomcat 4.0.3 server.when server is started it is searching for java.exe..and same thing for when stopping tomcat.i pointed it to the one which is in jdk\bin\java.exe.is it right..?? and in my autoexec file i have set classpathas set classpath=c:\Tomcat\bin\bootstrap.jar;c:\jdk\lib\tools.jar; set JAVA_HOME=c:\jdk; set TOMCAT_HOME=c:\Tomcat; did i set them correctly.. if they are correct whenever iam executing my jsp program..iam getting following error.. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247
RE: Fwd: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
OK, folks, I tried to start a new thread, but I did not get back any confirmation. This is a test. -Original Message- From: Milind Nirgun [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 2:31 PM To: Tomcat Users List Subject: Re: Fwd: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error What JDK version are you using? You do not need to set the classpath. Just set CATALINA_HOME to c:\tomcat if that is your directory. And JAVA_HOME to your jdk directory. -MN --- sucharitha madineni [EMAIL PROTECTED] wrote: Note: forwarded message attached. - Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! ATTACHMENT part 2 message/rfc822 Date: Wed, 8 May 2002 10:57:39 -0700 (PDT) From: sucharitha madineni [EMAIL PROTECTED] Subject: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] hi iam getting this problem after reinstalling Tomcat 4.0.3 server.when server is started it is searching for java.exe..and same thing for when stopping tomcat.i pointed it to the one which is in jdk\bin\java.exe.is it right..?? and in my autoexec file i have set classpathas set classpath=c:\Tomcat\bin\bootstrap.jar;c:\jdk\lib\tools.jar; set JAVA_HOME=c:\jdk; set TOMCAT_HOME=c:\Tomcat; did i set them correctly.. if they are correct whenever iam executing my jsp program..iam getting following error.. Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error - type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:177) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:189
Re: Fwd: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
version of jdk is 1.3.0_02.and i have set environment variables JAVA_HOME=c:\jdk and CATALINA_HOME=c:\jakarta-tomcat-4.0.. when iam starting server by writing c:\jakarta-tomcat-4.0\bin\startup it says CATALINA_HOME environment variable is not defined correctly.this environment variable is needed to run this program. here is my autoexec file PATH c:\windows;c:\windows\command;c:\jdk\bin;c:\jakarta-tomcat-4.0\bin; set JAVA_HOME=c:\jdk; set classpath=c:\jdk\jre\lib\rt.jar;c:\jdk\lib\tools.jar;C:\jakarta-tomcat-4.0\bin; set CATALINA_HOME=C:\jakarta-tomcat-4.0; - Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th!
Re: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - InternalServer Error
are trailing semicolons necessary? sorry, been a while since i used windows, but i didn't know the traililng semis were required. and the classpath one is completely unnecessary. rt.jar and tools.jar will be found if JAVA_HOME is properly set, and tomcat/bin is not a classpath location. let me know if any of this works. cheers fillup On 5/9/02 12:53 PM, sucharitha madineni [EMAIL PROTECTED] wrote: version of jdk is 1.3.0_02.and i have set environment variables JAVA_HOME=c:\jdk and CATALINA_HOME=c:\jakarta-tomcat-4.0.. when iam starting server by writing c:\jakarta-tomcat-4.0\bin\startup it says CATALINA_HOME environment variable is not defined correctly.this environment variable is needed to run this program. here is my autoexec file PATH c:\windows;c:\windows\command;c:\jdk\bin;c:\jakarta-tomcat-4.0\bin; set JAVA_HOME=c:\jdk; set classpath=c:\jdk\jre\lib\rt.jar;c:\jdk\lib\tools.jar;C:\jakarta-tomcat-4.0\bin ; set CATALINA_HOME=C:\jakarta-tomcat-4.0; - Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Fwd: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
You need to set the CATALINA_HOME systemwide by going to the control panel, opening sysem, selecting the Advanced tab and clicking Environment Variables. That's for Win 2000. It's similar, but a little different (if I remember correctly) on other Win versions. You can look it up under help for Environment Variables. Rick - Original Message - From: sucharitha madineni [EMAIL PROTECTED] version of jdk is 1.3.0_02.and i have set environment variables JAVA_HOME=c:\jdk and CATALINA_HOME=c:\jakarta-tomcat-4.0.. when iam starting server by writing c:\jakarta-tomcat-4.0\bin\startup it says CATALINA_HOME environment variable is not defined correctly.this environment variable is needed to run this program. here is my autoexec file PATH c:\windows;c:\windows\command;c:\jdk\bin;c:\jakarta-tomcat-4.0\bin; set JAVA_HOME=c:\jdk; set classpath=c:\jdk\jre\lib\rt.jar;c:\jdk\lib\tools.jar;C:\jakarta-tomcat-4.0\b in; set CATALINA_HOME=C:\jakarta-tomcat-4.0; -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
thanx.its working..after i deleted tomcat\bin in classpath and trailing semicolons..thanx for the help. Phillip Morelock [EMAIL PROTECTED] wrote: are trailing semicolons necessary? sorry, been a while since i used windows, but i didn't know the traililng semis were required. and the classpath one is completely unnecessary. rt.jar and tools.jar will be found if JAVA_HOME is properly set, and tomcat/bin is not a classpath location. let me know if any of this works. cheers fillup On 5/9/02 12:53 PM, sucharitha madineni wrote: version of jdk is 1.3.0_02.and i have set environment variables JAVA_HOME=c:\jdk and CATALINA_HOME=c:\jakarta-tomcat-4.0.. when iam starting server by writing c:\jakarta-tomcat-4.0\bin\startup it says CATALINA_HOME environment variable is not defined correctly.this environment variable is needed to run this program. here is my autoexec file PATH c:\windows;c:\windows\command;c:\jdk\bin;c:\jakarta-tomcat-4.0\bin; set JAVA_HOME=c:\jdk; set classpath=c:\jdk\jre\lib\rt.jar;c:\jdk\lib\tools.jar;C:\jakarta-tomcat-4.0\bin ; set CATALINA_HOME=C:\jakarta-tomcat-4.0; - Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th! -- To unsubscribe, e-mail: For additional commands, e-mail: - Do You Yahoo!? Yahoo! Shopping - Mother's Day is May 12th!
Re: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error-Can you possible -HELP-ME-PLEASE
Hi Korakaki Stella Plz could you work out wats with this . Note that a few days's ago my Planning Database Project was working fine until now. Regards Chuck Amadi *type* Exception report *message*_Internal Server Error_ *description*_The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request._ *exception* javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) *root cause* java.lang.NoSuchMethodError at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202) at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139) at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345) at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
I recently purchased Beginning JSP Web Development, installed the JDK, installed Tomcat, started Tomcat, verified that Tomcat was up and running by http://localhost:8080;. Then, I executed one of the sample Servlets --- everything worked OK. Then, I tried to execute one of the JSPs --- I received the following error.. Can you help??? Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoSuchMethodError at org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202) at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139) at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:345) at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:916) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343
Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
When I'm trying to execute the following servlet from the web browser: - import com.sap.mw.jco.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Login2 extends HttpServlet { JCO.Client mConnection; JCO.Repository mRepository; public JCO.Function createFunction(String name) throws Exception { try { IFunctionTemplate ft = mRepository.getFunctionTemplate(name.toUpperCase()); if (ft == null) return null; return ft.getFunction(); } catch (Exception ex) { throw new Exception(Problem retrieving JCO.Function object.); } } public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); String tmp; out.println(htmlbody); try { // Change the logon information to your own system/user mConnection = JCO.createClient(300, // SAP client username, // userid , // password EN, // language 127.0.0.1, // application server host name 00);// system number mConnection.connect(); mRepository = new JCO.Repository(ARAsoft, mConnection); } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } JCO.Function function = null; JCO.Table codes = null; try { function = this.createFunction(ZRFC_CUSTOMERS); if (function == null) { System.out.println(ZRFC_CUSTOMERS + not found in SAP.); System.exit(1); } JCO.ParameterList input=function.getImportParameterList(); input.setValue(0001,BUKRS); mConnection.execute(function); codes = function.getTableParameterList().getTable(CUSTOMER); for (int i = 0; i codes.getNumRows(); i++) { codes.setRow(i); tmp=codes.getString(NAME1); if (tmp.length() 12 ) { out.println(li);out.println(tmp);} else {out.println(li);out.println(tmp.substring(0,12));} } } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } out.println(/body/html); mConnection.disconnect(); } } -- The following message is displayed : -- Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Invoker service() exception at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:504) at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
-Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 7:39 AM To: Tomcat Users List Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE java.lang.NoClassDefFoundError at Login2.doGet(Login2.java:51) at - Could someone tell me what is wrong ? Please help me !! Whatever class you are trying to load on line 51 of Login2.java is not available to Tomcat. Randy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
Thanx Randy but I've placed my jar file with the classes needed at $CATALINA_HOME/common/classes/jCO.jar . This is not enough ? Stella -Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 7:39 AM To: Tomcat Users List Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE java.lang.NoClassDefFoundError at Login2.doGet(Login2.java:51) at - Could someone tell me what is wrong ? Please help me !! Whatever class you are trying to load on line 51 of Login2.java is not available to Tomcat. Randy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Stella Korakaki Koutoudis Consulting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
Thanx Randy but I've placed my jar file with the classes needed at $CATALINA_HOME/common/lib/jCO.jar . This is not enough ? Stella -Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 7:39 AM To: Tomcat Users List Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE java.lang.NoClassDefFoundError at Login2.doGet(Login2.java:51) at - Could someone tell me what is wrong ? Please help me !! Whatever class you are trying to load on line 51 of Login2.java is not available to Tomcat. Randy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Stella Korakaki Koutoudis Consulting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
A few questions to remove the obvious: 1. Have you restarted Tomcat after copying the jco.jar file? 2. Does the jco.jar file really have a file /com//jco.class? 3. Does Tomcat have permissions to read this file (more of an issue on Unix, but possible on windows)? 4. Can you run jar -xvf jco.jar to extract the jar file? 5. Have you tried putting the jar fine in the WEB-INF/lib directory to see if it works there? 6. Is Tomcat printing any error message (to catalina.log or the console) during startup that might indicate its not loading this jar? That's all I can think of right now. Try these and see if anything pops up, if not post back and I'll try another round. Randy -Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 7:59 AM To: Tomcat Users List Subject: RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE Thanx Randy but I've placed my jar file with the classes needed at $CATALINA_HOME/common/lib/jCO.jar . This is not enough ? Stella -Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 7:39 AM To: Tomcat Users List Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE java.lang.NoClassDefFoundError at Login2.doGet(Login2.java:51) at - Could someone tell me what is wrong ? Please help me !! Whatever class you are trying to load on line 51 of Login2.java is not available to Tomcat. Randy -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Stella Korakaki Koutoudis Consulting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
So it executed the Servlet Login2 as evidence in the stacktrace root cause java.lang.NoClassDefFoundError at Login2.doGet(Login2.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) ... and it got all the way to line 51. It looks like there are other classes from this jar package that are being invoked. If they are being invoked with no exception then the jar file is found. But the class at line 51 is not found. My line counting isn't working so you need to point to the source code line 51. Also assuming your classes are like this: com.sap.mw.jco.JCO.Repository and the jco.jar file is in your WEB-INF/lib directory. -Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:39 AM To: Tomcat Users List Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE When I'm trying to execute the following servlet from the web browser: - import com.sap.mw.jco.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Login2 extends HttpServlet { JCO.Client mConnection; JCO.Repository mRepository; public JCO.Function createFunction(String name) throws Exception { try { IFunctionTemplate ft = mRepository.getFunctionTemplate(name.toUpperCase()); if (ft == null) return null; return ft.getFunction(); } catch (Exception ex) { throw new Exception(Problem retrieving JCO.Function object.); } } public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); String tmp; out.println(htmlbody); try { // Change the logon information to your own system/user mConnection = JCO.createClient(300, // SAP client username, // userid , // password EN, // language 127.0.0.1, // application server host name 00);// system number mConnection.connect(); mRepository = new JCO.Repository(ARAsoft, mConnection); } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } JCO.Function function = null; JCO.Table codes = null; try { function = this.createFunction(ZRFC_CUSTOMERS); if (function == null) { System.out.println(ZRFC_CUSTOMERS + not found in SAP.); System.exit(1); } JCO.ParameterList input=function.getImportParameterList(); input.setValue(0001,BUKRS); mConnection.execute(function); codes = function.getTableParameterList().getTable(CUSTOMER); for (int i = 0; i codes.getNumRows(); i++) { codes.setRow(i); tmp=codes.getString(NAME1); if (tmp.length() 12 ) { out.println(li);out.println(tmp);} else {out.println(li);out.println(tmp.substring(0,12));} } } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } out.println(/body/html); mConnection.disconnect(); } } -- Stella Korakaki Koutoudis Consulting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE
Thanx Carl, I've placed jCO.jar at $CATALINA_HOME/common/lib/ it didn't work. I've tried to extract it and placed the classes at $CATALINA_HOME/common/classes/ and didn't work either. Also, I tried $JAVA_HOME/jre/lib/ext/jCO.jar and all other possible paths but tomcat seemed that could not find it. I worked with Apache Jserv before and the same servlets worked fine but I want to use Tomcat now. Any idea someone ? So it executed the Servlet Login2 as evidence in the stacktrace root cause java.lang.NoClassDefFoundError at Login2.doGet(Login2.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) ... and it got all the way to line 51. It looks like there are other classes from this jar package that are being invoked. If they are being invoked with no exception then the jar file is found. But the class at line 51 is not found. My line counting isn't working so you need to point to the source code line 51. Also assuming your classes are like this: com.sap.mw.jco.JCO.Repository and the jco.jar file is in your WEB-INF/lib directory. -Original Message- From: Korakaki Stella [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 4:39 AM To: Tomcat Users List Subject: Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error -HELP-ME-PLEASE When I'm trying to execute the following servlet from the web browser: - import com.sap.mw.jco.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Login2 extends HttpServlet { JCO.Client mConnection; JCO.Repository mRepository; public JCO.Function createFunction(String name) throws Exception { try { IFunctionTemplate ft = mRepository.getFunctionTemplate(name.toUpperCase()); if (ft == null) return null; return ft.getFunction(); } catch (Exception ex) { throw new Exception(Problem retrieving JCO.Function object.); } } public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); String tmp; out.println(htmlbody); try { // Change the logon information to your own system/user mConnection = JCO.createClient(300, // SAP client username, // userid , // password EN, // language 127.0.0.1, // application server host name 00);// system number mConnection.connect(); mRepository = new JCO.Repository(ARAsoft, mConnection); } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } JCO.Function function = null; JCO.Table codes = null; try { function = this.createFunction(ZRFC_CUSTOMERS); if (function == null) { System.out.println(ZRFC_CUSTOMERS + not found in SAP.); System.exit(1); } JCO.ParameterList input=function.getImportParameterList(); input.setValue(0001,BUKRS); mConnection.execute(function); codes = function.getTableParameterList().getTable(CUSTOMER); for (int i = 0; i codes.getNumRows(); i++) { codes.setRow(i); tmp=codes.getString(NAME1); if (tmp.length() 12 ) { out.println(li);out.println(tmp);} else {out.println(li);out.println(tmp.substring(0,12));} } } catch (Exception ex) { ex.printStackTrace(); System.exit(1); } out.println(/body/html); mConnection.disconnect(); } } -- Stella Korakaki Koutoudis Consulting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Stella Korakaki Koutoudis Consulting -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
error-page directive does not catch HTTP STATUS 500 errors!
Hi all, I am using a tomcat 4.0.1 standalone running on Unix. I configured my web.xml like the following: error-page exception-typejava.lang.Throwable/exception-type location/errors/err-except.html/location /error-page error-page error-code500/error-code location/errors/err-code500.html/location /error-page error-page error-code404/error-code location/errors/err-code404.html/location /error-page the code should catch all error codes - but unfortunately it does not. On HTTP STATUS 500 errors a page cannot be displayed appears. I crawled the web for this issue but i did not find anything about it. In my WEB-INF/web.xml i created the following constraint in order to generate a HTTP STATUS 500 error. security-constraint web-resource-collection web-resource-nameno-access/web-resource-name url-pattern/test.html/url-pattern /web-resource-collection auth-constraint role-namenobody/role-name /auth-constraint /security-constraint Did anyone already have found a solution? cheers// moritz smime.p7s Description: S/MIME Cryptographic Signature
Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error
Hi Everyone, We are using Apache 4.0.1, Red Hat Linux 7.1, and Java black sown 1.3.0.02. After the tomcat restarted, the pages callsJava class are all shown this error: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error Type: Exception report Message: Internal Server Error Description: The server encounterred an internal error(Internal Server Error) that prevented it from fulfilling this request. exception: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /data/domains/ java/search/search.jsp error: Can't write: /data/domains/ java/WEB-INF/classes/search.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at org.apache.jasper.servlet.JspServlet.1 oadJSP (JspServlet.java:546) at . . . a lot of other errors After this error occured, refresh the page, then the error is gone. Every page needs to do the refresh. Does anybody know why? Thanks Junying Du -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error
permissions right on the directories and files? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 9:40 AM To: [EMAIL PROTECTED] Subject: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error Hi Everyone, We are using Apache 4.0.1, Red Hat Linux 7.1, and Java black sown 1.3.0.02. After the tomcat restarted, the pages callsJava class are all shown this error: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error Type: Exception report Message: Internal Server Error Description: The server encounterred an internal error(Internal Server Error) that prevented it from fulfilling this request. exception: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: /data/domains/ java/search/search.jsp error: Can't write: /data/domains/ java/WEB-INF/classes/search.class 1 error at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at org.apache.jasper.servlet.JspServlet.1 oadJSP (JspServlet.java:546) at . . . a lot of other errors After this error occured, refresh the page, then the error is gone. Every page needs to do the refresh. Does anybody know why? Thanks Junying Du -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error
The permission for the class Folder is :drwxrwxr-x; For the java class is : -rwxrwxr-x. The permission should be correct. Thanks Junying Du -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error
Depens on the owner of the directory, the class file and the owner of the tomcat process. They have to be at least in the same group with this settings. Have also a look at the parent directories of the class folder. The user that runs tomcat must have the right to traverse all parents. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. Dezember 2001 16:52 An: Tomcat Users List Betreff: RE: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error The permission for the class Folder is :drwxrwxr-x; For the java class is : -rwxrwxr-x. The permission should be correct. Thanks Junying Du -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: AW: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error
Thanks. But why after refresh the page, it wil work OK? Thanks Junying Du -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: AW: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error
Because there is an older version of the class ? Remove all classes and see what happens. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. Dezember 2001 17:22 An: Tomcat Users List Betreff: Re: AW: Apache Tomcat/4.01 - HTTP Status 500 - Internal Server Error Thanks. But why after refresh the page, it wil work OK? Thanks Junying Du -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: HTTP Status 500
Hi Lee, I recognize this. I solved the problem with a Host inside the Engine element in the server.xml. See below: Server port=8005 shutdown=SHUTDOWN debug=0 !-- Some information of the stand-alone service, tomcat web-server -- !-- I you do not use this service, I suggest you comment it all -- !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 / !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=www.company.com debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=apache_access_log. suffix=.txt pattern=common/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / !-- Be sure that the name is the same as ServerName in httpd.conf -- Host name=www.company.com appBase=webapps Context path= docBase=ROOT crossContext=false reloadable=true / /Host /Engine /Service /Server - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 4:46 PM Subject: HTTP Status 500 Does anyone know why i get the message HTTP Status 500 - No Host matches server name www.xxx.co.uk When i use ajp13 to connect to tomcat 4 from apache 1.3.20 I am using the same method i would have used when i was using tomcat 3.x (I.e nothing has changed on the apache side Only the Connetor stuff in server.xml has changed ! Any obvious ideas anyone ? Cheers in advance Lee (Embedded image moved to file: pic00041.pcx)
Re: HTTP Status 500 - Now Exception
Thanks for that tip It did get me past the point i was stuck on. However now i am getting a class cast exception on the tomcat 4 machine with code that runs fine on the tomcat 3.x machine both use mod_jk ajp13. Both have java 1.3.1 running. java.security is identical. Is the information passed differently in the latest tomcat compared to versions 3.x. I use request.getAttribute(javax.servlet.request.X509Certificate) to extract the certificate string. Any ideas anyone. java.lang.ClassCastException: [Ljava.security.cert.X509Certificate; at .. |+--- || Matias | || Bahlenberg | || matias.bahlenber| || [EMAIL PROTECTED] | || | || 09/27/01 08:05 AM| || Please respond to| || tomcat-user | || | |+--- | | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: HTTP Status 500 | | Hi Lee, I recognize this. I solved the problem with a Host inside the Engine element in the server.xml. See below: Server port=8005 shutdown=SHUTDOWN debug=0 !-- Some information of the stand-alone service, tomcat web-server -- !-- I you do not use this service, I suggest you comment it all -- !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 / !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=www.company.com debug=0 appBase =webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=apache_access_log. suffix =.txt pattern=common/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / !-- Be sure that the name is the same as ServerName in httpd.conf -- Host name=www.company.com appBase=webapps Context path= docBase=ROOT crossContext=false reloadable=true / /Host /Engine /Service /Server - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 4:46 PM Subject: HTTP Status 500 Does anyone know why i get the message HTTP Status 500 - No Host matches server name www.xxx.co.uk When i use ajp13 to connect to tomcat 4 from apache 1.3.20 I am using the same method i would have used when i was using tomcat 3.x (I.e nothing has changed on the apache side Only the Connetor stuff in server.xml has changed ! Any obvious ideas anyone ? Cheers in advance Lee (Embedded image moved to file: pic00041.pcx)
Re: HTTP Status 500 - Now Exception
Your a life saver... Works a treat and with a deadline of tomorrow fits in perfectly. Cheers Lee |+--- || Matias | || Bahlenberg | || matias.bahlenber| || [EMAIL PROTECTED] | || | || 09/27/01 09:43 AM| || Please respond to| || tomcat-user | || | |+--- | | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: HTTP Status 500 - Now Exception | | Hi Lee, The return value is an array of certificates: java.security.cert.X509Certificate[] certArray = (java.security.cert.X509Certificate[]) request.getAttribute (javax.servlet.request.X509Certificate); // Matias - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 27, 2001 10:33 AM Subject: Re: HTTP Status 500 - Now Exception Thanks for that tip It did get me past the point i was stuck on. However now i am getting a class cast exception on the tomcat 4 machine with code that runs fine on the tomcat 3.x machine both use mod_jk ajp13. Both have java 1.3.1 running. java.security is identical. Is the information passed differently in the latest tomcat compared to versions 3.x. I use request.getAttribute(javax.servlet.request.X509Certificate) to extract the certificate string. Any ideas anyone. java.lang.ClassCastException: [Ljava.security.cert.X509Certificate; at .. |+--- || Matias | || Bahlenberg | || matias.bahlenber| || [EMAIL PROTECTED] | || | || 09/27/01 08:05 AM| || Please respond to| || tomcat-user | || | |+--- | | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: HTTP Status 500 | | Hi Lee, I recognize this. I solved the problem with a Host inside the Engine element in the server.xml. See below: Server port=8005 shutdown=SHUTDOWN debug=0 !-- Some information of the stand-alone service, tomcat web-server -- !-- I you do not use this service, I suggest you comment it all -- !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0 / !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=www.company.com debug=0 appBase =webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=apache_access_log. suffix =.txt pattern=common/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / !-- Be sure that the name is the same as ServerName in httpd.conf -- Host name=www.company.com appBase=webapps Context path= docBase=ROOT crossContext=false reloadable=true / /Host /Engine /Service
HTTP Status 500
Does anyone know why i get the message HTTP Status 500 - No Host matches server name www.cnmdealex.co.uk When i use ajp13 to connect to tomcat 4 from apache 1.3.20 I am using the same method i would have used when i was using tomcat 3.x (I.e nothing has changed on the apache side Only the Connetor stuff in server.xml has changed ! Any obvious ideas anyone ? Cheers in advance Lee
HTTP Status 500
Does anyone know why i get the message HTTP Status 500 - No Host matches server name www.xxx.co.uk When i use ajp13 to connect to tomcat 4 from apache 1.3.20 I am using the same method i would have used when i was using tomcat 3.x (I.e nothing has changed on the apache side Only the Connetor stuff in server.xml has changed ! Any obvious ideas anyone ? Cheers in advance Lee (Embedded image moved to file: pic00041.pcx) pic00041.pcx