[jboss-user] [JBoss Seam] - project jar never gets scanned on startup

dustismo do-not-reply at jboss.com
Thu Oct 4 16:21:34 EDT 2007


I have a large project that I am splitting into too separate ear files.  I have modified the build script and config files to build two different ear files (two different build targets).  I've almost got it working but I have hit a wall: the main jar file never gets scanned for components.
that is,
project.ear
  +project.jar <--never gets scanned
  +project.war

I know there is some config param I am missing but I can't figure it out.

I get this:

  | 13:10:52,858 INFO  [EJB3Deployer] Deployed: file:/home/dustin/rhdevstudio/jboss-eap/jboss-as/server/default/deploy/trend.ear/trend.jar/
  | 

but it never scans.

my jboss-app.xml

  | <jboss-app>
  |    <loader-repository> 
  |       seam.jboss.org:loader=trend
  |    </loader-repository> 
  | </jboss-app> 
  | 

my application.xml

  | <application xmlns="http://java.sun.com/xml/ns/javaee" 
  |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"
  |              version="5">
  | 
  | 	<display-name>Trend</display-name>
  | 
  | 	<module>
  | 		<web>
  | 			<web-uri>trend.war</web-uri>
  | 			<context-root>/</context-root>
  | 		</web>
  | 	</module>
  | 
  | 	<module>
  | 		<ejb>trend.jar</ejb>
  | 	</module>
  | 
  | <!-- Seam and EL -->
  |    <module>
  |        <ejb>jboss-seam.jar</ejb>
  |    </module>
  | </application>
  | 

Any help is appreciated,
Dustin

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

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



More information about the jboss-user mailing list