1 Reply Latest reply on Jun 2, 2014 1:54 PM by Radoslav Husar

    the os environment can influence a project's running?

    Wind Wild Newbie

      Hi everyone

      Today I meet a strange problem,I am describing as following:

      When i deploy my project on wildfly which under Windows OS,i have no problem when i visited my project.But when i deploy it on wildfly which under Linux OS,and when i visited it,there is a problem as following:

      2014-05-29 09:25:32,643 ERROR [io.undertow.request] (default task-9) UT005023: Exception handling request to /g-dev/business/com.ai.omframe.web.SoFrameAction: javax.servlet.ServletException: javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
              at com.ai.appframe2.web.filter.LoginFilter.doFilter(LoginFilter.java:471) [appframe.jar:]
              at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
      
      
      Caused by: javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
              at com.ai.appframe2.web.action.CentralControlServlet.doGet(CentralControlServlet.java:64) [appframe.jar:]
              at com.ai.appframe2.web.action.CentralControlServlet.doPost(CentralControlServlet.java:70) [appframe.jar:]
              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:85) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at com.ai.appframe2.web.filter.expire.NewExpireResponseHeaderFilter.doFilter(NewExpireResponseHeaderFilter.java:213) [appframe.jar:]
              at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.10.Final.jar:1.0.10.Final]
              at com.ai.appframe2.web.filter.LoginFilter.doFilter(LoginFilter.java:399) [appframe.jar:]
              ... 27 more
      Caused by: java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
              at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
              at com.ai.appframe2.web.action.RequestProcessor.exeMethod(RequestProcessor.java:97) [appframe.jar:]
              at com.ai.appframe2.web.action.RequestProcessor.process(RequestProcessor.java:52) [appframe.jar:]
              at com.ai.appframe2.web.action.CentralControlServlet.doGet(CentralControlServlet.java:60) [appframe.jar:]
              ... 36 more
      Caused by: org.dom4j.DocumentException: Error on line 1 of document  : The element type "prodName" must be terminated by the matching end-tag "</prodName>". Nested exception: The element type "prodName" must be terminated by the matching end-tag "</prodName>".
              at org.dom4j.io.SAXReader.read(SAXReader.java:355) [dom4j.jar:1.3]
              at org.dom4j.io.SAXReader.read(SAXReader.java:261) [dom4j.jar:1.3]
              at com.ai.omframe.web.SoFrameAction.parsePageOfferDatasToValue(SoFrameAction.java:3534) [omframe.jar:]
              at com.ai.omframe.web.SoFrameAction.checkProductPreLimit(SoFrameAction.java:3629) [omframe.jar:]
              ... 43 more
      
      

      The above two OS‘s wildfly configuration are the same,so i don't know why it has above problem under Linux,is it the fault of my wildfly or my project?Is there anyone met this problem?

       

      Please help!

      Thanks!