This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Service Unit (SU) created is invalid when BPEL project references another project at random location | ||
---|---|---|---|
Product: | soa | Reporter: | Murali Pottlapelli <mpottlapelli> |
Component: | BPEL | Assignee: | Kirill Sorokin <ksorokin> |
Status: | REOPENED --- | ||
Severity: | blocker | CC: | senthilprabhu |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | project for reproducing the issue |
Description
Murali Pottlapelli
2008-06-21 19:36:51 UTC
Created attachment 63204 [details]
project for reproducing the issue
Attached project also identifies validation issue with BPEL project when FLOW activity is first activity in the business process From what I can tell (at least after having applied fix for issue 133755), the design time correctly generates the artifacts. All the required stuff is in the xml catalog. However, I was not able to deploy either. The HTTP binding refused to read the catalog and used the systemIds directly as relative paths. I believe this question had been raised a number of times already. A bug was filed against HTTP BC and it was marked as fixed. Do we have a regression on the runtime side? This issue should be marked as INVALID, as the design time behaves properly. Please reopen if you disagree. tested using Build 200810130101 and got following error while trying to deploy. ERROR: Successful execution of Start: SynchronousSampleApplication WARNING: (JBIMA0405) Start of service assembly SynchronousSampleApplication succeeded partially; some service units failed to start. * Component: sun-bpel-engine ERROR: (BPJBI-4001:BPELSE) BPJBI-7004:Service unit SynchronousSampleApplication-SynchronousSample failed to load deployment C:\GlassFishESB\glassfish\domains\domain1\jbi\service-assemblies\SynchronousSampleApplication\SynchronousSampleApplication-SynchronousSample\sun-bpel-engine : BPJBI-6024:Error while loading BPEL file C:\GlassFishESB\glassfish\domains\domain1\jbi\service-assemblies\SynchronousSampleApplication\SynchronousSampleApplication-SynchronousSample\sun-bpel-engine\SynchronousSample.bpel, Exception details are Cannot parse BPEL (see below): ==> Cannot load imported document (see below): ==> Unable to import wsdl document for import (see below): ==> Failed to resolve publicId http://j2ee.netbeans.org/wsdl/po and systemId ../../../../refrence/BpelModule/src/po.wsdl to a WSDLDocument. (see below): ==> C:\GlassFishESB\glassfish\domains\domain1\jbi\refrence\BpelModule\src\po.wsdl (The system cannot find the path specified) * Component: sun-http-binding INFO: (JBIMA0409) Lifecycle operation start succeeded for Service Unit SynchronousSampleApplication-sun-http-binding. Cleaning up... [stop-service-assembly] Stopping a service assembly... host=localhost port=4848 name=SynchronousSampleApplication [shutdown-service-assembly] Shutting down a service assembly... host=localhost port=4848 name=SynchronousSampleApplication [undeploy-service-assembly] Undeploying a service assembly... host=localhost port=4848 name=SynchronousSampleApplication C:\bpprojects\oneFolderDeep\SynchronousSample\SynchronousSampleApplication\nbproject\build-impl.xml:213: Start failure. BUILD FAILED (total time: 5 seconds) Ah, OK. The real issue lies in the fact that SynchronousSample project declares a reference on BPELModule1 project, but the actual import does not use it, importing by a relative URL directly. The latter is not supported unless the referenced file resides within the sources directory structure of the same project. After having changed '../../../../refrence/BpelModule/src/po.wsdl' to 'BpelModule/po.wsdl' (which resolves to a project reference) I've been able to correctly deploy the project. This issue is indeed invalid. Closed as invalid. I tried this issue with the GFESB build 20091206-0720. It is still not deploying. 1) When I drag and drop the WSDL from the BPEL Project into the Synchronous Sample Bpel, it automatically adds the project reference. See location attribute in the import statement below. It works for WSDL file <import namespace="http://j2ee.netbeans.org/wsdl/BpelModule1/newWSDL" location="BpelModule1/newWSDL.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> 2) When I create a BPEL variable and the variable type is an element belonging to XSD from the BPEL project, it DOES NOT add the project reference. See the location attribute in the import statement below. <import namespace="http://xml.netbeans.org/schema/newXmlSchema" location="../../../../reference/BpelModule1/src/newXmlSchema.xsd" importType="http://www.w3.org/2001/XMLSchema"/> Because of this, the project is not getting deployed. So I'm reopening the issue. When I manually add the schema to the Synchronous Sample project through Referenced Resources --> Add Local... and then change the import statement below, the project gets deployed SUCCESSFULLY <import namespace="http://xml.netbeans.org/schema/newXmlSchema" location="BpelModule1/newXmlSchema.xsd" importType="http://www.w3.org/2001/XMLSchema"/> So the issue is also (mostly) in the way an import is created when this operation is invoked implicitly upon the creation of a new variable. That is an issue indeed. Fixing this issue directly and quite error-prone at this stage. Thus We've decided to lower the priority of this issue, replacing it (somewhat) by two enhancements which are more likely to get fixed within GFESB 2.2 timeframe: issue 178340 and issue 178349. |