1 Reply Latest reply on Apr 28, 2010 5:58 AM by arun s

    Using Embbede Jboss with Tomcat6

    arun s Newbie
      Hi,


      As per your documentation, I have installed Embedded JBoss (beta3) in Tomcat and were success in starting the Server.

      I build a sample Seam project and deployed in Tomcat, but i got the following errors:



      ---------------------------------------------------------------------------------------
      INFO  [org.jboss.ejb3.MCKernelAbstraction]   and supplies:
      Apr 24, 2010 3:15:50 PM org.apache.tomcat.util.modeler.Registry registerComponen
      t
      SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/S
      eamWAR,J2EEApplication=none,J2EEServer=none
      Apr 24, 2010 3:15:50 PM org.apache.catalina.startup.HostConfig deployDirectory
      SEVERE: Error deploying web application directory SeamWAR
      java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentE
      xception: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual Stat
      e}

      persistence.units:unitName=SeamWAR
      -> <UNKNOWN>{Described:** UNRESOLVED Demands 'jboss.jca:name=SeamWARDatasource,
      service=DataSourceBinding **}


      *** CONTEXTS IN ERROR: Name -> Error

      <UNKNOWN> -> ** UNRESOLVED Demands 'jboss.jca:name=SeamWARDatasource,service=Dat
      aSourceBinding **


              at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.
      java:94)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:117)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
      252)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:791)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
      1)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

              at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
      a:926)
              at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
      ava:889)
              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
      )
              at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
              at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
      :311)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:117)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

              at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
      )
              at org.apache.catalina.core.StandardService.start(StandardService.java:5
      16)
              at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
      )
              at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary
      of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      ----------------------------------------------------------------------------------------

      Please help in resolving the Issue.

      Thanks in Advance,

      Arun S