Classloader problem in WSDLDefinitionsFactory
by Paul.WOODWARD@rbs.com
Hi Guys,
I have a problem - org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse() has the following line:
WSDLFactory wsdlFactory = WSDLFactory.newInstance(JBossWSDLFactoryImpl.class.getName();
This makes it use the system classloader to search for the WSDL factory implementation which breaks when it is used inside a container which provides a different classloader. Is there a good reason for this or would it be possible to replace it with :
WSDLFactory wsdlFactory = WSDLFactory.newInstance(JBossWSDLFactoryImpl.class.getName(), getClass().getClassLoader());
Thanks, Paul
***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority
This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.
Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The
Royal Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
***********************************************************************************
16 years, 1 month
[JBossWS] - getting errors while starting JBoss Portal 2.7.0 server
by raheemch
i have downloaded JBoss Portal 2.7.0 GA and started the server by clicking run.bat file in bin directory. I am getting following errors:
17:54:19,593 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp, warUrl=.../dep
loy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
17:54:46,078 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-por
tal-2.7.0.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.
war/
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLExceptio
n: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectExce
ption: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(Service
MetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buil
dMetaData(JAXRPCServerMetaDataBuilder.java:97)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:56)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:118)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy201.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy199.addDeployer(Unknown Source)
at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInt
erceptor.java:124)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:109)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Canno
t extract schema definition: java.net.ConnectException: Connection timed out: co
nnect
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
94)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
16)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
16)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.j
ava:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:128)
... 129 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
at sun.net.www.http.HttpClient.(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:799)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:747)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:658)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:981)
at java.net.URL.openStream(URL.java:1009)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
.java:588)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
.java:589)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reade
r.java:560)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
85)
... 133 more
17:54:46,218 ERROR [MainDeployer] DeploymentException while trying to deploy a p
ackage with a new deployer
org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/
jboss-portal-2.7.0.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/por
tal-wsrp.war/; - nested throwable: (org.jboss.ws.metadata.wsdl.WSDLException: ja
vax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract sch
ema definition: java.net.ConnectException: Connection timed out: connect)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:53)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1050)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy199.addDeployer(Unknown Source)
at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInt
erceptor.java:124)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:109)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: W
SDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.
ConnectException: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(Service
MetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buil
dMetaData(JAXRPCServerMetaDataBuilder.java:97)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:56)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:118)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy201.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
... 115 more
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Canno
t extract schema definition: java.net.ConnectException: Connection timed out: co
nnect
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
94)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
16)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
16)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.j
ava:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:128)
... 129 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
at sun.net.www.http.HttpClient.(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:799)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:747)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:658)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:981)
at java.net.URL.openStream(URL.java:1009)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
.java:588)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
.java:589)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reade
r.java:560)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
85)
... 133 more
17:54:46,421 INFO [TomcatDeployer] deploy, ctxPath=/portal-users-samples, warUr
l=.../deploy/jboss-portal.sar/samples/portal-users-samples.sar/portal-users-samp
les.war/
17:54:47,015 INFO [TomcatDeployer] deploy, ctxPath=/portal-ajax, warUrl=.../dep
loy/jboss-portal.sar/portal-ajax.war/
----------------------------------------------------
17:59:54,796 INFO [TableMetadata] table found: PUBLIC.JBP_OBJECT_NODE_SEC
17:59:54,796 INFO [TableMetadata] columns: [node_key, role, pk]
17:59:54,796 INFO [TableMetadata] foreign keys: [fk9cbbd94dd209e280]
17:59:54,796 INFO [TableMetadata] indexes: [sys_idx_410, sys_idx_408]
17:59:54,812 INFO [TableMetadata] table found: PUBLIC.JBP_OBJECT_NODE_SEC_ACTIO
NS
17:59:54,812 INFO [TableMetadata] columns: [actions, pk]
17:59:54,812 INFO [TableMetadata] foreign keys: [fkbe83b7ebf2685fb6]
17:59:54,812 INFO [TableMetadata] indexes: [sys_idx_413]
17:59:54,843 INFO [TableMetadata] table found: PUBLIC.JBP_PAGE
17:59:54,843 INFO [TableMetadata] columns: [pk]
17:59:54,843 INFO [TableMetadata] foreign keys: [fk3856045695cb95c3]
17:59:54,843 INFO [TableMetadata] indexes: [sys_idx_415, sys_idx_565]
17:59:55,187 INFO [TableMetadata] table found: PUBLIC.JBP_PORTAL
17:59:56,484 ERROR [ServiceObjectFactoryJAXRPC] Cannot create service
org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLExceptio
n: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectExce
ption: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(Service
MetaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buil
dMetaData(JAXRPCClientMetaDataBuilder.java:116)
at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:1
26)
at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectI
nstance(ServiceObjectFactoryJAXRPC.java:156)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
04)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java
:1273)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingC
ontext.java:1290)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory.getServiceF
or(AbstractJNDIServiceFactory.java:152)
at org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory.getService(
AbstractSOAPServiceFactory.java:75)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.getService(E
ndpointConfigurationInfo.java:395)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.getServiceDe
scriptionService(EndpointConfigurationInfo.java:370)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.refreshServi
ces(EndpointConfigurationInfo.java:469)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.forceRefresh
(EndpointConfigurationInfo.java:462)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.refresh(Endp
ointConfigurationInfo.java:455)
at org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerI
nfo.java:327)
at org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerI
nfo.java:282)
at org.jboss.portal.wsrp.consumer.ProducerInfo.refresh(ProducerInfo.java
:277)
at org.jboss.portal.wsrp.consumer.ProducerInfo.getPortletMap(ProducerInf
o.java:662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(Ja
vassistLazyInitializer.java:173)
at org.jboss.portal.wsrp.consumer.ProducerInfo_$$_javassist_101.getPortl
etMap(ProducerInfo_$$_javassist_101.java)
at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsu
merImpl.java:150)
at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerServi
ce.getPortlets(FederatedPortletInvokerService.java:89)
at org.jboss.portal.core.management.PortletDiscoveryService.processPortl
etDiscovery(PortletDiscoveryService.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.varia.scheduler.Scheduler$MBeanListener.handleNotification(
Scheduler.java:1346)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
onListenerProxy.java:153)
at $Proxy11.handleNotification(Unknown Source)
at javax.management.NotificationBroadcasterSupport.handleNotification(No
tificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Noti
ficationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(Notificatio
nBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
ficationBroadcasterSupport.java:229)
at javax.management.timer.Timer.sendNotification(Timer.java:1234)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1203)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1286)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Canno
t extract schema definition: java.net.ConnectException: Connection timed out: co
nnect
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
94)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
16)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
16)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.j
ava:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
actory.java:128)
... 57 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
at sun.net.www.http.HttpClient.(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
onnection.java:799)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
ction.java:747)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:658)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:981)
at java.net.URL.openStream(URL.java:1009)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
.java:588)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
.java:589)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reade
r.java:560)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
85)
... 61 more
18:00:29,281 INFO [TableMetadata] columns: [pk]
18:00:29,281 INFO [TableMetadata] foreign keys: [fk7bb0d07395cb95c3]
--------------------------------------------------
8:00:29,531 INFO [SchemaUpdate] schema update complete
8:00:29,531 INFO [NamingHelper] JNDI InitialContext properties:{}
8:00:31,359 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.po
tlet.state.PersistentPortletState.entries -> JBP_PORTLET_STATE_ENTRY
8:00:54,671 ERROR [ServiceObjectFactoryJAXRPC] Cannot create service
rg.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLExceptio
: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.ConnectExce
tion: Connection timed out: connect
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
ctory.java:154)
at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(Service
etaData.java:295)
at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buil
MetaData(JAXRPCClientMetaDataBuilder.java:116)
at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:1
6)
at org.jboss.ws.core.jaxrpc.client.ServiceObjectFactoryJAXRPC.getObjectI
stance(ServiceObjectFactoryJAXRPC.java:156)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:3
4)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java
1273)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingC
ntext.java:1290)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.portal.wsrp.services.AbstractJNDIServiceFactory.getServiceF
r(AbstractJNDIServiceFactory.java:152)
at org.jboss.portal.wsrp.services.AbstractSOAPServiceFactory.getService(
bstractSOAPServiceFactory.java:75)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.getService(E
dpointConfigurationInfo.java:395)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.getServiceDe
criptionService(EndpointConfigurationInfo.java:370)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.refreshServi
es(EndpointConfigurationInfo.java:469)
at org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo.forceRefresh
EndpointConfigurationInfo.java:462)
at org.jboss.portal.wsrp.consumer.ProducerInfo.internalRefresh(ProducerI
fo.java:334)
at org.jboss.portal.wsrp.consumer.ProducerInfo.detailedRefresh(ProducerI
fo.java:282)
at org.jboss.portal.wsrp.consumer.ProducerInfo.refresh(ProducerInfo.java
277)
at org.jboss.portal.wsrp.consumer.ProducerInfo.getPortletMap(ProducerInf
.java:662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
ava:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(Ja
assistLazyInitializer.java:173)
at org.jboss.portal.wsrp.consumer.ProducerInfo_$$_javassist_101.getPortl
tMap(ProducerInfo_$$_javassist_101.java)
at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsu
erImpl.java:150)
at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerServi
e.getPortlets(FederatedPortletInvokerService.java:89)
at org.jboss.portal.core.management.PortletDiscoveryService.processPortl
tDiscovery(PortletDiscoveryService.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
ava:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
r.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
r.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
eanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
ava:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.varia.scheduler.Scheduler$MBeanListener.handleNotification(
cheduler.java:1346)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
nListenerProxy.java:153)
at $Proxy11.handleNotification(Unknown Source)
at javax.management.NotificationBroadcasterSupport.handleNotification(No
ificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Noti
icationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(Notificatio
BroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
icationBroadcasterSupport.java:229)
at javax.management.timer.Timer.sendNotification(Timer.java:1234)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1203)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1286)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
aused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Canno
extract schema definition: java.net.ConnectException: Connection timed out: co
nect
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
4)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
6)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:4
6)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.j
va:178)
at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsF
ctory.java:128)
... 56 more
aused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
at sun.net.www.http.HttpClient.(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
nnection.java:799)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
tion.java:747)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
java:658)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
ection.java:981)
at java.net.URL.openStream(URL.java:1009)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
java:588)
at org.jboss.ws.tools.wsdl.WSDL11Reader.handleSchemaImports(WSDL11Reader
java:589)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reade
.java:560)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:3
5)
... 60 more
8:01:07,796 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.po
tlet.state.PersistentPortletState.children -> JBP_PORTLET_STATE
8:01:07,796 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.po
tlet.state.PersistentConsumerGroup.relatedConsumers -> JBP_PORTLET_CONSUMER
8:01:07,796 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.po
tlet.state.PersistentConsumer.relatedRegistrations -> JBP_PORTLET_REG
8:01:07,796 INFO [HbmBinder] Mapping collection: org.jboss.portal.core.impl.po
tlet.state.PersistentRegistration.relatedPortletStates -> JBP_PORTLET_STATE
8:01:07,812 ERROR [Scheduler$Listener] Invoke of the Schedulable MBean failed
avax.management.MBeanException
at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio
s(ReflectedDispatcher.java:180)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
r.java:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
r.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
eanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
ava:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.varia.scheduler.Scheduler$MBeanListener.handleNotification(
cheduler.java:1346)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.notification.NotificationListenerProxy.invoke(Notificati
nListenerProxy.java:153)
at $Proxy11.handleNotification(Unknown Source)
at javax.management.NotificationBroadcasterSupport.handleNotification(No
ificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Noti
icationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(Notificatio
BroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
icationBroadcasterSupport.java:229)
at javax.management.timer.Timer.sendNotification(Timer.java:1234)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1203)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1286)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
aused by: org.jboss.portal.portlet.InvokerUnavailableException: Couldn't access
WSRP_v1_ServiceDescription_PortType service. Cause: Could not dereference objec
at org.jboss.portal.wsrp.consumer.WSRPConsumerImpl.getPortlets(WSRPConsu
erImpl.java:155)
at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerServi
e.getPortlets(FederatedPortletInvokerService.java:89)
at org.jboss.portal.core.management.PortletDiscoveryService.processPortl
tDiscovery(PortletDiscoveryService.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
ava:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
orImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
r.java:155)
... 22 more
Even though i am getting errors,I open the link "http://localhost:8080/portal" in the browser. The portlets in the home page are getting open properly. Dont really know whats happening...is the server getting connected to any web service during startup. Please help me on this..[/url]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189401#4189401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189401
16 years, 1 month
[JBossWS] - Re: How to generate the WSDL at build time for EJB3 based we
by eminil
Hmm, i have the same question.
But is it really necessary to use the wsprovide tool. From the wiki it says:
anonymous wrote :
| A JSE or EJB3 deployment can be built using this class, and it is the only Java code needed to deploy on JBossWS. The WSDL, and all other Java artifacts called "wrapper classes" will be generated for you at deploy time. This actually goes beyond the JAX-WS specification, which requires that wrapper classes be generated using an offline tool. The reason for this requirement is purely a vender implementation problem, and since we do not believe in burdening a developer with a bunch of additional steps, we generate these as well. However, if you want your deployment to be portable to other application servers, you will unfortunately need to use a tool and add the generated classes to your deployment.
|
| This is the primary purpose of the wsprovide tool, to generate portable JAX-WS artifacts. Additionally, it can be used to "provide" the abstract contract (WSDL file) for your service. This can be obtained by invoking wsprovide using the "-w" option:
>From which i get the impression i would not need to use any other tools...
Or is it so that the CLIENT will need the generated classes from wsprovide to be able to use the webservice?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189349#4189349
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189349
16 years, 1 month