Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18373

Error when trying to publish seam project to EAP 6.3 in management profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.2.0.CR2
    • 4.2.0.CR1
    • server
    • None
    • Hide

      1. Create a remote EAP 6.3 with management profile
      2. Add seam 2.3 runtime - I used runtime detection on a dir with unpacked seam
      3. Create a seam web project
      4. Start the remote server and enter credentials when prompted
      5. Right-click on the running server in server view, choose Add or Remove deployments... and add the seam project (there should be three items that you must all add - the project including the seam lib, then the ds xml file and then finally h2 driver jar)
      6. Wait for the publishing - it may take quite long, depending on your network setup
      7. Finally the deployment will fail as described in the jira description

      Show
      1. Create a remote EAP 6.3 with management profile 2. Add seam 2.3 runtime - I used runtime detection on a dir with unpacked seam 3. Create a seam web project 4. Start the remote server and enter credentials when prompted 5. Right-click on the running server in server view, choose Add or Remove deployments... and add the seam project (there should be three items that you must all add - the project including the seam lib, then the ds xml file and then finally h2 driver jar) 6. Wait for the publishing - it may take quite long, depending on your network setup 7. Finally the deployment will fail as described in the jira description

      When I try to deploy a seam web project to a remote EAP 6.3 server, it takes a few minutes (expected - big seam lib) and then fails (not expected) with this error:

      !ENTRY org.jboss.ide.eclipse.as.core 4 1644298251 2014-09-17 15:47:40.273
      !MESSAGE Deployment of module seamproj has failed
      !SUBENTRY 1 org.jboss.ide.eclipse.as.management.as71 4 0 2014-09-17 15:47:40.273
      !MESSAGE The operation DEPLOY for unit seamproj.war was rolled back
      
      !ENTRY org.jboss.ide.eclipse.as.wtp.core 4 1644298249 2014-09-17 15:47:55.797
      !MESSAGE Error renaming /Users/rasp/jbossqa/runtimes/jboss-eap-6.3.0/standalone/tmp/tmp7639865478274379783.jar to /Users/rasp/jbossqa/runtimes/jboss-eap-6.3.0/standalone/deployments/seamproj.war/WEB-INF/lib/jboss-seam.jar. 
      
      This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination.
      
      You may adjust these settings in the server editor.
      

      This is the server console on the remote host:

      15:47:37,811 INFO  [org.jboss.as.repository] (management-handler-thread - 1) JBAS014900: Content added at location /home/rasp/jbossqa/runtimes/jboss-eap-6.3.0/standalone/data/content/ca/f4ac569df88605a785004d5f7683a20e809753/content
      15:47:37,836 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "seamproj.war" (runtime-name: "seamproj.war")
      15:47:39,474 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for seamproj
      15:47:39,639 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.seamproj.war" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.
      15:47:39,639 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.seamproj.war" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.
      15:47:39,640 WARN  [org.jboss.as.dependency.unsupported] (MSC service thread 1-3) JBAS018568: Deployment "deployment.seamproj.war" is using an unsupported module ("org.dom4j:main") which may be changed or removed in future versions without notice.
      15:47:39,640 WARN  [org.jboss.as.dependency.unsupported] (MSC service thread 1-3) JBAS018568: Deployment "deployment.seamproj.war" is using an unsupported module ("org.dom4j:main") which may be changed or removed in future versions without notice.
      15:47:39,800 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named EjbSynchronizations in deployment unit deployment "seamproj.war" are as follows:
      
              java:global/seamproj/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
              java:app/seamproj/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
              java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations
              java:global/seamproj/EjbSynchronizations
              java:app/seamproj/EjbSynchronizations
              java:module/EjbSynchronizations
      
      15:47:39,801 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-3) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit deployment "seamproj.war" are as follows:
      
              java:global/seamproj/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
              java:app/seamproj/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
              java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher
              java:global/seamproj/TimerServiceDispatcher
              java:app/seamproj/TimerServiceDispatcher
              java:module/TimerServiceDispatcher
      
      15:47:39,981 WARN  [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016012: Deployment deployment "seamproj.war" contains CDI annotations but beans.xml was not found.
      15:47:40,109 ERROR [org.jboss.as.server] (management-handler-thread - 1) JBAS015870: Deploy of deployment "seamproj.war" was rolled back with the following failure message: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"seamproj.war#seamproj\" is missing [jboss.naming.context.java.seamprojDatasource]"]}
      15:47:40,161 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment seamproj.war (runtime-name: seamproj.war) in 51ms
      15:47:40,169 INFO  [org.jboss.as.controller] (management-handler-thread - 1) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.deployment.unit."seamproj.war".component.EjbSynchronizations.CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.EjbSynchronizations.START] 
            service jboss.deployment.unit."seamproj.war".component.EjbSynchronizations.START (missing) dependents: [service jboss.deployment.unit."seamproj.war".moduleDeploymentRuntimeInformationStart, service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component.EjbSynchronizations.VIEW."org.jboss.seam.transaction.LocalEjbSynchronizations".LOCAL (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.EjbSynchronizations.START] 
            service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.START] 
            service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.START (missing) dependents: [service jboss.deployment.unit."seamproj.war".moduleDeploymentRuntimeInformationStart, service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.VIEW."org.jboss.seam.async.LocalTimerServiceDispatcher".LOCAL (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.START] 
            service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.ejb3.timerService (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.START] 
            service jboss.deployment.unit."seamproj.war".component."com.sun.faces.config.ConfigureListener".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."com.sun.faces.config.ConfigureListener".START] 
            service jboss.deployment.unit."seamproj.war".component."com.sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacesServlet".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacesServlet".START] 
            service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacesServlet".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacetTag".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacetTag".START] 
            service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START] 
            service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START] 
            service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."managed-bean.org.richfaces.VersionBean".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."managed-bean.org.richfaces.VersionBean".START] 
            service jboss.deployment.unit."seamproj.war".component."managed-bean.org.richfaces.VersionBean".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."managed-bean.org.richfaces.skin.SkinBean".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."managed-bean.org.richfaces.skin.SkinBean".START] 
            service jboss.deployment.unit."seamproj.war".component."managed-bean.org.richfaces.skin.SkinBean".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."org.apache.catalina.servlets.DefaultServlet".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.apache.catalina.servlets.DefaultServlet".START] 
            service jboss.deployment.unit."seamproj.war".component."org.apache.catalina.servlets.DefaultServlet".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."org.apache.jasper.servlet.JspServlet".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.apache.jasper.servlet.JspServlet".START] 
            service jboss.deployment.unit."seamproj.war".component."org.apache.jasper.servlet.JspServlet".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamFilter".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamFilter".START] 
            service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamFilter".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamListener".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamListener".START] 
            service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamListener".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamResourceServlet".CREATE (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamResourceServlet".START] 
            service jboss.deployment.unit."seamproj.war".component."org.jboss.seam.servlet.SeamResourceServlet".START (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.deployment.unit."seamproj.war".jndiDependencyService (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.apache.jasper.servlet.JspServlet".START, service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START, service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".component."javax.faces.webapp.FacesServlet".START, JBAS014799: ... and 12 more ] 
            service jboss.deployment.unit."seamproj.war".moduleDeploymentRuntimeInformation (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.START, service jboss.deployment.unit."seamproj.war".moduleDeploymentRuntimeInformationStart, service jboss.deployment.unit."seamproj.war".component.EjbSynchronizations.START] 
            service jboss.naming.context.java.module.seamproj.seamproj.env."org.jboss.seam.async.TimerServiceDispatcher".timerService (missing) dependents: [service jboss.deployment.unit."seamproj.war".component.TimerServiceDispatcher.START] 
            service jboss.naming.context.java.seamprojDatasource (missing) dependents: [service jboss.persistenceunit."seamproj.war#seamproj"] 
            service jboss.persistenceunit."seamproj.war#seamproj" (missing) dependents: [service jboss.deployment.unit."seamproj.war".component."org.apache.jasper.servlet.JspServlet".START, service jboss.naming.context.java.seamprojEntityManagerFactory, service jboss.deployment.unit."seamproj.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START, service jboss.deployment.unit."seamproj.war".deploymentCompleteService, JBAS014799: ... and 14 more ] 
            service jboss.web.deployment.default-host./seamproj (missing) dependents: [service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
            service jboss.web.deployment.default-host./seamproj.realm (missing) dependents: [service jboss.web.deployment.default-host./seamproj, service jboss.deployment.unit."seamproj.war".deploymentCompleteService] 
      

      So clearly the deployment is incomplete on the server. In fact, the first line says that new content was added to /home/rasp/jbossqa/runtimes/jboss-eap-6.3.0/standalone/data/content/ca/f4ac569df88605a785004d5f7683a20e809753/content but this directory is empty.

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: