users@glassfish.java.net

CLI171: MBeanServerResponseMessage to StreamMBeanServerResponseMessage

From: <glassfish_at_javadesktop.org>
Date: Mon, 05 Mar 2007 08:05:59 PST

Hi all, I'am trying to run the WSDP tutorial. I installed [i]WSDP 2.0[/i] with a [i]Sun AS 8.2[/i], and updated the jar files with the latest version of [i]jaxws-ri[/i].
I sorted a lot of complications so far, but this one I can't solve by myself, perhaps you could help me. When running [i]asant deploy[/i] I get the following message:

[b][i]BUILD FAILED
C:\Programas\Sun\jwstutorial20\examples\jaxws\helloservice\build.xml:29: The following error occurred while executing this line:
C:\Programas\Sun\jwstutorial20\examples\common\targets.xml:125: An exception occurred while running the command.
The exception message is: CLI171 Command deploy failed :
Deployment of application failed - java.lang.ClassCastException:
javax.management.remote.message.MBeanServerResponseMessage cannot be cast to
com.sun.enterprise.admin.jmx.remote.streams.StreamMBeanServerResponseMessage.
[/i][/b]

I looked up and found that the corresponding jar file for [i]javax.management.remote.message.MBeanServerResponseMessage[/i] is [i]appserv-rt.jar[/i], so I tried to updated it. The bad thing now is that the AS won't start (and won't show no error message either, just takes forever trying to start the server). I had to go back to the previous appserv-rt.jar.

I just don't know what to do next, I would really thank some pointers.
[Message sent by forum member 'jpsilva' (jpsilva)]

http://forums.java.net/jive/thread.jspa?messageID=206234