[JBoss-user] [JNDI/Naming/Network] - Re: JavaMail session lookup gives java.lang.ClassCastExcepti

2005-08-11 Thread aows
I figured out that the problem was being caused by api version conflicts. My webapp had a mail.jar api and jboss was giving me a session throug jndi with it's own version... removing the one in the app solved the problem... View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [JNDI/Naming/Network] - Re: JavaMail session lookup gives java.lang.ClassCastExcepti

2005-07-29 Thread aows
I forgot to mention, im using java 1.5 and jboss 4.0.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887397#3887397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887397 --

[JBoss-user] [JNDI/Naming/Network] - JavaMail session lookup gives java.lang.ClassCastException:

2005-07-29 Thread aows
Hi, i'm trying to get a javax.mail.Session fron JNDI, and getting a ClassCastException, even tho if i do System.out.print() of the context lookup, i see a javax.mail.Session object instance... Here is the code: | InitialContext ctx = new InitialContext(); | out.print(ctx.lookup("java:comp

[JBoss-user] [Installation & Configuration] - Re: conflicting apache axis versions

2005-02-16 Thread aows
it definately helps... and gives me hope. When jboss removes axis from the web services stack, the problem will go away... Ultimately i think that i need to learn if it is possible to resolve the problem and how, by using class loader issolation/override, since you never know when you'll be ru

[JBoss-user] [JBossWS] - conflicting apache axis packages...

2005-02-15 Thread aows
Hi... I have a big problem. My web app (in a war) uses a version of axis that has a method not present in the axis-ws4ee.jar, but evidently the classloader is trying to use classes in axis.ws4ee.jar. I've tried several things (like isolating the web app) unsuccesfully, at this point i'm not s

[JBoss-user] [Installation & Configuration] - conflicting apache axis versions

2005-02-15 Thread aows
Hi there... I have a big problem. My web app (in a war) uses a version of axis that has a method not present in the axis-ws4ee.jar, but evidently the classloader is trying to use classes in axis.ws4ee.jar. I've tried several things (like isolating the web app) unsuccesfully, at this point i'm