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!
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!