[JBoss Messaging] - Re: 1.2.0.GA transparent node failover does not always work
by bander
"timfox" wrote :
| Looking at your code, I see you are creating the first dispatcher connection to node 0 and the first listener connection to node1.
|
My code is completely unaware of node 0 and node 1, but I know what you meant.
"timfox" wrote : The clustered connection factory will create subsequent connections on different nodes according to (by default) a round robin policy.
|
Ok - so that bit is a configuration issue. Fair enough.
"timfox" wrote : Also bear in mind, that a topolgy where you have just one producer on one node and a single consumer on a different node like your test case is probably not much of a real world scenario, (why would you want to deploy you application this way?), although we should of course cope with this (and we do).
|
My test case does not know about the different nodes - it has simply requested multiple connections from the connection factory. It sounds like I'm not using the correct JBoss configuration for my test case. In the scenario where the messaging client had connected consumers to one node and producers to another node we would want JBoss Messaging to ensure the messages on the queues were distributed to the nodes with active consumers.
"timfox" wrote : I have successfully run your testcase and I am seeing expected behaviour so far. I have killed alternating servers many times and I am seeing failover occurring fine. We also have a test that runs as part of the cruisecontrol run that does this and it seems to be working.
Ok - this is the more critical issue for us. I can break it consistently and within a very short time. For our testing we're using WinXP and JVM 1.4.2-b28. Which JVM are you using? Have you changed any of the configuration defaults?
"timfox" wrote : Can you give me any more details as to what errors you are seeing?
|
Ok - I'll capture the log output next time and post it.
"timfox" wrote : In order for the client to successfully send/receive messages you need at least one node in the cluster to be operational.
| If you shutdown all the nodes in the cluster then clearly nothing is going to work, the client needs to talk to a server.
|
Obviously. I what I meant was that after shutting both nodes down for a period and then restarting one the test case should reconnect and start dispatching/receiving again. Shutting down both servers seemed to cause problems in the client i.e. it failed to detect that one of the nodes had been restarted.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026455#4026455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026455
19Â years, 1Â month
[JBoss Seam] - Remoting in CVS is currently broken
by knaas
Seam Remoting is currently throwing an UnsupportedOperationException
| java.lang.UnsupportedOperationException: Cannot post to the resource servlet
| at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:107)
|
Seam XMLHttpRequests are POSTs so either the doPost should work, or the remoting requests need to go to something that doesn't satisfy the "/seam/resource/*" url-pattern.
This doPost change was made pretty recently because I have been updating my CVS tree on a daily basis and I'm just now seeing this problem.
Based on the documentation and current examples I have the following configuration.
| <filter>
| <filter-name>Seam Filter</filter-name>
| <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
| </filter>
|
| <filter-mapping>
| <filter-name>Seam Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
|
| <servlet>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026450#4026450
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026450
19Â years, 1Â month
[JBoss Seam] - Re: Help on s:filleupload
by xigua
"stu2" wrote : It looks like you're reading in the file even if one wasn't selected for uploading. In my file upload bean I check to see if a file was actually uploaded. If not, don't read it in. Here's how it looks for me:
|
|
|
| | if (uploadFile == null) {
| | error("Hmm. uploaded file data is null!");
| | return;
| | }
| |
|
| Could this be your problem?
I don't think so since the NPE happens in org.jboss.seam.ui.FileUpload.decode
Maybe I misunderstood.
So I have a backing bean which has a InputSteam field and there are getter and setter for it. So on the front end, I use <s:fileUpload data="#{backingbean.filedata}" />. My understanding is that if user select the file, then the file will be uploaded and set to the InputStream field otherwise set it to null, I didn't try to read the file at all. It seems to me that once I use fileUpload component and bind it to a field of the backing bean, the seam component will try to read the file no matter whether there is file selected?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026445#4026445
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026445
19Â years, 1Â month
[JBoss Seam] - since today (JBSEAM-954?) I get NPE in setEntityManagerFlush
by codelion
Calls to changeFlushMode that get passed a null flushMode from a null actualFlushMode?
I haven't changed anything that seems related, but upgrade to a build we make from CVS.
In class ManagedPersistenceContect method setEntityManagerFlushMode() throws a NullPointerException.
I dont think you need to know it is in a
@Name("authenticator")
| public class Authenticator {
|
| @In
| EntityManager entityManager;
|
| ...
You probably want the stack trace
13:47:20,593 ERROR [SeamPhaseListener] uncaught exception
| java.lang.NullPointerException
| at org.jboss.seam.core.ManagedPersistenceContext.setEntityManagerFlushMode(ManagedPersistenceContext.java:228)
| at org.jboss.seam.core.ManagedPersistenceContext.changeFlushMode(ManagedPersistenceContext.java:222)
| at org.jboss.seam.core.PersistenceContexts.changeFlushMode(PersistenceContexts.java:67)
| at org.jboss.seam.core.PersistenceContexts.afterRender(PersistenceContexts.java:81)
| at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRender(AbstractSeamPhaseListener.java:233)
| at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:116)
| at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
The real reason seems to be that the in PersistenceContexts there are calls to methods changeFlushMode that get passed a null flushMode from a null actualFlushMode.
Oddly in the debugger I see calls to afterRender before beforeRender, but don't take my word for it.
I might have mistinterpreted what I saw in debugger, because it didn't link up all symbols right this time.
I need a quick workaround or I'll get fried here for running Seam from CVS :(
Can I in PersistenceContexts make that
private FlushModeType flushMode = FlushModeType.AUTO;
| private FlushModeType actualFlushMode = FlushModeType.AUTO;
?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026444#4026444
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026444
19Â years, 1Â month
[JBoss jBPM] - fault never reaches catchall
by meghanai_99
Hello,
I wanted to test fault and compensation handlers on jBPM-BPEL so I added 'catchAll' on outer scope and I call 'Throw' at the end of service flow. From the server log it looks like it doesn't fine my fault handler.
Here is my BPEL -
| <?xml version="1.0" encoding="UTF-8"?>
| <!--
| BPEL Process Definition
| Edited using ActiveBPEL(tm) Designer Version 2.1.0 (http://www.active-endpoints.com)
| -->
| <process xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://www.eclipse.org/alf/schema/EventBase/1" xmlns:ns2="ALFExampleServiceFlow" xmlns:ns3="http://www.eclipse.org/alf/logging" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SimpleCompensate" suppressJoinFailure="yes" targetNamespace="http://SimpleCompensate">
| <partnerLinks>
| <partnerLink myRole="ALFServiceFlow" name="ALFExampleServiceFlowPL" partnerLinkType="ns2:ALFExampleServiceFlowPL"/>
| <partnerLink name="CommonLoggingPL" partnerLinkType="ns2:CommonLoggingPL" partnerRole="CommonLogging"/>
| </partnerLinks>
| <variables>
| <variable messageType="ns1:EventNotice" name="EventNotice"/>
| <variable messageType="ns3:logStringRequest" name="logStringRequest"/>
| <variable messageType="ns3:logStringResponse" name="logStringResponse"/>
| </variables>
| <sequence>
| <receive createInstance="yes" operation="EventNotice" partnerLink="ALFExampleServiceFlowPL" portType="ns1:ALFServiceFlow" variable="EventNotice"/>
| <scope variableAccessSerializable="no">
| <faultHandlers>
| <catchAll>
| <sequence>
| <assign>
| <copy>
| <from expression=""SimpleCompensate - In Fault Handler""/>
| <to part="parameters" query="/ns3:logString/ns3:logMessage" variable="logStringRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="logStringRequest" operation="logString" outputVariable="logStringResponse" partnerLink="CommonLoggingPL" portType="ns3:ALFLoggingService"/>
| <compensate/>
| </sequence>
| </catchAll>
| </faultHandlers>
| <compensationHandler>
| <sequence>
| <assign>
| <copy>
| <from expression=""SimpleCompensate - Outer Compensation - should not run""/>
| <to part="parameters" query="/ns3:logString/ns3:logMessage" variable="logStringRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="logStringRequest" operation="logString" outputVariable="logStringResponse" partnerLink="CommonLoggingPL" portType="ns3:ALFLoggingService"/>
| </sequence>
| </compensationHandler>
| <sequence>
|
| <assign>
| <copy>
| <from part="EventNotice" query="/EventNotice/ns1:Base/ns1:EventControl/ns1:EmEventId" variable="EventNotice"/>
| <to part="parameters" query="/ns3:logString/ns3:eventId" variable="logStringRequest"/>
| </copy>
| <copy>
| <from part="EventNotice" query="/EventNotice/ns1:Base/ns1:EventControl/ns1:ServiceFlowId" variable="EventNotice"/>
| <to part="parameters" query="/ns3:logString/ns3:serviceFlowId" variable="logStringRequest"/>
| </copy>
| <copy>
| <from expression=""SimpleCompensate - Outer Work""/>
| <to part="parameters" query="/ns3:logString/ns3:logMessage" variable="logStringRequest"/>
| </copy>
| <copy>
| <from expression=""INFO""/>
| <to part="parameters" query="/ns3:logString/ns3:logLevel" variable="logStringRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="logStringRequest" operation="logString" outputVariable="logStringResponse" partnerLink="CommonLoggingPL" portType="ns3:ALFLoggingService"/>
| <scope variableAccessSerializable="no">
| <compensationHandler>
| <sequence>
| <assign>
| <copy>
| <from expression=""SimpleCompensate - Inner Compensation""/>
| <to part="parameters" query="/ns3:logString/ns3:logMessage" variable="logStringRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="logStringRequest" operation="logString" outputVariable="logStringResponse" partnerLink="CommonLoggingPL" portType="ns3:ALFLoggingService"/>
| </sequence>
| </compensationHandler>
| <sequence>
| <assign>
| <copy>
| <from expression=""SimpleCompensate - Inner Work""/>
| <to part="parameters" query="/ns3:logString/ns3:logMessage" variable="logStringRequest"/>
| </copy>
| </assign>
| <invoke inputVariable="logStringRequest" operation="logString" outputVariable="logStringResponse" partnerLink="CommonLoggingPL" portType="ns3:ALFLoggingService"/>
| </sequence>
| </scope>
| <throw faultName="SimpleCompensateExampleFault"/>
| </sequence>
| </scope>
| </sequence>
| </process>
|
Here is the server log
| 2007-03-08 13:28:05,560 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'Receive(606f26)' for 'Token(/primary)'
| 2007-03-08 13:28:05,560 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(Receive-StructuredActivity.End)' for 'Token(/primary)'
| 2007-03-08 13:28:05,560 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Scope(121572b)' for 'Token(/primary)'
| 2007-03-08 13:28:05,560 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'performingPrimaryActivity' on 'Scope(121572b)' for 'Token(/primary/null)'
| 2007-03-08 13:28:05,560 DEBUG [org.jbpm.context.exe.VariableContainer] create variable 's:instance' in 'TokenVariableMap826a5f' with value 'org.jbpm.bpel.graph.exe.ScopeInstance@15b26b[name=<null>,token=/primary/null,state=performingPrimaryActivity,id=0]'
| 2007-03-08 13:28:05,570 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
| 2007-03-08 13:28:05,570 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'StructuredActivity$Begin(127751c)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,570 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'StructuredActivity$Begin(127751c)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,570 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(StructuredActivity.Begin-Assign)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,570 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Assign(11452f4)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,570 DEBUG [org.jbpm.bpel.graph.basic.Assign] copying: token=Token(/primary/null/primary), value=[ns:EmEventId: null]
| 2007-03-08 13:28:05,570 DEBUG [org.jbpm.bpel.graph.basic.Assign] copying: token=Token(/primary/null/primary), value=[ns:ServiceFlowId: null]
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.bpel.graph.basic.Assign] copying: token=Token(/primary/null/primary), value=SimpleCompensate - Outer Work
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.bpel.graph.basic.Assign] copying: token=Token(/primary/null/primary), value=INFO
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'Assign(11452f4)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(Assign-StructuredActivity.End)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Invoke(111a76c)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.bpel.integration.jms.IntegrationControl] initialized partner reference: instance=org.jbpm.bpel.integration.exe.PartnerLinkInstance@113e259[name=CommonLoggingPL,id=268], reference=org.jbpm.bpel.endpointref.wsa.WsaEndpointReference@1123d8b[address=<null>,portType={http://www.eclipse.org/alf/logging}ALFLoggingService]
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.bpel.integration.catalog.URLCatalog] found candidate service: name={http://www.eclipse.org/alf/logging}ALFLoggingService, definitionURI=file:/D:/jboss-4.0.5.ejb3/build/output/jboss-4.0.5.GA-ejb3/server/default/tmp/deploy/tmp10243simplecompensate-exp.war/WEB-INF/wsdl/WSDL/ALFLoggingService.wsdl, portType={http://www.eclipse.org/alf/logging}ALFLoggingService
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.bpel.endpointref.SoapEndpointReference] found candidate port: name=ALFLoggingService, address=http://localhost:8085/ALFEventManager/services/ALFLoggingService, service={http://www.eclipse.org/alf/logging}ALFLoggingService, portType={http://www.eclipse.org/alf/logging}ALFLoggingService
| 2007-03-08 13:28:05,580 DEBUG [org.jbpm.bpel.integration.jms.IntegrationControl] selected partner port: instance=org.jbpm.bpel.integration.exe.PartnerLinkInstance@113e259[name=CommonLoggingPL,id=268], port=ALFLoggingService
| 2007-03-08 13:28:05,630 DEBUG [javax.xml.soap.FactoryLoader] Load from Service API META-INF/services/javax.xml.soap.MessageFactory: org.jboss.ws.core.soap.MessageFactoryImpl
| 2007-03-08 13:28:05,630 DEBUG [org.jboss.ws.core.soap.SOAPConnectionImpl] Get locator for: http://localhost:8085/ALFEventManager/services/ALFLoggingService
| 2007-03-08 13:28:05,630 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] connect called for: org.jboss.remoting.transport.http.HTTPClientInvoker@1cf1934
| 2007-03-08 13:28:05,630 TRACE [jbossws.SOAPMessage] Remoting meta data: {HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true}
| 2007-03-08 13:28:05,630 TRACE [jbossws.SOAPMessage] Outgoing SOAPMessage
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body>
| <defaultNS:logString xmlns:defaultNS='http://www.eclipse.org/alf/logging'>
| <ns3:eventId xmlns:ns='http://www.eclipse.org/alf/schema/EventBase/1' xmlns:ns3='http://www.eclipse.org/alf/logging' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>34</ns3:eventId>
| <ns3:serviceFlowId xmlns:ns='http://www.eclipse.org/alf/schema/EventBase/1' xmlns:ns3='http://www.eclipse.org/alf/logging' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>354345</ns3:serviceFlowId>
| <ns3:logMessage xmlns:ns3='http://www.eclipse.org/alf/logging'>SimpleCompensate - Outer Work</ns3:logMessage>
| <ns3:logLevel xmlns:ns3='http://www.eclipse.org/alf/logging'>INFO</ns3:logLevel>
| </defaultNS:logString>
| </env:Body>
| </env:Envelope>
| 2007-03-08 13:28:05,630 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : ""
| 2007-03-08 13:28:05,630 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
| 2007-03-08 13:28:07,162 DEBUG [org.jboss.ws.core.soap.SOAPMessageUnMarshaller] getMimeHeaders from: {ResponseCodeMessage=OK, null=[HTTP/1.1 200 OK], Date=[Thu, 08 Mar 2007 21:28:07 GMT], Content-Type=[text/xml;charset=utf-8], Server=[Apache-Coyote/1.1], HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, Transfer-Encoding=[chunked], NoThrowOnError=true, ResponseCode=200}
| 2007-03-08 13:28:07,162 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8]
| 2007-03-08 13:28:07,162 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] disconnect called for: org.jboss.remoting.transport.http.HTTPClientInvoker@1cf1934
| 2007-03-08 13:28:07,162 DEBUG [org.jboss.remoting.InvokerRegistry] destroying client for locator: InvokerLocator [http://127.0.0.1:8085/ALFEventManager/services/ALFLoggingService?datatype...], invoker:org.jboss.remoting.transport.http.HTTPClientInvoker@1cf1934, remaining list:{}
| 2007-03-08 13:28:07,162 DEBUG [org.jboss.remoting.InvokerRegistry] destroying client for locator: InvokerLocator [http://127.0.0.1:8085/ALFEventManager/services/ALFLoggingService?datatype...], invoker:null, remaining list:{}
| 2007-03-08 13:28:07,162 TRACE [jbossws.SOAPMessage] Incoming Response SOAPMessage
| <soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <soapenv:Header>
| <Dummy soapenv:actor='http://schemas.xmlsoap.org/soap/actor/next' soapenv:mustUnderstand='0' xmlns=''/>
| </soapenv:Header>
| <soapenv:Body>
| <logStringResponse xmlns='http://www.eclipse.org/alf/logging'/>
| </soapenv:Body>
| </soapenv:Envelope>
| 2007-03-08 13:28:07,162 DEBUG [org.jbpm.bpel.integration.jms.JmsIntegrationService] invoked: partnerLink=CommonLoggingPL, operation=logString, output={parameters=[defaultNS:logStringResponse: null]}
| 2007-03-08 13:28:07,162 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'Invoke(111a76c)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(Invoke-StructuredActivity.End)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Scope(21be6)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'performingPrimaryActivity' on 'Scope(21be6)' for 'Token(/primary/null/primary/null)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.context.exe.VariableContainer] create variable 's:instance' in 'TokenVariableMap1245c4f' with value 'org.jbpm.bpel.graph.exe.ScopeInstance@28785c[name=<null>,token=/primary/null/primary/null,state=performingPrimaryActivity,id=0]'
| 2007-03-08 13:28:07,172 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
| 2007-03-08 13:28:07,172 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity - this operation breaks ==
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'StructuredActivity$Begin(9112ad)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'StructuredActivity$Begin(9112ad)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(StructuredActivity.Begin-Assign)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,172 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Assign(8a0152)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,182 DEBUG [org.jbpm.bpel.graph.basic.Assign] copying: token=Token(/primary/null/primary/null/primary), value=SimpleCompensate - Inner Work
| 2007-03-08 13:28:07,182 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'Assign(8a0152)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,182 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(Assign-StructuredActivity.End)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,182 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Invoke(1f8a98)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,182 DEBUG [javax.xml.soap.FactoryLoader] Load from Service API META-INF/services/javax.xml.soap.MessageFactory: org.jboss.ws.core.soap.MessageFactoryImpl
| 2007-03-08 13:28:07,222 DEBUG [org.jboss.ws.core.soap.SOAPConnectionImpl] Get locator for: http://localhost:8085/ALFEventManager/services/ALFLoggingService
| 2007-03-08 13:28:07,222 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] connect called for: org.jboss.remoting.transport.http.HTTPClientInvoker@11c7571
| 2007-03-08 13:28:07,222 TRACE [jbossws.SOAPMessage] Remoting meta data: {HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true}
| 2007-03-08 13:28:07,222 TRACE [jbossws.SOAPMessage] Outgoing SOAPMessage
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body>
| <defaultNS:logString xmlns:defaultNS='http://www.eclipse.org/alf/logging'>
| <ns3:eventId xmlns:ns='http://www.eclipse.org/alf/schema/EventBase/1' xmlns:ns3='http://www.eclipse.org/alf/logging' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>34</ns3:eventId>
| <ns3:serviceFlowId xmlns:ns='http://www.eclipse.org/alf/schema/EventBase/1' xmlns:ns3='http://www.eclipse.org/alf/logging' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>354345</ns3:serviceFlowId>
| <ns3:logMessage xmlns:ns3='http://www.eclipse.org/alf/logging'>SimpleCompensate - Inner Work</ns3:logMessage>
| <ns3:logLevel xmlns:ns3='http://www.eclipse.org/alf/logging'>INFO</ns3:logLevel>
| </defaultNS:logString>
| </env:Body>
| </env:Envelope>
| 2007-03-08 13:28:07,222 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : ""
| 2007-03-08 13:28:07,222 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
| 2007-03-08 13:28:07,693 DEBUG [org.jboss.ws.core.soap.SOAPMessageUnMarshaller] getMimeHeaders from: {ResponseCodeMessage=OK, null=[HTTP/1.1 200 OK], Date=[Thu, 08 Mar 2007 21:28:07 GMT], Content-Type=[text/xml;charset=utf-8], Server=[Apache-Coyote/1.1], HEADER={SOAPAction="", Content-Type=text/xml; charset=UTF-8}, Transfer-Encoding=[chunked], NoThrowOnError=true, ResponseCode=200}
| 2007-03-08 13:28:07,693 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8]
| 2007-03-08 13:28:07,693 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] disconnect called for: org.jboss.remoting.transport.http.HTTPClientInvoker@11c7571
| 2007-03-08 13:28:07,693 DEBUG [org.jboss.remoting.InvokerRegistry] destroying client for locator: InvokerLocator [http://127.0.0.1:8085/ALFEventManager/services/ALFLoggingService?datatype...], invoker:org.jboss.remoting.transport.http.HTTPClientInvoker@11c7571, remaining list:{}
| 2007-03-08 13:28:07,693 DEBUG [org.jboss.remoting.InvokerRegistry] destroying client for locator: InvokerLocator [http://127.0.0.1:8085/ALFEventManager/services/ALFLoggingService?datatype...], invoker:null, remaining list:{}
| 2007-03-08 13:28:07,693 TRACE [jbossws.SOAPMessage] Incoming Response SOAPMessage
| <soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <soapenv:Header>
| <Dummy soapenv:actor='http://schemas.xmlsoap.org/soap/actor/next' soapenv:mustUnderstand='0' xmlns=''/>
| </soapenv:Header>
| <soapenv:Body>
| <logStringResponse xmlns='http://www.eclipse.org/alf/logging'/>
| </soapenv:Body>
| </soapenv:Envelope>
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.bpel.integration.jms.JmsIntegrationService] invoked: partnerLink=CommonLoggingPL, operation=logString, output={parameters=[defaultNS:logStringResponse: null]}
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'Invoke(1f8a98)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(Invoke-StructuredActivity.End)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'StructuredActivity$End(182c145)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'StructuredActivity$End(182c145)' for 'Token(/primary/null/primary/null/primary)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'completed' on 'Scope(21be6)' for 'Token(/primary/null/primary/null)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'Scope(21be6)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(Scope-StructuredActivity.End)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:07,693 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'Throw(116cf35)' for 'Token(/primary/null/primary)'
| 2007-03-08 13:28:07,703 DEBUG [org.jbpm.bpel.graph.scope.FaultActionHandler] handling fault: org.jbpm.bpel.graph.exe.ScopeInstance@15b26b[name=<null>,token=/primary/null,state=performingPrimaryActivity,id=0]
| org.jbpm.bpel.graph.exe.BpelFaultException: org.jbpm.bpel.graph.exe.FaultInstance@10f5aca[name=SimpleCompensateExampleFault,id=0]
| at org.jbpm.bpel.graph.basic.Throw.execute(Throw.java:60)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.graph.def.Node_$$_javassist_47.enter(Node_$$_javassist_47.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184)
| at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
| at org.jbpm.bpel.graph.exe.ScopeInstance.notifyCompletion(ScopeInstance.java:338)
| at org.jbpm.bpel.graph.exe.state.EndedState.enterCompleted(EndedState.java:62)
| at org.jbpm.bpel.graph.exe.state.ActiveState$1.completed(ActiveState.java:35)
| at org.jbpm.bpel.graph.exe.ScopeInstance.completed(ScopeInstance.java:145)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:203)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_76.leave(StructuredActivity$End_$$_javassist_76.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity.leave(StructuredActivity.java:62)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_156.leave(CompositeActivity_$$_javassist_156.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity$End.execute(StructuredActivity.java:246)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.struct.StructuredActivity$End_$$_javassist_76.enter(StructuredActivity$End_$$_javassist_76.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184)
| at org.jbpm.bpel.graph.basic.Invoke.execute(Invoke.java:47)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.graph.def.Node_$$_javassist_47.enter(Node_$$_javassist_47.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184)
| at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:55)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.graph.def.Node_$$_javassist_47.enter(Node_$$_javassist_47.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_9.leave(StructuredActivity$Begin_$$_javassist_9.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity.execute(StructuredActivity.java:58)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_156.execute(CompositeActivity_$$_javassist_156.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.leave(StructuredActivity.java:222)
| at org.jbpm.graph.def.Node.execute(Node.java:349)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_9.enter(StructuredActivity$Begin_$$_javassist_9.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity.enter(StructuredActivity.java:54)
| at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.def.Activity_$$_javassist_159.enter(Activity_$$_javassist_159.java)
| at org.jbpm.bpel.graph.scope.Scope.execute(Scope.java:108)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.graph.def.Node_$$_javassist_47.enter(Node_$$_javassist_47.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184)
| at org.jbpm.bpel.graph.basic.Invoke.execute(Invoke.java:47)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.graph.def.Node_$$_javassist_47.enter(Node_$$_javassist_47.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184)
| at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:55)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.graph.def.Node_$$_javassist_47.enter(Node_$$_javassist_47.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_9.leave(StructuredActivity$Begin_$$_javassist_9.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity.execute(StructuredActivity.java:58)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.def.CompositeActivity_$$_javassist_156.execute(CompositeActivity_$$_javassist_156.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.leave(StructuredActivity.java:222)
| at org.jbpm.graph.def.Node.execute(Node.java:349)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.struct.StructuredActivity$Begin_$$_javassist_9.enter(StructuredActivity$Begin_$$_javassist_9.java)
| at org.jbpm.bpel.graph.struct.StructuredActivity.enter(StructuredActivity.java:54)
| at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.def.Activity_$$_javassist_159.enter(Activity_$$_javassist_159.java)
| at org.jbpm.bpel.graph.scope.Scope.execute(Scope.java:108)
| at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105)
| at org.jbpm.graph.def.Transition.take(Transition.java:151)
| at org.jbpm.graph.def.Node.leave(Node.java:393)
| at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184)
| at org.jbpm.bpel.graph.struct.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:66)
| at org.jbpm.bpel.graph.basic.Receive.accept(Receive.java:81)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.basic.Receive_$$_javassist_17.accept(Receive_$$_javassist_17.java)
| at org.jbpm.bpel.graph.struct.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:100)
| at org.jbpm.bpel.graph.struct.Sequence.accept(Sequence.java:104)
| at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
| at org.jbpm.bpel.graph.def.Activity_$$_javassist_159.accept(Activity_$$_javassist_159.java)
| at org.jbpm.bpel.graph.struct.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:54)
| at org.jbpm.bpel.graph.def.BpelDefinition.messageReceived(BpelDefinition.java:111)
| at org.jbpm.bpel.integration.jms.StartListener.onMessage(StartListener.java:124)
| at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:696)
| at java.lang.Thread.run(Thread.java:595)
| 2007-03-08 13:28:07,723 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'terminatingPrimaryActivityOnFault' on 'Scope(121572b)' for 'Token(/primary/null)'
| 2007-03-08 13:28:07,733 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'faultingWithoutHandler' on 'Scope(121572b)' for 'Token(/primary/null)'
| 2007-03-08 13:28:07,733 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.Activity - this operation breaks ==
| 2007-03-08 13:28:07,733 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.Activity - this operation breaks ==
| 2007-03-08 13:28:07,733 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.Activity - this operation breaks ==
| 2007-03-08 13:28:07,733 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.Activity - this operation breaks ==
| 2007-03-08 13:28:07,733 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.Activity - this operation breaks ==
| 2007-03-08 13:28:07,733 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'faulted' on 'Scope(121572b)' for 'Token(/primary/null)'
| 2007-03-08 13:28:07,733 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'terminatingPrimaryActivityOnFault' on 'BpelDefinition$GlobalScope(4fa1cd)' for 'Token(/)'
| 2007-03-08 13:28:07,733 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'faultingWithoutHandler' on 'BpelDefinition$GlobalScope(4fa1cd)' for 'Token(/)'
| 2007-03-08 13:28:07,773 DEBUG [org.jbpm.bpel.graph.exe.ScopeInstance] state change to 'faulted' on 'BpelDefinition$GlobalScope(4fa1cd)' for 'Token(/)'
| 2007-03-08 13:28:07,773 DEBUG [org.jbpm.svc.Services] executing default save operations
|
Is something wrong with BPEL? This sample is tested on ActiveBPEL and it works there.
Thanks,
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026440#4026440
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026440
19Â years, 1Â month
[JBoss Portal] - JBoss Portal Request Parameters
by ghyoju
Hi
AS JBOSS 4.0.5
PORTAL JBOSS Portal 2.4.1
I have some hidden form variables in JSP
When I submit the form, I cannot access these in request parameters in the Portlet or ActionClass. although while debugging I can see these parameters inside hidden/protected variable when :
In Portlet these parameters can be seen in
"request.requestContext.req.request.parameterMap "
In ActionClass they can be seen in
"request.request.dreq.request.parameterMap"
This is the code in doRenderer() method of Extended Protlet
protected void doRender(RenderRequest request, RenderResponse response) throws PortletException, IOException {
WindowState state = request.getWindowState();
response.setContentType("text/html");
//requestUri can be passed by request parameter
//or in request attribute
//or defined in portlet init parameter
String requestURI = (String)request.getAttribute(MVCConstants.PARAM_REQUEST_URI);
if(requestURI == null){
requestURI = (String)request.getParameter(MVCConstants.PARAM_REQUEST_URI);
}
if(requestURI == null) {
requestURI= _requestURI;
}
request.setAttribute(MVCConstants.PARAM_REQUEST_URI,requestURI);
PortletContext context = getPortletContext();
PortletRequestDispatcher rd = context.getRequestDispatcher(requestURI);
rd.include(request, response);
}
}
This is the code in execute() method in ActionClass
public static final String execute(HttpServletRequest request,HttpServletResponse response)
throws Exception
{
String requestURI = (String)request.getAttribute(MVCConstants.PARAM_REQUEST_URI);
String dispatchAction = (String)request.getAttribute(MVCConstants.PARAM_DISPATCH_ACTION);
String operation = (String)request.getAttribute(MVCConstants.PARAM_OPERATION);
if(dispatchAction == null || dispatchAction.trim().length()<=0){
request.setAttribute(MVCConstants.ERROR_MESSAGE,MVCConstants.PARAM_DISPATCH_ACTION +" information is not provided for " + requestURI + " check mvc_config.xml");
return MVCConstants.FORWARD_ERROR;
}
if(operation == null|| operation.trim().length()<=0){
request.setAttribute(MVCConstants.ERROR_MESSAGE,MVCConstants.PARAM_OPERATION +" information is not provided for " + requestURI + " check mvc_config.xml");
return MVCConstants.FORWARD_ERROR;
}
try{
Class dispatchClass = Class.forName(dispatchAction);
Class parameters[] = new Class[2];
parameters[0] = HttpServletRequest.class;
parameters[1] = HttpServletResponse.class;
Method method = dispatchClass.getMethod(operation,parameters);
Object args[] = new Object[2];
args[0] = request;
args[1] = response;
return (String)method.invoke(dispatchClass.newInstance(),args);
}
catch(Exception e){
e.printStackTrace();
request.setAttribute(MVCConstants.ERROR_MESSAGE,e.getMessage());
return MVCConstants.FORWARD_ERROR;
}
}
Thank you very much.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026439#4026439
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026439
19Â years, 1Â month