Compiled process invocation throws runtime exception:  Dangling meta character 
'*' near index 0 *.local ^
---------------------------------------------------------------------------------------------------------

                 Key: ODE-742
                 URL: https://issues.apache.org/jira/browse/ODE-742
             Project: ODE
          Issue Type: Bug
    Affects Versions: 2.0-beta2, 1.3.3
         Environment: java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
tomcat 5.5.28
MacOS 10.6
Darwin Seneca.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 
PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386

            Reporter: Michael Dondrup


An invocation of a seemingly valid asynchronious process example fails with a 
runtime exception with both 1.3.3 and 2.beta2
The reason seems to be wrong use of a reg-ex (dangling meta-character). Even if 
the error was caused by malformed process a 
real error message should be raised.

Process definitions are avaialbe at 
http://www.bccs.uni.no/~mdo041/ode_processes/

Input data (via soapUI):

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"; 
xmlns:sch="http://wso2.org/bps/samples/loan_process/schema";>
   <soap:Header/>
   <soap:Body>
      <sch:LoanRequest>
         <sch:CustomerInfo>
            <!--type: string-->
            <sch:Name>gero et</sch:Name>
            <!--type: string-->
            <sch:Email>sonoras imperio</sch:Email>
            <!--type: CustomerIDType-->
            <sch:CustomerID>dkjflskdjfkahgjkhsfla</sch:CustomerID>
            <!--type: int-->
            <sch:CreditRating>100</sch:CreditRating>
         </sch:CustomerInfo>
         <sch:LoanInfo>
            <!--type: double-->
            <sch:Amount>100</sch:Amount>
            <!--type: int-->
            <sch:Years>3</sch:Years>
         </sch:LoanInfo>
      </sch:LoanRequest>
   </soap:Body>
</soap:Envelope>


