0 Replies Latest reply on Oct 22, 2013 9:38 PM by Leon Suarez

    Jboss AS 6 Error when deploy seam ear and jee6 war

    Leon Suarez Newbie

      Hello,

      I have two aps one Seam ear and one Jee6 war if I deploy each one every one works, but if I deploy both in the same JbossAS I got the next error:

       

      • Failed to create Resource SMS_Bunker.war - cause: java.lang.Exception:Failed to start deployment [vfs:///home/leon/jboss-6.1.0.Final/server/default/deploy/SMS_Bunker.war] during deployment of 'SMS_Bunker.war' - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfs:///home/leon/jboss-6.1.0.Final/server/default/deploy/SMS_Bunker.war -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jca:service=ManagedConnectionFactory,name=SIJYPV2Datasource DEPLOYMENTS IN ERROR: Deployment "vfs:///home/leon/jboss-6.1.0.Final/server/default/deploy/SMS_Bunker.war" is in error due to the following reason(s): java.lang.IllegalStateException: jboss.jca:name=SIJYPV2Datasource,service=ManagedConnectionFactory is already installed. -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfs:///home/leon/jboss-6.1.0.Final/server/default/deploy/SMS_Bunker.war -> org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.jca:service=ManagedConnectionFactory,name=SIJYPV2Datasource DEPLOYMENTS IN ERROR: Deployment "vfs:///home/leon/jboss-6.1.0.Final/server/default/deploy/SMS_Bunker.war" is in error due to the following reason(s): java.lang.IllegalStateException: jboss.jca:name=SIJYPV2Datasource,service=ManagedConnectionFactory is already installed.

      I think the problem is related with the datasources but I don't know how to propertly set up it.

       

      could you tell me how must I configure the datasurces for each app?

      both apps conect with the same database, just change the schema..

      thanks in advance!