This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Servlets and the fly likes Mailing error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Mailing error" Watch "Mailing error" New topic
Author

Mailing error

Shirley Ho
Greenhorn

Joined: Dec 03, 2002
Posts: 7
Can anyone please tell me what does this error mean??

When i tried it on my localhost it works but when upload it to the server it doesnt work and it produces this error.Can anyone tell me what is going on.


** edited by MC to put in UBB code tags **
[ February 21, 2003: Message edited by: Mike Curwen ]
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

your JVM has policy settings that are different (and more restrictive) than the ones on your localhost.

Here's a couple links I found...
http://spacemapper.sourceforge.net/DataStore/user_faq.html
http://forum.java.sun.com/thread.jsp?forum=61&thread=131520

the first is a product FAQ, but it gives you a good idea of the format of the java.policy file.

You might also try asking around in our Sockets forum. People there would probably have more experience with this error.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Mailing error