eclipse - Problems Deploying application to Weblogic through the Admin Console -


i'm using weblogic 10.3.5. when deploy struts2 application locally in eclipse, runs fine. when try deploy application through admin console, struts 2 error, name not found action.

when @ .war file, has libraries , classes. followed these directions deploying through admin console. can deploy through admin console, when try , use test links application, same error. if try access application through url:

http://localhost:7001/app-name 

i same error.

here stack trace:

[[active] executethread: '8' queue: 'weblogic.kernel.default (self-tuning)'] warn org.apache.struts2.dispatcher.dispatcher - not find action or result: /eservices/login.action there no action mapped namespace [/] , action name [login] associated context path [/eservices]. - [unknown location] @ com.opensymphony.xwork2.defaultactionproxy.prepare(defaultactionproxy.java:185) @ org.apache.struts2.impl.strutsactionproxy.prepare(strutsactionproxy.java:63) @ org.apache.struts2.impl.strutsactionproxyfactory.createactionproxy(strutsactionproxyfactory.java:37) @ com.opensymphony.xwork2.defaultactionproxyfactory.createactionproxy(defaultactionproxyfactory.java:58) @ org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:552) @ org.apache.struts2.dispatcher.ng.executeoperations.executeaction(executeoperations.java:77) @ org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter.dofilter(strutsprepareandexecutefilter.java:99) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:56) @ oracle.security.jps.ee.http.jpsabsfilter$1.run(jpsabsfilter.java:111) @ java.security.accesscontroller.doprivileged(native method) @ oracle.security.jps.util.jpssubject.doasprivileged(jpssubject.java:313) @ oracle.security.jps.ee.util.jpsplatformutil.runjaasmode(jpsplatformutil.java:413) @ oracle.security.jps.ee.http.jpsabsfilter.runjaasmode(jpsabsfilter.java:94) @ oracle.security.jps.ee.http.jpsabsfilter.dofilter(jpsabsfilter.java:161) @ oracle.security.jps.ee.http.jpsfilter.dofilter(jpsfilter.java:71) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:56) @ oracle.dms.servlet.dmsservletfilter.dofilter(dmsservletfilter.java:136) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:56) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.wraprun(webappservletcontext.java:3715) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.run(webappservletcontext.java:3681) @ weblogic.security.acl.internal.authenticatedsubject.doas(authenticatedsubject.java:321) @ weblogic.security.service.securitymanager.runas(securitymanager.java:120) @ weblogic.servlet.internal.webappservletcontext.securedexecute(webappservletcontext.java:2277) @ weblogic.servlet.internal.webappservletcontext.execute(webappservletcontext.java:2183) @ weblogic.servlet.internal.servletrequestimpl.run(servletrequestimpl.java:1454) @ weblogic.work.executethread.execute(executethread.java:209) @ weblogic.work.executethread.run(executethread.java:178)

what doing wrong? why can access application when deploy through eclipse, can't access application when deploy through admin console.

thanks help!

sounds struts.xml file in web-inf/classes somehow wrong when you're trying manual deploy. crack open .ear/.war file , see what's in struts.xml (if exists). eclipse might automatically putting folder doesn't deployed when manually. below working example reference:

<struts> <constant name="struts.devmode" value="true" /> <package name="default" namespace="/" extends="struts-default">      <action name="myaction"          class="com.something.myaction" >         <result name="success">pages/mypage.jsp</result>     </action>  </package> </struts> 

if project root context “app-name“, can access above action via url – http://domain:8080/app-name/myaction.action


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -