jboss

JBoss access logs with log rotation

流过昼夜 提交于 2021-02-19 03:59:19
问题 I'm trying to tell my jboss to write an access log with all information I need and use a daily log rotation. So far this is not an issue. The ultimate goal is to send all access log entries to an elk stack using logstash forwarder. Also not that big a deal. The problem I'm having now is to define the access logs names. JBoss offers log rotation out of the box but adds a timestamp to each logfile so todays file also has a timestamp suffix. What I want to achive is the same behavior as tomcat

How do I enable on-the-fly compilation of JSPs in Wildfly 9?

心已入冬 提交于 2021-02-19 01:15:24
问题 I’m using Wildfly 9.0.0.CR2. How do I enable on-the-fly compilation of JSPs? I found this configuration in another thread <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> <configuration> <jsp-configuration development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true"/> </configuration> </subsystem> but alas, it doesn’t work, result in gin the below exception when I restart my JBoss server … 14:23:05,224 ERROR

How do I enable on-the-fly compilation of JSPs in Wildfly 9?

只谈情不闲聊 提交于 2021-02-19 01:14:05
问题 I’m using Wildfly 9.0.0.CR2. How do I enable on-the-fly compilation of JSPs? I found this configuration in another thread <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> <configuration> <jsp-configuration development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true"/> </configuration> </subsystem> but alas, it doesn’t work, result in gin the below exception when I restart my JBoss server … 14:23:05,224 ERROR

Resteasy 3 @Context HttpServletRequest always null

六月ゝ 毕业季﹏ 提交于 2021-02-18 19:48:20
问题 We were using Resteasy 2 but we are upgrading to Resteasy 3 and the HttpServletRequest injection is always null . Our modified security interceptor/filter that looks like: @Provider @ServerInterceptor @Precedence("SECURITY") public class SecurityInterceptor implements ContainerRequestFilter, ContainerResponseFilter { @Context private HttpServletRequest servletRequest; @Override public void filter(ContainerRequestContext requestContext) throws IOException { // Need access to "servletRequest"

Resteasy 3 @Context HttpServletRequest always null

佐手、 提交于 2021-02-18 19:45:33
问题 We were using Resteasy 2 but we are upgrading to Resteasy 3 and the HttpServletRequest injection is always null . Our modified security interceptor/filter that looks like: @Provider @ServerInterceptor @Precedence("SECURITY") public class SecurityInterceptor implements ContainerRequestFilter, ContainerResponseFilter { @Context private HttpServletRequest servletRequest; @Override public void filter(ContainerRequestContext requestContext) throws IOException { // Need access to "servletRequest"

Resteasy 3 @Context HttpServletRequest always null

心已入冬 提交于 2021-02-18 19:45:22
问题 We were using Resteasy 2 but we are upgrading to Resteasy 3 and the HttpServletRequest injection is always null . Our modified security interceptor/filter that looks like: @Provider @ServerInterceptor @Precedence("SECURITY") public class SecurityInterceptor implements ContainerRequestFilter, ContainerResponseFilter { @Context private HttpServletRequest servletRequest; @Override public void filter(ContainerRequestContext requestContext) throws IOException { // Need access to "servletRequest"

JConsole remote connection to JBoss EAP

核能气质少年 提交于 2021-02-18 06:48:11
问题 I am trying to connect to a remote jboss instance running on a server. I am using the following connection URL service:jmx:remoting-jmx://90.214.64.170:9999 When i do this i get the following 2 errors in the console window After selecting insecure i am presented with this I have, prior to connecting via jconsole also gone to the bin directory of my jboss server and run ./jconsole.sh which outputs the following to the command line CLASSPATH /usr/bin/java/jdk1.8.0_11/lib/jconsole.jar:/usr/bin

Need to add multiple items in list - decision table - Drools

那年仲夏 提交于 2021-02-13 17:35:40
问题 I need to create a new multiple instance of objects for the Pojo class in drools decision table. I have implemented using two facts Student fact and subject fact class. I need to fire all the rules in the decision table and I need to add all the values into array-list of the objects. But I'm getting only last rule values of decision table. It seems like decision table values are getting overridden. Fact 1 Class StudentFact{ private int id; private String name; private List<SubejctFact>

Need to add multiple items in list - decision table - Drools

爷,独闯天下 提交于 2021-02-13 17:34:47
问题 I need to create a new multiple instance of objects for the Pojo class in drools decision table. I have implemented using two facts Student fact and subject fact class. I need to fire all the rules in the decision table and I need to add all the values into array-list of the objects. But I'm getting only last rule values of decision table. It seems like decision table values are getting overridden. Fact 1 Class StudentFact{ private int id; private String name; private List<SubejctFact>

Jsp page on Spring mvc renders to whitescreen on page refresh

走远了吗. 提交于 2021-02-11 17:19:26
问题 Inside our application, we are randomly getting below issue while submitting requests. (occuring in different pages). On request submission,page suddenly goes blank. We have multiple dropdowns in Jsp page. On selecting some of the drop-down , form submission happens to populate other dropdowns. We found that new modelandview is returned from controller, but page goes blank. When we refresh the url, application is available again. Weird thing is , it doesn't not occur always even for same