• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
You can't have everything. Where would you put it?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic