I'm am using JBoss 3.2.3 and I am trying get an existing web-application running with 
the tomcat version of JBoss. I've edited the jboss-service.xml with the following 
config parameters:


  | <attribute name="Java2ClassLoadingCompliance">true</attribute>
  | <attribute name="UseJBossWebLoader">false</attribute>
  | 

And I added a fixed context to the configuration pointing to the location where all 
the web-application files are stored.

Now when I try to call a page which sends a mail I get a compile error mentioning the

package javax.mail does not exist

error. However, if I list the class loader resources with the following code:


  | java.util.Enumeration resources = 
application.getClass().getClassLoader().getResources( "" );
  | 
  | while( resources.hasMoreElements() )
  |     out.println( resources.nextElement() + "<br>" );
  | 

I get the following list:


  | file:/D:/java/jboss-3.2.3/bin/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/jms/jbossmq-httpil.sar/
  | 
file:/D:/java/jboss-3.2.3/server/testapp/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/jbossweb-tomcat41.sar/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/jmx-invoker-adaptor-server.sar/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/jmx-console.war/
  | file:/D:/java/jboss-3.2.3/server/testapp/conf/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/http-invoker.sar/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/http-invoker.sar/invoker.war/
  | file:/D:/java/jboss-3.2.3/server/testapp/deploy/snmp-adaptor.sar/
  | file:/D:/java/jboss-3.2.3/server/testapp/tmp/deploy/tmp32607web-console.war/
  | 

I've tried all kinds of settings, but I am out of ideas. I hope someone can help me 
with this one. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837719#3837719

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837719


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to