p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

j2ee thread: deploy error


Message #1 by "shakila" <a_shakila@m...> on Fri, 27 Dec 2002 16:34:53
hi,
I installed j2sdkee1.4 in my machine.I'm trying to execute converter 
example.For that i'm successfully creating all .ear and .war file.But 
while deploying i'm getting the following error

distribute: 
C:\shaki\java\tutorial\j2eetutorial\examples\src\ejb\converter\ConverterApp
.ear
Deploy action running...
java.lang.Exception: Content is not allowed in prolog.

	at com.sun.ejb.codegen.J2EEGeneratorDriver.j2eeCompile
(J2EEGeneratorDriver.java:1297)

	at com.sun.ejb.codegen.J2EEGeneratorDriver.j2eeCompile
(J2EEGeneratorDriver.java:1238)

	at com.sun.enterprise.tools.deployment.main.DeployTool.deploy
(DeployTool.java:213)

	at com.sun.enterprise.deployapi.actions.DeployAction.run
(DeployAction.java:65)

	at java.lang.Thread.run(Thread.java:536)

Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.

	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1161)

	at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)

	at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read
(DeploymentDescriptorFile.java:210)

	at 
com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDesc
riptor(Archivist.java:181)

	at 
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive
(ApplicationArchivist.java:435)

	at 
com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive
(ApplicationArchivist.java:458)

	at com.sun.ejb.codegen.J2EEGeneratorDriver.j2eeCompile
(J2EEGeneratorDriver.java

can any one help me how to successfully deploy the application.
thanks in advance

shaki

  Return to Index