Mantis - Quercus
Viewing Issue Advanced Details
3821 major always 12-20-09 18:39 08-04-10 02:25
domdorn  
 
normal  
resolved 4.0.9  
open  
none    
none  
0003821: Deployment fails on Glassfish with "new" web.xml
When using a "new" web.xml in glassfish v3 starting with

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" [^]
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^]
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee [^]
                  http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" [^]
         version="3.0">

When I now try to deploy the app, glassfish tells me:
Exception while deploying the app : java.lang.RuntimeException: WEB9033: Unable to load class with name [com.caucho.jms.queue.AbstractTopic], reason: java.lang.NoClassDefFoundError: javax/jms/Topic

and in the console I get an endless loop showing
[#|2009-12-21T01:43:00.248+0100|WARNING|glassfishv3.0|com.caucho.util.Alarm|_ThreadID=38;_ThreadName=alarm-coordinator;|java.lang.NullPointerException
java.lang.NullPointerException
|#]

[#|2009-12-21T01:43:00.248+0100|WARNING|glassfishv3.0|com.caucho.util.Alarm|_ThreadID=38;_ThreadName=alarm-coordinator;|java.lang.NullPointerException
java.lang.NullPointerException
|#]

I think, this may be a problem of quercus not compatible with Servlet 3.0

after changing the start of web.xml to
<!DOCTYPE web-app PUBLIC
        "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd" [^] >

<web-app>

it works again and is restartable.


Notes
(0004365)
domdorn   
12-24-09 13:45   
This seems to be fixed in hand-build quercus.jar + resin-kernel.jar in svn revision 6507.