Ya I did following.....
I put my servlet code inside portlet class...
what i think is... portlet class already runs inside a container so it doesn't hit any other servlet...
so what that... what all code was there in my servlet i put the same in my portlet class and hence it started working.. also forward the request from portlet class itself to another JSP.... portlet class will have portletcontext requestdispatcher...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119615#4119615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119615
I've found a possible solution for the NPE. I don't think it's a best practice, but at the moment it works.
The fix is manually creating an instance of the sub process and then manually creating a token, like in the following snippet.
| token.signal();
| ProcessInstance subProcessInstance = token.createSubProcessInstance(subProcessDefinition);
| Token subToken = subProcessInstance.getRootToken();
| subToken.signal();
| subToken.signal();
|
However, it doesn't feel that good actually. It looks like I'm doing jBPM's job.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119610#4119610
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119610
Hi!
i have the problem of sending an attachment along with the normal web service invocation of the bpel process..
i dont understand how to attach attachments to the invocation made with jbossws wsconsume generated client..
i examined jbossws attachment examples, but in all of them, they add a base64Binary message part in the message invocation, which is not exactly an attachment.. right?
can someone help me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119602#4119602
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119602