Problems for adding external .jar files to a Web Service implemented on a Session Bean

A

angargal

I´m trying to develop a Web Service in Java, based on a single
stateless Session Bean, using some external classes packaged in JAR
files.

I use J2EE, Sun Application Server.

If I add the JAR files used in the bean classes, I get an error telling
that an EAR file should not have a classpath in its manifest. Exactly,
this error:

Assertion:Manifest file of an EAR file should not contain Class-Path
entries. Please refer to J2EE 1.4 Platform Specification Section #8.2
for further information.
Manifest file of this EAR file contains [ library/xml-apis.jar
library/xercesImpl.jar library/mysql-connector-java-3.0.15-ga-bin.jar
library/log4j-1.2.7.jar library/junit.jar library/jta-spec1_0_1.jar
library/jena.jar library/jdbc2_0-stdext.jar
library/jakarta-oro-2.0.5.jar library/icu4j.jar library/concurrent.jar
library/commons-logging.jar library/antlr.jar ] as the Class-Path
entry.
BookberWS.ear: Some tests failed.

Tried deleting the classpath from the manifest and, after fixing the
error derived from the checksum of the .ear file and trying to deploy
again, got:

[TIMEOUT: 'ProgressObject' never started running.]
deployment started : 0%

!!! Operation Incomplete [NotRunning] !!!

It seems to be impossible to solve this problem, nobody gives me any
useful ideas!
 
A

angargal

Ok, Agent Andrew, thank you for spending your valuable time on telling
me how to use the NewsGroups, but if you haven't got anything useful to
say, you'd better go on reading the other threads, instead of spoiling
mine

Thanks
 
A

Andrew Thompson

Ok, Agent Andrew, thank you for spending your valuable time on telling
me how to use the NewsGroups, but if you haven't got anything useful to
say,

Did you read the *first* response to your thread on
c.l.j.help prior to responding?
..you'd better go on reading the other threads, instead of spoiling
mine

Poor thing. There, there.

*Anytime*.

BTW - you now have a second reponse on the original thread.
<http://groups.google.com.au/group/comp.lang.java.help/msg/926c2c719631a020>

Do you intend reading that before continuing this thread?
We can also extend this discussion over to that one,
if you like. We have the technology.
 

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top