You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/12/21 16:42:09 UTC

DO NOT REPLY [Bug 5555] New: - Cannot parse ejb-jar.xml file during the deployment process using Ant

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5555>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5555

Cannot parse ejb-jar.xml file during the deployment process using Ant

           Summary: Cannot parse ejb-jar.xml file during the deployment
                    process using Ant
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Build Process
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: jana.navaneethan@gte.com


Hi,
   I am using ANT latest version with iplanet6.0 app server.My project builds 
fine and the build process generates ear file.. When I use deploy task, It is 
trying to register using iasdeploy utility and gives an error saying (Cannot 
parse ejb-jar.xml file). I dont know what is the reason for this error.. I am 
using build deploy -v still it is not giving enough information.

Can someone help me with this.. Thanks in advance.

Regards,
Jana


Here is the console output..
install_ear:
     [copy] C:\NB\Signon\assemble\ear\Signon.ear omitted as 
C:\NB\Signon\Signon.ear is up to date.
     [echo] Copied Signon.ear to sample root directory.
     [echo] Executing iasdeploy to register Signon.ear.
     [exec] Current OS is Windows NT
     [exec] c:\iplanet\ias6\ias\bin\iasdeploy.bat deployapp -
verbose ../Signon.ear
     [exec] iasdeploy for iPlanet Application Server 6.0 SP3
     [exec] Debug level set to on ..
     [exec] Severity 1: Inside IasDeploy.main() ...
     [exec] Connected to LDAP server on jana port 389
     [exec] Severity 1: Inside  DeployJar server size ...1
     [exec] Severity 1: Inside  DeployJar Deployable action ...J2EEInstallEar
     [exec] Severity 1: Inside  DeployJar Deployable Name ...Signon
     [exec] Severity 1: Deploying to IAS, host name is jana
     [exec] Severity 1: SharedConfigServerGroup:Added: [jana:10817]
     [exec] Severity 1: Inside  DeployJar .. DeployGroupList  ..
     [exec] Severity 1: Inside  DeployJar .. before creating DeployThread..
     [exec] Severity 1: DeployThread: a new thread created
     [exec] Severity 1: Starting Connection Pool Manager
     [exec] Severity 1: DeployEngine.logon...Logged on to server: [jana:10817]
     [exec] Severity 1: Inside  DeployJar .. after forming DeployThread ..
     [exec] Severity 1: Inside  DeployJar .. after calling group Thread ..
     [exec] Severity 1: DeployThread: Now sequentially for server: [jana:10817]
     [exec] Severity 1:  Deployable Type : 1
     [exec] Severity 1: executeRPC successful ..
     [exec] Severity 1: The JAR Path is : c:\iplanet\ias6\ias\JAR
     [exec] Severity 1: destination file : c:/iplanet/ias6/ias/JAR/Signon.ear
     [exec] Severity 1: Sending file : C:\NB\Signon\src\..\Signon.ear
     [exec] Severity 1: 1c:\iplanet\ias6\ias\JAR\Signon.ear transferred
     [exec] jana:null
     [exec] jana:10 kas> deployment action ''J2EEInstallEar'' 
(c:/iplanet/ias6/ias/JAR/Signon.ear) running.
     [exec] Severity 1: DeployEngine.rpc_deploy_cmd: 10 kas> deployment 
action ''J2EEInstallEar'' (c:/iplanet/ias6/ias/J
AR/Signon.ear) running.
     [exec] Severity 1: DeployLogListener: sending packet 
c:/iplanet/ias6/ias/JAR/Signon.ear J2EEInstallEar
     [exec] Severity 1: DeployLogListener:j2eeappreg -nodeprecated  
c:/iplanet/ias6/ias/JAR/Signon.ear 2>&1 XXXXXXXX
     [exec] jana:j2eeappreg -nodeprecated  c:/iplanet/ias6/ias/JAR/Signon.ear 
2>&1
     [exec] Severity 1: DeployLogListener:10 Connected to LDAP server on jana 
