Still it doesn't work. I must be doing something wrong. Maybe there should not 
be a dot in the version number MYPROJECT-JAR-1.0.spring ?

Here is the exploded EAR and .spring

[EMAIL PROTECTED]:~/strateer-dev/branches/1.0/MYPROJECT-EAR/target/test$ jar 
-xvf MYPROJECT-EAR-1.0.ear 
  |   created: META-INF/
  |  inflated: META-INF/MANIFEST.MF
  |  inflated: datecalc-common-1.1.0.jar
  |  inflated: datecalc-joda-1.1.0.jar
  |  inflated: spring-2.5.6.jar
  |  inflated: otfeed-driver-0.1.3.jar
  |  inflated: joda-time-1.5.2.jar
  |  inflated: MYPROJECT-JAR-1.0.spring
  |  inflated: META-INF/application.xml
  |  inflated: META-INF/jboss-app.xml
  |  inflated: quartz-1.5.0.jar
  |   created: META-INF/maven/
  |   created: META-INF/maven/com.strateer.myproject/
  |   created: META-INF/maven/com.strateer.myproject/MYPROJECT-EAR/
  |  inflated: META-INF/maven/com.strateer.myproject/MYPROJECT-EAR/pom.xml
  |  inflated: 
META-INF/maven/com.strateer.myproject/MYPROJECT-EAR/pom.properties
  | [EMAIL PROTECTED]:~/strateer-dev/branches/1.0/MYPROJECT-EAR/target/test$ ls
  | datecalc-common-1.1.0.jar  datecalc-joda-1.1.0.jar  joda-time-1.5.2.jar  
META-INF  MYPROJECT-EAR-1.0.ear  MYPROJECT-JAR-1.0.spring  
otfeed-driver-0.1.3.jar  quartz-1.5.0.jar  spring-2.5.6.jar
  | [EMAIL PROTECTED]:~/strateer-dev/branches/1.0/MYPROJECT-EAR/target/test$ 
jar -xvf MYPROJECT-JAR-1.0.spring
  |   created: META-INF/
  |  inflated: META-INF/MANIFEST.MF
  |   created: com/
  |   created: com/strateer/
  |   created: com/strateer/myproject/
  |   created: com/strateer/myproject/impl/
  |   created: com/strateer/myproject/api/
  |   created: lib/
  |  inflated: beanRefContext.xml
  |  inflated: com/strateer/myproject/impl/TestServiceImpl.class
  |  inflated: com/strateer/myproject/api/TestService.class
  |  inflated: myprojectBeans.xml
  |  inflated: META-INF/jboss-spring.xml
  |  inflated: lib/datecalc-common-1.1.0.jar
  |  inflated: lib/datecalc-joda-1.1.0.jar
  |  inflated: lib/spring-2.5.6.jar
  |  inflated: lib/otfeed-driver-0.1.3.jar
  |  inflated: lib/joda-time-1.5.2.jar
  |  inflated: lib/quartz-1.5.0.jar
  |  inflated: mktdataEngineOpentic.properties
  |   created: META-INF/maven/
  |   created: META-INF/maven/com.strateer.myproject/
  |   created: META-INF/maven/com.strateer.myproject/MYPROJECT-JAR/
  |  inflated: META-INF/maven/com.strateer.myproject/MYPROJECT-JAR/pom.xml
  |  inflated: 
META-INF/maven/com.strateer.myproject/MYPROJECT-JAR/pom.properties
  | [EMAIL PROTECTED]:~/strateer-dev/branches/1.0/MYPROJECT-EAR/target/test$ 
  | 


Here is the jboss-spring.xml

<beans xmlns="http://www.springframework.org/schema/beans";
  |        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |        xmlns:context="http://www.springframework.org/schema/context";
  |        xmlns:util="http://www.springframework.org/schema/util";
  |        xmlns:tx="http://www.springframework.org/schema/tx";
  |        xmlns:aop="http://www.springframework.org/schema/aop";
  |        xmlns:jee="http://www.springframework.org/schema/jee";
  |        xsi:schemaLocation="http://www.springframework.org/schema/beans 
  |        http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  |     http://www.springframework.org/schema/context 
  |     http://www.springframework.org/schema/context/spring-context-2.5.xsd
  |     http://www.springframework.org/schema/util 
  |     http://www.springframework.org/schema/util/spring-util-2.5.xsd
  |     http://www.springframework.org/schema/aop 
  |     http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
  |     http://www.springframework.org/schema/tx 
  |     http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
  |     http://www.springframework.org/schema/jee 
  |     http://www.springframework.org/schema/jee/spring-jee-2.5.xsd";>
  | 
  | 
  |     <tx:annotation-driven transaction-manager="transactionManager" 
