[jboss-user] [JBoss/Spring Integration] - Re: help on jboss spring integration

mattlf do-not-reply at jboss.com
Mon Nov 17 09:24:43 EST 2008


Hi Ales

Thanks again for your response

I feel I am close

The maven2 config is the following:

Add 

 
  | <artifacttypemappings>
  |     <artifacttypemapping type="spring" mapping="jar"/>
  | </artifacttypemappings>
  | 

to configuration in pom of EAR

I now see the following when copying the ear into deploy. But I still don't see the Spring JMX that i declared in the jmx console. So the spring context is not bootstraped

2008-11-17 13:59:48,372 15543 DEBUG [org.jboss.deployment.MainDeployer] (main:) Copying file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deployMYPROJECT-EAR-1.0.ear -> /home/mattlf/jboss-4.2.2.GA/server/messaging/tmp/deploy/tmp3996MYPROJECT-EAR-1.0.ear
  | 2008-11-17 13:59:48,416 15587 DEBUG [org.jboss.deployment.MainDeployer] (main:) using deployer org.jboss.deployment.EARDeployer at b31a7c
  | 2008-11-17 13:59:48,416 15587 INFO  [org.jboss.deployment.EARDeployer] (main:) Init J2EE application: file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-17 13:59:48,428 15599 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: META-INF/MANIFEST.MF
  | 2008-11-17 13:59:48,428 15599 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: META-INF/application.xml
  | 2008-11-17 13:59:48,428 15599 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: META-INF/jboss-spring.xml
  | 2008-11-17 13:59:48,429 15600 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: META-INF/jboss-app.xml
  | 2008-11-17 13:59:48,429 15600 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/joda-time-hibernate-1.0.jar
  | 2008-11-17 13:59:48,430 15601 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/datecalc-common-1.1.0.jar
  | 2008-11-17 13:59:48,430 15601 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/STRATEER-MKTDATAENGINE-API-JAR-1.0.jar
  | 2008-11-17 13:59:48,457 15628 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/aspectjweaver-1.5.4.jar
  | 2008-11-17 13:59:48,457 15628 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/datecalc-joda-1.1.0.jar
  | 2008-11-17 13:59:48,509 15680 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/spring-2.5.6.jar
  | 2008-11-17 13:59:48,513 15684 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/otfeed-driver-0.1.3.jar
  | 2008-11-17 13:59:48,521 15692 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/joda-time-1.5.2.jar
  | 2008-11-17 13:59:48,523 15694 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/aspectjrt-1.5.4.jar
  | 2008-11-17 13:59:48,552 15723 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/MYPROJECT-IMPL-JAR.spring
  | 2008-11-17 13:59:48,554 15725 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/MYPROJECT-JAR-COMMONS-1.0.jar
  | 2008-11-17 13:59:48,555 15726 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/MYPROJECT-JAR-PERSISTENCE-1.0.jar
  | 2008-11-17 13:59:48,561 15732 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: lib/quartz-1.5.0.jar
  | 2008-11-17 13:59:48,562 15733 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted deployable content: MYPROJECT-EJB-JAR-1.0.jar
  | 2008-11-17 13:59:48,562 15733 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: META-INF/maven/com.strateer.mktdataengine/MYPROJECT-EAR/pom.xml
  | 2008-11-17 13:59:48,563 15734 DEBUG [org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content: META-INF/maven/com.strateer.mktdataengine/MYPROJECT-EAR/pom.properties
  | 2008-11-17 13:59:48,563 15734 DEBUG [org.jboss.deployment.EARDeployer] (main:) Deployment Info: org.jboss.deployment.DeploymentInfo at 6761bd25 { url=file:/home/mattlf/jboss-4.2.2.GA/server/messaging/tmp/deploy/tmp3996MYPROJECT-EAR-1.0.ear-contents/MYPROJECT-EJB-JAR-1.0.jar }
  |   deployer: null
  |   status: null
  |   state: CONSTRUCTED
  |   watch: file:/home/mattlf/jboss-4.2.2.GA/server/messaging/tmp/deploy/tmp3996MYPROJECT-EAR-1.0.ear-contents/MYPROJECT-EJB-JAR-1.0.jar
  |   altDD: null
  |   lastDeployed: 0
  |   lastModified: 0
  |   mbeans:
  | , isDirectory: false
  | 

I wonder if all JAR dependencies to MYPROJECT-IMPL.spring should also be named as .spring ?

I am going to try

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189809#4189809

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189809



More information about the jboss-user mailing list