Hello all,
I am having serious problem with these two versions to Sun Java App. server.
I have on a test machine (desktop) the installation of version 9.1_01 while my laptop has version 9.0_01.
The problem is that webservice written in one will not deploy on the other. Both developments were done using Netbeans 5.5.
if I deploy the ear file designed on the laptop to the desktop, the fatal error come with an error I posted here in a previous thread -
http://forums.java.net/jive/thread.jspa?threadID=38739&tstart=105. the corresponding content of the log is
[#|2008-04-05T15:52:44.328+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=16;_ThreadName=Thread-40;_RequestID=c810066d-d4c0-45b7-8b0e-368a46c1ee95;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- C:\Sun\AppServer\domains\domain1\generated\xml\j2ee-apps\agency_app\agency_jar\META-INF\wsdl\AgencyModuleWebServiceService.wsdl (The system cannot find the file 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:1007)
at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:699)
at com.sun.enterprise.webservice.WsUtil.generateFinalWsdl(WsUtil.java:643)
at com.sun.enterprise.deployment.backend.WebServiceDeployer.doWebServiceDeployment(WebServiceDeployer.java:165)
at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:855)
at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:580)
at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp(EJBCompiler.java:339)
at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:222)
at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC(AppDeployer.java:359)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:214)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:129)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]
on the other hand, If I move an application ear file designed on the laptop to the desktop, I get the error
[#|2008-04-05T07:28:54.462-0700|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-32;ant;commons-attributes-compiler.jar;_RequestID=0e530888-59be-4e52-b346-075f502fa7c1;|DPL5401:Optional package ant does not exist or its Specification-Version doesnot match!! Unable to satisfy dependency for commons-attributes-compiler.jar|#]
[#|2008-04-05T07:28:54.462-0700|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-32;qdox;commons-attributes-compiler.jar;_RequestID=0e530888-59be-4e52-b346-075f502fa7c1;|DPL5401:Optional package qdox does not exist or its Specification-Version doesnot match!! Unable to satisfy dependency for commons-attributes-compiler.jar|#]
[#|2008-04-05T07:28:54.462-0700|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-32;commons-attributes-api;commons-attributes-compiler.jar;_RequestID=0e530888-59be-4e52-b346-075f502fa7c1;|DPL5401:Optional package commons-attributes-api does not exist or its Specification-Version doesnot match!! Unable to satisfy dependency for commons-attributes-compiler.jar|#]
[#|2008-04-05T07:28:54.462-0700|WARNING|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-32;javadoc;commons-attributes-compiler.jar;_RequestID=0e530888-59be-4e52-b346-075f502fa7c1;|DPL5401:Optional package javadoc does not exist or its Specification-Version doesnot match!! Unable to satisfy dependency for commons-attributes-compiler.jar|#]
[#|2008-04-05T07:28:56.664-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=17;_ThreadName=Thread-32;_RequestID=0e530888-59be-4e52-b346-075f502fa7c1;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Optional dependencies are not satisfied for archive [C:\Sun\AppServer\domains\leadwayportal\applications\j2ee-modules\PaymentSwitch], please see server.log for more details.
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:363)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:423)
at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:140)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
at com.sue.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
|#]
My question is that are both distribution incompatible with respect to web service development. Because, If I remove the Web service classes, everything else works fine.
anticipating an answer.
Regards,
Michael
[Message sent by forum member 'okmich' (okmich)]
http://forums.java.net/jive/thread.jspa?messageID=267850