File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Mailing error" Watch "Mailing error" New topic

Mailing error

Shirley Ho

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...

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.
I agree. Here's the link:
subject: Mailing error
It's not a secret anymore!