Hi all, I know this is not strictly a Glassfish problem, but it's glassfish-tecnology related, so perhaps you could help me.
I'am trying to run the WSDP tutorial. I installed WSDP 2.0 with a Sun AS 8.2. I've updated the jar files with the ones inside [code]JAXWS2.1FCS_20070202.jar[/code] file (some of the jars, because if I substitute every jar file under [code]SUNAS_HOME/lib[/code] with the ones inside [code]JAXWS2.1FCS_20070202.jar[/code] I get an [i]Error CLI156 Could not start the domain domain1 [/i]).
<p>I finally got to this situation: I get the following message when running [code]asant deploy[/code]:
[code]
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 .[/code]
So I looked up and found that the corresponding jar file for [code]javax.management.remote.message.MBeanServerResponseMessage[/code] is appserv-rt.jar and I updated it. The bad thing now is that Sun AS won't start (and won't show no error message either, just takes forever trying to start the server). To follow, an excerpt of the server.log file:
[code][#|2007-03-01T20:45:25.765+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.tools.launcher|_ThreadID=10;_ThreadName=main;|LAUNCHER003:The launcher had problemswith configuration data of domain.xml or processLauncher.xml. The launcher cannot continue to process the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:C:\Programas\Sun\AppServer\domains\domain1/config/domain.xml
cause: Could not create a Bean class instance: {0}
null
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:386)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:468)
at com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:259)
at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBean(ServerBeansFactory.java:93)
at com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfigBean(ConfigAPIHelper.java:75)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:459)
at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:434)
at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:234)
at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:158)
Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Could not create a Bean class instance: {0}
null
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2292)
at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContextImpl.java:363)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2284)
... 9 more
Caused by: java.lang.NoSuchMethodError: com.sun.enterprise.config.serverbeans.Domain.initPropertyTables(I)V
at com.sun.enterprise.config.serverbeans.Domain.initOptions(Domain.java:107)
at com.sun.enterprise.config.serverbeans.Domain.<init>(Domain.java:97)
at com.sun.enterprise.config.serverbeans.Domain.<init>(Domain.java:66)
... 14 more
|#][/code]
Any tips?. Thanks in advance.
[Message sent by forum member 'jpsilva' (jpsilva)]
http://forums.java.net/jive/thread.jspa?messageID=205921