1 Reply Latest reply on Dec 18, 2007 4:22 PM by Pete Muir

    Seam 2.0 GA - seambay example deployment fails

    Feroz Ahanger Newbie

      Hi,
      I can't deploy seam-bay example successfully using Seam 2.0 GA and Jboss 4.2.2. Please guide me. Thanks.

      16:45:19,156 INFO [EJBContainer] STARTED EJB: org.jboss.seam.example.seambay.Au
      ctionService ejbName: AuctionService
      16:45:19,171 INFO [EJB3Deployer] Deployed: file:/D:/jboss422/server/default/tmp
      /deploy/tmp2401jboss-seam-bay.ear-contents/jboss-seam-bay.jar
      16:45:19,265 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss422/
      server/default/tmp/deploy/tmp2401jboss-seam-bay.ear-contents/jboss-seam-bay.jar
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.m
      odel.impl.RuntimeModelBuilder
       at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContex
      tImpl.java:422)
       at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.ja
      va:286)
       at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
      139)
       at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:105
      )
       at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:116
      )
       at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBCo
      ntext(JAXWSMetaDataBuilder.java:921)
       at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.bu
      ildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:146)
       at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupP
      roviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
       at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMet
      aData(JAXWSMetaDataBuilderEJB3.java:78)
       at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
      edMetaDataDeploymentAspect.java:71)
       at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
      (DeploymentAspectManagerImpl.java:115)
       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 $Proxy34.start(Unknown Source)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor21.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:610)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:274)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:225)