-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
Hello,
Although I have seen that many people on this list
have successfully gotten the JavaMail package to work
with JServ (and I have followed the advice they have
given), I still cannot get it to work. I have
searched the FAQ and the list archive without any luck.
The JServ won't even load the mail.jar package! At
first I thought it was something wrong with my
application (since I got an exception from JServ) but
when I started to look more closely I noticed that
the jar-file isn't even loaded. As you can see from
the jserv.properties I'm specifying several other
packages (jndi, ldap) and they are indeed loaded into
the JServ CLASSPATH, which can be seen by looking at
the status page http://localhost/jserv/
Has anyone been able to get JavaMail working on my
configuration (se below)??? Does anyone know why the
mail.jar and activation.jar won't load? Is it only an
Apache - NT problem perhaps?
Regards,
/Marcus
------ Configuration and Information
Software
--------
JServ 1.0
Apache 1.3.9
NT 4.0 SP 5
JSDK 2.0, JavaMail 1.1.2, JAF 1.0.1
JServ Error log
---------------
It's obvious why I get the exception since the
mail.jar file isn't loaded (in the CLASSPATH)
[12/09/1999 19:31:51:418 GMT+02:00]
java.lang.NoClassDefFoundError: javax/mail/URLName
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
jserv.properties
----------------
wrapper.classpath=C:\Program Files\Apache
Group\Apache JServ\ApacheJServ.jar
wrapper.classpath=C:\java\jsdk2.0\lib\jsdk.jar
wrapper.classpath=C:\Java\Jndi1_2\lib\jndi.jar
wrapper.classpath=C:\Java\Ldap1_2\lib\ldap.jar
wrapper.classpath=C:\Java\javamail-1.1.2\mail.jar
wrapper.classpath=C:\Java\jaf-1.0.1\activation.jar
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]