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