11 Replies Latest reply on Oct 30, 2008 7:53 AM by Thomas Heute

    WSRP Exception with jboss-portal-2.7.0.CR1-bundled

    Axel Motyka Newbie

      Hello,

      iam evaluating JBoss with Portal for my company.

      My configuration is:


      1. jboss-portal-2.7.0.CR1-bundled
      2. Java 1.6.07
      3. MS Sql Server 2000
      4. MS JDBC 1.2
      5. Windows XP SP2


        Now the only thing i modified is database access:
        <datasources>
        <local-tx-datasource>
        <jndi-name>PortalDS</jndi-name>
        <connection-url>jdbc:sqlserver://SQLSERVER:1433;DatabaseName=Portal_DEV</connection-url>
        <driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
        <user-name>user</user-name>
        <password>user</password>

        <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
        <metadata>
        <type-mapping>MS SQLSERVER2000</type-mapping>
        </metadata>
        </local-tx-datasource>
        </datasources>


        All other things are default. When i start jboss with default config, my first exception is:

        2008-10-29 10:56:28,390 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/D:/Dev/jboss-4.2.3.GA/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.war/
        org.jboss.ws.metadata.wsdl.WSDLException: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Cannot extract schema definition: java.net.SocketException: Connection reset
        at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:154)
        at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295)
        at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:97)
        at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:56)
        at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118)
        at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
        at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
        at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
        at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291)
        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)


        No i searched the forum, and as far as I understand i have to add:
        set JAVA_OPTS=%JAVA_OPTS% -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
        set JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver
        set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote


        But that didnt help.

        I am a totaly new to JBoss and most of the J2EE stuff.

        What must be done to execute JBoss+Portal without exceptions?