[JBoss jBPM] - configuring DbPersistenceServiceFactory is not working?
by camunda
I am trying to configure the DbPersistenceServiceFactory like mentioned in the documentation
| <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory">
| <field name="isTransactionEnabled"><false /></field>
| <field name="isCurrentSessionEnabled"><true /></field>
| </service>
|
but the properties are not set on the Factory (I checked it via adding logging).
I tried some variations:
| <boolean name="isTransactionEnabled" value="false" />
| <boolean name="isCurrentSessionEnabled" value="true" />
|
| <field name="isTransactionEnabled"><boolean value="false" /></field>
| <field name="isCurrentSessionEnabled"><boolean value="true" /></field>
|
| <field name="transactionEnabled"><boolean value="false" /></field>
| <field name="currentSessionEnabled"><boolean value="true" /></field>
| // (because setter is called setCurrentSessionEnabled)
|
But non of them takes effect in the configuration of the factory. What I am doing wrong, how to configure it correctly?
Thanks in advance
Bernd
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043103#4043103
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043103
18 years, 12 months
[EJB 3.0] - kindly help in running this deployment
by karan42in
hi all,
i m new to this EJB3.0, i have download an sample application named "helloworld" from a link provided in the same forum of ours...
i tried to deploy the application its showing the following error
WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=HelloWorld-ejb.jar
java.lang.ClassNotFoundException: Unexpected error during load of: hello.StatelessHelloBean, msg=Bad version number in .class file
at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:550)
at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.jboss.ejb3.Ejb3AnnotationHandler.populateBaseInfo(Ejb3AnnotationHandler.java:265)
at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:123)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:397)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:378)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77)...
kindly help..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043101#4043101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043101
18 years, 12 months
[JBoss Seam] - Which JARS do we really need for a seam application?
by toni
Hi,
I have noticed for a while that the "jboss-seam-1.2.1.GA/lib/" directory contains many more jars besides those, which gets created during the build process, which are:
jboss-seam-debug.jar
jboss-seam-gen.jar
jboss-seam-ioc.jar
jboss-seam.jar
jboss-seam-mail.jar
jboss-seam-pdf.jar
jboss-seam-remoting.jar
jboss-seam-ui.jar
If we want to use all the functionality currently available (ajax, richfaces, PDF, facelets and so on..), then which of those jars should be included:
activation.jar
ajax4jsf-1.1.1-SNAPSHOT.jar - DO WE NEED THIS TO USE AJAX4JSF?
ant-antlr-1.6.5.jar
ant.jar
ant-launcher.jar
antlr-2.7.6.jar
ant-nodeps.jar
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-collections-3.1.jar
commons-digester-1.6.jar
commons-el-1.0.jar
commons-lang-2.1.jar
el-api.jar - WHAT ARE THOSE FOR?
el-ri.jar - WHAT ARE THOSE FOR?
hibernate-all.jar
itext-2.0.1.jar - DO WE NEED THIS FOR PDF FUNCTIONALITY?
javax.servlet.jsp.jar
jboss-aop-jdk50.jar
jboss-cache-jdk50.jar
jboss-ejb3-all.jar
jbpm-3.1.4.jar
jcaptcha-all-1.0-RC4.jar
jgroups.jar
jsf-facelets.jar - NEEDED?
jstl-1.1.0.jar - NEEDED?
mail.jar
mail-ra.jar
myfaces-api-1.1.4.jar - NEEDED?
myfaces-impl-1.1.4.jar - NEEDED?
oscache-2.3.2.jar
portlet-api-lib.jar
richfaces-3.0.1-SNAPSHOT.jar - NEEDED FOR RICH FACES?
servlet-api.jar
spring.jar
testng-4.5.1-jdk15.jar
thirdparty-all.jar
The readme.txt file says that :
anonymous wrote : This directory contains all jars needed to compile Seam
| and run the unit tests.
|
However, some of the jars I needed for my webapplication, like the el-* ones.
anonymous wrote :
| The only jars required to run Seam in a full Java EE 5
| environment are:
|
| jbpm-3.1.1.jar
| thirdparty-all.jar
And does that mean that we need those for JBoss too, or are you refering to other Java EE 5 environment/application servers?!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043100#4043100
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043100
18 years, 12 months