proxy-target-class="true"/>
  | 
  |     <bean id="mktPropertyConfigurer"
  |           
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  |         <property name="location" 
value="classpath:mktdataEngineOpentic.properties"/>
  |         <property name="placeholderPrefix" value="$mktdataengine{"/>
  |         <property name="placeholderSuffix" value="}"/>
  |     </bean>
  |    
  |     <bean id="testService" 
class="com.strateer.myproject.impl.TestServiceImpl" init-method="init">
  |     </bean>
  |   
  |    
  |     <bean class="org.springframework.jmx.export.MBeanExporter">
  |         <property name="beans">
  |             <map>
  |                 <entry 
key="com.strateer.myproject.impl.TestServiceImpl:name=jmx,type=spring"
  |                        value-ref="testService"/>
  |             </map>
  |         </property>
  |         <property name="assembler" ref="assembler4ScheduleJob"/>
  |     </bean>
  | 
  |     <bean id="assembler4ScheduleJob"
  |           
class="org.springframework.jmx.export.assembler.InterfaceBasedMBeanInfoAssembler">
  |         <property name="managedInterfaces">
  |             <list>
  |                 <value>
  |                     com.strateer.myproject.api.TestService
  |                 </value>
  |             </list>
  |         </property>
  |     </bean>
  | 
  | </beans>

and here is the jboss trace

2008-11-18 01:52:32,582 14885 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-18 01:52:32,594 14897 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: META-INF/MANIFEST.MF
  | 2008-11-18 01:52:32,594 14897 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: datecalc-common-1.1.0.jar
  | 2008-11-18 01:52:32,595 14898 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: datecalc-joda-1.1.0.jar
  | 2008-11-18 01:52:32,641 14944 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: spring-2.5.6.jar
  | 2008-11-18 01:52:32,645 14948 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: otfeed-driver-0.1.3.jar
  | 2008-11-18 01:52:32,653 14956 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: joda-time-1.5.2.jar
  | 2008-11-18 01:52:32,673 14976 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: MYPROJECT-JAR-1.0.spring
  | 2008-11-18 01:52:32,673 14976 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: META-INF/application.xml
  | 2008-11-18 01:52:32,673 14976 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: META-INF/jboss-app.xml
  | 2008-11-18 01:52:32,678 14981 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: quartz-1.5.0.jar
  | 2008-11-18 01:52:32,679 14982 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: 
META-INF/maven/com.strateer.myproject/MYPROJECT-EAR/pom.xml
  | 2008-11-18 01:52:32,679 14982 DEBUG [org.jboss.deployment.EARDeployer] 
(main:) Extracted non-deployable content: 
META-INF/maven/com.strateer.myproject/MYPROJECT-EAR/pom.properties
  | 2008-11-18 01:52:32,680 14983 DEBUG 
[org.jboss.mx.loading.RepositoryClassLoader] (main:) setRepository, [EMAIL 
PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0}
  | 2008-11-18 01:52:32,681 14984 DEBUG [org.jboss.deployment.DeploymentInfo] 
(main:) createLoaderRepository from config: 
LoaderRepositoryConfig(repositoryName: 
com.strateer.repositoryloader:loader=myproject-ear, repositoryClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: 
null, repositoryConfig: null)
  | 2008-11-18 01:52:32,681 14984 DEBUG 
[org.jboss.mx.loading.RepositoryClassLoader] (main:) setRepository, [EMAIL 
PROTECTED], [EMAIL PROTECTED] 
url=file:/home/mattlf/jboss-4.2.2.GA/server/messaging/tmp/deploy/tmp28309MYPROJECT-EAR-1.0.ear
 ,addedOrder=0}
  | 2008-11-18 01:52:32,681 14984 DEBUG 
