Alessio Soldano wrote:
OK, here you go: http://jboss.org/jbossws/downloads (JBossWS 3.4.1 binary downloads, check the Install.txt as usual for installation information)
I've downloaded the binary.
First I installed it in my jboss 6 install.
Then I tried to deploy my application.
First the EJB seemed to be correctly deployed:
...
10:45:32,798 INFO [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@c6bb9a into MC at org.jboss.ejb.bean.instantiator/ubi-api/ubi-api-ejb/ConfProfileBean
1
...
then the WSDL:
...
10:45:41,224 INFO [org.jboss.wsf.stack.jbws.WSDLFilePublisher] WSDL published to: file:/home/abr/workspace/jboss-6.0.0.Final/server/ubiqube/data/wsdl/ubi-api.ear/ubi-api-ejb.jar/VpnService.wsdl
...
then the endpoints:
...
10:45:42,242 INFO [org.jboss.wsf.framework.management.DefaultEndpointRegistry] register: jboss.ws:context=webapi,endpoint=FirewallBean
...
then I get
...
10:45:42,456 INFO [org.jboss.ejb3.deployers.JBossASKernel] Created KernelDeployment for: ubi-api-ejb.jar
10:45:42,460 INFO [org.jboss.ejb3.deployers.JBossASKernel] installing bean: jboss.j2ee:ear=ubi-api.ear,jar=ubi-api-ejb.jar,name=VoipProfileBean,service=EJB3
10:45:42,460 INFO [org.jboss.ejb3.deployers.JBossASKernel] with dependencies:
10:45:42,460 INFO [org.jboss.ejb3.deployers.JBossASKernel] and demands:
10:45:42,460 INFO [org.jboss.ejb3.deployers.JBossASKernel] jboss-injector:topLevelUnit=ubi-api.ear,unit=ubi-api-ejb.jar,bean=VoipProfileBean; Required: Described
10:45:42,460 INFO [org.jboss.ejb3.deployers.JBossASKernel] jboss.ejb:service=EJBTimerService; Required: Described
10:45:42,460 INFO [org.jboss.ejb3.deployers.JBossASKernel] jboss-switchboard:appName=ubi-api,module=ubi-api-ejb; Required: Create
10:45:42,461 INFO [org.jboss.ejb3.deployers.JBossASKernel] and supplies:
10:45:42,461 INFO [org.jboss.ejb3.deployers.JBossASKernel] jndi:VoipProfileBean/remote
10:45:42,461 INFO [org.jboss.ejb3.deployers.JBossASKernel] Class:com.ubiqube.api.interfaces.deprecated.profil.voip.VoipProfileService
10:45:42,461 INFO [org.jboss.ejb3.deployers.JBossASKernel] jndi:ubi-api/VoipProfileBean/remote-com.ubiqube.api.interfaces.deprecated.profil.voip.VoipProfileService
10:45:42,466 INFO [org.jboss.ejb3.deployers.JBossASKernel] Added bean(jboss.j2ee:ear=ubi-api.ear,jar=ubi-api-ejb.jar,name=VoipProfileBean,service=EJB3) to KernelDeployment of: ubi-api-ejb.jar
..
10:45:46,121 INFO [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
CDRBean/remote - EJB3.x Default Remote Business Interface
ubi-api/CDRBean/remote-com.ubiqube.api.interfaces.profile.voip.CDRService - EJB3.x Remote Business Interface
10:45:46,121 WARN [org.jboss.ejb3.TimerServiceContainer] EJBTHREE-2193: using deprecated TimerServiceFactory for restoring timers
And then it fails with
10:45:46,133 INFO [org.jboss.ejb3.session.SessionSpecContainer] Stopping jboss.j2ee:ear=ubi-api.ear,jar=ubi-api-ejb.jar,name=CDRBean,service=EJB3
10:45:46,137 INFO [org.jboss.ejb3.EJBContainer] STOPPED EJB: com.ubiqube.api.ejb.profile.voip.CDRBean ejbName: CDRBean
10:45:46,140 INFO [org.jboss.ejb3.session.SessionSpecContainer] Stopping jboss.j2ee:ear=ubi-api.ear,jar=ubi-api-ejb.jar,name=VpnWS,service=EJB3
10:45:46,141 INFO [org.jboss.ejb3.EJBContainer] STOPPED EJB: com.ubiqube.api.ws.endpoints.vpn.VpnWS ejbName: VpnWS
10:45:46,145 INFO [org.jboss.ejb3.session.SessionSpecContainer] Stopping jboss.j2ee:ear=ubi-api.ear,jar=ubi-api-ejb.jar,name=SecurityBean,service=EJB3
10:45:46,146 INFO [org.jboss.ejb3.EJBContainer] STOPPED EJB: com.ubiqube.api.ejb.common.security.SecurityBean ejbName: SecurityBean
10:45:46,151 WARN [org.jboss.kernel.plugins.dependency.StartStopLifecycleAction] Error during stop for jboss-switchboard:appName=ubi-api,module=ubi-api-ejb,name=ConfigurationVariableWS: javax.naming.NameNotFoundException: ORB not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]
at org.jnp.server.NamingServer.unbind(NamingServer.java:349) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.unbind(NamingContext.java:873) [:5.0.5.Final]
at org.jboss.util.naming.Util.unbind(Util.java:151) [jboss-common-core.jar:2.2.17.GA]
at org.jboss.util.naming.Util.unbind(Util.java:141) [jboss-common-core.jar:2.2.17.GA]
at org.jboss.switchboard.mc.SwitchBoardImpl.unbindFromRelevantContext(SwitchBoardImpl.java:303) [:1.0.0-alpha-15]
at org.jboss.switchboard.mc.SwitchBoardImpl.stop(SwitchBoardImpl.java:102) [:1.0.0-alpha-15]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_23]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_23]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_23]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_23]
I have no idea what this ORB is...
The full deployement log (server.log) is attached to the message.
So I tried to run the jbossws 3.4.1 included tests: ant tests.
They all failed (attached the tests reports)
Antoine