Hi, I am loking for a little help.
A new installtion and all going well.
Win sbs 2008
OpenKM 3.0 & jdk-1_5_0_17-windows-i586
The problem is that I am unable to send emails from the OpenKM system
Users have their respective email addresses set correctly.
This is the error code from system.log
2009-03-16 02:54:06,041 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar references URL file:/D:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/jbossws.sar/mail.jar which could not be opened, entry ignored
I have enable the application.url in OpenKM.cfg
and set the parametrs in mail-services.xml (not sure if these are correct)
I only need SMTP realy pop3 later on
All help appreciated.
Thanks Mark
The mail-services file is listed below for reference.
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>
<!-- ==================================================================== -->
<!-- Mail Connection Factory -->
<!-- ==================================================================== -->
<mbean code=\"org.jboss.mail.MailService\"
name=\"jboss:service=OpenKM\">
<attribute name=\"JNDIName\">java:/mail/OpenKM</attribute>
<attribute name=\"User\">nobody</attribute>
<attribute name=\"Password\">xxxx</attribute>
<attribute name=\"Configuration\">
<!-- A test configuration -->
<configuration>
<!-- Change to your mail server prototocol -->
<property name=\"mail.store.protocol\" value=\"pop3\"/>
<property name=\"mail.transport.protocol\" value=\"smtp\"/>
<!-- Change to the user who will receive mail -->
<property name=\"mail.user\" value=\"nobody\"/>
<!-- Change to the mail server -->
<property name=\"mail.pop3.host\" value=\"pop3.xxxxx.com\"/>
<!-- Change to the SMTP gateway server -->
<property name=\"mail.smtp.host\" value=\"smtp.iprimus.com.au\"/>
<!-- The mail server port -->
<property name=\"mail.smtp.port\" value=\"25\"/>
<!--Added by Mark 16 March 2009-->
<property name=\"mail.smtp.starttls.enable\" value=\"true\"/>
<property name=\"mail.smtp.auth\" value=\"true\"/>
<!-- Change to the address mail will be from -->
<property name=\"mail.from\" value=\"dms@xxxxx.com\"/>
<!-- Enable debugging output from the javamail classes -->
<property name=\"mail.debug\" value=\"true\"/>
</configuration>
</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
</server>
A new installtion and all going well.
Win sbs 2008
OpenKM 3.0 & jdk-1_5_0_17-windows-i586
The problem is that I am unable to send emails from the OpenKM system
Users have their respective email addresses set correctly.
This is the error code from system.log
2009-03-16 02:54:06,041 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/D:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar references URL file:/D:/OpenKM-3.0_JBoss-4.2.2.GA/server/default/deploy/jbossws.sar/mail.jar which could not be opened, entry ignored
I have enable the application.url in OpenKM.cfg
and set the parametrs in mail-services.xml (not sure if these are correct)
I only need SMTP realy pop3 later on
All help appreciated.
Thanks Mark
The mail-services file is listed below for reference.
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ -->
<server>
<!-- ==================================================================== -->
<!-- Mail Connection Factory -->
<!-- ==================================================================== -->
<mbean code=\"org.jboss.mail.MailService\"
name=\"jboss:service=OpenKM\">
<attribute name=\"JNDIName\">java:/mail/OpenKM</attribute>
<attribute name=\"User\">nobody</attribute>
<attribute name=\"Password\">xxxx</attribute>
<attribute name=\"Configuration\">
<!-- A test configuration -->
<configuration>
<!-- Change to your mail server prototocol -->
<property name=\"mail.store.protocol\" value=\"pop3\"/>
<property name=\"mail.transport.protocol\" value=\"smtp\"/>
<!-- Change to the user who will receive mail -->
<property name=\"mail.user\" value=\"nobody\"/>
<!-- Change to the mail server -->
<property name=\"mail.pop3.host\" value=\"pop3.xxxxx.com\"/>
<!-- Change to the SMTP gateway server -->
<property name=\"mail.smtp.host\" value=\"smtp.iprimus.com.au\"/>
<!-- The mail server port -->
<property name=\"mail.smtp.port\" value=\"25\"/>
<!--Added by Mark 16 March 2009-->
<property name=\"mail.smtp.starttls.enable\" value=\"true\"/>
<property name=\"mail.smtp.auth\" value=\"true\"/>
<!-- Change to the address mail will be from -->
<property name=\"mail.from\" value=\"dms@xxxxx.com\"/>
<!-- Enable debugging output from the javamail classes -->
<property name=\"mail.debug\" value=\"true\"/>
</configuration>
</attribute>
<depends>jboss:service=Naming</depends>
</mbean>
</server>