[org.jboss.mx.loading.RepositoryClassLoader] (main:) setRepository, [EMAIL 
PROTECTED], [EMAIL PROTECTED] 
url=file:/home/mattlf/jboss-4.2.2.GA/server/messaging/tmp/deploy/tmp28309MYPROJECT-EAR-1.0.ear
 ,addedOrder=0}
  | 2008-11-18 01:52:32,681 14984 DEBUG 
[org.jboss.mx.loading.UnifiedLoaderRepository3] (main:) Adding [EMAIL 
PROTECTED] 
url=file:/home/mattlf/jboss-4.2.2.GA/server/messaging/tmp/deploy/tmp28309MYPROJECT-EAR-1.0.ear
 ,addedOrder=0}
  | 2008-11-18 01:52:32,817 15120 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) found 0 subpackages of 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,817 15120 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) Watching new file: 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,817 15120 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) create step for deployment 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,818 15121 DEBUG [org.jboss.system.ServiceController] 
(main:) Creating service 
jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear'
  | 2008-11-18 01:52:32,819 15122 DEBUG [org.jboss.deployment.EARDeployment] 
(main:) Creating jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear'
  | 2008-11-18 01:52:32,819 15122 DEBUG [org.jboss.deployment.EARDeployment] 
(main:) Created jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear'
  | 2008-11-18 01:52:32,819 15122 DEBUG [org.jboss.system.ServiceController] 
(main:) Creating dependent components for: 
jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear' dependents are: []
  | 2008-11-18 01:52:32,819 15122 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) Done with create step of deploying MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,819 15122 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) Begin deployment start 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,823 15126 DEBUG [org.jboss.system.ServiceController] 
(main:) starting service 
jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear'
  | 2008-11-18 01:52:32,823 15126 DEBUG [org.jboss.deployment.EARDeployment] 
(main:) Starting jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear'
  | 2008-11-18 01:52:32,823 15126 DEBUG [org.jboss.deployment.EARDeployment] 
(main:) Started jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear'
  | 2008-11-18 01:52:32,823 15126 DEBUG [org.jboss.system.ServiceController] 
(main:) Starting dependent components for: 
jboss.j2ee:service=EARDeployment,url='MYPROJECT-EAR-1.0.ear' dependent 
components: []
  | 2008-11-18 01:52:32,823 15126 INFO  [org.jboss.deployment.EARDeployer] 
(main:) Started J2EE application: 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,823 15126 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) End deployment start on package: MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,823 15126 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) Deployed package: 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,823 15126 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] (main:) Watch URL for: 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear 
-> 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/deploy/MYPROJECT-EAR-1.0.ear
  | 2008-11-18 01:52:32,824 15127 DEBUG 
[org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] (main:) 
Notified that enabled: true
  | 2008-11-18 01:52:32,824 15127 DEBUG 
[org.jboss.deployment.scanner.URLDeploymentScanner] (main:) Started 
jboss.deployment:type=DeploymentScanner,flavor=URL
  | 2008-11-18 01:52:32,824 15127 DEBUG [org.jboss.system.ServiceController] 
(main:) Starting dependent components for: 
jboss.deployment:type=DeploymentScanner,flavor=URL dependent components: []
  | 2008-11-18 01:52:32,885 15188 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) End deployment start on package: jboss-service.xml
  | 2008-11-18 01:52:32,886 15189 DEBUG [org.jboss.deployment.MainDeployer] 
(main:) Deployed package: 
file:/home/mattlf/jboss-4.2.2.GA/server/messaging/conf/jboss-service.xml
  | 2008-11-18 01:52:32,887 15190 DEBUG [org.jboss.web.tomcat.service.JBossWeb] 
(main:) Saw org.jboss.system.server.started notification, starting connectors
  | 2008-11-18 01:52:32,905 15208 INFO  
[org.apache.coyote.http11.Http11Protocol] (main:) Starting Coyote HTTP/1.1 on 
http-127.0.0.1-8080
  | 2008-11-18 01:52:32,927 15230 INFO  [org.apache.coyote.ajp.AjpProtocol] 
(main:) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
  | 2008-11-18 01:52:32,935 15238 INFO  [org.jboss.system.server.Server] 
(main:) JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA 
date=200710221139)] Started in 15s:221ms
   
I would really appreciate some help


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189957
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to