port 389 XXXXXXXX
     [exec] jana:10 Connected to LDAP server on jana port 389
     [exec] Severity 1: DeployLogListener:10 java.lang.NullPointerException 
XXXXXXXX
     [exec] jana:10 java.lang.NullPointerException
     [exec] Severity 1: DeployLogListener:10    at 
java.util.zip.ZipFile.getInputStream(ZipFile.java:121) XXXXXXXX
     [exec] jana:10     at java.util.zip.ZipFile.getInputStream
(ZipFile.java:121)
     [exec] Severity 1: DeployLogListener:10    at 
java.util.jar.JarFile.getInputStream(JarFile.java:270) XXXXXXXX
     [exec] jana:10     at java.util.jar.JarFile.getInputStream
(JarFile.java:270)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.XmlUtil.getJarFileFromJar(Unknown Sour
ce) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.XmlUtil.getJarFileFromJar(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.ApplicationXmlUtil.handleModules(Unkno
wn Source) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.ApplicationXmlUtil.handleModules(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.ApplicationXmlUtil.parseApplicationFro
mDOM(Unknown Source) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.ApplicationXmlUtil.parseApplicationFromDOM
(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.ApplicationXmlUtil.xmlToDescriptor(Unk
nown Source) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.ApplicationXmlUtil.xmlToDescriptor(Unknown 
Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.J2eeAppReg.run(Unknown Source) XXXXXXX
X
     [exec] jana:10     at com.netscape.server.deployment.J2eeAppReg.run
(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.J2eeAppReg.main(Unknown Source) XXXXXX
XX
     [exec] jana:10     at com.netscape.server.deployment.J2eeAppReg.main
(Unknown Source)
     [exec] Severity 1: DeployLogListener:10 
com.netscape.server.deployment.ApplicationXmlException: cannot parse corres
ponding ejb-jar xml file! XXXXXXXX
     [exec] jana:10 com.netscape.server.deployment.ApplicationXmlException: 
cannot parse corresponding ejb-jar xml file!

     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.ApplicationXmlUtil.handleModules(Unkno
wn Source) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.ApplicationXmlUtil.handleModules(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.ApplicationXmlUtil.parseApplicationFro
mDOM(Unknown Source) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.ApplicationXmlUtil.parseApplicationFromDOM
(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.ApplicationXmlUtil.xmlToDescriptor(Unk
nown Source) XXXXXXXX
     [exec] jana:10     at 
com.netscape.server.deployment.ApplicationXmlUtil.xmlToDescriptor(Unknown 
Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.J2eeAppReg.run(Unknown Source) XXXXXXX
X
     [exec] jana:10     at com.netscape.server.deployment.J2eeAppReg.run
(Unknown Source)
     [exec] Severity 1: DeployLogListener:10    at 
com.netscape.server.deployment.J2eeAppReg.main(Unknown Source) XXXXXX
XX
     [exec] jana:10     at com.netscape.server.deployment.J2eeAppReg.main
(Unknown Source)
     [exec] Severity 1: DeployLogListener:10 j2eeappreg done. XXXXXXXX
     [exec] jana:10 j2eeappreg done.
     [exec] Severity 1: DeployLogListener:20 kas> deployment 
action ''J2EEInstallEar'' (c:/iplanet/ias6/ias/JAR/Signon.e
ar) complete. XXXXXXXX
     [exec] jana:20 kas> deployment action ''J2EEInstallEar'' 
(c:/iplanet/ias6/ias/JAR/Signon.ear) complete.
     [exec] jana:
     [exec] Finished deploying to jana at [21/Dec/2001 10:41:05]
     [exec] Severity 1: Removing admin@132.197.65.234:10817
     [exec] Current OS is Windows NT
     [exec] This OS, Windows NT was not found in the specified list of valid 
OSes: SunOS

deploy:

BUILD SUCCESSFUL

Total time: 18 seconds

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>