users@glassfish.java.net

Re: Questions about jws

From: <glassfish_at_javadesktop.org>
Date: Fri, 13 Aug 2010 05:58:25 PDT

Thanks for that!
I'm going to try your fix, I'm on revision 39670 now but when I'm trying to enable jws I get "An error has occurred"
Is it possible to enable it from cli?

the error I get is

[i]Exception Occurred:
java.lang.reflect.UndeclaredThrowableException
        at $Proxy209.setProperties(Unknown Source)
        at org.glassfish.admingui.common.handlers.ProxyHandlers.setProxyProperties(ProxyHandlers.java:805)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
        at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
        at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
        at com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:150)
        at com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:98)
        at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84)
        at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773)
        at javax.faces.component.UICommand.broadcast(UICommand.java:296)
        at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:785)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1250)
        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:334)
        at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1518)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:339)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
        at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:171)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:651)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:591)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
        at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:87)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:158)
        at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:321)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:222)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:240)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:824)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:721)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1014)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:220)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:530)
        at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Exception: java.lang.Throwable
        at org.glassfish.admin.amx.impl.mbean.AMXImplBase.handleException(AMXImplBase.java:983)
        at org.glassfish.admin.amx.impl.mbean.AMXImplBase.handleInvokeThrowable(AMXImplBase.java:1011)
        at org.glassfish.admin.amx.impl.mbean.AMXImplBase.invoke(AMXImplBase.java:1054)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
        at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
        at org.glassfish.admin.amx.util.jmx.MBeanProxyHandler.invoke(MBeanProxyHandler.java:454)
        at org.glassfish.admin.amx.core.proxy.AMXProxyHandler._invoke(AMXProxyHandler.java:823)
        at org.glassfish.admin.amx.core.proxy.AMXProxyHandler.invoke(AMXProxyHandler.java:527)
        ... 51 more
Caused by: java.lang.Throwable
        at org.glassfish.admin.amx.impl.config.ConfigToolsImpl.setProperties(ConfigToolsImpl.java:378)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.glassfish.admin.amx.impl.mbean.AMXImplBase.invoke(AMXImplBase.java:1039)
        ... 57 more
Caused by: java.lang.RuntimeException: org.jvnet.hk2.config.TransactionFailure
        at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:194)
        at org.jvnet.hk2.config.ConfigSupport.apply(ConfigSupport.java:130)
        at org.glassfish.admin.amx.impl.config.ConfigToolsImpl.setProperties(ConfigToolsImpl.java:374)
        ... 62 more
Caused by: java.lang.Exception
        ... 65 more
Caused by: java.lang.NullPointerException
        at org.glassfish.admin.amx.impl.config.ConfigToolsImpl.findProperty(ConfigToolsImpl.java:95)
        at org.glassfish.admin.amx.impl.config.ConfigToolsImpl.access$000(ConfigToolsImpl.java:74)
        at org.glassfish.admin.amx.impl.config.ConfigToolsImpl$PropsSetter._run(ConfigToolsImpl.java:194)
        at org.glassfish.admin.amx.impl.config.ConfigToolsImpl$AnyPropsSetter.run(ConfigToolsImpl.java:140)
        at org.jvnet.hk2.config.ConfigSupport._apply(ConfigSupport.java:171)
        ... 64 more

[/i]
[Message sent by forum member 'jl80cs']

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