wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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??
Internal Servlet Error:
javax.servlet.ServletException: access denied (java.net.SocketPermission smtp.infinity-innovations.net resolve)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at administrator._0002fadministrator_0002fstudent_0005fadd_0002ejspstudent_0005fadd_jsp_6._jspService(_0002fadministrator_0002fstudent_0005fadd_0002ejspstudent_0005fadd_jsp_6.java:1405)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Root cause:
java.security.AccessControlException: access denied (java.net.SocketPermission smtp.infinity-innovations.net resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkConnect(SecurityManager.java:1042)
at java.net.InetAddress.getAllByName0(InetAddress.java:559)
at java.net.InetAddress.getAllByName0(InetAddress.java:540)
at java.net.InetAddress.getByName(InetAddress.java:449)
at javax.mail.URLName.getHostAddress(URLName.java:444)
at javax.mail.URLName.hashCode(URLName.java:420)
at java.util.Hashtable.get(Hashtable.java:320)
at javax.mail.Session.getPasswordAuthentication(Session.java:789)
at javax.mail.Service.connect(Service.java:216)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:95)
at javax.mail.Transport.send0(Transport.java:162)
at javax.mail.Transport.send(Transport.java:80)
at administrator._0002fadministrator_0002fstudent_0005fadd_0002ejspstudent_0005fadd_jsp_6._jspService(_0002fadministrator_0002fstudent_0005fadd_0002ejspstudent_0005fadd_jsp_6.java:331)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
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.
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
is it possible you havent specified the correct password?


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
 
 
subject: Mailing error
 
Similar Threads
Mailing error
Uploading file not working
Tomcat and Mysql Configuration
Urgent!!!! What is General Error ?
Uploading files