You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by James Black <jb...@ieee.org> on 2005/03/23 17:01:06 UTC

re: problem with SOAPMessage.class

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I get a linkage error when I try to have my non-beehive webservice
running in the same tomcat as the beehive one.

It appears that the problem is due to the fact that within the beehive
webapp SOAPMessage.class appears in two jar files, saaj.jar and
apache-xbean.jar.

I used to be able to have both running at the same time, this is
relatively recently that it failed to work.

Would it make sense to remove this class from apache-xbean.jar when you
distribute beehive?

Following is the error I actually get from the webservice, but there is
nothing in the logs to help me understand what is going on.  The error
is on the non-beehive side, in this example.

Servlet execution threw an exception
	org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:94)
</pre></p><p><b>root cause</b> <pre>java.lang.LinkageError: loader
constraints violated when linking javax/xml/soap/SOAPMessage class
	org.apache.axis.transport.http.AxisServlet.createMessageContext(AxisServlet.java:917)
	org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:612)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:94)

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCQZLCikQgpVn8xrARAp7zAJ9Wdq+Y/vHNMtEhAxOg+9E4lQKZugCfcE33
g7/tU/kNg1cYFrnDmfGIGWo=
=bItq
-----END PGP SIGNATURE-----