This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes javax.servlet.ServletException: Could not intialize: null (JWebmail and Eclipse Using Jboss AS) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "javax.servlet.ServletException: Could not intialize: null (JWebmail and Eclipse Using Jboss AS)" Watch "javax.servlet.ServletException: Could not intialize: null (JWebmail and Eclipse Using Jboss AS)" New topic
Author

javax.servlet.ServletException: Could not intialize: null (JWebmail and Eclipse Using Jboss AS)

pintu shah
Greenhorn

Joined: Nov 12, 2010
Posts: 24
i got following errors while deploying Jwebmail on Jboss AS

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Could not intialize: null
net.wastl.webmail.server.WebMailServlet.init(Unknown Source)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:662)

root cause

javax.servlet.UnavailableException
net.wastl.webmail.server.WebMailServer.initStorage(Unknown Source)
net.wastl.webmail.server.WebMailServer.doInit(Unknown Source)
net.wastl.webmail.server.WebMailServlet.init(Unknown Source)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:189)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:91)
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:92)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:325)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:662)

note The full stack trace of the root cause is available in the JBoss Web/2.1.1.CR7 logs.

what could be wrong?What do i need to put into classpath?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

This question appears to be related to JBoss AS, and not about IDEs, moving.

Also, you posted the errors that appear on the browser. There should also be errors posted in the console log, you should post those.


JBoss In Action
pintu shah
Greenhorn

Joined: Nov 12, 2010
Posts: 24
I will try to do that.
 
Don't get me started about those stupid light bulbs.
 
subject: javax.servlet.ServletException: Could not intialize: null (JWebmail and Eclipse Using Jboss AS)
 
Similar Threads
problem in ejb3 stateless session bean client
javax.servlet.ServletException: non-HTTP request or response
Passing List from Servlet to jsp ? - value of list becomes NULL
RuntimeException when trying to deploy application using jboss
Struts 1.2 not working properly in jboss-5.0.0.CR1