2nd post, please help
I have created a stand alone admin component outside the orion server, which use the MailerEJB functions to send emails. An exception will be thrown in MailHelper when I start running the stand-alone admin program, which is "java:com\env\mail\MailSession not found". here is resource-ref tag in ejb-jar.xml and web.xml resource-ref res-ref-namemail/MailSession/res-ref-name res-typejavax.mail.Session/res-type /resource-ref and here is mail-session tag in server.xml mail-session location="mail/MailSession" smtp-host="csah.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session Is anything missed? Kindly please help. Regards, ___ http://www.SINA.com - #1 Destination Site for Chinese Worldwide
2nd post, please help
I have created a stand alone admin component outside the orion server, which use the MailerEJB functions to send emails. An exception will be thrown in MailHelper when I start running the stand-alone admin program, which is "java:com\env\mail\MailSession not found". here is resource-ref tag in ejb-jar.xml and web.xml resource-ref res-ref-namemail/MailSession/res-ref-name res-typejavax.mail.Session/res-type /resource-ref and here is mail-session tag in server.xml mail-session location="mail/MailSession" smtp-host="csah.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session Is anything missed? Kindly please help. Regards, ___ http://www.SINA.com - #1 Destination Site for Chinese Worldwide
RE: 2nd post, please help
Try using java:comp/env/mail/MailSession. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 09, 2000 2:52 AM To: Orion-Interest Subject: 2nd post, please help I have created a stand alone admin component outside the orion server, which use the MailerEJB functions to send emails. An exception will be thrown in MailHelper when I start running the stand-alone admin program, which is "java:com\env\mail\MailSession not found". here is resource-ref tag in ejb-jar.xml and web.xml resource-ref res-ref-namemail/MailSession/res-ref-name res-typejavax.mail.Session/res-type /resource-ref and here is mail-session tag in server.xml mail-session location="mail/MailSession" smtp-host="csah.com" property name="mail.transport.protocol" value="smtp" / property name="mail.smtp.from" value="[EMAIL PROTECTED]" / property name="mail.from" value="[EMAIL PROTECTED]" / /mail-session Is anything missed? Kindly please help. Regards, ___ http://www.SINA.com - #1 Destination Site for Chinese Worldwide
Re: 2nd post, please help
Did you set all the properties you need to access the jndi tree in orion? You need to set these for a program outside orion access the orion JNDI tree: java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFctory java.naming.provider.url=ormi://host:ormi-port/domain (application) java.naming.security.principal=username java.naming.security.credentials=password (Taken from www.orionserver.com documentation) Hope this help -Original Message- GD From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] GD Sent: Monday, October 09, 2000 2:52 AM GD To: Orion-Interest GD Subject: 2nd post, please help GD I have created a stand alone admin component outside the orion server, which GD use the MailerEJB functions to send emails. An exception will be thrown in GD MailHelper when I start running the stand-alone admin program, which is GD "java:com\env\mail\MailSession not found". -- Best regards, Rafaelmailto:[EMAIL PROTECTED]