GeeCON Prague 2014*
The moose likes Java in General and the fly likes Can not access Struts2 action URL of deployed project on WebLOgic 9.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Can not access Struts2 action URL of deployed project on WebLOgic 9.2" Watch "Can not access Struts2 action URL of deployed project on WebLOgic 9.2" New topic
Author

Can not access Struts2 action URL of deployed project on WebLOgic 9.2

Roberta bahire
Greenhorn

Joined: Jan 04, 2011
Posts: 1
Hi All,

I have Deployed the project on WebLogic 9.2
It works till Welcome-page mentioned in web.xml , but on calling action URL it shows HTTP404 error on browser

1) On Weblogic domain log , it shows following warning message.

BEA-423420
Redirect is executed in begin or refresh action. Redirect url is
/console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplication
OverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dforwards%2CType%3DAppDeployment%22%29.

2) on weblogic server log , it shows many messages like following

BEA-240002
Struts module /diagnostics is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor
as the request processor, but the <controller

My web.xml :

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:j2ee="http//java.sun.com/xml/ns/j2ee">
<display-name>forwards</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>

</welcome-file-list>
</web-app>


weblogic.xml

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
<context-root>appname</context-root>
<jsp-descriptor>
<page-check-seconds>1</page-check-seconds>
<verbose>true</verbose>
</jsp-descriptor>

</weblogic-web-app>


struts.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd>;

<struts>

<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="false" />

<constant name="struts.custom.i18n.resources" value="ApplicationResources,c:/c.properties,Messages" />

<constant name="struts.ui.theme" value="FWDTheme" />
<constant name="struts.ui.templateDir" value="template" />

<package name="default" extends="struts-default" namespace="/">

</package>
</struts>

Im frusted over this issue , please somebody help me .
 
GeeCON Prague 2014
 
subject: Can not access Struts2 action URL of deployed project on WebLOgic 9.2