« Return to Thread: DWR 3.0 RC1 and WAS

RE: RE: DWR 3.0 RC1 and WAS

by davidmarginian :: Rate this Message:

Reply to Author | View in Thread

You don't need to remove those classes.  Judging from the error message you
do need the retroweaver jar in your app's classpath.

Original Message:
-----------------
From:  ZCurtis@...
Date: Mon, 27 Apr 2009 15:08:12 -0600
To: users@...
Subject: [dwr-user] RE: DWR 3.0 RC1 and WAS


Thank you for your reply. I downloaded dwr-jdk14.jar and removed the
AnnotationsConfigurator.class and DwrAnnotationNamespaceHandler.class (and
its two inner classes) from the jar, and get this when running the web
app:

[4/27/09 14:57:31:099 MDT] 00000059 ServletWrappe E   SRVE0100E: Did not
realize  init() exception thrown by servlet dwr-invoker:
java.lang.NoClassDefFoundError:
net/sourceforge/retroweaver/runtime/java/lang/Class_
        at
org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:62)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:321)
        at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.
java:621)
        at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3226)
        at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)
        at
com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)
        at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)
        at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:120)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(Ht
tpInboundLink.java:434)
        at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht
tpInboundLink.java:373)
        at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea
dCallback.java:101)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage
r.java:566)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java
:619)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java
:952)
        at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.jav
a:1039)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1475)

I assume this jar was built for 1.4.x. Did I need to do anything else
other than use this jar along with removing the above reference classes?
Thanks again.

Zach


You need to use the java 1.4 version built using retroweaver, you can get
it here:
https://dwr.dev.java.net/servlets/ProjectDocumentList?folderID=10313&expandF
older=10313&folderID=0

David,
We should probably put an additional link for the 1.4 version on the
download page.

Randy


-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://link.mail2web.com/mail2web



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

 « Return to Thread: DWR 3.0 RC1 and WAS