Re: [wildfly-dev] [infinispan-dev] WFLYTX0013 in the Infinispan Openshift Template
by Sebastian Laskawiec
Adding +WildFly Dev <wildfly-dev(a)lists.jboss.org> to the loop
Thanks for the explanation Rado.
TL;DR: A while ago Sanne pointed out that we do not set `node-identifier`
in transaction subsystem by default. The default value for the
`node-identifier` attribute it `1`. Not setting this attribute might cause
problems in transaction recovery. Perhaps we could follow Rado's idea and
set it to node name by default?
Some more comments inlined.
Thanks,
Sebastian
On Fri, Apr 13, 2018 at 7:07 PM Radoslav Husar <rhusar(a)redhat.com> wrote:
> Hi Sebastian,
>
> On Wed, Apr 11, 2018 at 2:31 PM, Sebastian Laskawiec
> <slaskawi(a)redhat.com> wrote:
> > Hey Rado, Paul,
> >
> > I started looking into this issue and it turned out that WF subsystem
> > template doesn't provide `node-identifier` attribute [1].
>
> I assume you mean that the default WildFly server profiles do not
> explicitly define the attribute. Right – thus the value defaults in
> the model to "1"
>
> https://github.com/wildfly/wildfly/blob/master/transactions/src/main/java...
> which sole intention seems to be to log a warning on boot if the value
> is unchanged.
> Why they decided on a constant that will be inherently not unique as
> opposed to defaulting to the node name (which we already require to be
> unique) as clustering node name or undertow instance-id does, is
> unclear to me.
> Some context is on https://issues.jboss.org/browse/WFLY-1119.
>
In OpenShift environment we could set it to `hostname`. This is guaranteed
to be unique in whole OpenShift cluster.
>
> > I'm not sure if you guys are the right people to ask, but is it safe to
> > leave it set to default? Or shall I override our Infinispan templates and
> > add this parameter (as I mentioned before, in OpenShift this I wanted to
> set
> > it as Pod name trimmed to the last 23 chars since this is the limit).
>
> It is not safe to leave it set to "1" as that results in inconsistent
> processing of transaction recovery.
> IIUC we already set it to the node name for both EAP and JDG
>
> https://github.com/jboss-openshift/cct_module/blob/master/os-eap70-opensh...
>
> https://github.com/jboss-openshift/cct_module/blob/master/os-jdg7-conffil...
> which in turn defaults to the pod name – so which profiles are we
> talking about here?
>
Granted, we set it by default in CCT Modules. However in Infinispan we just
grab provided transaction subsystem when rendering full configuration from
featurepacks:
https://github.com/infinispan/infinispan/blob/master/server/integration/f...
The default configuration XML doesn't contain the `node-identifier`
attribute. I can add it manually in the cloud.xml but I believe the right
approach is to modify the transaction subsystem.
> Rado
>
> > Thanks,
> > Seb
> >
> > [1] usually set to node-identifier="${jboss.node.name}"
> >
> >
> > On Mon, Apr 9, 2018 at 10:39 AM Sanne Grinovero <sanne(a)infinispan.org>
> > wrote:
> >>
> >> On 9 April 2018 at 09:26, Sebastian Laskawiec <slaskawi(a)redhat.com>
> wrote:
> >> > Thanks for looking into it Sanne. Of course, we should add it (it can
> be
> >> > set
> >> > to the same name as hostname since those are unique in Kubernetes).
> >> >
> >> > Created https://issues.jboss.org/browse/ISPN-9051 for it.
> >> >
> >> > Thanks again!
> >> > Seb
> >>
> >> Thanks Sebastian!
> >>
> >> >
> >> > On Fri, Apr 6, 2018 at 8:53 PM Sanne Grinovero <sanne(a)infinispan.org>
> >> > wrote:
> >> >>
> >> >> Hi all,
> >> >>
> >> >> I've started to use the Infinispan Openshift Template and was
> browsing
> >> >> through the errors and warnings this produces.
> >> >>
> >> >> In particular I noticed "WFLYTX0013: Node identifier property is set
> >> >> to the default value. Please make sure it is unique." being produced
> >> >> by the transaction system.
> >> >>
> >> >> The node id is usually not needed for developer's convenience and
> >> >> assuming there's a single node in "dev mode", yet clearly the
> >> >> Infinispan template is meant to work with multiple nodes running so
> >> >> this warning seems concerning.
> >> >>
> >> >> I'm not sure what the impact is on the transaction manager so I asked
> >> >> on the Narayana forums; Tom pointed me to some thourough design
> >> >> documents and also suggested the EAP image does set the node
> >> >> identifier:
> >> >> - https://developer.jboss.org/message/981702#981702
> >> >>
> >> >> WDYT? we probably want the Infinispan template to set this as well,
> or
> >> >> silence the warning?
> >> >>
> >> >> Thanks,
> >> >> Sanne
> >> >> _______________________________________________
> >> >> infinispan-dev mailing list
> >> >> infinispan-dev(a)lists.jboss.org
> >> >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> >> >
> >> >
> >> > _______________________________________________
> >> > infinispan-dev mailing list
> >> > infinispan-dev(a)lists.jboss.org
> >> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
> >> _______________________________________________
> >> infinispan-dev mailing list
> >> infinispan-dev(a)lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
6 years, 5 months
upgrade jboss-as-7.1.1.Final to wildfly-9.0.2.Final: action to tiles and *.do its not working
by wildflyuser
We are upgading from jboss-as-7.1.1.Final to wildfly-9.0.2.Final
Is there any change in undertow-servlet in wildfly-9.0.2.Final ?
When we access the action with *.do its working, but same when we try from
action to tiles and *.do its not working.
>From action to action is not working, plesae find the below log
ERROR [com.company.util.struts.JCActionServlet] HTML Parsing exception: :
javax.servlet.ServletException: JBWEB004036: File
"/superadmin/forwardToSuperAdminHome.do" not found
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:198)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:195)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
[struts-1.1.jar:1.1]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
[struts-1.1.jar:1.1]
at
com.company.util.struts.JCActionServlet.process(JCActionServlet.java:105)
[classes:]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
[struts-1.1.jar:1.1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:208)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:345)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:258)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:610)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
[struts-1.1.jar:1.1]
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
[struts-1.1.jar:1.1]
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
[struts-1.1.jar:1.1]
at
org.apache.jsp.web.tiles.layouts.pagebasenobreadnoline_jsp._jspx_meth_tiles_005fget_005f1(pagebasenobreadnoline_jsp.java:15954)
at
org.apache.jsp.web.tiles.layouts.pagebasenobreadnoline_jsp._jspService(pagebasenobreadnoline_jsp.java:4566)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:208)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:345)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:258)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:610)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
[struts-1.1.jar:1.1]
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
[struts-1.1.jar:1.1]
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
[struts-1.1.jar:1.1]
at
org.apache.jsp.web.tiles.layouts.base_jsp._jspx_meth_tiles_005fget_005f2(base_jsp.java:403)
at org.apache.jsp.web.tiles.layouts.base_jsp._jspService(base_jsp.java:277)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:208)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:345)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:258)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:610)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
[struts-1.1.jar:1.1]
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
[struts-1.1.jar:1.1]
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
[struts-1.1.jar:1.1]
at org.apache.jsp.superadmin.pages.view_jsp._jspService(view_jsp.java:73)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:198)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:195)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
[struts-1.1.jar:1.1]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
[struts-1.1.jar:1.1]
at
com.company.util.struts.JCActionServlet.process(JCActionServlet.java:105)
[classes:]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
[struts-1.1.jar:1.1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.jsdn.security.servlets.JSDNCacheFilter.doFilter(JSDNCacheFilter.java:122)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.jsdn.security.servlets.EAccessFilter.doFilter(EAccessFilter.java:170)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.globalization.GlobalizationFilter.doFilter(GlobalizationFilter.java:202)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.globalfilters.servlet.SessionFilter.doFilter(SessionFilter.java:94)
[jccore-1.62.jar:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_72]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_72]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_72]
--
Sent from: http://wildfly-development.1055759.n5.nabble.com/
6 years, 6 months
Security subsystem and its security-domain definitions in the servlet-distribution
by Yeray Borges
Hello everyone,
I'm doing a comparison between the different server configuration files
generated in normal distribution and servlet-distribution, basically
working on [1].
The security subsystem in the servlet distribution does not have these
security domains configured whereas they are in the normal distribution:
<subsystem xmlns="urn:jboss:domain:security:2.0">
<security-domains>
...
<security-domain name="jboss-web-policy" cache-type="default">
<authorization>
<policy-module code="Delegating" flag="required"/>
</authorization>
</security-domain>
<security-domain name="jboss-ejb-policy" cache-type="default">
<authorization>
<policy-module code="Delegating" flag="required"/>
</authorization>
</security-domain>
<security-domain name="jaspitest" cache-type="default">
<authentication-jaspi>
<login-module-stack name="dummy">
<login-module code="Dummy" flag="optional"/>
</login-module-stack>
<auth-module code="Dummy"/>
</authentication-jaspi>
</security-domain>
<security-domains>
I understand jboss-ejb-policy should not be configured because the
servlet-distribution does not use ejbs, but what about jaspitest?
I have no clue if it has to be included or not in the servlet-distribution.
Do you know if we should include it?
Regards,
Yeray
[1] https://issues.jboss.org/browse/WFLY-10421
6 years, 6 months
Notifications / Plans Around Upcoming WildFly Core Tags
by Darran Lofthouse
Hello,
Would it be possible to try and get some notifications or routine around
the WildFly Core tags so that teams that feed into WildFly Core can
coordinate around these?
The WildFly Core tags are the only way we can get our code changes into
WildFly. We have a few in progress RFEs that we are trying to coordinate
merging and tagging in conjunction with the remainder of the process. At
the same time I see Alpha2 has just been tagged - had I known there was an
upcoming Alpha I may have tried to set our dates around it to hit it. Even
if we don't have RFEs ready to merge if I know there is an imminent tag, if
we have a number of bug fixes merged to our repo I may create a new tag so
we can get our fixes into WildFly.
Regards,
Darran Lofthouse.
6 years, 6 months
java.net.SocketTimeoutException: connect timed out: .do not redirecting to my Action class.
by wildflyuser
java.net.SocketTimeoutException: connect timed out
19/06/2018 11:33:55,503 ERROR [com.company.util.struts.JCActionServlet] HTML
Parsing exception: : javax.servlet.ServletException: JBWEB004036: File
"/superadmin/forwardToSuperAdminHome.do" not found
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:306)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:198)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:195)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
[struts-1.1.jar:1.1]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
[struts-1.1.jar:1.1]
at
com.company.util.struts.JCActionServlet.process(JCActionServlet.java:105)
[classes:]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
[struts-1.1.jar:1.1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:208)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:345)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:258)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:610)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
[struts-1.1.jar:1.1]
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
[struts-1.1.jar:1.1]
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
[struts-1.1.jar:1.1]
at
org.apache.jsp.web.tiles.layouts.pagebasenobreadnoline_jsp._jspx_meth_tiles_005fget_005f1(pagebasenobreadnoline_jsp.java:13037)
at
org.apache.jsp.web.tiles.layouts.pagebasenobreadnoline_jsp._jspService(pagebasenobreadnoline_jsp.java:1693)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:208)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:345)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:258)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:610)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
[struts-1.1.jar:1.1]
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
[struts-1.1.jar:1.1]
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
[struts-1.1.jar:1.1]
at
org.apache.jsp.web.tiles.layouts.base_jsp._jspx_meth_tiles_005fget_005f2(base_jsp.java:322)
at org.apache.jsp.web.tiles.layouts.base_jsp._jspService(base_jsp.java:199)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToServlet(ServletInitialHandler.java:208)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.includeImpl(RequestDispatcherImpl.java:345)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.include(RequestDispatcherImpl.java:258)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:610)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
[struts-1.1.jar:1.1]
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
[struts-1.1.jar:1.1]
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
[struts-1.1.jar:1.1]
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
[struts-1.1.jar:1.1]
at org.apache.jsp.superadmin.pages.view_jsp._jspService(view_jsp.java:67)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:366)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
[jastow-1.1.1.Final.jar:1.1.1.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:198)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:195)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
[struts-1.1.jar:1.1]
at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
[struts-1.1.jar:1.1]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
[struts-1.1.jar:1.1]
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
[struts-1.1.jar:1.1]
at
com.company.util.struts.JCActionServlet.process(JCActionServlet.java:105)
[classes:]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
[struts-1.1.jar:1.1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at
io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.jsdn.security.servlets.JSDNCacheFilter.doFilter(JSDNCacheFilter.java:122)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.jsdn.security.servlets.EAccessFilter.doFilter(EAccessFilter.java:170)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.globalization.GlobalizationFilter.doFilter(GlobalizationFilter.java:214)
[classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
com.company.globalfilters.servlet.SessionFilter.doFilter(SessionFilter.java:94)
[jccore-1.62.jar:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
[undertow-servlet-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
[undertow-core-1.2.9.Final.jar:1.2.9.Final]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_51]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
--
Sent from: http://wildfly-development.1055759.n5.nabble.com/
6 years, 6 months
Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jcsqlpu' is defined
by wildflyuser
Upgade from jboss-as-7.1.1.Final to wildfly-9.0.2.Final we are facing below
issue
Caused by: java.lang.RuntimeException:
org.springframework.beans.factory.access.BootstrapException: Unable to
initialize group definition. Group resource name
[classpath*:beanRefContext.xml], factory key [ear.context]; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'ear.context' defined in URL
[vfs:/d01/wildfly-9.0.2.Final/standalone/deployments/app.ear/lib/advanced-api.jar/beanRefContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'importResourceController': Injection of autowired dependencies
failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private com.jamcracker.iaascommon.repository.ResourceTypeRepository
com.jamcracker.importresources.controller.ImportResourceControler.resourceTypeRepository;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'defaultResourceTypeRepository': Injection of
persistence dependencies failed; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'jcsqlpu' is defined
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.springframework.beans.factory.config.MethodInvokingFactoryBean#12'
defined in
"/d01/wildfly-9.0.2.Final/standalone/deployments/app.ear/lib/coreservice-serviceImpl-1.18-SNAPSHOT.jar/spring-context/coreservice-service-context.xml":
Invocation of init method failed; nested exception is
java.lang.IllegalStateException: Singleton instance not initialized yet
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.springframework.beans.factory.config.MethodInvokingFactoryBean#12'
defined in
"/d01/wildfly-9.0.2.Final/standalone/deployments/app.ear/lib/coreservice-serviceImpl-1.18-SNAPSHOT.jar/spring-context/coreservice-service-context.xml":
Invocation of init method failed; nested exception is
java.lang.IllegalStateException: Singleton instance not initialized yet
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.springframework.beans.factory.config.MethodInvokingFactoryBean#12'
in persistence.xml, i have proper entry, nost sure its working in
jboss-as-7.1.1.Final but not working in wildfly-9.0.2.Final
<persistence-unit name="jcsqlpu" transaction-type="JTA" >
<provider>org.hibernate.ejb.HibernatePersistence</provider>
------------------
----------------------
-------------------
</persistence-unit>
--
Sent from: http://wildfly-development.1055759.n5.nabble.com/
6 years, 6 months
Community Docs section in wildfly-proposals
by Kabir Khan
If you have an open PR for a proposal, can you please add in the Community Documentation section that I have just added to the template (See the end of [1]). Basically just indicate where the documentation for a feature will live:
== Community Documentation
////
Generally a feature should have documentation as part of the PR to wildfly master, or as a follow up PR if the feature is in wildfly-core. In some cases though the documentation belongs more in a component, or does not need any documentation. Indicate which of these will happen.
////
I have added that section because I find myself asking over and over again on RFEs where the feature documentation is. Often people say it is not needed as it is something trivial, but that could do with a bit more visibility.
Thanks,
Kabir
[1] https://raw.githubusercontent.com/wildfly/wildfly-proposals/master/design...
6 years, 6 months
Re: [wildfly-dev] Taglibs - correct location of TLD files packaged in JARs
by Tomas Hofman
Adding back the list...
So unless anyone posts any objections I will prepare a PR to that effect.
Thanks!
On 12/06/18 16:12, Remy Maucherat wrote:
> On Tue, Jun 12, 2018 at 4:06 PM, Tomas Hofman <thofman(a)redhat.com
> <mailto:thofman@redhat.com>> wrote:
>
> Hello Remy,
>
> just to explain, Jean Clere mentioned you might have an opinion on this,
> which is why I included you directly. Feel free to ignore this if you think
> this is more for other people.
>
>
> Right now I think this is a grey area, and both ways sound reasonably
> legitimate until there's a real clarification.
>
> Rémy
>
>
> Tomas
>
>
> On 12/06/18 15:58, Tomas Hofman wrote:
>
> Hi folks,
>
> we have an issue [0] where a web app with JAR packaged taglib is
> migrated from
> Tomcat to Wildfly/EAP and the two servers are resolving tablib location
> differently.
>
> The taglib file in the JAR is located in
> META-INF/resources/WEB-INF/tlds/hi.tld.
>
> It's added to the taglib map explicitly via <taglib> element in
> web-fragment.xml (in the same JAR):
>
> <taglib>
> <taglib-uri>/HiTag</taglib-uri>
> <taglib-location>/WEB-INF/tlds/hi.tld</taglib-location>
> </taglib>
>
> This works in Tomcat, which takes *META-INF/resources/* as the root for
> resolving <taglib-location>, and doesn't work in Wildfly, which takes
> *META-INF/* as the root.
>
> The functionality is described by JSP SPEC section 7.3 (I don't want to
> quote
> any parts here, because I would have to quote all of it) [1]. After going
> through it I think our interpretation is the correct one, though Apache
> think
> the contrary [2].
>
> However, would it hurt if we added META-INF/resources/ as another root
> to allow
> both options?
>
>
> [0] The issue: https://issues.jboss.org/browse/JBEAP-14757
> <https://issues.jboss.org/browse/JBEAP-14757>
> [1] JSP spec:
> http://download.oracle.com/otndocs/jcp/jsp-2_3-mrel2-eval-spec/
> <http://download.oracle.com/otndocs/jcp/jsp-2_3-mrel2-eval-spec/>
> [2] I wrote to Apache mailing list and Jeremy Boynes replied:
>
> """
> Here’s how I read the spec.
>
> JSP 7.3.3 talks about a “taglib map” using elements in the deployment
> descriptor per your example. Per JSP 7.3.2 the URI is mapped to a context
> relative path interpreted relative to the root of the web application.
> Resources contained in a web fragment jar are located in its
> /META-INF/resources directory. Tomcat/Jasper are synthesizing the
> effective web
> application from the resources in the fragments, then resolving the URI
> in the
> taglib map against that merged application. I think that’s a correct
> interpretation of the spec.
>
> JSP 7.3.1 refers to implicit map entries found by scanning the web
> application’s jars from WEB-INF/lib.
> """
>
> http://mail-archives.apache.org/mod_mbox/tomcat-taglibs-user/201805.mbox/...
> <http://mail-archives.apache.org/mod_mbox/tomcat-taglibs-user/201805.mbox/...>
>
>
>
> --
> Tomas Hofman
> Software Engineer, JBoss SET
> Red Hat
>
>
--
Tomas Hofman
Software Engineer, JBoss SET
Red Hat
6 years, 6 months