tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Carlson <scarl...@i2s.com>
Subject Re: Ubuntu 8.10 GWT Apache2 Tomcat Servlet Problems
Date Wed, 18 Feb 2009 18:51:33 GMT
Caldarale, Charles R wrote:
>> From: Scott Carlson [mailto:scarlson@i2s.com]
>> Subject: Re: Ubuntu 8.10 GWT Apache2 Tomcat Servlet Problems
>>
>> The majority of the forums always bring up web.xml
>>     
>
> Which is appropriate, since yours is incorrect.  Your URL pattern should be:
>
> <url-pattern>/MsgService</url-pattern>
>
>  - 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   
Hi Chuck --

That was what I had originally, it has changed often due to conflicting 
advice on forums. I did change it back to test.

I undeployed my app. changed web.xml to this

------------snip
<?xml version="1.0" encoding="UTF-8"?>
<web-app>

 <!-- Standard Action Servlet Configuration -->
 <servlet>
   <servlet-name>MsgService</servlet-name>
   <servlet-class>com.i2s.webMonster.server.MsgServiceImpl</servlet-class>
 </servlet>

 <!-- Standard Action Servlet Mapping -->
 <servlet-mapping>
   <servlet-name>MsgService</servlet-name>
   <url-pattern>/MsgService</url-pattern>
 </servlet-mapping>

</web-app>

----------------snip

And still no luck. Here are my logs.. These are fresh.


--------- access_log ---------
127.0.0.1 - scott [18/Feb/2009:13:46:14 -0500] "GET 
/manager/html/undeploy?path=/webMonster HTTP/1.1" 200 9595 0.048 -
127.0.0.1 - - [18/Feb/2009:13:46:14 -0500] "GET 
/manager/images/tomcat.gif HTTP/1.1" 304 - 0.001 -
127.0.0.1 - - [18/Feb/2009:13:46:14 -0500] "GET 
/manager/images/asf-logo.gif HTTP/1.1" 304 - 0.003 -
127.0.0.1 - scott [18/Feb/2009:13:46:21 -0500] "POST 
/manager/html/upload HTTP/1.1" 200 10721 0.238 -
127.0.0.1 - - [18/Feb/2009:13:46:23 -0500] "GET /webMonster/ HTTP/1.1" 
404 988 0.001 -
127.0.0.1 - - [18/Feb/2009:13:46:39 -0500] "POST /webMonster/MsgService 
HTTP/1.1" 500 2656 0.004 -
127.0.0.1 - - [18/Feb/2009:13:46:44 -0500] "GET 
/webMonster/webMonster/MsgExample.html HTTP/1.1" 404 1066 0.003 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "GET 
/webMonster/MsgExample.html HTTP/1.1" 200 1304 0.001 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "GET 
/webMonster/com.i2s.webMonster.MsgExample.nocache.js HTTP/1.1" 200 5694 
0.001 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "GET 
/webMonster/C57B680ED75187B43082D58F754F20DF.cache.html HTTP/1.1" 200 
44221 0.000 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "GET 
/webMonster/gwt/standard/standard.css HTTP/1.1" 200 28413 0.000 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "GET 
/webMonster/MsgExample.css HTTP/1.1" 200 5943 0.001 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "GET 
/webMonster/gwt/standard/images/hborder.png HTTP/1.1" 200 1384 0.000 -
127.0.0.1 - - [18/Feb/2009:13:46:51 -0500] "POST /webMonster/MsgService 
HTTP/1.1" 404 1057 0.001 -

-------------- snip


----------- catalina logs ---------
Feb 18, 2009 1:46:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the 
java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
Feb 18, 2009 1:46:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 18, 2009 1:46:07 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 497 ms
Feb 18, 2009 1:46:07 PM org.apache.catalina.users.MemoryUserDatabase save
WARNING: User database is not persistable - no write permissions on 
directory
Feb 18, 2009 1:46:07 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 18, 2009 1:46:07 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Feb 18, 2009 1:46:08 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 18, 2009 1:46:08 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 18, 2009 1:46:08 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/33  config=null
Feb 18, 2009 1:46:08 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 553 ms
Feb 18, 2009 1:46:20 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webMonster.war
--------- snip

-------- localhost tomcat logs ---------
Feb 18, 2009 1:46:14 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer 
'Catalina:type=Deployer,host=localhost'
Feb 18, 2009 1:46:14 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Feb 18, 2009 1:46:14 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: undeploy: Undeploying web application at '/webMonster'
Feb 18, 2009 1:46:14 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Feb 18, 2009 1:46:21 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Feb 18, 2009 1:46:39 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet MsgService as unavailable
Feb 18, 2009 1:46:39 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1113708
 com.i2s.webMonster.server.MsgServiceImpl
java.lang.ClassNotFoundException: com.i2s.webMonster.server.MsgServiceImpl
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at 
org.apache.catalina.core.StandardWrapper$1.run(StandardWrapper.java:1077)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1073)
    at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Feb 18, 2009 1:46:39 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet MsgService
java.lang.ClassNotFoundException: com.i2s.webMonster.server.MsgServiceImpl
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at 
org.apache.catalina.core.StandardWrapper$1.run(StandardWrapper.java:1077)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1073)
    at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Feb 18, 2009 1:46:51 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet MsgService is currently unavailable
--------------- snip

I haven't seen that latter log until just now! Does this help?

-SCarlson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message