If you don't want the *cfg.xml files in a separate jar, you could include it in the classpath, for a web-app this would be WEB-INF/classes. Here is a (partial) listing of a modified jbpm-console.war, where the configs are taken from the WEB-INF/classes folder.
./jboss-console.war
| images
| index.jsp
| META-INF
| sa
| ua
| WEB-INF
|
| ./WEB-INF/classes:
| hibernate.cfg.xml
| jbpm.cfg.xml
| jbpm.mail.templates.xml
| messages.properties
|
| ./WEB-INF/lib:
| el-api.jar
| el-ri.jar
| gravel.jar
| jbpm4jsf.jar
| jbpm-identity.jar
| jbpm-jpdl.jar
| jsf-api.jar
| jsf-facelets.jar
| jsf-impl.jar
|
Is that coming close to what you are trying to do?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096632#4096632
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096632
"supernovasoftware.com" wrote : Thank you for your reply.
|
| I figured as much for the choice of OC4J.
|
| What is the features of Glassfish are you using that are not in JBoss AS 4.x and what are you looking for in JBoss 5.x?
|
|
Well, long story short, when I first got started with GlassFish and EE5, JBoss' support for EE5 wasn't NEAR as good as GF's. You can read more about our reasonings (such as they are) here: http://blogs.sun.com/stories/entry/international_environmental
JBoss 4.2 likely adds everything I would need or want (full EJB3 compliance, JPA, JSF), but, with all due respect to the JBoss AS guys, there's not enough compelling reasons for me to switch from GF (with which I'm *very* familiar) to JBoss (though if my employer were to adopt JBoss, I'd be very happy). I hope that was diplomatic enough. :) hehe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096627#4096627
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096627
The JVM heap settings are in the run.bat script, change the value for -Xmx and -Xms in this line:
rem JVM memory allocation pool parameters. Modify as appropriate.
| set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
I recommend setting both to the same value for now (try 512M, and if that does not work, 1024M). If neither value works, there must be a memory leak somewhere. Try using the JDBC driver from MySQL instead of the one from JConnect.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096615#4096615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096615