[jboss-user] [JBoss jBPM] - BPEL Eclipse designer deployment error

gllambi do-not-reply at jboss.com
Mon May 26 10:55:06 EDT 2008


Hi, I've been using BPEL Eclipse Designer and when I try to deploy the process the following exception occurs:

11:10:24,639 ERROR [ProblemHandler] document is not readable ()
java.io.FileNotFoundException: C:\jboss-4.2.2.GA_JBPM\bin (Access is denied)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.(FileInputStream.java:106)
        at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC
onnection.java:105)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
 Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

...
11:10:24,654 ERROR [ProblemHandler] could not read wsdl document (ExcepcionBPELD
esigner.bpel)
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing
 ''.: java.io.FileNotFoundException: C:\jboss-4.2.2.GA_JBPM\bin (Access is denie
d)
        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2111)

        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2303)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2335)
        at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
:519)
        at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:447)
        at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:296)
        at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:204)
...
11:10:24,670 ERROR [STDERR] [Fatal Error] :-1:-1: Premature end of file.
11:10:24,670 ERROR [ProblemHandler] could not read wsdl document (ExcepcionBPELD
esigner.bpel)
javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing
 'ExcepcionBPELDesignerArtifacts.wsdl'.: org.xml.sax.SAXParseException: Prematur
e end of file.
        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2111)

        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2303)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2335)
        at org.jbpm.bpel.xml.BpelReader.readImportWsdlDefinition(BpelReader.java
:519)

The problem is because of the artifact.wsdl created by the designer when adding partners to the process. If I put the partner in the service's wsdl and change the bpel's import manually it works fine.

The bpel and wsdl files are the following


  | <?xml version="1.0" encoding="UTF-8"?>
  | <bpws:process exitOnStandardFault="yes" name="ExcepcionBPELDesigner"
  |     suppressJoinFailure="yes"
  |     targetNamespace="http://lins.errores.bpel.designer"
  |     xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
  |     xmlns:ns="http://lins.errores.bpel.designerArtifacts"
  |     xmlns:ns0="http://www.fing.edu.uy/ReservaPaquetesViaje/" xmlns:tns="http://lins.errores.bpel.designer">
  |     <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
  |         location="ExcepcionBPELDesigner.wsdl" namespace="http://www.fing.edu.uy/ReservaPaquetesViaje/"/>
  |     <bpws:import importType="http://schemas.xmlsoap.org/wsdl/" namespace="http://lins.errores.bpel.designerArtifacts"/>
  |     <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"
  |         location="ExcepcionBPELDesignerArtifacts.wsdl" namespace="http://lins.errores.bpel.designerArtifacts"/>
  |     <bpws:partnerLinks>
  |         <bpws:partnerLink myRole="ErrorMaker" name="Client" partnerLinkType="ns:ErrorPartner"/>
  |     </bpws:partnerLinks>
  |     <bpws:variables>
  |         <bpws:variable messageType="ns0:reservacion" name="ClientRequest"/>
  |         <bpws:variable messageType="ns0:reservacionResponse" name="ClientResponse"/>
  |     </bpws:variables>
  |     <bpws:sequence>
  |         <bpws:receive createInstance="yes" name="Receive"
  |             operation="reservarPaqueteViaje" partnerLink="Client"
  |             portType="ns0:ReservaPaquetesViaje" variable="ClientRequest"/>
  |         <bpws:reply name="Reply" operation="reservarPaqueteViaje"
  |             partnerLink="Client" portType="ns0:ReservaPaquetesViaje" variable="ClientResponse"/>
  |     </bpws:sequence>
  | </bpws:process>
  | 


  | <?xml version="1.0" encoding="UTF-8"?>
  | <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap"
  | 	xmlns:tns="http://www.fing.edu.uy/ReservaPaquetesViaje/"
  | 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  | 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  | 	name="ReservaPaquetesViaje"
  | 	targetNamespace="http://www.fing.edu.uy/ReservaPaquetesViaje/">
  | 	<wsdl:types>
  | 		<xsd:schema
  | 			targetNamespace="http://www.fing.edu.uy/ReservaPaquetesViaje/">
  | 			<xsd:element name="reservacion">
  | 				<xsd:complexType>
  | 					<xsd:sequence>
  | 						<xsd:element name="hotel" type="tns:Hotel" />
  | 						<xsd:element name="habitaciones" type="tns:Habitacion" />
  | 					</xsd:sequence>
  | 				</xsd:complexType>
  | 			</xsd:element>
  | 			<xsd:element name="reservacionResponse">
  | 				<xsd:complexType>
  | 					<xsd:sequence>
  | 						<xsd:element name="codigoReserva" type="xsd:string" />
  | 					</xsd:sequence>
  | 				</xsd:complexType>
  | 			</xsd:element>
  | 
  | 			<xsd:complexType name="Hotel">
  | 				<xsd:sequence>
  | 					<xsd:element name="idHotel" type="xsd:int"/>
  | 					<xsd:element name="nombre" type="xsd:string"/>
  | 				</xsd:sequence>
  | 			</xsd:complexType>
  | 
  | 			<xsd:complexType name="Habitacion">
  | 				<xsd:sequence>
  | 					<xsd:element name="idHabitacion" type="xsd:int"/>
  | 					<xsd:element name="cantCamas" type="xsd:int"/>
  | 				</xsd:sequence>
  | 			</xsd:complexType>
  | 
  | 		</xsd:schema>
  | 	</wsdl:types>
  | 	<wsdl:message name="reservacion">
  | 		<wsdl:part element="tns:reservacion" name="parameters" />
  | 	</wsdl:message>
  | 	<wsdl:message name="reservacionResponse">
  | 		<wsdl:part name="parameters" element="tns:reservacionResponse" />
  | 	</wsdl:message>
  | 	<wsdl:portType name="ReservaPaquetesViaje">
  | 		<wsdl:operation name="reservarPaqueteViaje">
  | 			<wsdl:input message="tns:reservacion" name="reserva" />
  | 			<wsdl:output message="tns:reservacionResponse"
  | 				name="codigoReserva" />
  | 		</wsdl:operation>
  | 	</wsdl:portType>
  | 
  | </wsdl:definitions>
  | 


  | <?xml version="1.0" encoding="UTF-8"?>
  | <definitions xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:tns="http://lins.errores.bpel.designerArtifacts" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" xmlns:wsdl="http://www.fing.edu.uy/ReservaPaquetesViaje/" name="ExcepcionBPELDesignerArtifacts" targetNamespace="http://lins.errores.bpel.designerArtifacts" xmlns="http://schemas.xmlsoap.org/wsdl/">
  |   <plnk:partnerLinkType name="ErrorPartner">
  |     <plnk:role name="ErrorMaker" portType="wsdl:ReservaPaquetesViaje"/>
  |   </plnk:partnerLinkType>
  | <import location="ExcepcionBPELDesigner.wsdl" namespace="http://www.fing.edu.uy/ReservaPaquetesViaje/"/>
  | </definitions>
  | 

Thanks!
Guzman

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153395#4153395

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153395



More information about the jboss-user mailing list