For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > August 2005 > Problems with adding external jar files to a session bean









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problems with adding external jar files to a session bean
angargal

2005-08-02, 9:07 am

I=B4m 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. =20
BookberWS.ear: Some tests failed.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com