2 Replies Latest reply on Oct 13, 2008 7:54 AM by felderr

    JBoss Portal WSRP with WS Stack CXF

    felderr

      We tried to upgrade the JBoss Portal 2.6.6 Webservice Stack from native to CXF but failed with the following error message from the WSRP Stack. For me it seems that the great JBoss Platform is not compatible within itself especially if it comes to the Portal Framework?

      We tried with Java 5 and Java 6. If we remove the portal-wsrp.sar within the jboss-portal.sar everything works fine.

      So is there any workaround getting portal-wsrp running with the CXF Stack?

      Thanks for help
      Rene


      Stacktrace:
      =======
      17:49:38,312 ERROR [MainDeployer] Could not create deployment: file:/C:/ta30/progs/jboss-portal-2.6.6.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
      at org.jboss.system.ServiceController.install(ServiceController.java:226)
      Caused by: java.lang.NoClassDefFoundError: javax/xml/rpc/soap/SOAPFaultException
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
      at java.lang.Class.getConstructor0(Class.java:2671)
      at java.lang.Class.getConstructor(Class.java:1629)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1232)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:170)

      also
      17:49:45,828 ERROR [MainDeployer] Could not start deployment: file:/C:/ta30/progs/jboss-portal-2.6.6.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar
      org.jboss.deployment.DeploymentException: Failed to setup client ENC; - nested throwable: (java.lang.IllegalArgumentException: Deployed stack does not support JAX-RPC service-ref deployments)
      at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:175)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      Caused by: java.lang.IllegalArgumentException: Deployed stack does not support JAX-RPC service-ref deployments
      at org.jboss.wsf.stack.cxf.client.ServiceRefBinderJAXRPC.setupServiceRef(ServiceRefBinderJAXRPC.java:40)
      at org.jboss.wsf.framework.serviceref.DefaultServiceRefHandler.bindServiceRef(DefaultServiceRefHandler.java:127)
      at org.jboss.metadata.serviceref.ServiceRefDelegate.bindServiceRef(ServiceRefDelegate.java:100)

      and

      Caused by: java.lang.IllegalArgumentException: Deployed stack does not support JAX-RPC service-ref deployments
      at org.jboss.wsf.stack.cxf.client.ServiceRefBinderJAXRPC.setupServiceRef(ServiceRefBinderJAXRPC.java:40)
      at org.jboss.wsf.framework.serviceref.DefaultServiceRefHandler.bindServiceRef(DefaultServiceRefHandler.java:127)


        • 1. Re: JBoss Portal WSRP with WS Stack CXF
          claprun

          The WSRP component of JBoss Portal is only compatible with JBoss WS Native for now. There is a good reason for this: the other web service stacks are not compatible with JAX-RPC, which is what was used to implement WSRP because we needed Java 1.4 compliance.
          Re-implementing WSRP using JAX-WS is planned, though. You're welcome to contribute. :)

          • 2. Re: JBoss Portal WSRP with WS Stack CXF
            felderr

            Thanks for the quick reply! Do you already know when JAX-WS implementation will be ready? Just to have an idea wheter it will take 1 month, 1 year or 5 years?