It works!

It is only necessary to include these lines in
WEB-INF/classes/struts.properties

#struts convention property modifications for Weblogic
struts.convention.action.includeJars=.*?/*your-web-app-name*.*?jar(!/)?
struts.convention.action.fileProtocols=jar,zip

Thanks a lot!

2012/10/23 Lukasz Lenart <[email protected]>

> Hi,
>
> Did you try to follow that [1] and I've extracted _wl_cls_gen.jar into
> classes folder and it works, looks like a problem with finding
> struts.xml and classes
>
> [1]
> http://tech-architecture.blogspot.com/2009/02/getting-struts-21-to-work-in-weblogic.html
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2012/10/23 Lukasz Lenart <[email protected]>:
> > Hi,
> >
> > A bit strange, I've downloaded the war from people.a.o/builds and
> > deployed to Tomcat and it works like a charm. Launched jetty:run from
> > the source of rest showcase (local copy of 2.3.6 tag) and works as
> > well.
> >
> > Next I've tested on Weblogic and got the same problem as you :\ Looks
> > like a configuration issue.
> >
> >
> > Kind regards
> > --
> > Łukasz
> > mobile +48 606 323 122 http://www.lenart.org.pl/
> > Warszawa JUG conference - Confitura http://confitura.pl/
> >
> > 2012/10/23 Andrea Pacini <[email protected]>:
> >> We have just deployed struts2-rest-showcase.war 2.3.6  on Weblogic
> Server
> >> ad we got the same error of the previous version calling URL:
> >> http://<HOST:PORT>/struts2-rest-showcase/orders
> >>
> >> This is the Exception:
> >>
> >> 2012-10-23 14:55:40,582 ERROR
> (org.apache.struts2.dispatcher.Dispatcher:38)
> >> - Exception
> >>  occurred during processing request: There is no Action mapped for
> >> namespace / and acti
> >> on name orders.
> >> There is no Action mapped for namespace / and action name orders. -
> >> [unknown location]
> >>         at
> >>
> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:1
> >> 85)
> >>         at
> >>
> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultA
> >> ctionProxyFactory.java:70)
> >>         at
> >>
> org.apache.struts2.rest.RestActionProxyFactory.createActionProxy(RestActionP
> >> roxyFactory.java:53)
> >>         at
> >>
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:534)
> >>         at
> >>
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOper
> >> ations.java:77)
> >>         at
> >>
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilt
> >> er(StrutsPrepareAndExecuteFilter.java:91)
> >>         at
> >>
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
> >>         at
> >>
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
> >> ebAppServletContext.java:3496)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to