« Return to Thread: DWR 3.0 RC1 and WAS

RE: DWR 3.0 RC1 and WAS

by RJones1 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

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&expandFolder=10313&folderID=0

 

David,

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

 

Randy

 

From: ZCurtis@... [mailto:ZCurtis@...]
Sent: Monday, April 27, 2009 2:46 PM
To: users@...
Subject: [dwr-user] DWR 3.0 RC1 and WAS

 


DWR 3.0 RC1 / WebSphere (WAS) 6.0.2.31 / Java 1.4.2

I had been using DWR 2.0.5 previously with success. I am now attempting to use the latest DWR release for its support of handling file uploads. I have up to six files for upload along with other form fields. I wanted to validate file size on the server before doing an entire form post. I don't believe file size can be validated other than on the server due to the nature security in the browser and with JavaScript. I am not able to get the latest DWR release to work at all. Any suggestions?


I removed AnnotationsConfigurator.class from the jar as done in the previous version, and get the following during server startup:

[4/27/09 12:09:41:391 MDT] 0000004f DefaultNamesp W org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver initHandlerMappings Ignoring namespace handler [org.directwebremoting.spring.DwrAnnotationNamespaceHandler]: problem with handler class file or dependent class
                                 java.lang.LinkageError: LinkageError while defining class: org.directwebremoting.spring.DwrAnnotationNamespaceHandler
Could not be defined due to: org/directwebremoting/spring/DwrAnnotationNamespaceHandler (Unsupported major.minor version 49.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy.  Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy: ...

Additionally, I removed DwrAnnotationNamespaceHandler.class (and its two inner classes) from the jar, and get this when running the web app:

[4/27/09 11:56:15:896 MDT] 0000005e WebApp        E   SRVE0026E: [Servlet Error]-[dwr-invoker]: java.lang.Exception: java.lang.LinkageError: LinkageError while defining class: org.directwebremoting.servlet.DwrServlet
Could not be defined due to: org/directwebremoting/servlet/DwrServlet (Unsupported major.minor version 49.0)
This is often caused by having a class defined at multiple
locations within the classloader hierarchy.  Other potential causes
include compiling against an older or newer version of the class
that has an incompatible method signature.
Dumping the current context classloader hierarchy: ...

Thank you.

Zach


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

 « Return to Thread: DWR 3.0 RC1 and WAS