aspose file tools*
The moose likes Struts and the fly likes resource  problem when deploying on weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "resource  problem when deploying on weblogic" Watch "resource  problem when deploying on weblogic" New topic
Author

resource problem when deploying on weblogic

mark anthony
Greenhorn

Joined: Mar 14, 2005
Posts: 13
hi everyone
i have a web application which I intend to deploy on weblogic.
When I do so I get the following exception :

any ideas ?

<Oct 3, 2006 11:18:58 AM EDT> <Info> <HTTP> <BEA-101122> <[ServletContext(id=68302598,name=calendar,context-path=/calendar)] Servlet: "action" is permanently unavailable.>
<Oct 3, 2006 11:18:58 AM EDT> <Error> <HTTP> <BEA-101018> <[ServletContext(id=68302598,name=calendar,context-path=/calendar)] Servlet failed with ServletException
javax.servlet.UnavailableException: Parsing error processing resource path
at org.apache.struts.action.ActionServlet.handleConfigException(Ljava/lang/String;Ljava/lang/Exception V(ActionServlet.java:1035)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(Ljava/lang/String;Ljava/lang/String;Lorg/apache/struts/config/ModuleConfig;Lorg/apache/commons/digester/Digester;Ljava/lang/String V(ActionServlet.java:1012)

also the struts-config.xml file is the following:


<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
$Id: struts-config.xml,v 1.2 2006/05/23 17:22:51 madamows Exp $
$Revision: 1.2 $
-->
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">

<struts-config>
<form-beans>
<form-bean name="CalendarForm"
type="com.lehman.eis.calendar.web.CalendarForm" />
</form-beans>

<global-forwards>
<forward name="index" path="/Index.do"/>
<forward name="missing" path="/missing.jsp"/>
<forward name="working" path="/working.jsp"/>
<forward name="failure" path="/error.jsp"/>
</global-forwards>

<action-mappings>
<action path="/Index" forward="/Calendar.jsp"/>

<action path="/Calendar"
type="com.lehman.eis.calendar.web.CalendarAction"
name="CalendarForm"
validate="true"
input="/Calendar.jsp">
<forward name="success" path="/Calendar.jsp"/>
<forward name="report" path="/CalendarReport.jsp"/>
</action>

</action-mappings>
<!-- <message-resources parameter="MessageResources" /> -->
<message-resources parameter="ApplicationResources" />
</struts-config>

what could the problem be?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The significant message here is "Parsing error processing resource path".

I'd suggest removing the commented-out <message-resources> tag and see if that fixes it.
[ October 03, 2006: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
mark anthony
Greenhorn

Joined: Mar 14, 2005
Posts: 13
it doesn't i am afraid...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Is the file ApplicationResources.properties in your WEB-INF/classes directory?
mark anthony
Greenhorn

Joined: Mar 14, 2005
Posts: 13
yes it is.
it's is really weird because it work perfecltly on another weblogic server !
mark anthony
Greenhorn

Joined: Mar 14, 2005
Posts: 13
i really need to find a solution to this... if i dont is going to affect my appraisal :-(

thanks again
 
jQuery in Action, 2nd edition
 
subject: resource problem when deploying on weblogic