Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


JavaMail through the exchange server

Posted on 2004-11-01
Medium Priority
Last Modified: 2013-11-24
I'm using these :

OS Win2k prof.
DB : Oracle (Oracle Workflow DataBase)
My mail Server : Exchange server

i create a main class using the javaMail for sending email, this class is mainly located in jar file to be used by the ORacle Workflow listner for the external java.

when i test the class on my machine the class goes fine and sending the email, but when i put it in the jar file and let all the jar files that related to this class able to see by this class. the class throw an error as the following:

"the Following Exception has been thrown: java.lang.UnsatisfiedLinkError: doPrivileged
java.lang.UnsatisfiedLinkError: doPrivileged
      at javax.mail.SecuritySupport12.getContextClassLoader(SecuritySupport12.java:24)
      at javax.mail.Session.loadAllResources(Session.java:1061)
      at javax.mail.Session.loadProviders(Session.java:864)
      at javax.mail.Session.<init>(Session.java:188)
      at javax.mail.Session.getInstance(Session.java:210)
      at ae.mil.eforces.hr.workflow.ext.Notify.execute(Notify.java:100)
      at oracle.apps.fnd.wf.WFStandardQueue.executeFunction(WFStandardQueue.java)
      at oracle.apps.fnd.wf.WFFALsnr.listen(WFFALsnr.java)
      at oracle.apps.fnd.wf.WFFALsnr.main(WFFALsnr.java)
return false"

When i tried to see which line is the error i found that the error is throw on this stmt:

" Session session = Session.getInstance(properties,null);   "

Plz if any one can help me in this issue asap ...


Question by:samers
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 13

Accepted Solution

petmagdy earned 450 total points
ID: 12471712
it seems that Oracle Workflow engine has an Older JDK that dosn'y support Java mail libraries, what is Oracle workflow JDK version?

if it is old their is a work arround to solve this problem

Author Comment

ID: 12481074
The JDK version is 1.3.1_01 which I think is supporting JAVA Mail API's.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question