[jboss-user] [JBoss Seam] - two @datamodel in one sessionbean?

jdijkmeijer do-not-reply at jboss.com
Sun Sep 16 07:12:46 EDT 2007


Hi I'm a bit confused currently I've been doing seam together with icefaces, and I'm very happy with the combination of the both projects.

However today I run into an issue: when I  added a second datamodel to a sessionbean 

  | @Scope(ScopeType.SESSION)
  | @Stateful
  | @Name("subjectMgr")
  | 

My ear did not deploy anymore, I'm quite confident its the two datamodels on one sessionbean, but I dont see an related messages in the stacktrace:

  | subjectMgr, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: nl.jeroen.testdb.persist.SubjectMgrBean, JNDI: spuytear/SubjectMgrBean/local
  | 12:56:54,666 INFO  [com.icesoft.faces.util.event.servlet.ContextEventRepeater] Servlet Context Name: null, Server Info: JBossWeb/2.0.0.GA
  | 12:56:54,669 WARN  [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=spuytwar.war,id=1903303229
  | org.jboss.deployment.DeploymentException: URL file:/Applications/jboss-4.2.0.GA/server/default/tmp/deploy/tmp51065spuytear.ear-contents/spuytwar-exp.war/ deployment failed
  | 	at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:379)
  | 	at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
  | 	at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
  | 	at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | 	at org.jboss.web.WebModule.startService(WebModule.java:61)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
Leaving one of the two datamodels out of the sessionbean gives a succesful deploy. Is this something I missed in the docs??
regards,
Jeroen.

Versions:
12:56:36,259 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
12:56:36,494 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_07-87,"Apple Computer, Inc."
12:56:36,494 INFO  [ServerInfo] OS-System: Mac OS X 10.4.10,i386
Welcome to Seam 1.2.1

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

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



More information about the jboss-user mailing list