Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I was the first guy in the world...

843830Mar 11 2003 — edited Dec 28 2003
...to connect Sun ONE Application Server to PostgreSQL, so I'm expecting to be the first guy in the world who has tried to send email from an EJB deployed on Sun ONE Application Server.

I've gone through all the docs and tried dozens of different variations...I can look up the Session properly, but the problem is when I call Transport.send(). It happens on my application, and ALSO on the sample JavaMail application that ships with S1AS. I've set up the sessions properly via the admin interface.

All I have to go on is the following (completely useless) stack trace. Any ideas?

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:364)
at javax.rmi.CORBA.Util.wrapException(Util.java:277)
at com.ai.coaching.ejb.directorymanager._DirectoryManager_Stub.sendEmailToAccount(Unknown Source)
at com.ai.coaching.web.SendEmailAction.perform(SendEmailAction.java:142)
at org.apache.struts.action.Action.execute(Action.java:415)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Caused by: java.rmi.RemoteException
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:451)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:545)
at com.ai.coaching.ejb.directorymanager.DirectoryManagerBean_EJBObjectImpl.sendEmailToAccount(DirectoryManagerBean_EJB

at com.ai.coaching.ejb.directorymanager._DirectoryManager_Stub.sendEmailToAccount(Unknown Source)
... 20 more
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2004
Added on Mar 11 2003
5 comments
92 views