RE: Servlet.service() for servlet action threw exception
Hi, I did reach out to Apache Struts as per your suggestion and got the following reply from Apache Struts group. . - How is it related to Struts 1 ? As I know BeeHive is a page flow control engine (donated by BEA years ago) and it looks like a configuration problem, but rarely unrelated to Struts 1. - Even I am under the same impression that some configuration piece is wrong and hence trying for some help or assistance again here. Just an additional note - This project works fine in Weblogic and we are trying to port it to JBOSS/Tomcat. What we did is to remove bea dependents and use apache equivalents to run in it Tomcat/JBOSS. The changes we did to working bea code are as follows In jpf-struts-config.xml controller className=org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig inputForward=true processorClass=org.apache.beehive.netui.pageflow.PageFlowRequestProcessor In struts-config xml the following change controller className=org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig inputForward=true processorClass=org.apache.beehive.netui.pageflow.PageFlowRequestProcessor In beehive-netui-config.xml expression-language namecompat-netuiel/name factory-classorg.apache.beehive.netui.script.el.ExpressionEvaluatorImpl$NetUIELEngineFactory/factory-class /expression-language /expression-languages Commented !-- iterator-factories iterator-factory namerowset/name factory-classcom.bea.wlw.netui.util.iterator.RowSetIterator$RowSetIteratorPlant/factory-class /iterator-factory /iterator-factories -- I am hoping with this detailed info someone can provide some valuable inputs as to whether if I missed any key configuration step or some jar additions etc for making it work in Tomcat/JBOSS. Again the deployment seems to be fine and when I access the jpf welcome file then see the exception below in console. Are there any other places I need to take a close look at with respect to configuration. Thanks for any kind of help/assistance and is much appreciated. Regards, Shaikh -Original Message- From: Luciano Resende [mailto:luckbr1...@gmail.com] Sent: Thursday, November 08, 2012 9:50 PM To: dev@community.apache.org Subject: Re: Servlet.service() for servlet action threw exception On Thu, Nov 8, 2012 at 8:04 AM, Alabax, Shaikh shaikh.ala...@nttdata.com wrote: My application is deployed successfully on Jboss but when i run the application I get the below error in the console. help in fixing this issue please. 02:47:20,453 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/OEpollSched].[action]] (http--127.0.0.1-8080-1) Servlet.service() for servlet action threw exception: java.lang.NullPointerException at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(PageFlowRequestProcessor.java:707) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:474) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) [beehive-netui-core.jar:1.0.2] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [struts.jar:1.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar
Re: Servlet.service() for servlet action threw exception
On Fri, Nov 9, 2012 at 6:09 AM, Alabax, Shaikh shaikh.ala...@nttdata.comwrote: Hi, I did reach out to Apache Struts as per your suggestion and got the following reply from Apache Struts group. . - How is it related to Struts 1 ? As I know BeeHive is a page flow control engine (donated by BEA years ago) and it looks like a configuration problem, but rarely unrelated to Struts 1. - Even I am under the same impression that some configuration piece is wrong and hence trying for some help or assistance again here. Just an additional note - This project works fine in Weblogic and we are trying to port it to JBOSS/Tomcat. What we did is to remove bea dependents and use apache equivalents to run in it Tomcat/JBOSS. The changes we did to working bea code are as follows In jpf-struts-config.xml controller className=org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig inputForward=true processorClass=org.apache.beehive.netui.pageflow.PageFlowRequestProcessor In struts-config xml the following change controller className=org.apache.beehive.netui.pageflow.config.PageFlowControllerConfig inputForward=true processorClass=org.apache.beehive.netui.pageflow.PageFlowRequestProcessor In beehive-netui-config.xml expression-language namecompat-netuiel/name factory-classorg.apache.beehive.netui.script.el.ExpressionEvaluatorImpl$NetUIELEngineFactory/factory-class /expression-language /expression-languages Commented !-- iterator-factories iterator-factory namerowset/name factory-classcom.bea.wlw.netui.util.iterator.RowSetIterator$RowSetIteratorPlant/factory-class /iterator-factory /iterator-factories -- I am hoping with this detailed info someone can provide some valuable inputs as to whether if I missed any key configuration step or some jar additions etc for making it work in Tomcat/JBOSS. Again the deployment seems to be fine and when I access the jpf welcome file then see the exception below in console. Are there any other places I need to take a close look at with respect to configuration. Thanks for any kind of help/assistance and is much appreciated. Regards, Shaikh It's going to be very hard to get a response here, usually what you need to know is to identify what project this is related to, and contact that project mailing list. If this is an Apache Behive issue, unfortunately the project has been retired in 2012 (http://beehive.apache.org/) and I'm not sure you will be able to easily find someone to help with that. -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
Servlet.service() for servlet action threw exception
My application is deployed successfully on Jboss but when i run the application I get the below error in the console. help in fixing this issue please. 02:47:20,453 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/OEpollSched].[action]] (http--127.0.0.1-8080-1) Servlet.service() for servlet action threw exception: java.lang.NullPointerException at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(PageFlowRequestProcessor.java:707) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:474) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) [beehive-netui-core.jar:1.0.2] at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) [beehive-netui-core.jar:1.0.2] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [struts.jar:1.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:] at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_14] 02:47:21,615 INFO [org.apache.struts.util.PropertyMessageResources] (http--127.0.0.1-8080-1) Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true Thanks and Regards Shaikh Dahood | NTT DATA http://www.keane.com/ | Sr. Software Engineer | VoIP. 8809 6536 | m. +91.8125549543 | shaikh.ala...@nttdata.commailto:shaikh.ala...@keane.com __ Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding