Re: [jboss-user] [JBoss Tools] - JBosstoolsVisualEditorFAQ
by M B
M B [http://community.jboss.org/people/icedguardian] commented on the document
"JBosstoolsVisualEditorFAQ"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-10862#comment-5207
--------------------------------------------------
Unfortunately my problem is not answered yet. I get the missing natures message dialog but am not able to add the JSF capabilities. The reason is that at my company we are using websphere application server 7. There does not exist any runtime plugin yet.
Is there any basic server which I can use alternatively? Otherwise: Which features am I missing if I just keep on skipping the assignment?
(Some time ago I switched from IBM Rational Software Architect back to Eclipse due to notably high blood pressure and am quite pleased with my choice.)
Thanks for the help!
--------------------------------------------------
15 years, 3 months
[jBPM] - jBPM5 demo issues with Eclipse
by Vikram Narayan
Vikram Narayan [http://community.jboss.org/people/vikedvik] created the discussion
"jBPM5 demo issues with Eclipse"
To view the discussion, visit: http://community.jboss.org/message/577525#577525
--------------------------------------------------------------
I've been playing with the jBPM5 CR1 demo and I seem to having some issues with the Eclipse tooling. When I import the sample project, the jBPM library does not load with it resulting in several compilation errors. This leads me to my first question. Does the jBPM5 runtime get installed into eclipse when you run install.demo?
After I add the jBPM5 runtime manually to Eclipse and apply it to the project I get the following error when I run the ProcessTest program:
java.lang.NoSuchMethodError: org.drools.common.InternalRuleBase.getRootClassLoader()Lorg/drools/util/CompositeClassLoader;
at org.jbpm.process.instance.ProcessRuntimeImpl.getRootClassLoader(ProcessRuntimeImpl.java:101)
at org.jbpm.process.instance.ProcessRuntimeImpl.<init>(ProcessRuntimeImpl.java:58)
at org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl.newProcessRuntime(ProcessRuntimeFactoryServiceImpl.java:10)
at org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl.newProcessRuntime(ProcessRuntimeFactoryServiceImpl.java:6)
at org.drools.runtime.process.ProcessRuntimeFactory.newProcessRuntime(ProcessRuntimeFactory.java:12)
at org.drools.common.AbstractWorkingMemory.createProcessRuntime(AbstractWorkingMemory.java:389)
at org.drools.common.AbstractWorkingMemory.setKnowledgeRuntime(AbstractWorkingMemory.java:1774)
at org.drools.impl.StatefulKnowledgeSessionImpl.<init>(StatefulKnowledgeSessionImpl.java:115)
at org.drools.impl.StatefulKnowledgeSessionImpl.<init>(StatefulKnowledgeSessionImpl.java:108)
at org.drools.reteoo.ReteooRuleBase.newStatefulSession(ReteooRuleBase.java:391)
at org.drools.reteoo.ReteooRuleBase.newStatefulSession(ReteooRuleBase.java:371)
at org.drools.impl.KnowledgeBaseImpl.newStatefulKnowledgeSession(KnowledgeBaseImpl.java:169)
at com.sample.ProcessTest.createSession(ProcessTest.java:65)
at com.sample.ProcessTest.main(ProcessTest.java:37)
Looking at my jBPM5 library all the required jars are there so it's strange that I would be getting this error.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577525#577525]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[jBPM] - JBPM Persistence Error
by shashi mhatre
shashi mhatre [http://community.jboss.org/people/khalipili] created the discussion
"JBPM Persistence Error"
To view the discussion, visit: http://community.jboss.org/message/580402#580402
--------------------------------------------------------------
Need help in persisting entire workflow in MySql database.
I have created a sample workflow in JBPM and trying to persist the flow in MySQL database. JBPM is successfully starting the process and start persisting the session info. but once it comes to persist "Human Task" it throws error message as - "java.lang.IllegalArgumentException: Unknown entity: org.drools.persistence.processinstance.WorkItemInfo"
My persistence.xml file config is :
<persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>jdbc/processInstanceDS</jta-data-source>
<class>org.drools.persistence.session.SessionInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceEventInfo</class>
<properties>
<!-- MySQL database -->
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
<property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/TaskDB" />
<property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver" />
<property name="hibernate.connection.username" value="root" />
<property name="hibernate.connection.password" value="password" />
<property name="hibernate.max_fetch_depth" value="3" />
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="true" />
<!--
<property name="hibernate.jndi.class" value="bitronix.tm.jndi.BitronixInitialContextFactory" />
-->
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.BTMTransactionManagerLookup" />
</properties>
</persistence-unit>
I am using JBPM5 - 5.0-SNAPSHOT Build
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580402#580402]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[JNDI and Naming] - Re: Issue with HA JNDI and Singleton MDB
by Maurizio Moscatelli
Maurizio Moscatelli [http://community.jboss.org/people/topizio] created the discussion
"Re: Issue with HA JNDI and Singleton MDB"
To view the discussion, visit: http://community.jboss.org/message/580315#580315
--------------------------------------------------------------
Hi guys,
I've just change the *ejb-jar.xml* as
<jboss>
<enterprise-beans>
<message-driven>
<ejb-name>ServiceHandler</ejb-name>
* <destination-jndi-name>queue/ServiceHandler</destination-jndi-name>*
<resource-ref>
<res-ref-name>queue/ServiceHandler</res-ref-name>
* <jndi-name>jnp://${jboss.bind.address}:1100/queue/ServiceHandler</jndi-name>*
</resource-ref>
</message-driven>
</enterprise-beans>
<resource-managers>
</resource-managers>
</jboss>
and added in *jndi.properties* those two lines:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
*java.naming.provier.url=host1:1100,host2:1100*
*jnp.disableDiscovery=true*
and now the queues seems to work perfectly.
This configurasion work for JBoss Application Server 4.2.3 on Windows 2008 and two servers with different network subnet.
Thanks you anyway.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580315#580315]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months