[Beginner's Corner] - Running embedded MySql in JBoss 7
by otieno
otieno [https://community.jboss.org/people/otieno] created the discussion
"Running embedded MySql in JBoss 7"
To view the discussion, visit: https://community.jboss.org/message/724206#724206
--------------------------------------------------------------
Hello,
I am abit new to JBoss 7 and I am seeking information/hints/tips/ that can point me to the best approach to run embedded thrird party applications such as MySql or OpenDS. A pointer/sample code specific to MySql or OpenDS is highly welcomed, but I would appreciate more about tips on how best to incorporate embedded applications that needs to start automatically before my apps deployed in Jboss 7 kicks-in. I have seen some metion of MBean with older versions of JBoss, though I dont know how to go about it in JBoss 7. I have also considered subsystems as a way of going about it. My thought is that there has too be a recommended way of embedding thrird party applications and someoen in this forum will be of most use to me and the rest. Anyone with hints?
Much thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/724206#724206]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months
[jBPM] - jBPM5.2 KnowledgeBase Behaviour
by pushpak1981
pushpak1981 [https://community.jboss.org/people/pushpak1981] created the discussion
"jBPM5.2 KnowledgeBase Behaviour"
To view the discussion, visit: https://community.jboss.org/message/724027#724027
--------------------------------------------------------------
Hi,
We have configured jBPM5.2 with Spring3. In our project we are trying to start multiple processes using a single session. We are using spring threadingpool to execute multiple process into the same session.
Our requirement is that we want the current active processes into the session. We can get it from session.getProcessInstanceMethod(). \
This call is working fine when we directly lookup for ksession for springs cotainer.
StatefulKnowledgeSession b = (StatefulKnowledgeSession) ctx.getBean("ksession");
System.out.println(b.getProcessInstances().size() + "---" + b.getId()); /// Print 2 as 2 processes are running in spring thread pool
But when we try to get the same process list using the KnowledgeBase we get list size as 0.
KnowledgeBase b = (KnowledgeBase) ctx.getBean("kbase");
System.out.println(b.getStatefulKnowledgeSessions().size()); /// Retruns 1 as we have one session configured in Spring application context xml
for (StatefulKnowledgeSession s : b.getStatefulKnowledgeSessions()) {
System.out.println(s.getProcessInstances().size() + "---" + s.getId()); //Returns Size as 0. even if 2 processes are running and are into wait state.
}
Are we doing anything wrong in case of KnowledgeBase API ? How we can get the Active process list from the KnowlegdeBase API ?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/724027#724027]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months
[Beginner's Corner] - Error: tried to access class com.google.common.base.Platform
by Zaheer Ahmed
Zaheer Ahmed [https://community.jboss.org/people/richfaceman] created the discussion
"Error: tried to access class com.google.common.base.Platform"
To view the discussion, visit: https://community.jboss.org/message/720292#720292
--------------------------------------------------------------
Hi All
I'm using 4.1.0 - Final richfaces version. At runtime I'm getting this error ;
java.lang.IllegalAccessError: tried to access class com.google.common.base.Platform from class com.google.common.base.CharMatcher
has anyone face this problem ?
This is how my pom.xml looks like;
|
|
| <dependency> |
|
|
|
| <groupId>com.oracle</groupId> |
|
|
|
| <artifactId>orai18n-mapping</artifactId> |
|
|
|
| <version>11.2.0</version> |
|
|
| </dependency> |
|
|
| <dependency> |
|
|
|
| <groupId>org.richfaces.core</groupId> |
|
|
|
| <artifactId>richfaces-core-api</artifactId> |
|
|
|
| <version>4.1.0.Final</version> |
|
|
| </dependency> |
|
|
| <dependency> |
|
|
|
| <groupId>org.richfaces.core</groupId> |
|
|
|
| <artifactId>richfaces-core-impl</artifactId> |
|
|
|
| <version>4.1.0.Final</version> |
|
|
| </dependency> |
|
|
| <dependency> |
|
|
|
| <groupId>org.richfaces.ui</groupId> |
|
|
|
| <artifactId>richfaces-components-api</artifactId> |
|
|
|
| <version>4.1.0.Final</version> |
|
|
| </dependency> |
|
|
| <dependency> |
|
|
|
| <groupId>org.richfaces.ui</groupId> |
|
|
|
| <artifactId>richfaces-components-ui</artifactId> |
|
|
|
| <version>4.1.0.Final</version> |
|
|
| </dependency> |
| <!-- |
| <dependency> --> |
| <!-- |
|
| <groupId>org.apache.myfaces.core</groupId> --> |
| <!-- |
|
| <artifactId>myfaces-impl</artifactId> --> |
| <!-- |
|
| <version>2.1.1</version> --> |
| <!-- |
| </dependency> --> |
|
|
| <dependency> |
|
|
|
| <groupId>com.google.guava</groupId> |
|
|
|
| <artifactId>guava</artifactId> |
|
|
|
| <version>r08</version> |
|
|
| </dependency> |
|
|
| <dependency> |
|
|
|
| <groupId>net.sourceforge.cssparser</groupId> |
|
|
|
| <artifactId>cssparser</artifactId> |
|
|
|
| <version>0.9.5</version> |
|
|
|
| <type>pom</type> |
|
|
| </dependency> |
|
|
| <dependency> |
|
|
|
| <groupId>org.w3c.css</groupId> |
|
|
|
| <artifactId>sac</artifactId> |
|
|
|
| <version>1.3</version> |
|
|
| </dependency> |
Many thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/720292#720292]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 3 months