[JBoss Seam] - Seam + Tomcat + microcontainer without ejb3
by lle
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
19 years, 4 months
[JBoss jBPM] - schema table choice for hibernate mapping files
by dslevine
Hello Again,
I've been slogging along with my Spring JBPM integration and hope to be able to contribute a working demo app in the near future. Along the way I have many questions, of which here is one:
- Why are the tables all defined in the default schema instead of in a jbpm specific schema? Would that make it dependent on the DB?
The way my app is set up, using Oracle, I define groups of related app functionality in separate schemas. The tables in the hbx xml files are defined as table="SCHEMA.TABLE". As it stands with jBPM, my default root schema has to absorb all of the JBPM tables, or I have to edit each of the hibernate files and strip them out of the jar... which I could do I guess.
Was this done because other DBs dont use this syntax, or for another reason, or for no reason in particular?
Thanks!
dan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993226#3993226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993226
19 years, 4 months