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 85731 - Error: Exception while writing in to catalog.
Summary: Error: Exception while writing in to catalog.
Status: VERIFIED INVALID
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@soa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 00:01 UTC by Sherry Barkodar
Modified: 2006-10-02 11:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
helloworld.zip (73.23 KB, application/octet-stream)
2006-09-26 00:02 UTC, Sherry Barkodar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Barkodar 2006-09-26 00:01:59 UTC
Created an EJB, created a Webservice
Created a BPEL Prj
Created BPEL processs
Created the WSDL
D&D the Webservice to the BPEL process
D&D the WSDL to the BPEL process
Added required activities to the BPEL process
Build BPEL project works fine.
When I do Populate Catalog I get the following err in the Buildxml.output:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
init-deploy:
deps-jar:
pre-init:
netbeans.home: C:\Program Files\netbeans-5.5\platform6
netbeans.user: C:\Documents and Settings\Administrator\.netbeans\5.5dev
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-taskdefs:
init:
pre-dist:
PackageRetrievedFiles:
Deleting directory D:\Demo\HelloWorld\build\dependentProjectFiles
Created dir: D:\Demo\HelloWorld\build\dependentProjectFiles
dist_se:
Building jar: D:\Demo\HelloWorld\build\SEDeployment.jar
Expanding: D:\Demo\HelloWorld\build\SEDeployment.jar into
D:\Demo\HelloWorldCompositeApp\src\bindingComponentASA
Expanding: D:\Demo\HelloWorld\build\SEDeployment.jar into
D:\Demo\HelloWorldCompositeApp\src\bindingComponentASA\META-INF\catalogData\HelloWorld
jbi-build:
Building jar: D:\Demo\HelloWorldCompositeApp\build\BCDeployment.jar
 copying Sub-Assembly: D:\Demo\HelloWorldCompositeApp\build\HelloWorld.jar
Create BindingComponent jar:
D:\Demo\HelloWorldCompositeApp\build/com.sun.httpsoapbc-1.0-2.jar
Deleting: D:\Demo\HelloWorldCompositeApp\build\BCDeployment.jar
Building jar: D:\Demo\HelloWorldCompositeApp\dist\HelloWorldCompositeApp.zip
run-jbi-deploy:
[deploy-service-assembly]
    Deploying a service assembly...
        host=localhost
        port=4848
        file=D:\Demo\HelloWorldCompositeApp/dist/HelloWorldCompositeApp.zip
Successful execution of Deploy
WARNING: (JBIMA1004) The Service Assembly HelloWorldCompositeApp was deployed 
successfully.
    * Component: com.sun.httpsoapbc-1.0-2
      ERROR: (SOAPBC_DEPLOY_2) Failed to deploy: WSDLException (at
/definitions/types/xsd:schema[1]): faultCode=OTHER_ERROR: An error occurred
trying to resolve schema referenced at
''../../../../Demo/HelloWorld/src/Partners/Hello/HelloService_schema1.xsd'',
relative to
''file:/C:/Sun/AppServer/domains/domain1/jbi/system/deployment/HelloWorldCompositeApp/com.sun.httpsoapbc-1.0-2_HelloWorldCompositeApp-com.sun.httpsoapbc-1.0-2/HelloWorld.wsdl''.:
This file was not found:
file:/C:/Sun/AppServer/domains/domain1/jbi/Demo/HelloWorld/src/Partners/Hello/HelloService_schema1.xsd:
java.io.FileNotFoundException: This file was not found:
file:/C:/Sun/AppServer/domains/domain1/jbi/Demo/HelloWorld/src/Partners/Hello/HelloService_schema1.xsd
        at
com.ibm.wsdl.util.StringUtils.getContentAsInputStream(StringUtils.java:192)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:747)
        at
com.sun.jbi.wsdlvalidator.impl.ValidatingWSDLReaderImpl.parseSchema(ValidatingWSDLReaderImpl.java:117)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:599)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:562)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:291)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2080)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2072)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2097)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2041)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2004)
        at
com.sun.jbi.wsdlvalidator.impl.ValidatingWSDLReaderImpl.readWSDL(ValidatingWSDLReaderImpl.java:82)
        at
