[JBoss jBPM] - console : NullPointerException when examining process instan
by gogoasa
Hello,
I click "examine" on a process instance in the console and I get the exception below. Anybody understands what could be wrong ?
Thanks.
| java.lang.NullPointerException
| java.lang.String.compareTo(String.java:998)
| java.lang.String.compareTo(String.java:90)
| org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:144)
| java.util.Arrays.mergeSort(Arrays.java:1284)
| java.util.Arrays.sort(Arrays.java:1223)
| java.util.Collections.sort(Collections.java:159)
| edu.emory.mathcs.backport.java.util.Collections.sort(Collections.java:31)
| org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:91)
| javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
| javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:758)
| javax.faces.component.UICommand.broadcast(UICommand.java:368)
| org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| org.jboss.gravel.action.handler.CheckRoleHandler.apply(CheckRoleHandler.java:128)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
| com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
| com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
| com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
| com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
| com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
| com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
| com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
| javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
| com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
| com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060293#4060293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060293
18Â years, 9Â months
[JBoss jBPM] - First Thought about BAM
by fady.matar
I will try in here to post some ideas about Business Activity Monitoring short-named as BAM and gather all the feedback from the community in order to be able to implement a BAM tool that can be incorporated to future versions of the jBPM Web Console
Let's get started...
The growing interest in Business Process Management (BPM) which made the understanding of relationships between business activities and real-time IT operations led into the emergence of Business Activity Monitoring.
At the current state there is no standard definition of BAM. BAM can be used to identify the reflection of data to become usable information that can be used in businesses to:
Monitor the overall and the fine-grained detailed performance of business operations.
Identify bottlenecks, thresholds, failures and exceptions
Track the execution of processes and distinguish between failures and accomplishments.
BAM addresses the tasks identified above and addresses them in real-time mode by using the data and build out of them valuable information that can be addressed to optimize business operations.
The main focus of BAM of the past few years has been solely based on building reports out of the data gathered in BPM tasks and this has been a rewarding approach to monitor the performance. However businesses understand that efficiency alone is not sufficient to survive the market, the aim is excellence to increase revenues and market shares.
BAM is all about a vital monitoring and measurement of business activity across systems and business processes. The business process describes the different tasks required to fulfill the specified activity, business transactions are actual execution instances of processes, and process events relate to occurrences within the transactions such as a transaction completing a step or an error occurring. BAM is focused on these transactions and events, concentrating on a number of keywords I will be explaining at a later point in time.
I'm waiting for everybody's feedback.
Cheers!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060291#4060291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060291
18Â years, 9Â months
[JBoss jBPM] - Error invoking doc/lit/wrapped (EJB3 POJO SLSB) endpoints fr
by mreis
We have problems to invoke doc/lit/wrapped (EJB3 POJO SLSB) endpoints from a bpel process (if we however publish the endpoint as rpc/lit everything works fine).
the bpel process definition:
<?xml version="1.0" encoding="UTF-8"?>
| <process name="HelloWorld" targetNamespace="urn:samples:review"
| xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
| xmlns:tns="urn:samples:review"
| xmlns:char="http://services.planets-project.eu/ifr/characterisation"
| xmlns:bpel="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/
| http://schemas.xmlsoap.org/ws/2003/03/business-process/">
|
| <!-- <import importType="http://schemas.xmlsoap.org/wsdl/" location="hello.wsdl" namespace="urn:samples:review"/>
| <import importType="http://schemas.xmlsoap.org/wsdl/" location="interface/SimpleCharacterisationService.wsdl" namespace="http://services.planets-project.eu/ifr/characterisation"/>
| -->
|
| <partnerLinks>
| <!-- establishes the relationship with the caller agent -->
| <partnerLink name="caller" partnerLinkType="tns:Greeter-Caller"
| myRole="Greeter" />
| <partnerLink name="characterizePL" partnerLinkType="tns:Characterize"
| partnerRole="CharacterizeRole" />
| </partnerLinks>
|
| <variables>
| <!-- holds the incoming message -->
| <variable name="request" messageType="tns:nameMessage" />
| <!-- holds the outgoing message -->
| <variable name="response" messageType="tns:greetingMessage" />
| <variable name="FileURL" messageType="char:SimpleCharacterisationService_characteriseFile" />
| <variable name="CharResponse" messageType="char:SimpleCharacterisationService_characteriseFileResponse" />
| </variables>
|
| <sequence>
|
| <!-- receive the name of a person -->
| <receive operation="sayHello" partnerLink="caller" portType="tns:Greeter"
| variable="request" createInstance="yes" />
|
| <assign>
| <copy>
| <from variable="request" part="name"/>
| <to variable="FileURL" part="characteriseFile"/>
| </copy>
| </assign>
|
| <!-- Charcterize a File -->
| <invoke name="characteriseFile" operation="characteriseFile" partnerLink="characterizePL"
| portType="char:SimpleCharacterisationService" inputVariable="FileURL"
| outputVariable="CharResponse">
| <!-- <correlations>
| <correlation set="atmInteraction" pattern="in" initiate="yes" />
| </correlations>-->
| </invoke>
|
|
| <assign>
| <copy>
| <from variable="CharResponse" part="characteriseFileResponse"/>
| <to variable="response" part="greeting"/>
| </copy>
| </assign>
|
| <!-- reply with the greeting -->
| <reply operation="sayHello" partnerLink="caller" portType="tns:Greeter"
| variable="response" />
| </sequence>
|
| </process>
the wsdl of the (overall/wrapping) process:
<?xml version="1.0" encoding="UTF-8"?>
| <definitions targetNamespace="urn:samples:review"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| xmlns:tns="urn:samples:review"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:plt="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
| xmlns:char="http://services.planets-project.eu/ifr/characterisation"
| >
|
| <import namespace="http://services.planets-project.eu/ifr/characterisation" location="interface/SimpleCharacterisationService.wsdl" />
|
| <!-- characterizes the relationship between the greeter and its caller -->
| <plt:partnerLinkType name="Greeter-Caller">
| <plt:role name="Greeter" portType="tns:Greeter"/>
|
| <!-- the Caller does not provide services to the Greeter,
| this is why we omit the "Caller" role -->
| </plt:partnerLinkType>
|
| <!-- defines the relationship between the process and the Characterization process -->
| <plt:partnerLinkType name="Characterize">
| <plt:role name="CharacterizeRole" portType="char:SimpleCharacterisationService"/>
|
| </plt:partnerLinkType>
|
| <!-- carries the name of a person -->
| <message name="nameMessage">
| <part name="name" type="xsd:string" />
| </message>
|
| <!-- carries the greeting -->
| <message name="greetingMessage">
| <part name="greeting" type="xsd:string" />
| </message>
|
| <!-- describes the interface presented to callers -->
| <portType name="Greeter">
| <operation name="sayHello">
| <input message="tns:nameMessage" />
| <output message="tns:greetingMessage" />
| </operation>
| </portType>
|
|
|
| </definitions>
the wsdl of the doc/lit/wrapped endpoint to be invoked:
<definitions name='SimpleCharacterisationService' targetNamespace='http://services.planets-project.eu/ifr/characterisation' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://services.planets-project.eu/ifr/characterisation' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
| <types>
| <xs:schema targetNamespace='http://services.planets-project.eu/ifr/characterisation' version='1.0' xmlns:tns='http://services.planets-project.eu/ifr/characterisation' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
| <xs:element name='characteriseFile' type='tns:characteriseFile'/>
| <xs:element name='characteriseFileDH' type='tns:characteriseFileDH'/>
| <xs:element name='characteriseFileDHResponse' type='tns:characteriseFileDHResponse'/>
| <xs:element name='characteriseFileDHs' type='tns:characteriseFileDHs'/>
| <xs:element name='characteriseFileDHsResponse' type='tns:characteriseFileDHsResponse'/>
| <xs:element name='characteriseFileResponse' type='tns:characteriseFileResponse'/>
| <xs:element name='characteriseFileURL' type='tns:characteriseFileURL'/>
| <xs:element name='characteriseFileURLResponse' type='tns:characteriseFileURLResponse'/>
| <xs:element name='characteriseFileURLs' type='tns:characteriseFileURLs'/>
| <xs:element name='characteriseFileURLsResponse' type='tns:characteriseFileURLsResponse'/>
| <xs:element name='characteriseFiles' type='tns:characteriseFiles'/>
| <xs:element name='characteriseFilesResponse' type='tns:characteriseFilesResponse'/>
| <xs:complexType name='characteriseFile'>
| <xs:sequence>
| <xs:element minOccurs='0' name='arg0' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileResponse'>
| <xs:sequence>
| <xs:element minOccurs='0' name='return' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFiles'>
| <xs:sequence>
| <xs:element maxOccurs='unbounded' minOccurs='0' name='arg0' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFilesResponse'>
| <xs:sequence>
| <xs:element maxOccurs='unbounded' minOccurs='0' name='return' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileURL'>
| <xs:sequence>
| <xs:element minOccurs='0' name='arg0' type='xs:anyURI'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileURLResponse'>
| <xs:sequence>
| <xs:element minOccurs='0' name='return' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileURLs'>
| <xs:sequence>
| <xs:element maxOccurs='unbounded' minOccurs='0' name='arg0' type='xs:anyURI'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileURLsResponse'>
| <xs:sequence>
| <xs:element maxOccurs='unbounded' minOccurs='0' name='return' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileDH'>
| <xs:sequence>
| <xs:element minOccurs='0' name='arg0' type='xs:base64Binary'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileDHResponse'>
| <xs:sequence>
| <xs:element minOccurs='0' name='return' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileDHs'>
| <xs:sequence>
| <xs:element maxOccurs='unbounded' minOccurs='0' name='arg0' type='xs:base64Binary'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='characteriseFileDHsResponse'>
| <xs:sequence>
| <xs:element maxOccurs='unbounded' minOccurs='0' name='return' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| <message name='SimpleCharacterisationService_characteriseFileResponse'>
| <part element='tns:characteriseFileResponse' name='characteriseFileResponse'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileDHs'>
| <part element='tns:characteriseFileDHs' name='characteriseFileDHs'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFiles'>
| <part element='tns:characteriseFiles' name='characteriseFiles'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileDHsResponse'>
| <part element='tns:characteriseFileDHsResponse' name='characteriseFileDHsResponse'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileURLsResponse'>
| <part element='tns:characteriseFileURLsResponse' name='characteriseFileURLsResponse'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileDHResponse'>
| <part element='tns:characteriseFileDHResponse' name='characteriseFileDHResponse'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileDH'>
| <part element='tns:characteriseFileDH' name='characteriseFileDH'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFile'>
| <part element='tns:characteriseFile' name='characteriseFile'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileURLs'>
| <part element='tns:characteriseFileURLs' name='characteriseFileURLs'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileURL'>
| <part element='tns:characteriseFileURL' name='characteriseFileURL'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFilesResponse'>
| <part element='tns:characteriseFilesResponse' name='characteriseFilesResponse'/>
| </message>
| <message name='SimpleCharacterisationService_characteriseFileURLResponse'>
| <part element='tns:characteriseFileURLResponse' name='characteriseFileURLResponse'/>
| </message>
| <portType name='SimpleCharacterisationService'>
| <operation name='characteriseFile' parameterOrder='characteriseFile'>
| <input message='tns:SimpleCharacterisationService_characteriseFile'/>
| <output message='tns:SimpleCharacterisationService_characteriseFileResponse'/>
| </operation>
| <operation name='characteriseFileDH' parameterOrder='characteriseFileDH'>
| <input message='tns:SimpleCharacterisationService_characteriseFileDH'/>
| <output message='tns:SimpleCharacterisationService_characteriseFileDHResponse'/>
| </operation>
| <operation name='characteriseFileDHs' parameterOrder='characteriseFileDHs'>
| <input message='tns:SimpleCharacterisationService_characteriseFileDHs'/>
| <output message='tns:SimpleCharacterisationService_characteriseFileDHsResponse'/>
| </operation>
| <operation name='characteriseFileURL' parameterOrder='characteriseFileURL'>
| <input message='tns:SimpleCharacterisationService_characteriseFileURL'/>
| <output message='tns:SimpleCharacterisationService_characteriseFileURLResponse'/>
| </operation>
| <operation name='characteriseFileURLs' parameterOrder='characteriseFileURLs'>
| <input message='tns:SimpleCharacterisationService_characteriseFileURLs'/>
| <output message='tns:SimpleCharacterisationService_characteriseFileURLsResponse'/>
| </operation>
| <operation name='characteriseFiles' parameterOrder='characteriseFiles'>
| <input message='tns:SimpleCharacterisationService_characteriseFiles'/>
| <output message='tns:SimpleCharacterisationService_characteriseFilesResponse'/>
| </operation>
| </portType>
| <binding name='SimpleCharacterisationServiceBinding' type='tns:SimpleCharacterisationService'>
| <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
| <operation name='characteriseFile'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| <operation name='characteriseFileDH'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| <operation name='characteriseFileDHs'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| <operation name='characteriseFileURL'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| <operation name='characteriseFileURLs'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| <operation name='characteriseFiles'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| </binding>
| <service name='SimpleCharacterisationService'>
| <port binding='tns:SimpleCharacterisationServiceBinding' name='SimpleCharacterisationServicePort'>
| <soap:address location='http://dme006:8080/ifr-sample/SimpleCharacterisationService'/>
| </port>
| </service>
| </definitions>
|
and finally the webservices.xml:
<?xml version="1.0" encoding="UTF-8"?>
| <webservices version="1.1" xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
| http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd">
|
| <webservice-description>
|
| <!-- descriptive name for the service -->
| <webservice-description-name>Hello World</webservice-description-name>
| <!-- WSDL service file -->
| <wsdl-file>WEB-INF/wsdl/hello-service.wsdl</wsdl-file>
| <!-- Java<->XML mapping file -->
| <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
|
| <port-component>
|
| <!-- logical name for the port (unique within the module) -->
| <port-component-name>GreeterPort</port-component-name>
| <!-- WSDL port element (in service.wsdl) -->
| <wsdl-port xmlns:portNS="urn:samples:review">
| portNS:GreeterPort
| </wsdl-port>
| <!-- service endpoint interface class -->
| <service-endpoint-interface>
| org.jbpm.bpel.tutorial.hello.Greeter
| </service-endpoint-interface>
| <!-- associated servlet (in web-app.xml) -->
| <service-impl-bean>
| <servlet-link>greeterServlet</servlet-link>
| </service-impl-bean>
|
| <handler>
|
| <!-- logical name for the handler (unique within the module) -->
| <handler-name>GreeterHandler</handler-name>
| <!-- handler class (in jbpm-bpel.jar) -->
| <handler-class>
| org.jbpm.bpel.integration.server.SoapHandler
| </handler-class>
|
| <init-param>
| <description>
| name of the partner link served by this port
| </description>
| <param-name>partnerLinkHandle</param-name>
| <param-value>caller</param-value>
| </init-param>
|
| </handler>
|
| </port-component>
|
| </webservice-description>
|
| </webservices>
|
The process can be deployed without problems - when invoked the following error occurrs:
| 18:07:36,384 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://services.planets-project.eu/ifr/characterisa
| tion}SimpleCharacterisationServicePort does not contain operation meta data for: {null}characteriseF
| ile
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.getDispatchDestination(AbstractSe
| rviceEndpointInvoker.java:267)
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInv
| oker.java:149)
| at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:204)
| at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager
| .java:440)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointSer
| vlet.java:114)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointSe
| rvlet.java:75)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
| ava:252)
| 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.j
| ava: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.ja
| va:175)
| 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(Htt
| p11BaseProtocol.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)
| 18:07:36,478 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
| javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://services.planets-project.eu/ifr/characterisa
| tion}SimpleCharacterisationServicePort does not contain operation meta data for: {null}characteriseF
| ile
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.getDispatchDestination(AbstractSe
| rviceEndpointInvoker.java:267)
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInv
| oker.java:149)
| at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:204)
| at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager
| .java:440)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointSer
| vlet.java:114)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointSe
| rvlet.java:75)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
| ava:252)
| 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.j
| ava: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.ja
| va:175)
| 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(Htt
| p11BaseProtocol.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)
| 18:07:36,620 ERROR [StartListener] could not start process instance
| org.jbpm.bpel.BpelException: soap fault does not include a detail element
| at org.jbpm.bpel.integration.client.SoapClient.readFault(SoapClient.java:446)
| at org.jbpm.bpel.integration.client.SoapClient.call(SoapClient.java:115)
| at org.jbpm.bpel.integration.jms.JmsIntegrationService.invoke(JmsIntegrationService.java:242
| )
| at org.jbpm.bpel.graph.basic.Invoke.execute(Invoke.java:46)
| 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.basic.Assign.execute(Assign.java:55)
| 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(JavassistLazyInitializ
| er.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.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(JavassistLazyInitializ
| er.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)
| 18:07:36,904 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.bpel.graph.def.CompositeActivity
| - this operation breaks ==
| 18:07:37,313 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://services.planets-project.eu/ifr/characterisa
| tion}SimpleCharacterisationServicePort does not contain operation meta data for: {null}characteriseF
| ile
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.getDispatchDestination(AbstractSe
| rviceEndpointInvoker.java:267)
| at org.jboss.ws.core.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInv
| oker.java:149)
| at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:204)
| at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager
| .java:440)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointSer
| vlet.java:114)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointSe
| rvlet.java:75)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
| ava:252)
| 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.j
| ava: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.ja
| va:175)
| 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(Htt
| p11BaseProtocol.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)
|
maybe you would also like to see those JBossWS log entries:
ServerEndpointMetaData:
| type=JAXWS
| qname={http://services.planets-project.eu/ifr/characterisation}SimpleCharacterisationServicePort
| id=jboss.ws:context=ifr-sample,endpoint=SimpleCharacterisationService
| address=http://dme006:8080/ifr-sample/SimpleCharacterisationService
| binding=http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true
| linkName=SimpleCharacterisationService
| implName=eu.planets_project.ifr.core.sample.impl.SimpleCharacterisationService
| seiName=eu.planets_project.ifr.core.sample.impl.SimpleCharacterisationService
| serviceMode=null
| portComponentName=null
| contextRoot=/ifr-sample
| urlPattern=/SimpleCharacterisationService
| configFile=META-INF/standard-jaxws-endpoint-config.xml
| configName=Standard Endpoint
| authMethod=null
| transportGuarantee=null
| secureWSDLAccess=false
| properties=null
|
| OperationMetaData:
| qname={http://services.planets-project.eu/ifr/characterisation}characteriseFile
| javaName=characteriseFile
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFile
| partName=characteriseFile
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFile
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFile
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = arg0, type = java.lang.String, typeArgs = null, variable = arg0, index = 0]]
| ReturnMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileResponse
| partName=characteriseFileResponse
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileResponse
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = return, type = java.lang.String, typeArgs = null, variable = return, index = -1]]
|
| OperationMetaData:
| qname={http://services.planets-project.eu/ifr/characterisation}characteriseFiles
| javaName=characteriseFiles
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFiles
| partName=characteriseFiles
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFiles
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFiles
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = arg0, type = [Ljava.lang.String;, typeArgs = null, variable = arg0, index = 0]]
| ReturnMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFilesResponse
| partName=characteriseFilesResponse
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFilesResponse
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFilesResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = return, type = [Ljava.lang.String;, typeArgs = null, variable = return, index = -1]]
|
| OperationMetaData:
| qname={http://services.planets-project.eu/ifr/characterisation}characteriseFileURL
| javaName=characteriseFileURL
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileURL
| partName=characteriseFileURL
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileURL
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileURL
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = arg0, type = java.net.URL, typeArgs = null, variable = arg0, index = 0]]
| ReturnMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLResponse
| partName=characteriseFileURLResponse
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLResponse
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileURLResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = return, type = java.lang.String, typeArgs = null, variable = return, index = -1]]
|
| OperationMetaData:
| qname={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLs
| javaName=characteriseFileURLs
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLs
| partName=characteriseFileURLs
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLs
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileURLs
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = arg0, type = [Ljava.net.URL;, typeArgs = null, variable = arg0, index = 0]]
| ReturnMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLsResponse
| partName=characteriseFileURLsResponse
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileURLsResponse
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileURLsResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = return, type = [Ljava.lang.String;, typeArgs = null, variable = return, index = -1]]
|
| OperationMetaData:
| qname={http://services.planets-project.eu/ifr/characterisation}characteriseFileDH
| javaName=characteriseFileDH
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileDH
| partName=characteriseFileDH
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileDH
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileDH
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = arg0, type = javax.activation.DataHandler, typeArgs = null, variable = arg0, index = 0]]
| ReturnMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHResponse
| partName=characteriseFileDHResponse
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHResponse
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileDHResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = return, type = java.lang.String, typeArgs = null, variable = return, index = -1]]
|
| OperationMetaData:
| qname={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHs
| javaName=characteriseFileDHs
| style=document/literal/WRAPPED
| oneWay=false
| soapAction=
| ParameterMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHs
| partName=characteriseFileDHs
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHs
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileDHs
| mode=IN
| inHeader=false
| index=0
| wrappedParameters=[[name = arg0, type = [Ljavax.activation.DataHandler;, typeArgs = null, variable = arg0, index = 0]]
| ReturnMetaData:
| xmlName={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHsResponse
| partName=characteriseFileDHsResponse
| xmlType={http://services.planets-project.eu/ifr/characterisation}characteriseFileDHsResponse
| javaType=eu.planets_project.ifr.core.sample.impl.jaxws.CharacteriseFileDHsResponse
| mode=OUT
| inHeader=false
| index=-1
| wrappedParameters=[[name = return, type = [Ljava.lang.String;, typeArgs = null, variable = return, index = -1]]
|
Any help/feedback/recommendation is highly appreciated ... thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060290#4060290
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060290
18Â years, 9Â months