Re: New Tomcat install problem
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) There can be two causes. Either there is a mismatch in TC and zour Servlet version (i.e. you are using TC 4.1 with a Servlet 2.4) or you have a Java bytecode mismatch (i.e. you are running on JDK 1.4 and you compiled your Servlet with JDK 1.5 or you're running TC 5.5). Nix. Hi again, Thanks for the reply - this is what a few people have said, but I'm no closer to the answer as yet - Martin's examination of the logs I emailed may assist. However, after updating to the latest Java resetting the version by doing a symlink, I now have a partially viewable homepage, but some images are not viewable, so I'm partially there in any case. All the links, such as docs, admin, manager etc... generate blank pages. Just to keep you up to date with where this is at, specs are as follows: Mac OSX 10.4.3 'client' Tomcat 5.5.9 (installed from Tenon's iTools module) Apache 2.0.54 Apache-Coyote/1.1 java -version java version 1.5.0_05 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83) Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing) I just reinstalled the iTools module after my changes, which has had the result of being able to view the Tomcat homepage on my server. -- Bye for now, Terry Allen ___ hEARd Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: [EMAIL PROTECTED] Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400 --- Non profit promotion for new music - since 1994 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Terry Allen wrote: at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) There can be two causes. Either there is a mismatch in TC and zour Servlet version (i.e. you are using TC 4.1 with a Servlet 2.4) or you have a Java bytecode mismatch (i.e. you are running on JDK 1.4 and you compiled your Servlet with JDK 1.5 or you're running TC 5.5). Nix. Hi again, Thanks for the reply - this is what a few people have said, but I'm no closer to the answer as yet - Martin's examination of the logs I emailed may assist. However, after updating to the latest Java resetting the version by doing a symlink, I now have a partially viewable homepage, but some images are not viewable, so I'm partially there in any case. All the links, such as docs, admin, manager etc... generate blank pages. Anything in the logs for this new setup? Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Terry Allen wrote: at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) There can be two causes. Either there is a mismatch in TC and zour Servlet version (i.e. you are using TC 4.1 with a Servlet 2.4) or you have a Java bytecode mismatch (i.e. you are running on JDK 1.4 and you compiled your Servlet with JDK 1.5 or you're running TC 5.5). Nix. Hi again, Thanks for the reply - this is what a few people have said, but I'm no closer to the answer as yet - Martin's examination of the logs I emailed may assist. However, after updating to the latest Java resetting the version by doing a symlink, I now have a partially viewable homepage, but some images are not viewable, so I'm partially there in any case. All the links, such as docs, admin, manager etc... generate blank pages. Anything in the logs for this new setup? Nix. Hi again, Okay, I've included the last log entries from a few logs as listed below - the other logs in that directory contain only information about startup notification etc... apologies if this is not the right way to post these: localhost.2005-11-21.log - : Nov 21, 2005 7:31:40 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.setBufferSize(I)V at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:816) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:335) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) catalina.2005-11-21.log Nov 21, 2005 8:18:42 PM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.NoSuchMethodError: javax.servlet.ServletResponse.isCommitted()Z at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:112) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) manager.2005-11-21.log Nov 21, 2005 7:29:03 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Allocate exception for servlet HTMLManager java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String; at org.apache.catalina.manager.ManagerServlet.init(ManagerServlet.java:447) at javax.servlet.GenericServlet.init(GenericServlet.java:266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130) at
Re: New Tomcat install problem
Terry Allen wrote: Anything in the logs for this new setup? Nix. Hi again, Okay, I've included the last log entries from a few logs as listed below - the other logs in that directory contain only information about startup notification etc... apologies if this is not the right way to post these: I'll tell what it looks like to me. localhost.2005-11-21.log - : Nov 21, 2005 7:31:40 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.setBufferSize(I)V This states that somebody is expecting interface HttpServletResponse to have that method, but the definition of that interface, loaded by the JVM does not have it. Looks like a mismatch between Servlet-API JARs of Tomcat and the code that was compiled to run in your web application. Since you are running TC 5.5.9 it makes the error rather mysterious. If your server platform is Linux, it could be that you have some old version of Servlet API JAR somewhere on the class path, poisoning your setup. I'm not sure how that's possible, but it is what I'd look for. SEVERE: An exception or error occurred in the container during the request processing java.lang.NoSuchMethodError: javax.servlet.ServletResponse.isCommitted()Z Again some mismatch in definitions. SEVERE: Allocate exception for servlet HTMLManager java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String; And again. I'm not sure what is going on, but look for old JARs poisoning your setup. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Just out of curiosity, what is JAVA_HOME? On Nov 21, 2005, at 4:49 AM, Nikola Milutinovic wrote: Terry Allen wrote: Anything in the logs for this new setup? Nix. Hi again, Okay, I've included the last log entries from a few logs as listed below - the other logs in that directory contain only information about startup notification etc... apologies if this is not the right way to post these: I'll tell what it looks like to me. localhost.2005-11-21.log - : Nov 21, 2005 7:31:40 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.setBufferSize(I)V This states that somebody is expecting interface HttpServletResponse to have that method, but the definition of that interface, loaded by the JVM does not have it. Looks like a mismatch between Servlet-API JARs of Tomcat and the code that was compiled to run in your web application. Since you are running TC 5.5.9 it makes the error rather mysterious. If your server platform is Linux, it could be that you have some old version of Servlet API JAR somewhere on the class path, poisoning your setup. I'm not sure how that's possible, but it is what I'd look for. SEVERE: An exception or error occurred in the container during the request processing java.lang.NoSuchMethodError: javax.servlet.ServletResponse.isCommitted()Z Again some mismatch in definitions. SEVERE: Allocate exception for servlet HTMLManager java.lang.NoSuchMethodError: javax.servlet.ServletConfig.getServletName()Ljava/lang/String; And again. I'm not sure what is going on, but look for old JARs poisoning your setup. Nix. - 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: New Tomcat install problem
From: Terry Allen [mailto:[EMAIL PROTECTED] Subject: Re: New Tomcat install problem I just reinstalled the iTools module after my changes, which has had the result of being able to view the Tomcat homepage on my server. You might want to try going back to the basics: remove iTools, all installed JVMs, and Apache httpd. Then install a fresh JVM (from the Sun download page) and a real Tomcat (from tomcat.apache.org). Don't do any symlinks. Leave out httpd and see what you get. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Anthony Carlos wrote: Just out of curiosity, what is JAVA_HOME? JAVA_HOME is an environment variable, that should contain the path to the installed JDK or JRE. Since you're using TC 5.5, you can point JAVA_HOME to a JRE (5.5 comes with Eclipse Java Compiler). Older versions had to have a JDK (to compile JSP into Servlet classes). In UNIX, lookup your shell startup scripts (.profile, .login, .zprofile,...) and in Windows, right-click My Computer and choose Properties, Advanced. Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Hi again, Just to let you guys know, I have changed the symlink for Java on my server so it does the following: java -version java version 1.5.0_05 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83) Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing) server:~/desktop root# Still getting blank pages though at this stage - I will keep trying. -- Bye for now, Terry Allen ___ hEARd Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: [EMAIL PROTECTED] Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400 --- Non profit promotion for new music - since 1994 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Terry, I've only just subscribed to the list to see if anyone may be able to assist with a 'blank page' problem. Research on Google, nor the various resources on the web or Tomcat site have assisted, so I thought I'd better consult the experts here to see if they can help. You might want to try downloading Qilan (www.cgs.qilan.com:8080/qilan/ Qilanv3Download) and install it. Everything is put into one location, including Tomcat with our webapp. Run one of the examples and see if it loads properly. This should tell you if the problem is with Tomcat or one of the Java support files. Qilan is our product. Another thought is to look at the Activity Monitor for the 'java' process. Inspect the process and check for open files and ports. This should tell you want has loaded and where it is being referenced. Good luck, Stephen Caine CommonGround Softworks, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Terry, Oops, the server address is: http://cgs.qilan.com:8080/qilan/ Qilanv3Download Sorry, Stephen Caine CommonGround Softworks, Inc, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
yes and please send along the localhost.2005-11-20.log (assuming your tomcat install is running on localhost) I have to foot transport my computer but I should be back online tommorrow Best, Martin- - Original Message - From: Terry Allen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, November 20, 2005 3:27 PM Subject: Re: New Tomcat install problem Terry- Can you go to %CATALINA_HOME%\logs and attach to me your latest log e.g. stdout_20051117.log Thanks, Martin- - Original Message - From: Terry Allen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, November 19, 2005 11:15 PM Subject: Re: New Tomcat install problem Hi again, I'd love to, but the log directory contains only the following file names with numerous date extensions: admin.2005-11-20.log catalina.2005-11-21.log catalina.out host-manager.2005-11-20.log localhost.2005-11-20.log manager.2005-11-20.log The largest of these is catalina.out - would this be the one you need? -- Bye for now, Terry Allen ___ hEARd Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: [EMAIL PROTECTED] Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400 --- Non profit promotion for new music - since 1994 --- - 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: New Tomcat install problem
yes and please send along the localhost.2005-11-20.log (assuming your tomcat install is running on localhost) I have to foot transport my computer but I should be back online tommorrow Best, Martin- Hi again, These have been sent off-list - many thanks Martin. -- Bye for now, Terry Allen ___ hEARd Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: [EMAIL PROTECTED] Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400 --- Non profit promotion for new music - since 1994 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Terry Allen wrote: Hi again, Out of that Catalina.out log I mentioned earlier, the last few log lines read like so: INFO: Stopping Coyote HTTP/1.1 on http-8080 Nov 20, 2005 7:24:02 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Nov 20, 2005 7:24:02 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2041 ms Nov 20, 2005 7:24:02 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Nov 20, 2005 7:24:02 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.9 Nov 20, 2005 7:24:02 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Nov 20, 2005 7:24:05 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Nov 20, 2005 7:24:05 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Nov 20, 2005 7:24:05 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/43 config=null Nov 20, 2005 7:24:05 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Nov 20, 2005 7:24:05 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3476 ms Nov 21, 2005 7:23:34 AM org.apache.catalina.connector.CoyoteAdapter service SEVERE: An exception or error occurred in the container during the request processing java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.isCommitted()Z at org.apache.catalina.connector.Request.doGetSession(Request.java:2192) at org.apache.catalina.connector.Request.getSessionInternal(Request.java:2150) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:230) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:446) 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:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) There can be two causes. Either there is a mismatch in TC and zour Servlet version (i.e. you are using TC 4.1 with a Servlet 2.4) or you have a Java bytecode mismatch (i.e. you are running on JDK 1.4 and you compiled your Servlet with JDK 1.5 or you're running TC 5.5). Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Tomcat install problem
Terry- look at the defaultHost entry in your %CATALINA_HOME%\conf\server.xml e.g. Engine name=Catalina defaultHost=localhost then use that for your URI e.g. http://localhost:8080 HTH Martin- - Original Message - From: Terry Allen [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Saturday, November 19, 2005 7:04 PM Subject: New Tomcat install problem Hi all, I've only just subscribed to the list to see if anyone may be able to assist with a 'blank page' problem. Research on Google, nor the various resources on the web or Tomcat site have assisted, so I thought I'd better consult the experts here to see if they can help. To outline what's installed for better assistance, here's some info on what's on my system: Mac OSX 10.4.3 'client' Apache 2.0.54 Tomcat 5.5.9 I am running Tenon's iTools package the Tomcat module is installed as part of that. If I click the 'restart server' button in iTools, I get this: Restarting Tomcat Engine. Click Server Status to refresh Tomcat status. Using CATALINA_BASE: /Library/Tenon/Tomcat Using CATALINA_HOME: /Library/Tenon/Tomcat Using CATALINA_TMPDIR: /Library/Tenon/Tomcat/temp Using JRE_HOME: /usr/ Created MBeanServer with ID: f1cbf6:107aafaf803:-8000:server.heard.com.au:1 Using CATALINA_BASE: /Library/Tenon/Tomcat Using CATALINA_HOME: /Library/Tenon/Tomcat Using CATALINA_TMPDIR: /Library/Tenon/Tomcat/temp Using JRE_HOME: /usr/ Tenon seem to think it's something to do with a Java version or some file, but I don't know where to start looking. If I hit the default page on port 8080, I get a blank page also if I try the admin page, same thing. Research seems to indicate it's a Java version issue, but I really have no idea where to start. Can anyone help here please? -- Bye for now, Terry Allen ___ hEARd Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: [EMAIL PROTECTED] Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400 --- Non profit promotion for new music - since 1994 --- - 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: New Tomcat install problem
Terry- look at the defaultHost entry in your %CATALINA_HOME%\conf\server.xml e.g. Engine name=Catalina defaultHost=localhost then use that for your URI e.g. http://localhost:8080 HTH Martin- Hi again, Thanks Martin, but that was what I had tried, but it generates the same as trying it via it's normal domain name. -- Bye for now, Terry Allen ___ hEARd Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: [EMAIL PROTECTED] Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400 --- Non profit promotion for new music - since 1994 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]