• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

javaMail --urgent

 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
i have written a class to send an email using javaMail 1.1.3, which is instantiated by a servlet and it's workin fine with java web server, but when i deployed to webSphere it's not working. Even websphere is not recognizing the package mail.jar.
(Note: webSphere supports javaMail 1.1.3).
thanx in advance
saj
 
Ranch Hand
Posts: 1902
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the first question that comes to mind (and I apologize if it is something you've checked) - are you sure the mail.jar is in the classpath?
------------------
Theodore Jonathan Casser
Sun Certified Programmer for the Java2 Platform
IBM Certified Specialist - WebSphere Application Server, Std. Ed, V3.5
 
Sajee Joseph
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanx for the reply,
i having a confusion,if webSphere supports javaMail, is it required to download javaMail API from sun site and need to mention its path ???
expecting reply ASAP
-prasanna
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd say Yes to your question, just because it supports it, doesn't mean it's already there ready to use.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am getting this Server caught unhandled exception from servlet [JSP 1.0 Processor] exception while sending email using JSP and JavaMail API(WAS 3.5 Enterprise edition). Can any one explain me about this or how to fix this exception.
Thanks,
Sunil
[01.09.19 09:57:57:621 EDT] 93f30605 WebGroup X [Servlet Error]-[{0}]: {1}: {2}
"JSP 1.0 Processor"
"Server caught unhandled exception from servlet [JSP 1.0 Processor]"
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught unhandled exception from servlet [JSP 1.0 Processor]
at javax.servlet.ServletException.<init>(ServletException.java:61)
at com.ibm.websphere.servlet.error.ServletErrorReport.<init>(ServletErrorReport.java:43)
at com.ibm.servlet.engine.webapp.WebAppErrorReport.<init>(WebAppErrorReport.java:31)
at com.ibm.servlet.engine.webapp.UncaughtServletException.<init>(WebApp.java:1714)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebApp.java:1286)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebApp.java:1106)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebApp.java:1039)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebGroup.java:646)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:202)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:347)
at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:216)
at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi sunil
check classpath for 'activation.jar' and 'mail.jar' if ur using sun's javaMail1.1.3.
-Prasann
 
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sunil,
Just go thru this link http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html.I feel it will help u.
Ravi
 
reply
    Bookmark Topic Watch Topic
  • New Topic