Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Deployment with Ant Script problem

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I encountered the following error when I deploy my application using Ant Script on iAS6.0. Would appreciate if you guys can advise me on the trouble shooting. Thanks.........

Executing iasdeploy to register ../assemble/cgsEdiModule.jar.
[exec] iasdeploy for iPlanet Application Server 6.0 SP4
[exec] Debug level set to on ..
[exec] Severity 1: Inside IasDeploy.main() ...
[exec] Connected to LDAP server on PMSSYK port 389
[exec] Severity 1: Inside DeployJar server size ...1
[exec] Severity 1: Inside DeployJar Deployable action ...J2EEInstallEJBJar
[exec] Severity 1: Inside DeployJar Deployable Name ...cgsEdiModule
[exec] Severity 1: Deploying to IAS, host name is PMSSYK.hq.cias.com.sg
[exec] Severity 1: SharedConfigServerGroup:Added: [PMSSYK.hq.cias.com.sg: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: [PMSSYK.hq.cias.com.sg: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: [PMSSYK.hq.cias.com.sg:10817]
[exec] Severity 1: Deployable Type : 3
[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/cgsEdiModule.jar
[exec] Severity 1: Sending file : D:\AIMS\assemble\..\assemble\cgsEdiModule.jar
[exec] Severity 1: 1c:\iplanet\ias6\ias\JAR\cgsEdiModule.jar transferred
[exec] PMSSYK.hq.cias.com.sg:null
[exec] PMSSYK.hq.cias.com.sg:10 kas> deployment action ''J2EEInstallEJBJar'' (c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar) running.
[exec] Severity 1: DeployEngine.rpc_deploy_cmd: 10 kas> deployment action ''J2EEInstallEJBJar'' (c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar) running.
[exec] Severity 1: DeployLogListener: sending packet c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar J2EEInstallEJBJar
[exec] Severity 1: DeployLogListener:10 kas> deployment action ''J2EEInstallEJBJar'' (c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar) running. XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 kas> deployment action ''J2EEInstallEJBJar'' (c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar) running.
[exec] Severity 1: DeployLogListener: sending packet c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar J2EEInstallEJBJar
[exec] Severity 1: DeployLogListener:ejbreg -nodeprecated c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar 2>&1 XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:ejbreg -nodeprecated c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar 2>&1
[exec] Severity 1: DeployLogListener:10 Connected to LDAP server on PMSSYK port 389 XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 Connected to LDAP server on PMSSYK port 389
[exec] Severity 1: DeployLogListener:10 The current input file= c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 The current input file= c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar
[exec] Severity 1: DeployLogListener:10 SAXException XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 SAXException
[exec] Severity 1: DeployLogListener:10 org.xml.sax.SAXParseException: Expected "</session>" to terminate element starting on line 7. XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 org.xml.sax.SAXParseException: Expected "</session>" to terminate element starting on line 7.
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.fatal(Parser.java:2797) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.fatal(Parser.java:2797)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.fatal(Parser.java:2791) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.fatal(Parser.java:2791)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1405) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1405)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.content(Parser.java:1498) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.content(Parser.java:1498)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.content(Parser.java:1498) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.content(Parser.java:1498)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.parseInternal(Parser.java:491) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
[exec] Severity 1: DeployLogListener:10 at com.sun.xml.parser.Parser.parse(Parser.java:283) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.sun.xml.parser.Parser.parse(Parser.java:283)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.XmlUtil.coreGetDOMFromStream(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.XmlUtil.coreGetDOMFromStream(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.XmlUtil.getDOMFromJarEntry(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.XmlUtil.getDOMFromJarEntry(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbJARXmlUtil.parseIASSpecificXML(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbJARXmlUtil.parseIASSpecificXML(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbJARXmlUtil.xmlToDescriptor(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbJARXmlUtil.xmlToDescriptor(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbReg.run(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbReg.run(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbReg.main(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbReg.main(Unknown Source)
[exec] Severity 1: DeployLogListener:10 ------Register Enterprise Beans: ------ XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 ------Register Enterprise Beans: ------
[exec] Severity 1: DeployLogListener:10 CgsHouseManifestMaintCtlr XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 CgsHouseManifestMaintCtlr
[exec] Severity 1: DeployLogListener:10 execution of kreg returned non-zero return status, sts = -1 XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 execution of kreg returned non-zero return status, sts = -1
[exec] Severity 1: DeployLogListener:10 java.lang.NullPointerException XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 java.lang.NullPointerException
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.ComponentGDSUtil.getClassImpGDSKeyByGuid(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.ComponentGDSUtil.getClassImpGDSKeyByGuid(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbJARGDSUtil.putEjbToGDS(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbJARGDSUtil.putEjbToGDS(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbJARGDSUtil.putAllEjbsToGDS(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbJARGDSUtil.putAllEjbsToGDS(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbJARGDSUtil.putEjbJARDescriptorInGDS(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbJARGDSUtil.putEjbJARDescriptorInGDS(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbReg.registerEjbJar(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbReg.registerEjbJar(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbReg.run(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbReg.run(Unknown Source)
[exec] Severity 1: DeployLogListener:10 at com.netscape.server.deployment.EjbReg.main(Unknown Source) XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 at com.netscape.server.deployment.EjbReg.main(Unknown Source)
[exec] Severity 1: DeployLogListener:10 Exception in thread "main" XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:10 Exception in thread "main"
[exec] Severity 1: DeployLogListener:50 kas> deployment action ''J2EEInstallEJBJar'' (c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar) failed. XXXXXXXX
[exec] PMSSYK.hq.cias.com.sg:50 kas> deployment action ''J2EEInstallEJBJar'' (c:/iplanet/ias6/ias/JAR/cgsEdiModule.jar) failed.
[exec] PMSSYK.hq.cias.com.sg:
[exec] Could not deploy to PMSSYK.hq.cias.com.sg
[exec] Severity 1: Removing admin@172.16.2.125:10817
 
Author
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It looks like you have an invalid deployment descriptor. The first error of the stack trace appears to be:

It appears that the SAX parser within the deployment process cannot find a needed </session>.
David
 
Richard Green
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, David for your reply.
Cheers.
 
You have to be odd to be #1 - Seuss. An odd little ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic