DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17279>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17279

Axis does not work when installed in WEB-INF/lib





------- Additional Comments From [EMAIL PROTECTED]  2003-02-27 14:40 -------
This really seems to be Sun's bug. I found a very similar problem in Sun's bug 
database (# 4665132). Someone suggested this workaround there:

Before calling any code that uses the context classloader do

Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());

I tried this workaround in my code and it does the trick! I can now use the 
Axis distribution as is without any local hacks. (Sun's JWSDP 1.1 classes also 
suffered from the exact same problem as Axis and the same workaround also 
helped with JWSDP)

Reply via email to