[jboss-user] [JBossWS] - Problem Converting EJB2.1 to Web Services

mendaye do-not-reply at jboss.com
Thu Aug 30 18:17:49 EDT 2007


We have existing Session EJB and trying to convert it to Web Services. I have created all the WS artifact using ant task and also modify ejb-jar.xml to include the service point. However, when I deploy as part of an ear file I am getting the following errors. We are using JBOSS 4.0.4.  Based on JBOSS documenetaion, I don't need to include any exteranal jar for we services support.  Our ear deployed on a different directory "pvng" but we copy all the files, and dir from default. As shown below in the server log
commons-discovery.jar, saaj.jar, wsdl4j.jar, commons-logging.jar, jaxrpc.jar? Do I need to get all this JARs?

I am not sure what is going on here? Do I need to include all jars into a lib directory inside ear file?
Help... Pls look the error message I got in server log below.

2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/de.danet.an.wfcore-ejbs.jar references URL file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/commons-discovery.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/commons-discovery.jar could not be opened, does it exist?
	at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
	at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1119)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:873)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)

2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at de.danet.an.wfcore-ejbs.jar entry is lib/saaj.jar
2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/de.danet.an.wfcore-ejbs.jar references URL file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/saaj.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/saaj.jar could not be opened, does it exist?
	at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
	at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1119)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:873)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/de.danet.an.wfcore-ejbs.jar references URL file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/wsdl4j.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/wsdl4j.jar could not be opened, does it exist?
	at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
	at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1119)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:873)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881)
	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)

2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at de.danet.an.wfcore-ejbs.jar entry is lib/commons-logging.jar
2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/de.danet.an.wfcore-ejbs.jar references URL file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/commons-logging.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/commons-logging.jar could not be opened, does it exist?
	at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)


2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at de.danet.an.wfcore-ejbs.jar entry is lib/jaxrpc.jar
2007-08-30 15:41:31,592 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/de.danet.an.wfcore-ejbs.jar references URL file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/jaxrpc.jar which could not be opened, entry ignored
org.jboss.deployment.DeploymentException: url file:/C:/DEV/JBoss/jboss-4.0.4.GA/server/pvng/tmp/deploy/tmp30558pvng.ear-contents/lib/jaxrpc.jar could not be opened, does it exist?
	at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
	at org.jboss.deployment.MainDeployer.parseManifestLibraries(MainDeployer.java:1119)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:873)
	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881)








View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079794#4079794

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079794



More information about the jboss-user mailing list