• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception "IllegalArgumentException: Resource not found"  RSS feed

 
Rohan Kayan
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Application Server :- Oracle 10g Application Server.
IDE :- Oracle JDeveloper
Frame Work :- Struts


We have made a project using sturts, having our own Request Processor .Earlier this project was running fine on the Application server, then we added a new mapping in the struts-config.xml file ,an Action file and accordingly action form and jsps . Now when we run it using the JDeveloper then project ran fine , but as soon as we deploy it on Application server it starts throwing exception .

java.lang.IllegalArgumentException: Resource /InitWelcome.mc not found
at com.evermind[Oracle Application Server Containers for J2EE 10g

InitWelcome.mc is the mapping for the Welcome page . As soon as we remove these new additions the project again start working fine on the Application Server also . So please help me to find the problem .I am sending the whole Exception .


java.lang.IllegalArgumentException: Resource /InitWelcome.mc not found
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.EvermindPageContext.forward(EvermindPageContext.java:221)
at _PassRequest._jspService(_PassRequest.java:47)
[SRC:/PassRequest.jsp:1]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!