com.sun.jbi.wsdlvalidator.impl.ValidatingWSDLReaderImpl.readWSDL(ValidatingWSDLReaderImpl.java:89)
        at
com.sun.jbi.httpsoapbc.ServiceUnitImpl.createEndpoints(ServiceUnitImpl.java:359)
        at com.sun.jbi.httpsoapbc.ServiceUnitImpl.deploy(ServiceUnitImpl.java:161)
        at
com.sun.jbi.httpsoapbc.HttpSoapBindingDeployer.deploy(HttpSoapBindingDeployer.java:144)
        at
com.sun.jbi.framework.ServiceUnitOperation.process(ServiceUnitOperation.java:145)
        at com.sun.jbi.framework.Operation.run(Operation.java:86)
        at java.lang.Thread.run(Thread.java:595)
[start-service-assembly]
    Starting a service assembly...
        host=localhost
        port=4848
        name=HelloWorldCompositeApp
Failed execution of Start
ERROR: (JBIMA1202) Lifecycle command startServiceAssembly failed for
HelloWorldCompositeApp : 
    * Component: com.sun.bpelse-1.0-2
      ERROR: ( ) JBIFW2460: Unexpected exception java.lang.NullPointerException
occurred on init for Service Unit init. The exception has no message text.
D:\Demo\HelloWorldCompositeApp\nbproject\build-impl.xml:204: Service assembly
deployment failed.
BUILD FAILED (total time: 9 seconds)

Also when I deploy the Created CA, I get the following err Msg:
        Saved at: D:\Demo\HelloWorld\src\Partners\Hello\Hello.wsdl
Retrieving Location:
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Found in document: http://localhost:8080/HelloService/Hello?wsdl
        Retrieved :   
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Saved at: D:\Demo\HelloWorld\src\Partners\Hello\HelloService_schema1.xsd


Sep 25, 2006 2:13:36 PM : Retrieving Location:
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Retrieved :   
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Saved at:
D:\Demo\HelloWorld\retrieved\src\arash.sfbay.sun.com_8080\HelloService\Hello\__container_publishing_subctx\META-INF\wsdl\HelloService_schema1.xsd

Error: Exception while writing in to catalog.


Sep 25, 2006 2:16:17 PM : Retrieving Location:
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Retrieved :   
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Saved at:
D:\Demo\HelloWorld\retrieved\src\arash.sfbay.sun.com_8080\HelloService\Hello\__container_publishing_subctx\META-INF\wsdl\HelloService_schema1.xsd

Error: Exception while writing in to catalog.


Sep 25, 2006 2:25:37 PM : Retrieving Location:
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Retrieved :   
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd

        Saved at:
D:\Demo\HelloWorld\retrieved\src\arash.sfbay.sun.com_8080\HelloService\Hello\__container_publishing_subctx\META-INF\wsdl\HelloService_schema1.xsd
Comment 1 Sherry Barkodar 2006-09-26 00:02:28 UTC
Created attachment 34475 [details]
helloworld.zip
Comment 2 Sreenivasan Genipudi 2006-09-26 04:40:31 UTC
There are issues with the attached project.

1)
http://arash.sfbay.sun.com:8080/HelloService/Hello/__container$publishing$subctx/META-INF/wsdl/HelloService_schema1.xsd
is not reachable for me. I am not able to use Populate Catalog to retrieve the XSD.

2)       HelloWorld\src\HelloWorld.wsdl is importing invalid Schema..( not found )

    <xsd:import namespace="http://hellopack/"
schemaLocation="../../../../Demo/HelloWorld/src/Partners/Hello/HelloService_schema1.xsd"/>
which is causing trouble during deployment.

3)  I tried the similar scenario and could not reproduce the problem in populate
catalog.

 
Comment 3 Sreenivasan Genipudi 2006-09-26 06:16:24 UTC
Retry from scratch. If you still see this problem in populate catalog, please
assingn it to me.
Comment 4 Mikhail Kondratyev 2006-10-02 11:18:09 UTC
Could not reproduce with build from 2006.09.27
Will mark as verified