LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader

I am using NB 5.5.1 with JDK 6 and I am building an web service application. When I try to connect to my web service following error appears :

java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/netbeans-5.5.1/ide7/modules/ext/jaxws21/jaxb-impl.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/)

I tried using JDK 1.5 but the problem remained. I have found the solution on the web (Basically you need to put only two jars in the endorsed directory, jaxws-api.jar and jaxb-api.jar, see Endorsed Directory Mechanism for more details) but I don't want to use this one, because of the product specification. Is there any other way? I dont want the user deploying this app (service) to change anything in his JRE directory, in other words I want this application to be standalone and easy distributable.

[1073 byte] By [xhreskoa] at [2007-11-27 5:53:04]
# 1

Dear Juraj

When a finally find what I have been searching occured a mistake in a program and the program had to be cancelled. It happened when we expected it the least. I do not know why have you getting angry. I did not tak?your calculator. Even touched it. No metter how big pitfalls are we have to do our our best to succeed.

Best wishes

Chose Carreras

ChoseisCarerasisa at 2007-7-12 15:45:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...