Results 1 to 4 of 4
Thread: Javamail and different servers
- 07-12-2010, 05:56 PM #1
Member
- Join Date
- Jul 2010
- Posts
- 3
- Rep Power
- 0
Javamail and different servers
I develop my system on windows, using eclipse.
the resulting servlet is deployed to an offsite tomcat server.
This servlet uses javamail, and that seems to be screwing up, but only on the server. It runs fine on the devlopment machine.
It runs until it gets to the creation of the mimemessage
At that point, on the server, execution just halts. no errors, nothing, just stops.Java Code:Message msg = new MimeMessage(session);
I have no idea what would cause this, especially because It works fine on the development machine.
Any help would be greatly appreciated.
Thanks,
Clockwork
- 07-12-2010, 06:53 PM #2
Member
- Join Date
- Jul 2010
- Posts
- 3
- Rep Power
- 0
Got a little further.
It appears that i am getting a class def not found error.
The most common cause of this is that activation.jar is not included,
but i have confirmed that i have one there.
- 07-12-2010, 07:47 PM #3
Sounds like a classpath problem on the server.
- 07-12-2010, 07:57 PM #4
Member
- Join Date
- Jul 2010
- Posts
- 3
- Rep Power
- 0
Similar Threads
-
how to connect two servers??
By init in forum NetworkingReplies: 8Last Post: 03-28-2010, 06:59 PM -
Copy files between servers
By mcoto800 in forum Java ServletReplies: 1Last Post: 02-05-2010, 01:05 AM -
subforum for servers
By tushar88 in forum Suggestions & FeedbackReplies: 3Last Post: 03-10-2009, 02:25 AM -
Servers supporting EJBeans
By ravian in forum Enterprise JavaBeans (EJB)Replies: 3Last Post: 01-03-2008, 10:44 AM -
Looking for servers on ports
By Java Tip in forum Java TipReplies: 0Last Post: 12-13-2007, 09:28 AM


LinkBack URL
About LinkBacks

Bookmarks