[JBoss JIRA] (DROOLS-3348) Support Compiled Feel Expression in the kie-maven-plugin
by Kris Verlaenen (Jira)
[ https://issues.jboss.org/browse/DROOLS-3348?page=com.atlassian.jira.plugi... ]
Kris Verlaenen updated DROOLS-3348:
-----------------------------------
Sprint: 2018 Week 48-50, 2018 Week 51-01 (was: 2018 Week 48-50)
> Support Compiled Feel Expression in the kie-maven-plugin
> --------------------------------------------------------
>
> Key: DROOLS-3348
> URL: https://issues.jboss.org/browse/DROOLS-3348
> Project: Drools
> Issue Type: Enhancement
> Components: executable model
> Reporter: Luca Molteni
> Assignee: Luca Molteni
> Priority: Major
>
> Currently the kie-maven-plugin avoid generating and compiles FEELExpression from DMN such as
> ```
> import static org.kie.dmn.feel.codegen.feel11.CompiledFEELSemanticMappings.*;
> import org.kie.dmn.feel.codegen.feel11.CompiledCustomFEELFunction;
> import org.kie.dmn.feel.codegen.feel11.CompiledFEELExpression;
> import org.kie.dmn.feel.codegen.feel11.CompiledFEELSupport;
> import org.kie.dmn.feel.lang.EvaluationContext;
> public class TemplateCompiledFEELExpression implements CompiledFEELExpression {
> /**
> * FEEL: 20
> */
> @Override
> public Object apply(EvaluationContext feelExprCtx) {
> return K_20;
> }
> public static final java.math.BigDecimal K_20 = new java.math.BigDecimal(20, java.math.MathContext.DECIMAL128);
> }
> ```
> These are jitted at runtime.
> We could compile them in kjar to have a faster runtime
> Poker: 5
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11518) WAR deployment in 10.1.0 Final is failing itself after its successful deployment
by Srinivas ev (Jira)
[ https://issues.jboss.org/browse/WFLY-11518?page=com.atlassian.jira.plugin... ]
Srinivas ev commented on WFLY-11518:
------------------------------------
Is anyone looking over this issue? Please let me know,
> WAR deployment in 10.1.0 Final is failing itself after its successful deployment
> --------------------------------------------------------------------------------
>
> Key: WFLY-11518
> URL: https://issues.jboss.org/browse/WFLY-11518
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.1.0.Final
> Reporter: Srinivas ev
> Assignee: Jason Greene
> Priority: Major
> Labels: highavailability
>
> Setup -- Wildfly Clustered ha with pacemaker
> pcs resource enable REST
> This will internally call custom bash scripts as below.
> APP_NAME = myproject-plf-core-fm-rest-api.war
> cd $MYPROJECT_DEPLOYMENT_DIR
> $MYPROJECT_HOME/wildfly/bin/jboss-cli.sh --connect controller=$HOST_NAME:$MYPROJECT_JBOSS_PORT <<EOF
> batch
> deploy ${APP_NAME} --name=${APP_NAME} --runtime-name=${APP_NAME}
> run-batch
> exit
> war is switching with deploy/undeploy as below without the success deployment. This leading to failure of other jars deployment in the cluster.
> 2018/12/14 15:45:49,053+05:30 WARN [org.jboss.as.weld] (MSC service thread 1-8) WFLYWELD0052: Using deployment classloader to load proxy classes for module com.alu.ipprd.myproject.core.fm.common:main. Package-private access will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]
> 2018/12/14 15:45:49,162+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 143) RESTEASY002225: Deploying javax.ws.rs.core.Application: class com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
> 2018/12/14 15:45:49,163+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 143) RESTEASY002200: Adding class resource com.alu.ipprd.myproject.core.fm.rest.service.web.service.CorrectiveService from Application class com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
> 2018/12/14 15:45:49,169+05:30 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 143) WFLYUT0021: Registered web context: /myproject-fm-service
> 2018/12/14 15:45:49,185+05:30 INFO [org.jboss.as.server] (management-handler-thread - 13) WFLYSRV0010: Deployed "myproject-plf-core-fm-rest-api.war" (runtime-name : "myproject-plf-core-fm-rest-api.war")
> 2018/12/14 15:45:59,878+05:30 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 143) WFLYUT0022: Unregistered web context: /myproject-fm-service
> 2018/12/14 15:45:59,882+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
> 2018/12/14 15:45:59,883+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
> 2018/12/14 15:45:59,932+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0028: Stopped deployment myproject-plf-core-fm-rest-api.war (runtime-name: myproject-plf-core-fm-rest-api.war) in 59ms
> 2018/12/14 15:45:59,944+05:30 WARN [org.jboss.as.controller] (management-handler-thread - 16) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
> 2018/12/14 15:45:59,950+05:30 INFO [org.jboss.as.repository] (management-handler-thread - 16) WFLYDR0002: Content removed from location /opt/myproject4/MBA_EmFmTm/wildfly/standalone/data/content/8a/3345fb0e0d70b34228d63a1cdaff54de522580/content
> 2018/12/14 15:45:59,950+05:30 INFO [org.jboss.as.server] (management-handler-thread - 16) WFLYSRV0009: Undeployed "myproject-plf-core-fm-rest-api.war" (runtime-name: "myproject-plf-core-fm-rest-api.war")
> 2018/12/14 15:46:03,190+05:30 INFO [org.jboss.as.repository] (management-handler-thread - 13) WFLYDR0001: Content added at location /opt/myproject4/MBA_EmFmTm/wildfly/standalone/data/content/8a/3345fb0e0d70b34228d63a1cdaff54de522580/content
> 2018/12/14 15:46:03,193+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027: Starting deployment of "myproject-plf-core-fm-rest-api.war" (runtime-name: "myproject-plf-core-fm-rest-api.war")
> 2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0059: Class Path entry slf4j-api-1.5.6.jar in /content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does not point to a valid jar for a Class-Path reference.
> 2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0059: Class Path entry slf4j-jdk14-1.5.6.jar in /content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does not point to a valid jar for a Class-Path reference.
> 2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0059: Class Path entry concurrent-1.3.2.jar in /content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does not point to a valid jar for a Class-Path reference.
> 2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0059: Class Path entry antlr-2.7.2.jar in /content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does not point to a valid jar for a Class-Path reference.
> 2018/12/14 15:46:05,510+05:30 INFO [org.jboss.as.pojo] (MSC service thread 1-4) WFLYPOJO0001: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).
> 2018/12/14 15:46:05,518+05:30 WARN [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0012: Warning while parsing vfs:/content/myproject-plf-core-fm-rest-api.war/WEB-INF/beans.xml:8 cvc-complex-type.3.2.2: Attribute 'bean-discovery-mode' is not allowed to appear in element 'beans'.
> 2018/12/14 15:46:05,519+05:30 WARN [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0012: Warning while parsing vfs:/content/myproject-plf-core-fm-rest-api.war/WEB-INF/beans.xml:8 cvc-complex-type.3.2.2: Attribute 'version' is not allowed to appear in element 'beans'.
> 2018/12/14 15:46:05,520+05:30 INFO [org.jboss.as.jpa] (MSC service thread 1-4) WFLYJPA0002: Read persistence.xml for dacPersistenceUnit
> 2018/12/14 15:46:05,620+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
> 2018/12/14 15:46:05,620+05:30 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 143) HHH000204: Processing PersistenceUnitInfo [
> name: dacPersistenceUnit
> ...]
> 2018/12/14 15:46:05,623+05:30 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment myproject-plf-core-fm-rest-api.war
> 2018/12/14 15:46:05,684+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
> 2018/12/14 15:46:05,685+05:30 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 143) HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
> 2018/12/14 15:46:05,697+05:30 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 143) Envers integration enabled? : true
> 2018/12/14 15:46:05,795+05:30 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool -- 143) HHH000397: Using ASTQueryTranslatorFactory
> 2018/12/14 15:46:06,328+05:30 WARN [org.jboss.as.weld] (MSC service thread 1-2) WFLYWELD0052: Using deployment classloader to load proxy classes for module com.alu.ipprd.myproject.core.fm.common:main. Package-private access will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]
> 2018/12/14 15:46:06,474+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 145) RESTEASY002225: Deploying javax.ws.rs.core.Application: class com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
> 2018/12/14 15:46:06,475+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n] (ServerService Thread Pool -- 145) RESTEASY002200: Adding class resource com.alu.ipprd.myproject.core.fm.rest.service.web.service.CorrectiveService from Application class com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
> 2018/12/14 15:46:06,477+05:30 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 145) WFLYUT0021: Registered web context: /myproject-fm-service
> 2018/12/14 15:46:06,493+05:30 INFO [org.jboss.as.server] (management-handler-thread - 13) WFLYSRV0010: Deployed "myproject-plf-core-fm-rest-api.war" (runtime-name : "myproject-plf-core-fm-rest-api.war")
> 2018/12/14 15:46:16,895+05:30 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 145) WFLYUT0022: Unregistered web context: /myproject-fm-service
> 2018/12/14 15:46:16,902+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 148) WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
> 2018/12/14 15:46:16,908+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 148) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
> 2018/12/14 15:46:16,942+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment myproject-plf-core-fm-rest-api.war (runtime-name: myproject-plf-core-fm-rest-api.war) in 47ms
> 2018/12/14 15:46:16,956+05:30 WARN [org.jboss.as.controller] (management-handler-thread - 16) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
> 2018/12/14 15:46:16,962+05:30 INFO [org.jboss.as.repository] (management-handler-thread - 16) WFLYDR0002: Content removed from location /opt/myproject4/MBA_EmFmTm/wildfly/standalone/data/content/8a/3345fb0e0d70b34228d63a1cdaff54de522580/content
> 2018/12/14 15:46:16,962+05:30 INFO [org.jboss.as.server] (management-handler-thread - 16) WFLYSRV0009: Undeployed "myproject-plf-core-fm-rest-api.war" (runtime-name: "myproject-plf-core-fm-rest-api.war")
> Let me know incase require any more information.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11481) EL expressions that contain unnecessary parentheses fail
by Teresa Miyar (Jira)
[ https://issues.jboss.org/browse/WFLY-11481?page=com.atlassian.jira.plugin... ]
Teresa Miyar commented on WFLY-11481:
-------------------------------------
Sent PR https://github.com/eclipse-ee4j/el-ri/pull/79
> EL expressions that contain unnecessary parentheses fail
> --------------------------------------------------------
>
> Key: WFLY-11481
> URL: https://issues.jboss.org/browse/WFLY-11481
> Project: WildFly
> Issue Type: Bug
> Reporter: Teresa Miyar
> Assignee: Teresa Miyar
> Priority: Major
> Labels: el-expresion
> Attachments: helloworld.war
>
>
> EL with unnecessary parentheses fail. For instance:
> {code}
> <c:set var = "i" scope = "session" value = "1"/>
> <c:if test="${(i) == '1'}">
> <p>i is: <c:out value = "${i}"/><p>
> </c:if>
> {code}
> The root exception clarified by byteman is:
> {code}
> 15:16:51,903 INFO [stdout] (http_8080 task-1) ----------------------->ParseException.init
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ParseException.<init>(ParseException.java:179)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.generateParseException(ELParser.java:2963)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.jj_consume_token(ELParser.java:2845)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.LambdaExpression(ELParser.java:295)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.Assignment(ELParser.java:226)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.SemiColon(ELParser.java:181)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.Expression(ELParser.java:174)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.DynamicExpression(ELParser.java:146)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.parser.ELParser.CompositeExpression(ELParser.java:43)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:182)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:237)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:295)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:112)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$JspAttribute.validateEL(Node.java:2151)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1400)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1204)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:855)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1535)
> 15:16:51,904 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2433)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$Root.accept(Node.java:464)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2375)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1834)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:218)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:652)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
> 15:16:51,905 INFO [stdout] (http_8080 task-1) javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> {code}
> Parser seems confused as if there's a Lamda expression to resolve. Seems tomcat had a similar issue:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=56179
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months
[JBoss JIRA] (WFLY-11517) Exception while running reports java.lang.StringIndexOutOfBoundsException: String index out of range: 10
by Suganya Rajeswaran (Jira)
[ https://issues.jboss.org/browse/WFLY-11517?page=com.atlassian.jira.plugin... ]
Suganya Rajeswaran commented on WFLY-11517:
-------------------------------------------
Yes...[~baranowb]
> Exception while running reports java.lang.StringIndexOutOfBoundsException: String index out of range: 10
> ---------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11517
> URL: https://issues.jboss.org/browse/WFLY-11517
> Project: WildFly
> Issue Type: Bug
> Reporter: Suganya Rajeswaran
> Assignee: Bartosz Baranowski
> Priority: Major
>
> Hi,
>
> I tried running a report in my application which is running on WildFly 14 server. I am getting the following exception,
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 10
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:473)
> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
> at in.textech.common.SessionFilter.doFilter(SessionFilter.java:86)
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
> at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
> at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1502)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:360)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 10
> at java.lang.String.substring(String.java:1963)
> at in.textech.library.FormatModifier.dbFormat(FormatModifier.java:79)
> at org.apache.jsp.reportViewers.EmployeePermission_002dviewer_jsp._jspService(EmployeePermission_002dviewer_jsp.java:204)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
> ... 50 more
>
> But the same works on JBoss AS 7. Kindly help me out to rectify this.
> Is there anything that I am missing out?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 7 months