Skip to main content

JAXB 2.0 API

3 replies [Last post]
beyonce2010
Offline
Joined: 2010-04-01
Points: 0

Hello

I installed Jetspeed2 following the steps in the following site:
http://portals.apache.org/jetspeed-2...installer.html
and when I get to the stage launching with the following link:
http://localhost:8080/jetspeed/
it gives me the following error:
Request Error Diagnostics
Error ID G7X663NZ
Message java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Apache/Jetspeed-2.2.0/webapps/jetspeed/WEB-INF/lib/jaxb-impl-2.1.9.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
Path /jetspeed/portal

I tried to solve following a tutorial by downloading JAXB-api.jar and put it in the directory: $ JDK_HOME /jre/ lib / endorsed, but unfortunately it does not change anything.
thank you in advance for your help

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
beyonce2010
Offline
Joined: 2010-04-01
Points: 0

hello

Please, I created a folder Endorsed in the following way: $ JDK_HOME / jre / lib / endorsed, and I put jaxws-api.jar and JAXB-api.jar in this directory, and after restart my pc but unfortunately no change, the problem persists, please if you have an idea that you could help me as it's been a week since I'm on the same problem

ramapulavarthi
Offline
Joined: 2004-06-01
Points: 0

It should have worked if the server is using the same JDK. May be the server is started with a different endorsed dir when it starts the vm.
Are you using Tomcat? which version of Tomcat? If it is Tomcat 6, copy the jaxws-api.jar and jaxb-api.jar to $TOMCAT_HOME/endorsed
If it is Tomcat 5, copy the jaxws-api.jar and jaxb-api.jar to $TOMCAT_HOME/common/endorsed

beyonce2010
Offline
Joined: 2010-04-01
Points: 0

I work on Jetspeed that installs its server tomcat automatically, so I have not installed it myself which why there is not a common folder on the file of Jetspeed but I have other files such as: bin, lib, conf, webapps, work, logs, pages, database ... it's almost the same files I uninstalled my tomcat.maintenant jdk7 and I will try with the jdk6u4.esperant it works, but until Now I see it or not I have to change exactly.
and thanks Tim for your response

Message was edited by: beyonce2010