[jboss-user] [JBoss Seam] - Seam + Tomcat + microcontainer without ejb3

lle do-not-reply at jboss.com
Tue Dec 12 22:28:29 EST 2006


Hi,

I downloaded Seam 1.1CR2 and installed the jboss-seam-hibernate examples.  Everything worked fine if I included hibernate-all.jar and jboss-ejb3-all.jar

However, if I removed these 2 files and replace the hibernate-all.jar with the 4 jar files under hibernate/lib directory (ejb3-persistence.jar, hibernate3.jar, hibernate-annotations.jar, hibernate-entitymanager.jar), then I will get two ClassNotFoundException for the following class at Tomcat startup:


  | org.jboss.logging.util.OnlyOnceErrorHandler
  | javax.jms.ExceptionListener
  | 
  | 
  | The first one is due to the following configuration in log4j.xml under microcontainer/conf:
  | <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
  | 
  | The second one is due to the component initialization of remoting SubscriptionRegistry .
  | 
  | According to Gavin in one of the topics, for Seam 1.1CR2, we can remove the jboss-ejb3-all.jar for Tomcat installation and if we do not use ejb3.  That doesn't seem to be the case.  Is there any other smaller jar we can use so that it won't generate any errors if we don't use ejb3?
  | 
  | Thanks.

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

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



More information about the jboss-user mailing list