Issue with a class not being resolved with a strange error
Has anyone seen this before and if so what does it mean? org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /index.jsp Generated servlet error: RidDB cannot be resolved or is not a type The code that makes the call is: %@ page import=com.polliard.db.RaidDB% from the webapps directory the following is the path: Raid Raid/raid.css Raid/header.jsp Raid/META-INF Raid/META-INF/MANIFEST.MF Raid/login.jsp Raid/index.jsp.old Raid/menu.jsp Raid/WEB-INF Raid/WEB-INF/lib Raid/WEB-INF/lib/postgresql-jdbc.jar Raid/WEB-INF/classes Raid/WEB-INF/classes/com Raid/WEB-INF/classes/com/polliard Raid/WEB-INF/classes/com/polliard/db Raid/WEB-INF/classes/com/polliard/db/RaidDB.class Raid/index.jsp Raid/images Raid/images/space.gif If there is any advise please let me know. Thanks Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issue with a class not being resolved with a strange error
Unless you made a typo in your email, you have a typo in index.jsp. The error says RidDB. The a is missing. Search the file for RidDB. Doug - Original Message - From: Thomas Polliard [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, June 04, 2005 11:07 PM Subject: Issue with a class not being resolved with a strange error Has anyone seen this before and if so what does it mean? org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /index.jsp Generated servlet error: RidDB cannot be resolved or is not a type The code that makes the call is: %@ page import=com.polliard.db.RaidDB% from the webapps directory the following is the path: Raid Raid/raid.css Raid/header.jsp Raid/META-INF Raid/META-INF/MANIFEST.MF Raid/login.jsp Raid/index.jsp.old Raid/menu.jsp Raid/WEB-INF Raid/WEB-INF/lib Raid/WEB-INF/lib/postgresql-jdbc.jar Raid/WEB-INF/classes Raid/WEB-INF/classes/com Raid/WEB-INF/classes/com/polliard Raid/WEB-INF/classes/com/polliard/db Raid/WEB-INF/classes/com/polliard/db/RaidDB.class Raid/index.jsp Raid/images Raid/images/space.gif If there is any advise please let me know. Thanks Thomas - 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: Issue with a class not being resolved with a strange error
Thanks I would have never seen that error. I had typed it multiple times. I feel like an idiot. Thanks again, Thomas Parsons Technical Services wrote: Unless you made a typo in your email, you have a typo in index.jsp. The error says RidDB. The a is missing. Search the file for RidDB. Doug - Original Message - From: Thomas Polliard [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, June 04, 2005 11:07 PM Subject: Issue with a class not being resolved with a strange error Has anyone seen this before and if so what does it mean? org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /index.jsp Generated servlet error: RidDB cannot be resolved or is not a type The code that makes the call is: %@ page import=com.polliard.db.RaidDB% from the webapps directory the following is the path: Raid Raid/raid.css Raid/header.jsp Raid/META-INF Raid/META-INF/MANIFEST.MF Raid/login.jsp Raid/index.jsp.old Raid/menu.jsp Raid/WEB-INF Raid/WEB-INF/lib Raid/WEB-INF/lib/postgresql-jdbc.jar Raid/WEB-INF/classes Raid/WEB-INF/classes/com Raid/WEB-INF/classes/com/polliard Raid/WEB-INF/classes/com/polliard/db Raid/WEB-INF/classes/com/polliard/db/RaidDB.class Raid/index.jsp Raid/images Raid/images/space.gif If there is any advise please let me know. Thanks Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error
Does anyone have any idea what this error means? I'm using jdk 1.5, tomcat 5.5.9 and intellij. Thanks! Connected to server ERROR [/]: Session event listener threw exception java.lang.NullPointerException at org.objectstyle.cayenne.conf.WebApplicationListener.sessionCreated(WebAp plicationListener.java:125) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java :379) at org.apache.catalina.session.StandardSession.setId(StandardSession.java:3 51) at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:7 87) at org.apache.catalina.session.StandardManager.createSession(StandardManage r.java:290) at org.apache.catalina.connector.Request.doGetSession(Request.java:2206) at org.apache.catalina.connector.Request.getSession(Request.java:2017) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav a:822) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav a:833) at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.ja va:148) at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.jav a:123) at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFacto ryImpl.java:104) at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.j ava:61) at org.apache.jsp.Login_jsp._jspService(org.apache.jsp.Login_jsp:35) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at irf.filters.FrontFilter.doFilter(FrontFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 48) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 6) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange error
You need to look at line 125 of WebApplicationListener in the org.objectstyle.cayenne.conf package and see which object might be null that you have assumed isn't. Mark Fredrik Liden wrote: Does anyone have any idea what this error means? I'm using jdk 1.5, tomcat 5.5.9 and intellij. Thanks! Connected to server ERROR [/]: Session event listener threw exception java.lang.NullPointerException at org.objectstyle.cayenne.conf.WebApplicationListener.sessionCreated(WebAp plicationListener.java:125) at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java :379) at org.apache.catalina.session.StandardSession.setId(StandardSession.java:3 51) at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:7 87) at org.apache.catalina.session.StandardManager.createSession(StandardManage r.java:290) at org.apache.catalina.connector.Request.doGetSession(Request.java:2206) at org.apache.catalina.connector.Request.getSession(Request.java:2017) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav a:822) at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.jav a:833) at org.apache.jasper.runtime.PageContextImpl._initialize(PageContextImpl.ja va:148) at org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.jav a:123) at org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFacto ryImpl.java:104) at org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.j ava:61) at org.apache.jsp.Login_jsp._jspService(org.apache.jsp.Login_jsp:35) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at irf.filters.FrontFilter.doFilter(FrontFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1 48) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85 6) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint .java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow erWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:684) at java.lang.Thread.run(Thread.java:595) - 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]
[More Info] Strange error-page behavior
Ok, I've narrowed it down to the 401 error code. If that is defined in the web.xml, all apps that authenticate will automatically show the 401 error page without prompting for credentials. Is this a bug in tomcat? I tried the same on tomcat-5.0.30 with the same results. Please help, Dustin --- Dustin [EMAIL PROTECTED] wrote: Hey all. Very bizzare problem here. I am running tomcat-5.0.28. I am trying to set up custom error pages. I originally set up a 404 error page for testing (the error-page elements are in the server web.xml, not in the app's web.xml): error-page error-code404/error-code location/errors/404-SNAPSHOT.jsp/location /error-page Put the jsp files in place (both in the ROOT webapp dir and my app's war) and everything worked great. However, as soon as I added additional error-page elements and restarted tomcat, things broke. error-page error-code404/error-code location/errors/404-SNAPSHOT.jsp/location /error-page error-page error-code401/error-code location/errors/401-SNAPSHOT.jsp/location /error-page Now my manager won't come up at all. A request to http://host:8080/manager/html/list displays a blank page. No authorization attempted. A request to another app that uses authorization (http://host:8080/auth-app/) pulls up the 401 Unauthorized page even though I was never prompted for credentials. A request to an app that has no authentication comes up just fine. I remove all but one of the error-page elements and everything is back to normal. Any ideas? Thanks, Dustin __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error-page behavior
Hey all. Very bizzare problem here. I am running tomcat-5.0.28. I am trying to set up custom error pages. I originally set up a 404 error page for testing (the error-page elements are in the server web.xml, not in the app's web.xml): error-page error-code404/error-code location/errors/404-SNAPSHOT.jsp/location /error-page Put the jsp files in place (both in the ROOT webapp dir and my app's war) and everything worked great. However, as soon as I added additional error-page elements and restarted tomcat, things broke. error-page error-code404/error-code location/errors/404-SNAPSHOT.jsp/location /error-page error-page error-code401/error-code location/errors/401-SNAPSHOT.jsp/location /error-page Now my manager won't come up at all. A request to http://host:8080/manager/html/list displays a blank page. No authorization attempted. A request to another app that uses authorization (http://host:8080/auth-app/) pulls up the 401 Unauthorized page even though I was never prompted for credentials. A request to an app that has no authentication comes up just fine. I remove all but one of the error-page elements and everything is back to normal. Any ideas? Thanks, Dustin __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan
Hi *, I get the following error when trying to transform a xml document with a XSLT stylesheet: ; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298; Column#: 66 javax.xml.transform.TransformerException: Unknown error in XPath at org.apache.xpath.XPath.bool(XPath.java:411) at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198) ... In the stylesheet, I test for an empty string: xsl:if test=not(string(./title)) The error occurs: - with ANY test condition that tests for an empty string (e.g. with string-length(./entry) = 0 - with having xalan.jar, xml-apis.jar and xercesImpl.jar in my WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0 - with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x - NOT with JDK 1.3 - NOT on Linux - NOT with resin It's these kind of errors that makes being a programmer a real fun! Does anyone have a tip on what to do? -- Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan
Martin Monsorno [EMAIL PROTECTED] writes: Hi *, I get the following error when trying to transform a xml document with a XSLT stylesheet: ; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298; Column#: 66 javax.xml.transform.TransformerException: Unknown error in XPath at org.apache.xpath.XPath.bool(XPath.java:411) at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198) ... In the stylesheet, I test for an empty string: xsl:if test=not(string(./title)) The error occurs: - with ANY test condition that tests for an empty string (e.g. with string-length(./entry) = 0 - with having xalan.jar, xml-apis.jar and xercesImpl.jar in my WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0 - with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x - NOT with JDK 1.3 - NOT on Linux - NOT with resin Ah, yes, and it does NOT occur when running the transforming by directly calling xalan from the command line and not via TomCat! -- Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan
Have you tried just testing (title) instead of (./title)? The added ./ seems unneceassry. At 02:25 AM 7/1/2004, you wrote: Hi *, I get the following error when trying to transform a xml document with a XSLT stylesheet: ; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298; Column#: 66 javax.xml.transform.TransformerException: Unknown error in XPath at org.apache.xpath.XPath.bool(XPath.java:411) at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198) ... In the stylesheet, I test for an empty string: xsl:if test=not(string(./title)) The error occurs: - with ANY test condition that tests for an empty string (e.g. with string-length(./entry) = 0 - with having xalan.jar, xml-apis.jar and xercesImpl.jar in my WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0 - with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x - NOT with JDK 1.3 - NOT on Linux - NOT with resin It's these kind of errors that makes being a programmer a real fun! Does anyone have a tip on what to do? -- Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: strange error when processing stylesheets: tomcat, jdk1.4, windows, xalan
Quoting Martin Monsorno [EMAIL PROTECTED]: Martin Monsorno [EMAIL PROTECTED] writes: Hi *, I get the following error when trying to transform a xml document with a XSLT stylesheet: ; SystemID: jndi:/localhost/ipas/xsl/minutes_pdf.xsl; Line#: 298; Column#: 66 javax.xml.transform.TransformerException: Unknown error in XPath at org.apache.xpath.XPath.bool(XPath.java:411) at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:198) ... In the stylesheet, I test for an empty string: xsl:if test=not(string(./title)) The error occurs: - with ANY test condition that tests for an empty string (e.g. with string-length(./entry) = 0 - with having xalan.jar, xml-apis.jar and xercesImpl.jar in my WEB-INF/lib from any xalan versions of 2.5.0, 2.5.2, 2.6.0 - with Tomcat 4.1.29 on Windows 2000 and JDK 1.4x - NOT with JDK 1.3 Well, this should be obvious by now. JDK1.4+ ships with Xalan. As such, it is an endorsed library. You shouldn't be putting endorsed libraries in WEB-INF/lib. Since Tomcat adds Xerces and xml-apis to common/endorsed, they become endorsed libraries as well. Tomcat classloaders will actively ignore endorsed libraries sitting in WEB-INF/lib. As such, your own versions of the libraries are doing nothing whatsoever being there. If you want to update Tomcat with the latest Xerces and xml-apis, delete the existing ones from common/endorsed and add yours there. You can also add Xalan there, but probably should add it to JAVA_HOME/jre/lib/endorsed (create the directory if it doesn't already exist). I suggest you use the 2jars release to avoid making BCel (which Xalan ships with... and old version at that) an endorsed library. If things don't work after this, then I'm at a loss. - NOT on Linux - NOT with resin Ah, yes, and it does NOT occur when running the transforming by directly calling xalan from the command line and not via TomCat! Jake -- Martin - 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: Strange error
What event listeners? -Original Message- From: Nathan Maves [mailto:[EMAIL PROTECTED] Sent: May 5, 2004 08:15 To: Tomcat Users List Subject: Re: Strange error The object is a custom object. The only difference I can find is that this object has some event listeners attached to it. It is an implementation of a Tree object. The only java objects that it uses are Map, TreeMap and few other util classes. Nathan On May 5, 2004, at 7:18 AM, QM wrote: On Tue, May 04, 2004 at 02:30:16PM -0600, Nathan Maves wrote: : What could cause this error in Tomcat 5.0.19. : : 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager: : ManagerServlet.reload[/ReportViewer] : java.lang.ThreadDeath : at : org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade r : .java:1270) : [snip] : It happens when I place an object in the session and then click reload : from the webapp manager. Any object, or a particular object? (especially a custom object) Does said object do anything with threads, such as calling ::stop()? -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] - 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: Strange error
On Tue, May 04, 2004 at 02:30:16PM -0600, Nathan Maves wrote: : What could cause this error in Tomcat 5.0.19. : : 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager: : ManagerServlet.reload[/ReportViewer] : java.lang.ThreadDeath : at : org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader : .java:1270) : [snip] : It happens when I place an object in the session and then click reload : from the webapp manager. Any object, or a particular object? (especially a custom object) Does said object do anything with threads, such as calling ::stop()? -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]
Re: Strange error
The object is a custom object. The only difference I can find is that this object has some event listeners attached to it. It is an implementation of a Tree object. The only java objects that it uses are Map, TreeMap and few other util classes. Nathan On May 5, 2004, at 7:18 AM, QM wrote: On Tue, May 04, 2004 at 02:30:16PM -0600, Nathan Maves wrote: : What could cause this error in Tomcat 5.0.19. : : 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager: : ManagerServlet.reload[/ReportViewer] : java.lang.ThreadDeath : at : org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoade r : .java:1270) : [snip] : It happens when I place an object in the session and then click reload : from the webapp manager. Any object, or a particular object? (especially a custom object) Does said object do anything with threads, such as calling ::stop()? -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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error
What could cause this error in Tomcat 5.0.19. 2004-05-04 14:21:02 StandardContext[/manager]HTMLManager: ManagerServlet.reload[/ReportViewer] java.lang.ThreadDeath at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1270) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader .java:1230) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:145) at org.apache.log4j.Category.forcedLog(Category.java:372) at org.apache.log4j.Category.log(Category.java:864) at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:192) at org.apache.catalina.session.StandardManager.start(StandardManager.java: 706) at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4226) at org.apache.catalina.core.StandardContext.reload(StandardContext.java: 2990) at org.apache.catalina.manager.ManagerServlet.reload(ManagerServlet.java: 1019) at org.apache.catalina.manager.HTMLManagerServlet.reload(HTMLManagerServlet .java:524) at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet. java:147) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:204) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi lter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:233) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon textValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base.java:587) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 567) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :184) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 567) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC onnection(Http11Protocol.java:732) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:688) at java.lang.Thread.run(Thread.java:552) It happens when I place an object in the session and then click reload from the webapp manager. Nathan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: strange error messages in tomcat log and mod_jk2 log
My production server setup is Apache/1.3.19 (built on HP-UX)mod_ssl/mod_jk/tomcat 4.1.29 on a separate machine I have a moderate loads of 5-10 hits per second and no really big responses (no more than 300k) What I know so far is that this is caused by an attempt by the coyote connector to write in a already closed by the mod_jk socked. The hints I have so far: 1. some proxy servers in the middle might explicitly close lenghty collections 2. lotso ppl blame users pressing stop button in browser!? 3. I follwed some forum thread somewhere (cant remember now) where the guys had observed as a weird bahaviour of Windows IE. They had narrowed the log entry appearances to a hit to a page where the request was submited like this: a href=blah/blah.html onclick=if (boolean_exp) some_form.submit() They were saying that the IE evaluates the onclick and submits the form, at the same time requests the blah/blah.html document, and THEN decides that the blah/blah.html document is not needed and just closes the socket. The guys also were saying that such a behaviour was not observed while tested with Mozzila and Opera browsers. They have been able to avoid it just by making the onclick event handler return false: a href=blah/blah.html onclick=if (boolean_exp) some_form.submit(); return false Though, I have not tested it myself. -Original Message- From: Chris Joelly [mailto:[EMAIL PROTECTED] Sent: 15 2003 . 10:31 To: Tomcat Users List Subject: Re: strange error messages in tomcat log and mod_jk2 log Hi! thanx for your reply. hm. it's a very strange thing. some questions: are you running your application under heavy load? are the responses very big in size? do you use the apache2/mod_jk2/tomcat4 config on a windows nt4 box? does a dialogbox appear on the server with an error message stateing that the apache.exe caused an internal error, and after pressing Ok the apache2 server continues to run? maybe we can find some similarities. we have no idea what direction to look for, and the problem is very critical because a very big application is crashing every few minutes, so a production environment couldn't be setup... :-(( thx, Chris Am Fri, Dec 12, 2003 at 01:46:13PM +0200, Altankov Peter meinte: Hi! Im gettting a similar traces in catalina.out: Dec 11, 2003 8:00:03 PM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654) at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:536) Acompanied with this in mod_jk.log: [Thu Dec 11 20:38:39 2003] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed (in my config they run on separate UNIX boxes and unfortunately the one is 38 minutes ahead in time ) I have no clue what might be causing it. Posted it coupleof times but got no comments. Although my tomcat don?t seem to crash, I don?t consider it?s a normal situation. Any ideas someone? Thanks in advance! -- mit freundlichen Gren / with kind regards Ing. Christian Jlly @ Solutions unycom Information Technology Services GmbH A-8042 Graz | Schmiedlstrae 1 / III Tel: ++43 (0)316 / 818 828 - 30 Fax: ++43 (0)316 / 818 828 - 38 [EMAIL PROTECTED] http://www.unycom.com Ein Physiker, ein Mathematiker und ein Windows-Programmierer fahren in einem Auto, als dieses pltzlich der Geist aufgibt. Der Physiker schlgt vor, mal das Benzin zu kontrollieren. Der Mathematiker sagt, er verstehe nicht viel von Autos, aber man solle mal das Khlwasser berprfen. Der Windows-Programmierer meint, er wrde zuerst alle Fenster schlieen, aussteigen, erneut einsteigen und dann alle Fenster wieder ffnen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: strange error messages in tomcat log and mod_jk2 log
Hi! thanx for your reply. hm. it's a very strange thing. some questions: are you running your application under heavy load? are the responses very big in size? do you use the apache2/mod_jk2/tomcat4 config on a windows nt4 box? does a dialogbox appear on the server with an error message stateing that the apache.exe caused an internal error, and after pressing Ok the apache2 server continues to run? maybe we can find some similarities. we have no idea what direction to look for, and the problem is very critical because a very big application is crashing every few minutes, so a production environment couldn't be setup... :-(( thx, Chris Am Fri, Dec 12, 2003 at 01:46:13PM +0200, Altankov Peter meinte: Hi! Im gettting a similar traces in catalina.out: Dec 11, 2003 8:00:03 PM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654) at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:536) Acompanied with this in mod_jk.log: [Thu Dec 11 20:38:39 2003] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed (in my config they run on separate UNIX boxes and unfortunately the one is 38 minutes ahead in time ) I have no clue what might be causing it. Posted it coupleof times but got no comments. Although my tomcat don?t seem to crash, I don?t consider it?s a normal situation. Any ideas someone? Thanks in advance! -- mit freundlichen Grüßen / with kind regards Ing. Christian Jölly @ Solutions unycom Information Technology Services GmbH A-8042 Graz | Schmiedlstraße 1 / III Tel: ++43 (0)316 / 818 828 - 30 Fax: ++43 (0)316 / 818 828 - 38 [EMAIL PROTECTED] http://www.unycom.com Ein Physiker, ein Mathematiker und ein Windows-Programmierer fahren in einem Auto, als dieses plötzlich der Geist aufgibt. Der Physiker schlägt vor, mal das Benzin zu kontrollieren. Der Mathematiker sagt, er verstehe nicht viel von Autos, aber man solle mal das Kühlwasser überprüfen. Der Windows-Programmierer meint, er würde zuerst alle Fenster schließen, aussteigen, erneut einsteigen und dann alle Fenster wieder öffnen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: strange error messages in tomcat log and mod_jk2 log
Hello again! has anybody expirienced the same error messages in his log files? i can't figure out whats going on and need help soon, because the server crashes very often :-| thxalot, Chris -- mit freundlichen Grüßen / with kind regards Ing. Christian Jölly @ Solutions unycom Information Technology Services GmbH A-8042 Graz | Schmiedlstraße 1 / III Tel: ++43 (0)316 / 818 828 - 30 Fax: ++43 (0)316 / 818 828 - 38 [EMAIL PROTECTED] http://www.unycom.com Wie man sein Kind nicht nennen sollte: Otto Motor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: strange error messages in tomcat log and mod_jk2 log
Hi! Im gettting a similar traces in catalina.out: Dec 11, 2003 8:00:03 PM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654) at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:536) Acompanied with this in mod_jk.log: [Thu Dec 11 20:38:39 2003] [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed (in my config they run on separate UNIX boxes and unfortunately the one is 38 minutes ahead in time ) I have no clue what might be causing it. Posted it coupleof times but got no comments. Although my tomcat dont seem to crash, I dont consider its a normal situation. Any ideas someone? Thanks in advance! -Original Message- From: Chris Joelly [mailto:[EMAIL PROTECTED] Sent: 11 2003 . 12:30 To: [EMAIL PROTECTED] Subject: strange error messages in tomcat log and mod_jk2 log Hello! i found some strange error messages in both tomcat log and mod_jk2 log and i can't figure out whats going on: tomcat log: Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:407) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:599) at org.apache.jk.server.JkCoyoteHandler.action (JkCoyoteHandler.java:385) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.coyote.tomcat4.OutputBuffer.close (OutputBuffer.java:326) at org.apache.coyote.tomcat4.CoyoteResponse.finishResponse (CoyoteResponse.java:500) at org.apache.coyote.tomcat4.CoyoteAdapter.service (CoyoteAdapter.java:224) at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:263) at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt (ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:407) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:599) at org.apache.jk.server.JkCoyoteHandler.action (JkCoyoteHandler.java:385) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:268) at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt (ChannelSocket.java:679
strange error messages in tomcat log and mod_jk2 log
Hello! i found some strange error messages in both tomcat log and mod_jk2 log and i can't figure out whats going on: tomcat log: Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:407) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:599) at org.apache.jk.server.JkCoyoteHandler.action (JkCoyoteHandler.java:385) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.coyote.tomcat4.OutputBuffer.close (OutputBuffer.java:326) at org.apache.coyote.tomcat4.CoyoteResponse.finishResponse (CoyoteResponse.java:500) at org.apache.coyote.tomcat4.CoyoteAdapter.service (CoyoteAdapter.java:224) at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:263) at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt (ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) Dec 10, 2003 11:40:58 AM org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:407) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:599) at org.apache.jk.server.JkCoyoteHandler.action (JkCoyoteHandler.java:385) at org.apache.coyote.Response.action(Response.java:222) at org.apache.coyote.Response.finish(Response.java:343) at org.apache.jk.server.JkCoyoteHandler.invoke (JkCoyoteHandler.java:268) at org.apache.jk.common.HandlerRequest.invoke (HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke (ChannelSocket.java:604) at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java:562) at org.apache.jk.common.SocketConnection.runIt (ChannelSocket.java:679) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:619) at java.lang.Thread.run(Thread.java:536) mod_jk2 log: [Wed Dec 10 09:00:48 2003] [jk_ajp_common.c (679)]: ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [Wed Dec 10 09:00:48 2003] [jk_ajp_common.c (1041)]: Error reading reply [Wed Dec 10 09:00:48 2003] [jk_ajp_common.c (1178)]: In jk_endpoint_t::service, ajp_get_reply failed in send loop 0 [Wed Dec 10 09:12:55 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 09:13:18 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 09:23:12 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 09:24:06 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 09:27:33 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 09:29:03 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 09:59:31 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 10:29:30 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 10:29:35 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 11:03:36 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 11:40:58 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 11:41:00 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 11:41:00 2003] [jk_ajp_common.c (961)]: Error ajp_process_callback - write failed [Wed Dec 10 12:17:16 2003] [jk_ajp_common.c (679)]: ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [Wed Dec 10 12:17:16 2003] [jk_ajp_common.c (1041)]: Error reading reply [Wed Dec 10 12:17:16 2003
Strange error message
What does this mean? javax.servlet.ServletException: org/mozilla/javascript/Scriptable It's somehow getting out of a block of code encased in a try-catch of Exception, but of course doesn't give me a line number or any actual information, and com.mozilla.javascript.Scriptable isn't even a class, it's an interface. Anyway, I've got no idea what's going on, and in a fair hurry to get it fixed. Any pointers much appreciated. Cheers, -Josh -- [ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange error message
Howdy, Is there a full stack trace or other messages in the log? Could it simply be a class not found exception for that interface, which is being used by a 3rd party library your webapp relies upon? Yoav Shapira Millennium ChemInformatics -Original Message- From: Josh G [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 2:36 AM To: [EMAIL PROTECTED] Subject: Strange error message What does this mean? javax.servlet.ServletException: org/mozilla/javascript/Scriptable It's somehow getting out of a block of code encased in a try-catch of Exception, but of course doesn't give me a line number or any actual information, and com.mozilla.javascript.Scriptable isn't even a class, it's an interface. Anyway, I've got no idea what's going on, and in a fair hurry to get it fixed. Any pointers much appreciated. Cheers, -Josh -- [ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange error message
Are you using Batik? If so: org.mozilla.javascript.Scriptable.class is found in the js.jar of the Batik 1.5 distribution. Have you deployed that jar? HTH, Jon Josh G wrote: What does this mean? javax.servlet.ServletException: org/mozilla/javascript/Scriptable It's somehow getting out of a block of code encased in a try-catch of Exception, but of course doesn't give me a line number or any actual information, and com.mozilla.javascript.Scriptable isn't even a class, it's an interface. Anyway, I've got no idea what's going on, and in a fair hurry to get it fixed. Any pointers much appreciated. Cheers, -Josh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange error message
Jon Wingfield wrote: Are you using Batik? If so: org.mozilla.javascript.Scriptable.class is found in the js.jar of the Batik 1.5 distribution. Have you deployed that jar? HTH, Jon Yeah we eventually figured out it was a noclassdeffound error, of course if tomcat had actually told me it could have saved me half a day of tracking down queer errors (well there's one i tracked down, the other is too strange and I'm working around it). Cheers, -Josh -- [ Josh 'G' McDonald ][ 0415 784 825 ][ http://www.gfunk007.com/ ] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error message in catalina.out
Hi, when I execute shutdown.sh I get strange error messages in catalina.out. How can I fix it? I use tc-4.1.24 von RedHat-9. Zsolt SEVERE: Caught exception trying to unlock accept. java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.init(Unknown Source) at java.net.Socket.init(Unknown Source) at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:326) at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Unknown Source) Aug 10, 2003 11:03:55 AM org.apache.tomcat.util.net.PoolTcpEndpoint closeServerSocket SEVERE: Caught exception trying to close socket. java.lang.NullPointerException at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:338) at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Unknown Source) Aug 10, 2003 11:03:55 AM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket WARNING: Reinitializing ServerSocket - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
strange error
I ran the tomcat for second time and now when i try to stop it behaves like this.. [EMAIL PROTECTED] bin]# ./shutdown.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar Using CATALINA_BASE: ./.. Using CATALINA_HOME: ./.. Using JAVA_HOME: /usr/local/j2sdk1.4.0_01 Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Caused by: java.lang.ClassFormatError: org/apache/xerces/readers/DefaultEntityHandler$NullReader (Illegal Class name java/lang/Exce`tion) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:246) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.stop(Catalina.java:817) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) and more like thisIf someone could understand the possible cause.. regards. -- harsh http://www.cse.iitb.ac.in/~harsh -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: strange error
Sounds like you may have a corrupted .jar file. -Original Message- From: harsh [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:18 To: Tomcat Users List Subject: strange error I ran the tomcat for second time and now when i try to stop it behaves like this.. [EMAIL PROTECTED] bin]# ./shutdown.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar Using CATALINA_BASE: ./.. Using CATALINA_HOME: ./.. Using JAVA_HOME: /usr/local/j2sdk1.4.0_01 Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Caused by: java.lang.ClassFormatError: org/apache/xerces/readers/DefaultEntityHandler$NullReader (Illegal Class name java/lang/Exce`tion) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:246) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.stop(Catalina.java:817) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) and more like thisIf someone could understand the possible cause.. regards. -- harsh http://www.cse.iitb.ac.in/~harsh -- - 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: strange error
what tomcat version did you use. i got a similary error when i shutdown an older version of tomcat something like 4.1.24 or so. i have installed the newest tomcat version and this works fine. bernd Bodycombe, Andrew schrieb: Sounds like you may have a corrupted .jar file. -Original Message- From: harsh [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:18 To: Tomcat Users List Subject: strange error I ran the tomcat for second time and now when i try to stop it behaves like this.. [EMAIL PROTECTED] bin]# ./shutdown.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar Using CATALINA_BASE: ./.. Using CATALINA_HOME: ./.. Using JAVA_HOME: /usr/local/j2sdk1.4.0_01 Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Caused by: java.lang.ClassFormatError: org/apache/xerces/readers/DefaultEntityHandler$NullReader (Illegal Class name java/lang/Exce`tion) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:246) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.stop(Catalina.java:817) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) and more like thisIf someone could understand the possible cause.. regards. -- harsh http://www.cse.iitb.ac.in/~harsh -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: strange error
STOP SENDING ME E MAILS YOU GUYS HAVE THE WRONG PERSON PLEASE CONTACT TOMCAT -Original Message- From: BERND PIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 4:23 AM To: Tomcat Users List Subject: Re: strange error what tomcat version did you use. i got a similary error when i shutdown an older version of tomcat something like 4.1.24 or so. i have installed the newest tomcat version and this works fine. bernd Bodycombe, Andrew schrieb: Sounds like you may have a corrupted .jar file. -Original Message- From: harsh [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:18 To: Tomcat Users List Subject: strange error I ran the tomcat for second time and now when i try to stop it behaves like this.. [EMAIL PROTECTED] bin]# ./shutdown.sh Guessing CATALINA_HOME from catalina.sh to ./.. Setting CATALINA_HOME to ./.. Using CLASSPATH: ./../bin/bootstrap.jar:/usr/local/j2sdk1.4.0_01/lib/tools.jar Using CATALINA_BASE: ./.. Using CATALINA_HOME: ./.. Using JAVA_HOME: /usr/local/j2sdk1.4.0_01 Exception during startup processing java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3 9 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) Caused by: java.lang.ClassFormatError: org/apache/xerces/readers/DefaultEntityHandler$NullReader (Illegal Class name java/lang/Exce`tion) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:246) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228) at org.apache.catalina.startup.Catalina.stop(Catalina.java:817) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) and more like thisIf someone could understand the possible cause.. regards. --- - -- harsh http://www.cse.iitb.ac.in/~harsh --- - -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error
I'm using massively rmi into my web app but when i unload my web app I get : WebappClassLoader: Lifecycle error : CL stopped java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.lang.ClassNotFoundException: java.lang.StackTraceElement (no security manager: RMI class loader disabled) somebody can explain it to me because, rmi class loader seem to work well Thanks a lot Mourad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error for a new user...
I'm trying a basic form posting on my newly installed Tomcat server. Not really sure what this error means, but it occured when I tried a basic posting to process.jsp. The posting worked on my remote webspace, so I'm assuming it's a Tomcat configuration problem. I'm running Tomcat on Windows XP. The error message that I got is below. - 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: 10 in the jsp file: /begjsp3/process.jsp Generated servlet error: [javac] Compiling 1 source file G:\Tomcat 4.1\work\Standalone\localhost\_\begjsp3\process_jsp.java:64: cannot resolve symbol symbol : method getParamenterValues (java.lang.String) location: interface javax.servlet.http.HttpServletRequest String[] toppings = request.getParamenterValues(toppings); ^ 1 error 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:340) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184) 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:260) 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:170) 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:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530) at java.lang.Thread.run(Thread.java:536) Apache Tomcat/4.1.18 = Barry W. Jones III [EMAIL PROTECTED] Life is like a dogsled team; if you ain't the lead dog, the scenery never changes. - Lewis Grizzard __
RE: Strange error for a new user...
Barry wrote: G:\Tomcat 4.1\work\Standalone\localhost\_\begjsp3\process_jsp.java:64: cannot resolve symbol symbol : method getParamenterValues (java.lang.String) location: interface javax.servlet.http.HttpServletRequest String[] toppings = request.getParamenterValues(toppings); ^ 1 error Looks to me like you've misspelled 'Parameters'. Assuming there _is_ a getParameters method... I've only ever used getParameter. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error message - need help
Hello, I want to use my own servlets with tomcat, but I'm complaint Starting service Tomcat-Standalone Apache Tomcat/4.0.3 PARSE error at line 93 column 20 org.xml.sax.SAXParseException: Element type res-ref-type must be declared. Starting service Tomcat-Apache Apache Tomcat/4.0.3 I attach my web.xml file. As far as I can check against documentation it should be o.k.. Kind regards Karlheinz Heger Fujitsu-Siemens Computers GmbH Bean Transactions - EJB Application Server Otto-Hahn-Ring 6 D-81739 Munich Germany Phone: +49-89-636-40782 Mail:[EMAIL PROTECTED] www: http://bs2www.fujitsu-siemens.com/rl/products/software/openseas.html web.xml - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange error message - need help
I can see just one attachment with the unsubscribe info of the tomcat list but no web.xml. (Unless my mailreader is doing something strange) -Original Message- From: Heger, Karlheinz [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 12:54 PM To: '[EMAIL PROTECTED]' Subject: Strange error message - need help I attach my web.xml file. As far as I can check against documentation it should be o.k.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error
Please, somebody can help me? I'm getting this error message and I don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection pooling mechanism Connection is closed. Operation is not permitted. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1ResultSet.java:63) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java) at com.w2.infra.db.DbVector.next(DbVector.java:141) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange error
Either your database connection is timing out or else you are trying to use a ResultSet obtained from a Statement which, in turn, was obtained from a Connection which you have closed yourself. Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - Original Message - From: Felipe Schnack [EMAIL PROTECTED] To: pgsql-jdbc [EMAIL PROTECTED]; Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 04:45 Subject: Strange error Please, somebody can help me? I'm getting this error message and I don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection pooling mechanism Connection is closed. Operation is not permitted. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1ResultSet.java :63) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java) at com.w2.infra.db.DbVector.next(DbVector.java:141) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 - 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: Strange error
Howdy, Make sure not to release a connection before you're done processing result sets ;) Same thing for closing statements, etc. Yoav Shapira Millennium ChemInformatics -Original Message- From: Felipe Schnack [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 6:45 AM To: pgsql-jdbc; Tomcat Users List Subject: Strange error Please, somebody can help me? I'm getting this error message and I don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection pooling mechanism Connection is closed. Operation is not permitted. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1ResultSet.jav a:63) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java) at com.w2.infra.db.DbVector.next(DbVector.java:141) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 - 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: Strange error
Felipe, Just one additional idea: Are you executing another command on the same connection? This destroys the result set. Eg, if you are trying to loop over the result set, and are using the same connection to do an update or delete on this or another table, you will get this sort of error. Andy -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: 10 February 2003 14:04 To: Tomcat Users List Subject: Re: Strange error Either your database connection is timing out or else you are trying to use a ResultSet obtained from a Statement which, in turn, was obtained from a Connection which you have closed yourself. Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - Original Message - From: Felipe Schnack [EMAIL PROTECTED] To: pgsql-jdbc [EMAIL PROTECTED]; Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 04:45 Subject: Strange error Please, somebody can help me? I'm getting this error message and I don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection pooling mechanism Connection is closed. Operation is not permitted. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1Resu ltSet.java :63) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java) at com.w2.infra.db.DbVector.next(DbVector.java:141) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange error
I was wrongly reusing the statement, and in a specific situation I was closing it too... thank you all for your tips :-) On Mon, 2003-02-10 at 12:57, Andy Eastham wrote: Felipe, Just one additional idea: Are you executing another command on the same connection? This destroys the result set. Eg, if you are trying to loop over the result set, and are using the same connection to do an update or delete on this or another table, you will get this sort of error. Andy -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: 10 February 2003 14:04 To: Tomcat Users List Subject: Re: Strange error Either your database connection is timing out or else you are trying to use a ResultSet obtained from a Statement which, in turn, was obtained from a Connection which you have closed yourself. Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consultants http://www.sbdconsultants.com - Original Message - From: Felipe Schnack [EMAIL PROTECTED] To: pgsql-jdbc [EMAIL PROTECTED]; Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 04:45 Subject: Strange error Please, somebody can help me? I'm getting this error message and I don't know why... I'm using PostgreSQL 7.3 and Tomcat 4.1.18 connection pooling mechanism Connection is closed. Operation is not permitted. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.next(AbstractJdbc1Resu ltSet.java :63) at org.apache.commons.dbcp.DelegatingResultSet.next(DelegatingResultSet.java) at com.w2.infra.db.DbVector.next(DbVector.java:141) -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange error when importing class in JSP under TC4.1.18
Dear all, I am tearing my hair out trying to solve this problem... it seems to be a problem with TC. Here is the exception from TC: org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:248) 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.ApplicationDispatcher.invoke(ApplicationDispatc her.java:684) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp atcher.java:432) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat cher.java:356) at WelcomeServlet.gotoPage(WelcomeServlet.java:197) at WelcomeServlet.doGet(WelcomeServlet.java:125) The servlet, WelcomeServlet, finishes putting a array of object of type MajorCat, and NewItem into session. ... session.setAttribute(majorcat, majorcat); session.setAttribute(newitem, newitem); gotoPage(/Welcome.jsp, request, response); ... Then go straight to the Welcome.jsp page. The page uses the majorcat object. Here is the beginning of the JSP file: %@page import=MajorCat % jsp:useBean id=majorcat class=MajorCat[] scope=session / html ... TC 4.1.18 doesn't like it. It just throws the above mentioned exception. I take the two lines out, and take out all JSP code which uses majorcat, then it works fine! Strangely, it worked fine before! What's the problem??? Please shed some light and share your thought! Many, many thanks! charles
Re: Strange error when importing class in JSP under TC4.1.18
On Sat, 18 Jan 2003, Charles So wrote: Date: Sat, 18 Jan 2003 20:50:21 +0800 From: Charles So [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Strange error when importing class in JSP under TC4.1.18 Dear all, I am tearing my hair out trying to solve this problem... it seems to be a problem with TC. If you're running JDK 1.4.1 or later, it's not Tomcat -- it's the JDK that doesn't like this. JDK 1.4.1 tightened up rules that have always been in the Java Language Specification (but never enforced by javac) that you can't import an unpackaged class. That's exactly what you are trying to do here. Place your classes in packages and they'll work fine. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Strange Error
Hi, I am having a very strange error @ the moment where I can access a servlet on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the servlet into a web browser however if I access the servlet as a form processor (action on a form) the browser tells me that The page cannot be displayed. (standard IE error) I have checked everything in the web.xml file over and over again. Has anybody else had this problem. Is it to do with host names. Please get back to me quickly. It is kind of urgent. Cheers Rob Grundel Software Engineer Pitt Sherry IT [EMAIL PROTECTED] ph: (03) 63231931 mob ph: 0417762243 === This email may be confidential and/or privileged. Only the intended recipient may access or use it. We use virus scanning software but exclude all liability for viruses or similar in any attachment. Copyright in this email and any document created by Pitt Sherry Consulting Engineers will remain vested in Pitt Sherry Consulting Engineers and will not transfer to you. If you have received this email by mistake, please telephone (613) 6323 1900 (reverse charges), or forward message to [EMAIL PROTECTED] === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange Error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 06, 2002 at 12:17:02PM +1000, Rob Grundel wrote: Hi, hello. I am having a very strange error @ the moment where I can access a servlet on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the servlet into a web browser however if I access the servlet as a form processor (action on a form) the browser tells me that The page cannot be displayed. (standard IE error) this is not very helpful. i would suggest you use a browser that doesn't hide errors. also, what do the logs say? stab in the dark: you defined doget() in your servlet but not dopost() and your form does a post. stab #1: if you have defined dopost() perhaps there is an error in it. we would have to see your logs to tell you anything more. === This email may be confidential and/or privileged. Only the intended recipient may access or use it. We use virus scanning software but exclude all liability for viruses or similar in any attachment. Copyright in this email and any document created by Pitt Sherry Consulting Engineers will remain vested in Pitt Sherry Consulting Engineers and will not transfer to you. If you have received this email by mistake, please telephone (613) 6323 1900 (reverse charges), or forward message to [EMAIL PROTECTED] === and after reading that, i don't know if i really want to help you any more. this is considered impolite on a mailing list. perhaps your employer makes this manditory. perhaps you should persuade them otherwise. - -- Peter Abplanalp PGP: pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9eBusggA8sH0iRXQRAkcKAJ4/55wjoQx/geyblNhtO11WqlJZiwCfVAaB c6Z+Z9mxiXhqfLIfc541Vo4= =bCzU -END PGP SIGNATURE- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Strange Error
Rob, If you don't want to use a better browser, you should at least reconfigure your IE to give you more complete and accurate error mesages. I'm sure the method varies from version to version of Windows and IE, but I'll tell you how it's done on Win2K Pro with IE 6: Open your Internet Properties control panel. This can be done in the Control Panel folder in a Windows Explorer windo or via the Control Panel sub-menu in your system's Start menu. Once you have the Internet Properties control panel open, switch to the Advanced tab (the right-most one). Look for the option Show friendly HTTP error messages and disable it. What's friendly to a real person is not necessarily friendly to a S/W developer... If that doesn't disclose enough information to solve the problem, report back with more detailed error messages. By the way, if you're developing software for general public release or for release to a user community not under some sort of single-browser dictate, you should test your software with a variety of browsers. I use Netscape 4.7x, Mozilla and Opera and IE. That's a rather minimal set, actually. For Mac users, there's iCab, too and in general there's a larger set of browsers than many people realize. At least test on a few unless you know your user community is using a restricted set of browsers. Good luck. Randall Schulz At 19:17 2002-09-05, Rob Grundel wrote: Hi, I am having a very strange error @ the moment where I can access a servlet on Tomcat (4.0.4 Standalone on WinNT) by directly typing the address of the servlet into a web browser however if I access the servlet as a form processor (action on a form) the browser tells me that The page cannot be displayed. (standard IE error) I have checked everything in the web.xml file over and over again. Has anybody else had this problem. Is it to do with host names. Please get back to me quickly. It is kind of urgent. Cheers Rob Grundel Software Engineer Pitt Sherry IT [EMAIL PROTECTED] ph: (03) 63231931 mob ph: 0417762243 === This email may be confidential and/or privileged. Only the intended recipient may access or use it. We use virus scanning software but exclude all liability for viruses or similar in any attachment. Copyright in this email and any document created by Pitt Sherry Consulting Engineers will remain vested in Pitt Sherry Consulting Engineers and will not transfer to you. If you have received this email by mistake, please telephone (613) 6323 1900 (reverse charges), or forward message to [EMAIL PROTECTED] === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Randy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Strange Error
I'm not sure if this sheds any light on the situation...BUT... I am running this servlet on another server and I just installed all the components onto the new server and now it will only work if I type in the path into the browser but not if a form action OR a redirect. We are testing on multiple browsers. But thank you. :) Robbie Grundel === This email may be confidential and/or privileged. Only the intended recipient may access or use it. We use virus scanning software but exclude all liability for viruses or similar in any attachment. Copyright in this email and any document created by Pitt Sherry Consulting Engineers will remain vested in Pitt Sherry Consulting Engineers and will not transfer to you. If you have received this email by mistake, please telephone (613) 6323 1900 (reverse charges), or forward message to [EMAIL PROTECTED] === -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
strange error..
Hi ! I have a servlet A, that extends an abstract class that extends another class. I checked out every piece of code executing is correct. but when I create an object of this class A, it gives trange error, java.lang.ClassCastException: [Ljava.lang.Object; at com.sun.j2ee.blueprints.petstore.control.web.handlers.CartHandler.cre atePurchaseItemEvent(CartHandler.java:150) What kind of error is this, I am puzzled ?? take care, Shashank -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: strange error..
Am I correct that your servlet doesn't extend javax.servlet.Servlet or javax.servlet.http.HttpServlet? If so, that is your problem - servlets must extend Servlet or one of its subclasses. Randy -Original Message- From: Shashank [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 11:17 AM To: Tomcat Users List Subject: strange error.. Hi ! I have a servlet A, that extends an abstract class that extends another class. I checked out every piece of code executing is correct. but when I create an object of this class A, it gives trange error, java.lang.ClassCastException: [Ljava.lang.Object; at com.sun.j2ee.blueprints.petstore.control.web.handlers.CartHandler.cre atePurchaseItemEvent(CartHandler.java:150) What kind of error is this, I am puzzled ?? take care, Shashank -- 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: strange error
Hi I don't know how this error appeared. I'm running Tomcat 4 on win2k, and I get the following error in my console when I start tomcat: Starting service Tomcat-Standalone Apache Tomcat/4.0 ERROR reading java.io.FileInputStream@7a29a1 At Line 57 /web-app/servlet/ Starting service Tomcat-Apache Apache Tomcat/4.0 Toncat runs, but does not work, can someone please help me with this? Thanks Peter -- 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]
Strange Error at JspParseEventListener.java:1146
I recently installed and configured Apache and Tomcat with the rule that all jsp pages get forwarded to Tomcat. I brought up the examples and everything worked fine. However, when I attempted to deploy an application that is being worked on I got the error: Internal Servlet Error: java.lang.AbstractMethodError at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1146) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:755) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:121) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:243) at org.apache.jasper.compiler.Parser.parse(Parser.java:1126) at org.apache.jasper.compiler.Parser.parse(Parser.java:1091) at org.apache.jasper.compiler.Parser.parse(Parser.java:1087) at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210) at org.apache.tomcat.facade.JasperLiaison.jsp2java(JspInterceptor.java:690) at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:631) at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:446) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:213) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519) at java.lang.Thread.run(Thread.java:484) (sorry about the length) I'm really not sure where this is coming from. We had everything installed on Tomcat 1.2 and with this install moved to 1.3. I'd appreciate any help that I could get. Thanks, Trevor Vaughan - How many Prolog programmers does it take to change a lightbulb? No. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache 1.3 + Tomcat strange error
I'm trying to put tomcat to work with an apache 3.20 and it has been giving me a lot headache. First, i've putten tomcat runig standalone. It starts ok, responds to http on 8080 and runs normally all jsp i've tested. Then, i've installed apache, compiled mod_jserv as u_guide.html said and put into /etc/httpd/modules and included /usr/local/tomcat/conf/tomcat.conf into httpd.conf . Then, each time I start apache, it sais Failed and log sais Error getting local address getpeername: Socket operation on non-socket getsockname: Socket operation on non-socket Apache starts ok without mod_jserv. I've tried yeat use mod_jk instead, the error was the same. Tried yet to put one ajp1.3 worker on 8009 and change mod_jk.conf to send requests to it, didnt work anyway. If anyone has ever seen something like this, please, help-me, i haven't seen anything like this in the archives Thanks, Rodrigo Virote Kassick (quèsçikê/paiacan) Ciências da Computação/UFRGS
Re: Strange error
hi no ans for my question. nobody know the solution... nobody want to help ... please if you know somthing please mail shailendra - Original Message - From: Shailendra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 10:48 AM Subject: Strange error hi i am using javawebserver2.0 with patch3 i have written some jsp pages all are working fine except one. In that one the servlet ingine create the java file but not able to crete a class file for that and it doesnt give any error on java webserver console in browser it shows internal server error code 500. So i manually go to the directory C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_samples\_ myfolder and givinen javac _myfile.java (_myfile.java is created by JSP ingine) this will lead to successful compilation of java file, after that when i invoke the jsp file it works fine so please can any body help me to overcome the problem that file is working perfectlly in JSWDK1-2-1 and even in javawebserver except not able to create class file when i made changes in jsp file(even for first time). i tried this without patch also but fails to overcome. is there anybody for help..? shailendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Strange error
Shailendra, Have you checked the file permissions on the .class file? Could be that you have permission to write to this file when you do it manually , but the user associated with the JWS does not have write permission. Chris Haynes Evesham, England - Original Message - From: "Shailendra" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 1997 2:42 AM Subject: Re: Strange error hi no ans for my question. nobody know the solution... nobody want to help ... please if you know somthing please mail shailendra - Original Message - From: Shailendra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 10:48 AM Subject: Strange error hi i am using javawebserver2.0 with patch3 i have written some jsp pages all are working fine except one. In that one the servlet ingine create the java file but not able to crete a class file for that and it doesnt give any error on java webserver console in browser it shows internal server error code 500. So i manually go to the directory C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_sam ples\_ myfolder and givinen javac _myfile.java (_myfile.java is created by JSP ingine) this will lead to successful compilation of java file, after that when i invoke the jsp file it works fine so please can any body help me to overcome the problem that file is working perfectlly in JSWDK1-2-1 and even in javawebserver except not able to create class file when i made changes in jsp file(even for first time). i tried this without patch also but fails to overcome. is there anybody for help..? shailendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Strange error
Chris Haynes soory i could not understand your ans. have you checked the file permissions on the .class file? where to check ? what to check for .class permission? in this jsp i am not dealing with file system of server shailendra - Original Message - From: Chris Haynes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 5:39 PM Subject: Re: Strange error Shailendra, Have you checked the file permissions on the .class file? Could be that you have permission to write to this file when you do it manually , but the user associated with the JWS does not have write permission. Chris Haynes Evesham, England - Original Message - From: "Shailendra" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 01, 1997 2:42 AM Subject: Re: Strange error hi no ans for my question. nobody know the solution... nobody want to help ... please if you know somthing please mail shailendra - Original Message - From: Shailendra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 10:48 AM Subject: Strange error hi i am using javawebserver2.0 with patch3 i have written some jsp pages all are working fine except one. In that one the servlet ingine create the java file but not able to crete a class file for that and it doesnt give any error on java webserver console in browser it shows internal server error code 500. So i manually go to the directory C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_sam ples\_ myfolder and givinen javac _myfile.java (_myfile.java is created by JSP ingine) this will lead to successful compilation of java file, after that when i invoke the jsp file it works fine so please can any body help me to overcome the problem that file is working perfectlly in JSWDK1-2-1 and even in javawebserver except not able to create class file when i made changes in jsp file(even for first time). i tried this without patch also but fails to overcome. is there anybody for help..? shailendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Strange error
This is the Tomcat-user list, perhaps you should try on the JavaWebServer-user list. Un saludo, Alex. Shailendra wrote: hi no ans for my question. nobody know the solution... nobody want to help ... please if you know somthing please mail shailendra - Original Message - From: Shailendra [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 26, 2001 10:48 AM Subject: Strange error hi i am using javawebserver2.0 with patch3 i have written some jsp pages all are working fine except one. In that one the servlet ingine create the java file but not able to crete a class file for that and it doesnt give any error on java webserver console in browser it shows internal server error code 500. So i manually go to the directory C:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_examples\_jsp\_samples\_ myfolder and givinen javac _myfile.java (_myfile.java is created by JSP ingine) this will lead to successful compilation of java file, after that when i invoke the jsp file it works fine so please can any body help me to overcome the problem that file is working perfectlly in JSWDK1-2-1 and even in javawebserver except not able to create class file when i made changes in jsp file(even for first time). i tried this without patch also but fails to overcome. is there anybody for help..? shailendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
strange error
Hi... Anyone have any idea what this means? I have no idea what is being configured wrong or where it is being configured. Very odd. javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactoryImpl at java.lang.Throwable.init(Compiled Code) at java.lang.Error.init(Compiled Code) at javax.xml.parsers.FactoryConfigurationError.init(Compiled Code) at javax.xml.parsers.SAXParserFactory.newInstance(Compiled Code) at org.apache.tomcat.util.xml.XmlMapper.readXml(Compiled Code) at org.apache.tomcat.startup.Tomcat.execute(Compiled Code) at org.apache.tomcat.startup.Tomcat.main(Compiled Code) - tomcat 3.2.1, etc... Is there any other information that I should be providing here? TIA rr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Help me please, a strange error message from Tomcat
-BEGIN PGP SIGNED MESSAGE- Hi everybody, i dont know if somebody can help me! I didnt get sucess to solve this problem. i have a doubt about an error message which came from TomCat, as follow : There is a servlet, named StarServletnew, which instances a Bean, named FormBean, and sends some parameters that comes from a jsp form. The sources files are attached at this email. Error: 500 Location: /examples/servlet/StarServletnew Internal Servlet Error: java.lang.NoSuchMethodError: FormBean: method (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lja va/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/l ang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/ Stri at StarServletnew.doPost(StarServletnew.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597) at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java, Compiled Code) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java, Compiled Code) at java.lang.Thread.run(Unknown Source) José Euclides Júnior __ E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] http://euclides.8m.com *** END PGP VERIFIED MESSAGE *** -BEGIN PGP SIGNATURE- Version: PGP 6.5.1 iQCVAwUBOkDrH90YhuJ3BUxtAQE85gQAwQUxA+ROndkuKZgLcVVKldxjo+dDOiWZ E/Y8F4PuDzXDSwCfnCHQ8on2PzYhf/ywugd/Xgetu6EQl9jqmyyvV9q1toVPNMVG u0akaepg8JHap83JqKrd7aJ/eXbPMiv/eEd00mVZoQGH86FISUaWGsBHAYKe76e5 MXwshghLLsc= =D0IQ -END PGP SIGNATURE- Form1.jsp StarServletnew.java FormBean.java Form1.jsp StarServletnew.java FormBean.java
RE: strange Error 404
I would remove the original WebAppA's work (%TOMCAT_HOME%\work\yourWebAppA)directory to be sure you are not picking-up anything from there. Do this before you restart Tomcat after you have done your directory renames. --- Wolfgang Egger [EMAIL PROTECTED] wrote: Servus Wyn, first thanx for your answer. -Original Message- I'm sure the problem is with the URL used to access the servlet of WebAppB. I don't think so, because of the following behaviour: Our WebServerDirStructure looks like this /websites/WebAppA /websites/WebAppA/WEB-INF /websites/WebAppA/WEB-INF/classes ... /websites/WebAppB /websites/WebAppB/WEB-INF /websites/WebAppB/WEB-INF/classes ... as written in my first mail the whole site WebAppA is working as expected, the WebAppB only shows Error 404 If I remove /websites/WebAppA and rename /websites/WebAppB with /websites/WebAppA, the whole WebAppB is working (with the URR bla/WebAppA/fasel) Because of this I assume, that something in the configuration of tomcat doesn't like WebAppB. I have done a grep "WebAppA tomcat/conf/*" and a "grep WebAppB tomcat/conf/*". The result is, that all entries for WebAppA are the same as the entries for WebAppB. Near the same, because the string WebAppA is replaced by WebAppB in each entry. Are there any other locations apart from tomcat/conf, where I have to do some configuration respectively WebAppB. Greetings from Berlin Wolfgang = Wyn Easton [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/
RE: strange Error 404
Servus Wyn, first thanx for your answer. -Original Message- I'm sure the problem is with the URL used to access the servlet of WebAppB. I don't think so, because of the following behaviour: Our WebServerDirStructure looks like this /websites/WebAppA /websites/WebAppA/WEB-INF /websites/WebAppA/WEB-INF/classes ... /websites/WebAppB /websites/WebAppB/WEB-INF /websites/WebAppB/WEB-INF/classes ... as written in my first mail the whole site WebAppA is working as expected, the WebAppB only shows Error 404 If I remove /websites/WebAppA and rename /websites/WebAppB with /websites/WebAppA, the whole WebAppB is working (with the URR bla/WebAppA/fasel) Because of this I assume, that something in the configuration of tomcat doesn't like WebAppB. I have done a grep "WebAppA tomcat/conf/*" and a "grep WebAppB tomcat/conf/*". The result is, that all entries for WebAppA are the same as the entries for WebAppB. Near the same, because the string WebAppA is replaced by WebAppB in each entry. Are there any other locations apart from tomcat/conf, where I have to do some configuration respectively WebAppB. Greetings from Berlin Wolfgang