Re: [jboss-user] [jBPM] - How to use rules in JBPM-4.3
by Huisheng Xu
Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"How to use rules in JBPM-4.3"
To view the discussion, visit: http://community.jboss.org/message/538340#538340
--------------------------------------------------------------
Hi Felix,
Of course, I can give you a sample with RulesActivity. I put the jpdl.xml and dsl files in attach. You can have a try.
By the way, I can't make sure what you want to do in process. You say the main process will start a sub process, but there is not a parallel gateway. Then the main process could still keep running and do some task(I don't known what task should be set here for you, human Task or Service Task?) At the end, the main process could using some technology to notice that both of sub process have been done( I can only see one sub process be created in above? Where is the other sub process comes from?). Because there is so many unclearly issues, I can't make a process for you, maybe you could show me more details.
And it is too late, I have to go to bed, see you next day.
cheers.
Xu Hui Sheng
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538340#538340]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
Re: [jboss-user] [jBPM] - How to use rules in JBPM-4.3
by Huisheng Xu
Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"How to use rules in JBPM-4.3"
To view the discussion, visit: http://community.jboss.org/message/538337#538337
--------------------------------------------------------------
Hi Felix,
Of course, I can give you a sample with RulesActivity. I put the jpdl.xml and dsl files in attach. You can have a try.
By the way, I can't make sure what you want to do in process. You say the main process will start a sub process, but there is not a parallel gateway. Then the main process could still keep running and do some task(I don't known what task should be set here for you, human Task or Service Task?) At the end, the main process could using some technology to notice that both of sub process have been done( I can only see one sub process be created in above? Where is the other sub process comes from?). Because there is so many unclearly issues, I can't make a process for you, maybe you could show me more details.
And it is too late, I have to go to bed, see you next day.
cheers.
Xu Hui Sheng
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538337#538337]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
Re: [jboss-user] [JBoss Web Services] - SWA-Ref schema location unavailable
by Erick Jeronimo Diaz
Erick Jeronimo Diaz [http://community.jboss.org/people/erickjd] replied to the discussion
"SWA-Ref schema location unavailable"
To view the discussion, visit: http://community.jboss.org/message/538336#538336
--------------------------------------------------------------
Ok, i get another error runnning the example http://community.jboss.org/wiki/JBossWS-Securityandattachmentssample http://community.jboss.org/wiki/JBossWS-Securityandattachmentssample, i get the following console message:
Downloading newspaper document: doc01
Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/mimepull/MIMEMessage
at com.sun.xml.ws.encoding.MimeMultipartParser.<init>(MimeMultipartParser.java:88)
at com.sun.xml.ws.encoding.MimeCodec.decode(MimeCodec.java:180)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:279)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:171)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.client.Stub.process(Stub.java:248)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
at $Proxy27.getNewspaperEdition(Unknown Source)
at org.jboss.test.ws.jaxws.samples.news.generated.printer.Printer.run(Printer.java:47)
at org.jboss.test.ws.jaxws.samples.news.generated.printer.Printer.main(Printer.java:66)
what would be the reasons, i followed every steps, and run it using Eclipse IDE as a java aplication
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538336#538336]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months
[JBoss Microcontainer Development] - Duplicate classloading with Javassist Reflect
by Ales Justin
Ales Justin [http://community.jboss.org/people/alesj] created the discussion
"Duplicate classloading with Javassist Reflect"
To view the discussion, visit: http://community.jboss.org/message/538334#538334
--------------------------------------------------------------
I'm getting this unexpected behavior while testing my Scanning lib.
org.jboss.reflect.spi.CannotCompileException: javassist.CannotCompileException: by java.lang.LinkageError: loader (instance of org/jboss/classloader/spi/base/BaseClassLoader): attempted duplicate class definition for name: "org/jboss/test/scanning/annotations/support/FilteredAnnotationScanningPluginFactory"
at org.jboss.reflect.plugins.javassist.JavassistUtil.ctClassToClass(JavassistUtil.java:56)
at org.jboss.reflect.plugins.javassist.JavassistTypeInfo.getType(JavassistTypeInfo.java:195)
at org.jboss.metadata.spi.signature.Signature.convertParameterTypes(Signature.java:151)
at org.jboss.metadata.spi.signature.ConstructorSignature.<init>(ConstructorSignature.java:77)
at org.jboss.metadata.spi.signature.Signature.getSignature(Signature.java:121)
at org.jboss.scanning.plugins.visitor.ClassHierarchyResourceVisitor.handleAnnotations(ClassHierarchyResourceVisitor.java:200)
I think this should not happen, since there should be only one instance of matching TypeInfo/ClassInfo.
But it looks like we're missing a check if the CtClass is already loaded by the underlying classloader inside that TI/CI instance.
Or some other mechanism that would prevent it from getting this duplicate behavior.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/538334#538334]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years, 2 months