Dec 18, 2009 10:35:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10047 ms
INFO - GeronimoLog.info(79) | Refreshing SYSTEM CRON jobs.
INFO - GeronimoLog.info(79) | SYSTEM CRON configuration found cron jobs: []
DEBUG - GeronimoLog.debug(66) | Checking for Operation using SOAP message 
body's first child's local name : LoanRequest
DEBUG - GeronimoLog.debug(66) | Received request message for 
LoanProcessService.{http://wso2.org/bps/samples/LoanProcess}laonRequest
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Routed: svcQname 
{http://wso2.org/bps/samples/LoanProcess}LoanProcessService --> 
[BpelProcess[{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3]]
DEBUG - GeronimoLog.debug(66) | ODE routed to operation Operation: 
name=laonRequest
style=REQUEST_RESPONSE,1
Input: name=input
Message: name={http://wso2.org/bps/samples/LoanProcess}laonRequestRequest
Part: name=part
elementName={http://wso2.org/bps/samples/loan_process/schema}LoanRequest
Output: name=output
Message: name={http://wso2.org/bps/samples/LoanProcess}laonRequestResponse
Part: name=part
elementName={http://wso2.org/bps/samples/loan_process/schema}LoanOffer from 
service {http://wso2.org/bps/samples/LoanProcess}LoanProcessService
DEBUG - GeronimoLog.debug(66) | SET MEX property isTwoWay = true
DEBUG - GeronimoLog.debug(66) | Invoking ODE using MEX 
{MyRoleMex#hqejbhcnphr4u7knsgap48 [Client hqejbhcnphr4u7knsgap47] calling 
{http://wso2.org/bps/samples/LoanProcess}LoanProcessService.laonRequest(...)}
DEBUG - GeronimoLog.debug(66) | Message content:  <?xml version="1.0" 
encoding="UTF-8"?>
<message><part><LoanRequest 
xmlns="http://wso2.org/bps/samples/loan_process/schema"; 
xmlns:sch="http://wso2.org/bps/samples/loan_process/schema"; 
xmlns:soap="http://www.w3.org/2003/05/soap-envelope";>
         <CustomerInfo>
            
            <Name>gero et</Name>
            
            <Email>sonoras imperio</Email>
            
            <CustomerID>dkjflskdjfkahgjkhsfla</CustomerID>
            
            <CreditRating>100</CreditRating>
         </CustomerInfo>
         <LoanInfo>
            
            <Amount>100</Amount>
            
            <Years>3</Years>
         </LoanInfo>
      </LoanRequest></part></message>
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==> 
BpelProcess[{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3]
DEBUG - GeronimoLog.debug(66) | Commiting ODE MEX 
{MyRoleMex#hqejbhcnphr4u7knsgap48 [Client hqejbhcnphr4u7knsgap47] calling 
{http://wso2.org/bps/samples/LoanProcess}LoanProcessService.laonRequest(...)}
DEBUG - GeronimoLog.debug(66) | Commiting transaction.
DEBUG - GeronimoLog.debug(66) | handleWorkEvent: InvokeInternal event for mexid 
hqejbhcnphr4u7knsgap48
DEBUG - GeronimoLog.debug(66) | >> 
handleWorkEvent(jobData={mexid=hqejbhcnphr4u7knsgap48, 
pid={http://wso2.org/bps/samples/LoanProcess}LoanProcess-3, 
type=INVOKE_INTERNAL})
DEBUG - GeronimoLog.debug(66) | InvokeInternal event for mexid 
hqejbhcnphr4u7knsgap48
DEBUG - GeronimoLog.debug(66) | GET MEX property 
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property 
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property 
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: Client.laonRequest: MSG RCVD keys=[] 
mySessionId=null partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | INPUTMSG: Client.laonRequest: routing failed, 
CREATING NEW INSTANCE
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance 
951. INDEXED STATE={}
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: USING CORRELATOR 
Client.laonRequest
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: CHECKING for NEW 
INSTANCE match
DEBUG - GeronimoLog.debug(66) | INPUTMSGMATCH: Changing process instance state 
from ready to active
DEBUG - GeronimoLog.debug(66) | SELECT: PickResponseChannel#9: FOUND match for 
NEW instance mexRef={MyRoleMex#hqejbhcnphr4u7knsgap48 [Client 
hqejbhcnphr4u7knsgap47] calling 
{http://wso2.org/bps/samples/LoanProcess}LoanProcessService.laonRequest(...)}
DEBUG - GeronimoLog.debug(66) | INVOKING PARTNER: 
partnerLink={PartnerLinkInstance 
partnerLinkDecl=OPartnerLink#44,scopeInstanceId=1001}, op=getCustomerSSN 
channel=InvokeResponseChannel#20)
DEBUG - GeronimoLog.debug(66) | INVOKE PARTNER (SEP): sessionId=null 
partnerSessionId=null
DEBUG - GeronimoLog.debug(66) | SET MEX property activityId = 77
DEBUG - GeronimoLog.debug(66) | Routed: svcQname 
{http://wso2.org/bps/samples/CustomerInfo}CustomerInfoService --> null
DEBUG - GeronimoLog.debug(66) | Creating invocation check event in 180000ms for 
mexid hqejbhcnphr4u7knsgap4d
DEBUG - GeronimoLog.debug(66) | SET MEX property invokeCheckJobId = 
hqejbhcnphr4u7knsgap4e
DEBUG - GeronimoLog.debug(66) | Invoking a partner operation: getCustomerSSN
DEBUG - GeronimoLog.debug(66) | The service to invoke is the external service 
{http://wso2.org/bps/samples/CustomerInfo}CustomerInfoService:CustomerInfoPort
DEBUG - GeronimoLog.debug(66) | Create a new ServiceClient for 
axis_service_for_{http://wso2.org/bps/samples/CustomerInfo}CustomerInfoService#CustomerInfoPort_hqejbhcnphr4u7knsgap4f
DEBUG - GeronimoLog.debug(66) | Resolving endpoint reference <?xml 
version="1.0" encoding="UTF-8"?>
<service-ref 
xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref";><EndpointReference 
xmlns="http://www.w3.org/2005/08/addressing";><Metadata><ServiceName 
xmlns="http://www.w3.org/2006/05/addressing/wsdl"; 
EndpointName="CustomerInfoPort" 
xmlns:servicens="http://wso2.org/bps/samples/CustomerInfo";>servicens:CustomerInfoService</ServiceName></Metadata><Address>http://localhost:8080/ode/processes/CustomerInfoService</Address></EndpointReference></service-ref>
DEBUG - GeronimoLog.debug(66) | GET MEX property 
org.apache.ode.bpel.partnerRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | GET MEX property 
org.apache.ode.bpel.myRoleSessionId = null
DEBUG - GeronimoLog.debug(66) | My-Role EPR not specified, SEP will not be used.
DEBUG - GeronimoLog.debug(66) | Axis2 sending message to 
http://localhost:8080/ode/processes/CustomerInfoService using MEX 
{PartnerRoleMex#hqejbhcnphr4u7knsgap4d [PID 
{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3] calling 
[email protected](...)}
DEBUG - GeronimoLog.debug(66) | Message: <?xml version='1.0' 
encoding='utf-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><CustomerInfo
 xmlns="http://wso2.org/bps/samples/loan_process/schema";>
                            <ns3:Name 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>gero et</ns3:Name>
                            <ns3:Email 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>sonoras 
imperio</ns3:Email>
                            <ns3:CustomerID 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>dkjflskdjfkahgjkhsfla</ns3:CustomerID>
                            <ns3:CreditRating 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>100</ns3:CreditRating>
                        </CustomerInfo></soapenv:Body></soapenv:Envelope>
DEBUG - GeronimoLog.debug(66) | replyAsync mex=hqejbhcnphr4u7knsgap4d
DEBUG - GeronimoLog.debug(66) | Setting execution state on instance 951
DEBUG - GeronimoLog.debug(66) | Sending stateful TO epr in message header using 
session null
DEBUG - GeronimoLog.debug(66) | Sending a message containing wsa endpoints in 
headers for session passing.
DEBUG - GeronimoLog.debug(66) | <?xml version='1.0' 
encoding='utf-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header><addr:To
 
xmlns:addr="http://www.w3.org/2005/08/addressing";>http://localhost:8080/ode/processes/CustomerInfoService</addr:To><addr:Action
 xmlns:addr="http://www.w3.org/2005/08/addressing";></addr:Action><addr:ReplyTo 
xmlns:addr="http://www.w3.org/2005/08/addressing";><addr:Address>http://www.w3.org/2005/08/addressing/anonymous</addr:Address></addr:ReplyTo><addr:MessageID
 
xmlns:addr="http://www.w3.org/2005/08/addressing";>uuid:hqejbhcnphr4u7knsgap4g</addr:MessageID></soapenv:Header><soapenv:Body><CustomerInfo
 xmlns="http://wso2.org/bps/samples/loan_process/schema";>
                            <ns3:Name 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>gero et</ns3:Name>
                            <ns3:Email 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>sonoras 
imperio</ns3:Email>
                            <ns3:CustomerID 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>dkjflskdjfkahgjkhsfla</ns3:CustomerID>
                            <ns3:CreditRating 
xmlns:ns3="http://wso2.org/bps/samples/loan_process/schema";>100</ns3:CreditRating>
                        </CustomerInfo></soapenv:Body></soapenv:Envelope>
ERROR - GeronimoLog.error(108) | Error sending message 
(mex={PartnerRoleMex#hqejbhcnphr4u7knsgap4d [PID 
{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3] calling 
[email protected](...)}): Dangling 
meta character '*' near index 0
*.local
^
java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*.local
^
        at java.util.regex.Pattern.error(Pattern.java:1713)
        at java.util.regex.Pattern.sequence(Pattern.java:1878)
        at java.util.regex.Pattern.expr(Pattern.java:1752)
        at java.util.regex.Pattern.compile(Pattern.java:1460)
        at java.util.regex.Pattern.<init>(Pattern.java:1133)
        at java.util.regex.Pattern.compile(Pattern.java:823)
        at java.util.regex.Pattern.matches(Pattern.java:928)
        at java.lang.String.matches(String.java:2090)
        at 
org.apache.axis2.transport.http.ProxyConfiguration.validateNonProxyHosts(ProxyConfiguration.java:261)
        at 
org.apache.axis2.transport.http.ProxyConfiguration.isProxyEnabled(ProxyConfiguration.java:223)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.getHostConfiguration(AbstractHTTPSender.java:271)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:502)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
        at 
org.apache.ode.axis2.SoapExternalService$1$1.call(SoapExternalService.java:201)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:637)
DEBUG - GeronimoLog.debug(66) | replyWithFailure mex=hqejbhcnphr4u7knsgap4d 
failureType=COMMUNICATION_ERROR description=Error sending message 
(mex={PartnerRoleMex#hqejbhcnphr4u7knsgap4d [PID 
{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3] calling 
[email protected](...)}): Dangling 
meta character '*' near index 0
*.local
^ details=null
DEBUG - GeronimoLog.debug(66) | create work event for mex=hqejbhcnphr4u7knsgap4d
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-1,5,main]: lock(iid=951, 
time=1MICROSECONDS)
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-1,5,main]: lock(iid=951, 
time=1MICROSECONDS)-->GRANTED
DEBUG - GeronimoLog.debug(66) | >> 
handleWorkEvent(jobData={mexid=hqejbhcnphr4u7knsgap4d, iid=951, 
type=INVOKE_RESPONSE, channel=20})
DEBUG - GeronimoLog.debug(66) | BpelRuntimeContextImpl created for instance 
951. INDEXED STATE={{OScope '__PROCESS_SCOPE:LoanProcess' 
id=15}::0=[ACTIVE(...)], 
OInvoke#77-InvokeCustomerInfo::11=[ACTIVITYGUARD(...)], {OScope 
'InvokeCustomerInfo' id=76}::10=[SCOPE(...)], 
OSequence#47-sequence-activity-line-42::1=[ACTIVITYGUARD(...)], {OScope 
'__PROCESS_SCOPE:LoanProcess' id=15}::0=[SCOPE(...)], 
OInvoke#77-InvokeCustomerInfo::12=[INVOKE(...)], 
OSequence#47-sequence-activity-line-42::2=[SEQUENCE(self=(OSequence#47-sequence-activity-line-42,TerminationChannel#3,ParentScopeChannel#5),
 linkframe=org.apache.ode.bpel.runtime.linkfr...@7e83fff9, remaining=[{OScope 
'InvokeCustomerInfo' id=76}, {OAssign : Assign2, joinCondition=null}, {OScope 
'InvokeCreditRating' id=93}, {OAssign : Assign3, joinCondition=null}, 
OFlow#159-LoanOfferFlow, {OAssign : PrepareOutput, joinCondition=null}, 
{OAssign : AssignDILoanOffer, joinCondition=null}, 
OReply#202-ReplyWithOffer])], {OScope 'InvokeCustomerInfo' 
id=76}::9=[ACTIVITYGUARD(...)], {OScope 'InvokeCustomerInfo' 
id=76}::10=[ACTIVE(...)]}
DEBUG - GeronimoLog.debug(66) | InvokeResponse event for iid 951
DEBUG - GeronimoLog.debug(66) | Invoking message response for mexid 
hqejbhcnphr4u7knsgap4d and channel 20
DEBUG - GeronimoLog.debug(66) | Triggering response
ERROR - GeronimoLog.error(104) | Failure during invoke: Error sending message 
(mex={PartnerRoleMex#hqejbhcnphr4u7knsgap4d [PID 
{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3] calling 
[email protected](...)}): Dangling 
meta character '*' near index 0
*.local
^
INFO - GeronimoLog.info(79) | ActivityRecovery: Registering activity 11, 
failure reason: Error sending message 
(mex={PartnerRoleMex#hqejbhcnphr4u7knsgap4d [PID 
{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3] calling 
[email protected](...)}): Dangling 
meta character '*' near index 0
*.local
^ on channel 21
DEBUG - GeronimoLog.debug(66) | Setting execution state on instance 951
DEBUG - GeronimoLog.debug(66) | Thread[ODEServer-1,5,main]: unlock(iid=951)
DEBUG - GeronimoLog.debug(66) | Received myrole mex response callback
DEBUG - GeronimoLog.debug(66) | Handling response for MEX 
{MyRoleMex#hqejbhcnphr4u7knsgap48 [Client hqejbhcnphr4u7knsgap47] calling 
{http://wso2.org/bps/samples/LoanProcess}LoanProcessService.laonRequest(...)}
DEBUG - GeronimoLog.debug(66) | Starting transaction.
DEBUG - GeronimoLog.debug(66) | Failure response message: null
WARN - GeronimoLog.warn(96) | MEX produced a fault 
{MyRoleMex#hqejbhcnphr4u7knsgap48 [Client hqejbhcnphr4u7knsgap47] calling 
{http://wso2.org/bps/samples/LoanProcess}LoanProcessService.laonRequest(...)}
org.apache.ode.axis2.OdeFault: Message exchange failure due to: Error sending 
message (mex={PartnerRoleMex#hqejbhcnphr4u7knsgap4d [PID 
{http://wso2.org/bps/samples/LoanProcess}LoanProcess-3] calling 
[email protected](...)}): Dangling 
meta character '*' near index 0
*.local
^
        at 
org.apache.ode.axis2.util.SoapMessageConverter.createOdeFault(SoapMessageConverter.java:570)
        at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:282)
        at 
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:189)
        at 
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
        at 
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52)
        at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
        at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:637)
DEBUG - GeronimoLog.debug(66) | Releasing mex hqejbhcnphr4u7knsgap48
DEBUG - GeronimoLog.debug(66) | Comitting transaction.
INFO - GeronimoLog.info(79) | Refreshing SYSTEM CRON jobs.
INFO - GeronimoLog.info(79) | SYSTEM CRON configuration found cron jobs: []










-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to