________________________________
From: José Antonio Delgado Trujillo <jadt...@gmail.com>
Sent: Friday, December 29, 2017 1:57 PM
To: Struts Users Mailing List
Subject: Re: log4j problem
I don’t know how to recompile lot with runtime jdk provided by JBOSS
MG>JBOSSConfiguration to JDK is explained here
https://access.redhat.com/articles/111663
JBoss Enterprise Application Platform (EAP) 6 Supported
...<https://access.redhat.com/articles/111663>
access.redhat.com
Register. If you are a new customer, register now for access to product
evaluations and purchasing capabilities. Need access to an account? If your
company has an ...
I rm log, data, tmp folders
restart wildfly, clean and deploy basic-struts, and when i put in the browser
localhost:8080/basic-struts/index.action
I see the Welcome to Struts 2 jsp
But i read in the console of wildly the next ..
MG>before you restart did you deploy your struts-basic*.war to
server/default/deploy folder?
MG>display struts.xml to determine mapping for namespace "/
MG>namespace might look something like e.g.
<package name="basic" extends="default" namespace="/">
MG>also display struts.xml to determine mapping for "basic-struts" (which would
be included in namespace definition)
MG>e.g.
MG> <action name="basic-struts" class="BasicStrutsAction">
MG>indicates BasicStrutsAction.java is either not compiled or
BasicStrutsAction.class is not on $CLASSPATH?
18:48:30,252 INFO [stdout] (default task-3) 2017-12-29 18:48:30,228 ERROR
[default task-3] dispatcher.Dispatcher (Dispatcher.java:609) - Could not find
action or result: /basic-struts/
18:48:30,253 INFO [stdout] (default task-3)
com.opensymphony.xwork2.config.ConfigurationException: There is no Action
mapped for namespace [/] and action name [] associated with context path
[/basic-struts].
18:48:30,254 INFO [stdout] (default task-3) at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:195)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,254 INFO [stdout] (default task-3) at
org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:57)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,254 INFO [stdout] (default task-3) at
org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:32)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,254 INFO [stdout] (default task-3) at
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,255 INFO [stdout] (default task-3) at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:564)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,255 INFO [stdout] (default task-3) at
org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,255 INFO [stdout] (default task-3) at
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:141)
~[struts2-core-2.5.14.1.jar:2.5.14.1]
18:48:30,255 INFO [stdout] (default task-3) at
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,256 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,256 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,257 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,257 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,258 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
~[?:?]
18:48:30,258 INFO [stdout] (default task-3) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,259 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,259 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,259 INFO [stdout] (default task-3) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,260 INFO [stdout] (default task-3) at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,260 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,260 INFO [stdout] (default task-3) at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,261 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,261 INFO [stdout] (default task-3) at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,261 INFO [stdout] (default task-3) at
io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,261 INFO [stdout] (default task-3) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,261 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
~[?:?]
18:48:30,262 INFO [stdout] (default task-3) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,262 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
~[?:?]
18:48:30,262 INFO [stdout] (default task-3) at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
~[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,262 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,263 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,263 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,263 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,263 INFO [stdout] (default task-3) at
io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,263 INFO [stdout] (default task-3) at
io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
~[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,264 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
~[?:?]
18:48:30,264 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
~[?:?]
18:48:30,264 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
~[?:?]
18:48:30,264 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
~[?:?]
18:48:30,265 INFO [stdout] (default task-3) at
org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)
~[?:?]
18:48:30,265 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,265 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,265 INFO [stdout] (default task-3) at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
[undertow-servlet-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,265 INFO [stdout] (default task-3) at
io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,266 INFO [stdout] (default task-3) at
io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
[undertow-core-1.4.18.Final.jar!/:1.4.18.Final]
18:48:30,266 INFO [stdout] (default task-3) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:1.8.0_144]
18:48:30,266 INFO [stdout] (default task-3) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_144]
18:48:30,266 INFO [stdout] (default task-3) at
java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
????
Strust configuration
[cid:C0D069B3-9DCA-44B0-A670-8885CA895893]
There is an action index !!!
I wrote localhost:8080/basic-struts/index.action !!!
I see the view index.jsp
Could not find action or result: /basic-struts/
18:48:30,253 INFO [stdout] (default task-3)
com.opensymphony.xwork2.config.ConfigurationException: There is no Action
mapped for namespace [/] and action name [] associated with context path
[/basic-struts].
I don’t understand anything :C