Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003821 [Quercus] major always 12-20-09 18:39 08-04-10 02:25
Reporter domdorn View Status public  
Assigned To
Priority normal Resolution open  
Status resolved   Product Version 4.0.9
Summary 0003821: Deployment fails on Glassfish with "new" web.xml
Description 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.

Additional Information
Attached Files

- Relationships

- Notes
(0004365)
domdorn
12-24-09 13:45
edited on: 12-24-09 13:46

This seems to be fixed in hand-build quercus.jar + resin-kernel.jar in svn revision 6507.

 

- Issue History
Date Modified Username Field Change
12-20-09 18:39 domdorn New Issue
12-24-09 13:45 domdorn Note Added: 0004365
12-24-09 13:46 domdorn Note Edited: 0004365
08-04-10 02:25 domdorn Status new => resolved
08-04-10 02:25 domdorn version 4.0.2 => 4.0.9


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker