community-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alabax, Shaikh" <>
Subject RE: Servlet.service() for servlet action threw exception
Date Fri, 09 Nov 2012 14:09:32 GMT

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

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.


-----Original Message-----
From: Luciano Resende []
Sent: Thursday, November 08, 2012 9:50 PM
Subject: Re: Servlet.service() for servlet action threw exception

On Thu, Nov 8, 2012 at 8:04 AM, Alabax, Shaikh
<> 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-- Servlet.service() for servlet action threw exception:
> java.lang.NullPointerException
>           at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processPageFlowRequest(
>           at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(
>           at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(
>           at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(
>           at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(
>           at org.apache.struts.action.ActionServlet.doGet( [struts.jar:1.1]
>           at javax.servlet.http.HttpServlet.service( [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>           at javax.servlet.http.HttpServlet.service( [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>           at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>           at org.apache.catalina.core.StandardWrapperValve.invoke(
>           at org.apache.catalina.core.StandardContextValve.invoke(
>           at
>           at org.apache.catalina.core.StandardHostValve.invoke(
>           at org.apache.catalina.valves.ErrorReportValve.invoke(
>           at org.apache.catalina.core.StandardEngineValve.invoke(
>           at org.apache.catalina.connector.CoyoteAdapter.service(
>           at org.apache.coyote.http11.Http11Processor.process(
>           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
>           at$
>           at [rt.jar:1.6.0_14]
> 02:47:21,615 INFO  [org.apache.struts.util.PropertyMessageResources] (http--
Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true

This seems related to Apache Struts, and you should redirect your
question to their user mailing lists :

Luciano Resende

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

View raw message