dcsimg
"Resource not found" problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Tejas_Nomulwar
Posted On:   Thursday, December 6, 2007 06:26 AM

I have created a build.xml script for creating .ear and .war files. It creates the files correctly. When i deploy the file on server, it gets deployed successfully. But when i run the application, i get an error as : 500 Internal Server Error java.lang.IllegalArgumentException: Resource /collections/Collections_overview.do not found at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindPageContext.forward(EvermindPageContext.java:221) at _index._jspService(_index.java:48) [SRC:/index.jsp] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].http.OrionHttpJspPage.service(OrionH   More>>

I have created a build.xml script for creating .ear and .war files.
It creates the files correctly.
When i deploy the file on server, it gets deployed successfully.

But when i run the application, i get an error as :

500 Internal Server Error

java.lang.IllegalArgumentException: Resource
/collections/Collections_overview.do not found

at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindPageContext.forward(EvermindPageContext.java:221)

at _index._jspService(_index.java:48)

[SRC:/index.jsp]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)


I have checked the .ear file. It contains both the web.xml file as well as struts-config.xml file.
There is entry for the path /collections/Collections_overview.do in the struts-config file as well as the action class is also present for the path.


Can u please help in this problem?

   <<Less

Re: "Resource not found" problem

Posted By:   sreenath_reddy  
Posted On:   Thursday, December 6, 2007 06:29 AM

add the web application context before /collections/Collections_overview.do and try in the browser.
About | Sitemap | Contact