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.

Bug 151534 - Comp app for project A failed to deploy when importing WSDL from project B
Summary: Comp app for project A failed to deploy when importing WSDL from project B
Status: RESOLVED WONTFIX
Alias: None
Product: soa
Classification: Unclassified
Component: HTTP BC (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sujit Biswas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 21:21 UTC by ggenipudi
Modified: 2008-11-11 22:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project (77.22 KB, application/octet-stream)
2008-10-27 21:22 UTC, ggenipudi
Details
LOG FILE (8.44 KB, text/plain)
2008-10-27 21:23 UTC, ggenipudi
Details
log file (8.44 KB, application/octet-stream)
2008-10-27 21:24 UTC, ggenipudi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ggenipudi 2008-10-27 21:21:26 UTC
Bpel module1 project references WSDL and XSD from BpelModule2. The bpel inside Bpel Module1 has import statements to
import BpelModule2\InCopyFrom9.wsdl  but still compapp is not able to find it and fails during deploy.


open the attached project and build bpelmodule1 and then build and deploy CompositeAPP1 and it fail to deploy with
following error.

HTTPBC-E00301: Failed to activate endpoint CompositeApp1,casaService1,casaPort1,Consumer. exception during WSDL parsing:
file:/C:/GlassFishESB/glassfish/domains/domain1/jbi/service-assemblies/CompositeApp1/CompositeApp1-sun-http-binding/sun-http-binding/CompositeApp1.wsdl
com.sun.xml.ws.server.ServerRtException: exception during WSDL parsing:
file:/C:/GlassFishESB/glassfish/domains/domain1/jbi/service-assemblies/CompositeApp1/CompositeApp1-sun-http-binding/sun-http-binding/CompositeApp1.wsdl
        at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:518)
        at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:510)
        at com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSEndpointFactory.createWSEndpoint(JAXWSEndpointFactory.java:155)
        at com.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle.endpointActivated(HttpSoapBindingLifeCycle.java:665)
        at com.sun.jbi.httpsoapbc.ServiceUnitImpl.start(ServiceUnitImpl.java:326)
        at com.sun.jbi.httpsoapbc.HttpSoapBindingDeployer.start(HttpSoapBindingDeployer.java:276)
        at com.sun.jbi.framework.ServiceUnitOperation.process(ServiceUnitOperation.java:185)
        at com.sun.jbi.framework.Operation.run(Operation.java:104)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.FileNotFoundException:
C:\GlassFishESB\glassfish\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1-sun-http-binding\sun-http-binding\BpelModule1\BpelModule2\InCopyFrom9.wsdl
(The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at java.net.URL.openStream(URL.java:1009)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:805)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:278)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:656)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:315)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:280)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:656)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:315)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:227)
        at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
        ... 10 more
HTTPBC-E00205: Start failed. com.sun.xml.ws.server.ServerRtException: exception during WSDL parsing:
file:/C:/GlassFishESB/glassfish/domains/domain1/jbi/service-assemblies/CompositeApp1/CompositeApp1-sun-http-binding/sun-http-binding/CompositeApp1.wsdl
javax.jbi.JBIException: com.sun.xml.ws.server.ServerRtException: exception during WSDL parsing:
file:/C:/GlassFishESB/glassfish/domains/domain1/jbi/service-assemblies/CompositeApp1/CompositeApp1-sun-http-binding/sun-http-binding/CompositeApp1.wsdl
        at com.sun.jbi.httpsoapbc.ServiceUnitImpl.start(ServiceUnitImpl.java:344)
        at com.sun.jbi.httpsoapbc.HttpSoapBindingDeployer.start(HttpSoapBindingDeployer.java:276)
        at com.sun.jbi.framework.ServiceUnitOperation.process(ServiceUnitOperation.java:185)
        at com.sun.jbi.framework.Operation.run(Operation.java:104)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.xml.ws.server.ServerRtException: exception during WSDL parsing:
file:/C:/GlassFishESB/glassfish/domains/domain1/jbi/service-assemblies/CompositeApp1/CompositeApp1-sun-http-binding/sun-http-binding/CompositeApp1.wsdl
        at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:518)
        at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:174)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
        at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:510)
        at com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSEndpointFactory.createWSEndpoint(JAXWSEndpointFactory.java:155)
        at com.sun.jbi.httpsoapbc.HttpSoapBindingLifeCycle.endpointActivated(HttpSoapBindingLifeCycle.java:665)
        at com.sun.jbi.httpsoapbc.ServiceUnitImpl.start(ServiceUnitImpl.java:326)
        ... 4 more
Caused by: java.io.FileNotFoundException:
C:\GlassFishESB\glassfish\domains\domain1\jbi\service-assemblies\CompositeApp1\CompositeApp1-sun-http-binding\sun-http-binding\BpelModule1\BpelModule2\InCopyFrom9.wsdl
(The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at java.net.URL.openStream(URL.java:1009)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:805)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:278)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:656)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:315)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:280)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:656)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:315)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:227)
        at com.sun.xml.ws.server.EndpointFactory.getWSDLPort(EndpointFactory.java:509)
        ... 10 more
Stopping service assembly CompositeApp1 on target server.
Shutting down service assembly CompositeApp1 on target server.
Undeploying service assembly CompositeApp1 from target server.
JBIMA0412: Service Assembly with ID : CompositeApp1 has been undeployed.
Comment 1 ggenipudi 2008-10-27 21:22:09 UTC
Created attachment 72717 [details]
project
Comment 2 ggenipudi 2008-10-27 21:23:51 UTC
Created attachment 72718 [details]
LOG FILE
Comment 3 ggenipudi 2008-10-27 21:24:24 UTC
Created attachment 72719 [details]
log file
Comment 4 Jun Qian 2008-11-07 23:26:02 UTC
It looks like compapp packages BC SU correctly and HTTP BC doesn't use catalog resolver properly. Reassigning to BC team
for further evaluation.
Comment 5 Sujit Biswas 2008-11-11 22:22:27 UTC
closing this issue, this is similar to https://open-esb.dev.java.net/issues/show_bug.cgi?id=887