[jBPM] - Call Activity Diagram Editor Quirk
by Jason Rainbird
Jason Rainbird [https://community.jboss.org/people/jason.rainbird] created the discussion
"Call Activity Diagram Editor Quirk"
To view the discussion, visit: https://community.jboss.org/message/752406#752406
--------------------------------------------------------------
Hello,
Can any of you see whether I'm simply missing something here?
I create a simple process in the diagram editor, containing a Call Activity. I set the "Called Activity" attribute to +TestCallId+. See the attached image "Call Activity Id Attribute Set.png".
I close the editor, and reopen the editor... and the "Called Activity" value has changed (see Changed Attribute Value.PNG)!
When I check the underlying bpmn file, the +calledElement+ attribute of the callActivity element is still correctly set as +TestCallId+. Is the Diagram Editor simply loading up the wrong value, so that when I save it overwrites +TestCallId+ with the incorrect +SequenceFlow_4+ value?
I'm planning on designing my flows with lots of call activities to make big diagrams easier to digest. Relationships between the diagrams getting squashed every time I edit and save diagram is becoming very tiresome.
Any help or suggestions would be greatly appreciated.
Jason
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752406#752406]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss Web Services] - Retrieve SOAPMessage from WrappedMessageContext using SOAPMessageContextImpl, in JBoss 6.1
by António Ribeiro
António Ribeiro [https://community.jboss.org/people/while_true] created the discussion
"Retrieve SOAPMessage from WrappedMessageContext using SOAPMessageContextImpl, in JBoss 6.1"
To view the discussion, visit: https://community.jboss.org/message/752382#752382
--------------------------------------------------------------
Hey guys,
I don't know if the subject of the discussion is clear enough but I'll do my best to explain what is happening.
I've a web service deployed into JBoss 6.1 and I'm trying to retrieve the SOAPMessage (javax.xml.ws) from my WebServiceContext (javax.xml.ws).
@Resource
private WebServiceContext wsctx;
The thing is that, in JBoss 6.1, we no longer are able to do what, for instance, one could do in JBoss 5.1. In JBoss 5.1, to attain the SOAPMessage we could do the following:
SOAPMessageContext msgContext = (SOAPMessageContext) wsctx.getMessageContext();
SOAPMessage soapMessage = msgContext.getMessage();
Now, in JBoss 6.1, the +SOAPMessageContext+ is no longer support hence, and according to what is available throughout the Web, one has to do the following:
WrappedMessageContext wmc = (WrappedMessageContext) wsctx.getMessageContext();
Message message = wmc.getWrappedMessage();
SOAPMessageContextImpl smci = new SOAPMessageContextImpl(message);
SOAPMessage soapMessage = smci.getMessage();
The problem is that, when doing +smci.getMessage();+ it is returned a +*org.w3c.dom.DOMException*+ saying +*WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.*+
Can you please enlighten me in what I'm doing wrong?
Grateful for your attention.
Best regards
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752382#752382]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Installing jBPM on a fresh jBOSS install?
by Eric Snyder
Eric Snyder [https://community.jboss.org/people/ericsnyder] created the discussion
"Installing jBPM on a fresh jBOSS install?"
To view the discussion, visit: https://community.jboss.org/message/752289#752289
--------------------------------------------------------------
I have been tinkering a bit with jBPM and like what I see. I have run the demo set up but now want to set up a "permanent" jBOSS server with MySQL server and the necessary war's to run and use jBPM properly as a service on my laptop (Windows XP). The only install instruction I see are for the "demo" version that uses H2 and forces me to use the Elcipse that was downloaded with jBPM.
I already have jBOSS running and have installed Drools Guvnor, designer and jbom-colsole. When I try to enable the jbpm server I get the following and here is where I am stuck:
{quote}
17:56:26,875 INFO [org.drools.guvnor.server.security.DemoAuthenticator] (http--
127.0.0.1-8080-3) Demo login for user (admin) succeeded.
17:58:24,312 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBA
S015876: Starting deployment of "jbpm-gwt-console-server-5.3.0.Final.war"
17:58:30,625 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Cla
ss Path entry activation.jar in "/C:/Program Files/jboss-as-7.1.1.Final/bin/cont
ent/jbpm-gwt-console-server-5.3.0.Final.war/WEB-INF/lib/mail-1.4.jar" does not
point to a valid jar for a Class-Path reference.
17:58:30,656 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) JBA
S015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.m
xp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFacto
ry'
17:58:30,656 INFO [org.jboss.as.pojo] (MSC service thread 1-4) JBAS017000: Foun
d legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing som
e xml features (potential exceptions).
17:58:30,671 INFO [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read
persistence.xml for org.jbpm.persistence.jpa
17:58:31,078 INFO [org.jboss.as.server] (HttpManagementService-threads - 19) JB
AS015870: Deploy of deployment "jbpm-gwt-console-server-5.3.0.Final.war" was rol
led back with failure message {"JBAS014771: Services with missing/unavailable de
pendencies" => ["jboss.web.deployment.default-host./gwt-console-server.realmjbos
s.security.security-domain.jbpm-consoleMissing[jboss.web.deployment.default-host
./gwt-console-server.realmjboss.security.security-domain.jbpm-console]","jboss.p
ersistenceunit.\"jbpm-gwt-console-server-5.3.0.Final.war#org.jbpm.persistence.jp
a\"jboss.naming.context.java.jboss.java:jdbc.testDS1Missing[jboss.persistenceuni
t.\"jbpm-gwt-console-server-5.3.0.Final.war#org.jbpm.persistence.jpa\"jboss.nami
ng.context.java.jboss.java:jdbc.testDS1]"]}
17:58:32,078 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBA
S015877: Stopped deployment jbpm-gwt-console-server-5.3.0.Final.war in 999ms
17:58:32,078 INFO [org.jboss.as.controller] (HttpManagementService-threads - 19
) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.naming.context.java.jboss.java:jdbc.testDS1 (missing) depend
ents: [service jboss.persistenceunit."jbpm-gwt-console-server-5.3.0.Final.war#or
g.jbpm.persistence.jpa"]
service jboss.security.security-domain.jbpm-console (missing) dependents:
[service jboss.web.deployment.default-host./gwt-console-server.realm]{quote}
Can anyone please help me out?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752289#752289]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[Snowdrop] - CGLIB errors
by Eric Manuguerra
Eric Manuguerra [https://community.jboss.org/people/michel.strogoff] created the discussion
"CGLIB errors"
To view the discussion, visit: https://community.jboss.org/message/733834#733834
--------------------------------------------------------------
Hi,
I am trying to deploy a subset of a Spring 2.5.6 application on JBoss AS 7.1.1 (this application is currently running on JBoss 5.1.0 GA).
I have installed Snowdrop on JBoss as explained in the http://docs.redhat.com/docs/en-US/JBoss_Web_Framework_Kit/1.1/html-single... manual.
The application is an EAR having the following structure :
app-root
/lib
...
cglib-2.1_3.jar
...
/META-INF
application.xml
jboss-deployment-structure.xml
module1.jar
The module1.jar contains the Spring application context definition files which are loaded by org.jboss.spring.vfs.context.VFSClassPathXmlApplicationContext.
After startup, Spring complains about a missing cglib library and raises an AopConfigException :
Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
at org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:67) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.ProxyCreatorSupport.createAopProxy(ProxyCreatorSupport.java:106) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:490) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:365) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:325) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361) [spring-beans.jar:2.5.6.SEC02]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344) [spring-beans.jar:2.5.6.SEC02]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-beans.jar:2.5.6.SEC02]
If I add the cglib library as a dependency of the org.springframework.spring:snowdrop module, then I get an IllegalArgumentException :
java.lang.IllegalArgumentException: class com.itesoft.share.persistence.iod.multitenant.TenantInterceptor$$EnhancerByCGLIB$$398b4762_3 is not an enhanced class
at net.sf.cglib.proxy.Enhancer.setCallbacksHelper(Enhancer.java:618) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.setThreadCallbacks(Enhancer.java:609) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:631) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538) [cglib-2.1_3.jar:]
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285) [cglib-2.1_3.jar:]
at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:201) [spring-aop.jar:2.5.6.SEC02]
... 189 more
I don't understand why this is happening and I can't find much information about tyhe "not an enhanced class" exception.
I don't encounter these errors on JBoss 5.1.0 with the same Spring and CGLIB versions.
Any help would be much appreciated.
Best regards,
Eric
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/733834#733834]
Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months