[ 
https://issues.apache.org/jira/browse/GERONIMO-6364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294116#comment-13294116
 ] 

Forrest Xia commented on GERONIMO-6364:
---------------------------------------

Just noticed there are some error logs printed on the console output:

Retrieving document at 
'jar:file:/home/forrestxm/src/asf/geronimo/server/branches/3.0-beta/assemblies/geronimo-tomcat7-javaee6/target/assembly/var/temp/geronimo-fileutils2574578295364293593.jar!/META-INF/wsdl/'.
2012-06-12 23:07:36,653 ERROR [startup] Unable to read wsdl file 
META-INF/wsdl/greeter_service.wsdl
Retrieving document at 
'jar:file:/home/forrestxm/src/asf/geronimo/server/branches/3.0-beta/assemblies/geronimo-tomcat7-javaee6/target/assembly/var/temp/geronimo-fileutils2574578295364293593.jar!/META-INF/wsdl/'.
2012-06-12 23:07:36,661 ERROR [startup] Unable to read wsdl file 
META-INF/wsdl/greeter_service.wsdl
Retrieving document at 
'jar:file:/home/forrestxm/src/asf/geronimo/server/branches/3.0-beta/assemblies/geronimo-tomcat7-javaee6/target/assembly/var/temp/geronimo-fileutils2574578295364293593.jar!/META-INF/wsdl/'.
2012-06-12 23:07:36,669 ERROR [startup] Unable to read wsdl file 
META-INF/wsdl/greeter_service.wsdl
2012-06-12 23:07:36,670 ERROR [startup] Unable to read wsdl file 
META-INF/wsdl/greeter_service.wsdl
2012-06-12 23:07:38,082 WARN  [AdminObjectRefBuilder] Failed to build reference 
to resource env reference [java:comp/BeanManager, java:comp/Validator, 
java:comp/ValidatorFactory] defined in plan file. The corresponding entry in 
Geronimo deployment descriptor is missing.
2012-06-12 23:07:38,102 WARN  [SwitchingServiceRefBuilder] Failed to build 
reference to service reference [services/Greeter] defined in plan file, reason 
- corresponding entry in deployment descriptor missing.
2012-06-12 23:07:38,105 WARN  [AdminObjectRefBuilder] Failed to build reference 
to resource env reference [java:comp/BeanManager, java:comp/Validator, 
java:comp/ValidatorFactory] defined in plan file. The corresponding entry in 
Geronimo deployment descriptor is missing.
org.apache.geronimo.jaxws.test.GreeterImpl@1563133c PostConstruct

Not sure if we need to address them.
                
> jaxws-catalog-tests test failed for UnknownHostException
> --------------------------------------------------------
>
>                 Key: GERONIMO-6364
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6364
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 3.0-beta-1
>            Reporter: Forrest Xia
>            Assignee: Ivan
>            Priority: Minor
>             Fix For: 3.0
>
>
> If running jaxws-catalog-tests, these exceptions happen:
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: 
> Configuration 
> org.apache.geronimo.testsuite/catalog-ear/3.0-beta-2-SNAPSHOT/ear failed to 
> start due to the following reasons:
>   The service 
> EJBModule=catalog-ejb-3.0-beta-2-SNAPSHOT.jar,J2EEApplication=org.apache.geronimo.testsuite/catalog-ear/3.0-beta-2-SNAPSHOT/ear,StatelessSessionBean=GreeterBean,j2eeType=WSLink,name=GreeterBean
>  did not start because WSDLException: faultCode=WSDL4JWrapper : : 
> javax.xml.ws.WebServiceException: javax.wsdl.WSDLException: WSDLException (at 
> /wsdl:definitions/wsdl:import): faultCode=OTHER_ERROR: Unable to resolve 
> imported document at 'http://foo1/greeter_binding.wsdl', relative to 
> 'bundleresource://515.fwk1130907398/META-INF/wsdl/greeter_service.wsdl': 
> java.net.UnknownHostException: foo1
> javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper : : 
> javax.xml.ws.WebServiceException: javax.wsdl.WSDLException: WSDLException (at 
> /wsdl:definitions/wsdl:import): faultCode=OTHER_ERROR: Unable to resolve 
> imported document at 'http://foo1/greeter_binding.wsdl', relative to 
> 'bundleresource://515.fwk1130907398/META-INF/wsdl/greeter_service.wsdl': 
> java.net.UnknownHostException: foo1
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:234)
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:156)
>       at 
> org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:160)
>       at 
> org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:172)
>       at 
> org.apache.geronimo.axis2.ejb.EJBWebServiceContainer.init(EJBWebServiceContainer.java:62)
>       at 
> org.apache.geronimo.axis2.ejb.EJBWebServiceGBean.<init>(EJBWebServiceGBean.java:82)
>       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.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:958)
>       at 
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>       at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>       at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:958)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:569)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
>       at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:466)
>       at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:225)
>       at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:710)
>       at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:689)
>       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
>       at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
>       at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
>       at 
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
>       at 
> org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
>       at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>       at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>       at 
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
>       at 
> javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
>       at 
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
>       at 
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
>       at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
>       at sun.rmi.transport.Transport$1.run(Transport.java:159)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>       at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
>       at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>       at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: javax.xml.ws.WebServiceException: javax.wsdl.WSDLException: 
> WSDLException (at /wsdl:definitions/wsdl:import): faultCode=OTHER_ERROR: 
> Unable to resolve imported document at 'http://foo1/greeter_binding.wsdl', 
> relative to 
> 'bundleresource://515.fwk1130907398/META-INF/wsdl/greeter_service.wsdl': 
> java.net.UnknownHostException: foo1
>       at 
> org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175)
>       at 
> org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
>       at 
> org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128)
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper.loadDefinition(WSDL4JWrapper.java:741)
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper.getDefinition(WSDL4JWrapper.java:657)
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:224)
>       ... 60 more
> Caused by: javax.wsdl.WSDLException: WSDLException (at 
> /wsdl:definitions/wsdl:import): faultCode=OTHER_ERROR: Unable to resolve 
> imported document at 'http://foo1/greeter_binding.wsdl', relative to 
> 'bundleresource://515.fwk1130907398/META-INF/wsdl/greeter_service.wsdl': 
> java.net.UnknownHostException: foo1
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper$13.run(WSDL4JWrapper.java:732)
>       at 
> org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)
>       at 
> org.apache.axis2.jaxws.util.WSDL4JWrapper.loadDefinition(WSDL4JWrapper.java:729)
>       ... 62 more
> Caused by: java.net.UnknownHostException: foo1
>       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
>       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>       at java.net.Socket.connect(Socket.java:529)
>       at java.net.Socket.connect(Socket.java:478)
>       at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>       at sun.net.www.http.HttpClient.openServer(HttpClient.java:395)
>       at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
>       at sun.net.www.http.HttpClient.<init>(HttpClient.java:234)
>       at sun.net.www.http.HttpClient.New(HttpClient.java:307)
>       at sun.net.www.http.HttpClient.New(HttpClient.java:324)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
>       at java.net.URL.openStream(URL.java:1010)
>       at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
>       ... 72 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to