You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Charles <ch...@radworkz.com> on 2002/07/29 08:00:22 UTC

Deploying struts-example (Struts 1.1) on ServletExec 4.1 - MessageResources Nullpointer exception

Hi,

I have a question, for the struts example application (struts-example.war
from struts 1.1 nightly build), it worked fine in Tomcat 4.0 however when I
port it to ServletExec 4.1 running on Apache 4.0,  I get these error
messages:
----------------------------------------------------------------------------
-----
[Mon Jul 29 13:35:35 SGT 2002] java.lang.NullPointerException
[Mon Jul 29 13:35:35 SGT 2002]  at
org.apache.struts.util.MessageResources.getMessageResources(MessageResources
.java:558)
[Mon Jul 29 13:35:35 SGT 2002]  at
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1088)
[Mon Jul 29 13:35:35 SGT 2002]  at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:441)
[Mon Jul 29 13:35:35 SGT 2002]  at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
[Mon Jul 29 13:35:35 SGT 2002]  at
com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java:1650
)
[Mon Jul 29 13:35:35 SGT 2002]  at
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletConte
xt.java:47)
[Mon Jul 29 13:35:35 SGT 2002]  at
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServ
letContext.java:113)

----------------------------------------------------------------------------
---------------------
This problem occurs when deploying in either war-ed and exploded forms.

I have JAXP 1.1 and Xerces 1.4.4 loaded in servletExecs environment on
startup. I'm using jdk1.3.1.

I can't find much help for this problem on the net for ServletExec (although
there are help for Weblogic and JBuilder). Is there anyway around this or am
I missing something?

Thanks,

Charles



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Deploying struts-example (Struts 1.1) on ServletExec 4.1 - MessageResources Nullpointer exception

Posted by Charles <ch...@radworkz.com>.
Just to add on to my previous message, struts-documentation.war worked fine
on ServletExec 4.1 . I've successfully deployed that war file and it works
fine. The problem only occurs when deploying struts-example.war,
struts-validator.war, tiles-documentation.war etc. Does anyone had similar
problems?

Thanks
Charles

----- Original Message -----
From: "Charles" <ch...@radworkz.com>
To: <st...@jakarta.apache.org>
Sent: Monday, July 29, 2002 2:00 PM
Subject: Deploying struts-example (Struts 1.1) on ServletExec 4.1 -
MessageResources Nullpointer exception


> Hi,
>
> I have a question, for the struts example application (struts-example.war
> from struts 1.1 nightly build), it worked fine in Tomcat 4.0 however when
I
> port it to ServletExec 4.1 running on Apache 4.0,  I get these error
> messages:
> --------------------------------------------------------------------------
--
> -----
> [Mon Jul 29 13:35:35 SGT 2002] java.lang.NullPointerException
> [Mon Jul 29 13:35:35 SGT 2002]  at
>
org.apache.struts.util.MessageResources.getMessageResources(MessageResources
> .java:558)
> [Mon Jul 29 13:35:35 SGT 2002]  at
>
org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1088)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:441)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
> [Mon Jul 29 13:35:35 SGT 2002]  at
>
com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java:1650
> )
> [Mon Jul 29 13:35:35 SGT 2002]  at
>
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletConte
> xt.java:47)
> [Mon Jul 29 13:35:35 SGT 2002]  at
>
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServ
> letContext.java:113)
>
> --------------------------------------------------------------------------
--
> ---------------------
> This problem occurs when deploying in either war-ed and exploded forms.
>
> I have JAXP 1.1 and Xerces 1.4.4 loaded in servletExecs environment on
> startup. I'm using jdk1.3.1.
>
> I can't find much help for this problem on the net for ServletExec
(although
> there are help for Weblogic and JBuilder). Is there anyway around this or
am
> I missing something?
>
> Thanks,
>
> Charles
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Deploying struts-example (Struts 1.1) on ServletExec 4.1 - MessageResources Nullpointer exception

Posted by Charles <ch...@radworkz.com>.
Installed the patched from your link and the example struts application
works fine now :)
Robert thanks alot for the help!

Charles


----- Original Message -----
From: "Robert Taylor" <rt...@mulework.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, July 30, 2002 9:34 AM
Subject: RE: Deploying struts-example (Struts 1.1) on ServletExec 4.1 -
MessageResources Nullpointer exception


> Charles,
>
> Try downloading the latest version of SE.
> http://www.newatlanta.com/products/servletexec/download.jsp
>
> You can use your same SE4.1 license key. Let me know if you need
> help with installation.
>
>
> Then download and apply the patch 13 at
> ftp://ftp.newatlanta.com/public/4_1_1/patches/
>
>
> Let me know if this helps.
>
> robert
>
>
> > -----Original Message-----
> > From: Charles [mailto:charles@radworkz.com]
> > Sent: Monday, July 29, 2002 2:00 AM
> > To: struts-user@jakarta.apache.org
> > Subject: Deploying struts-example (Struts 1.1) on ServletExec 4.1 -
> > MessageResources Nullpointer exception
> >
> >
> > Hi,
> >
> > I have a question, for the struts example application
(struts-example.war
> > from struts 1.1 nightly build), it worked fine in Tomcat 4.0
> > however when I
> > port it to ServletExec 4.1 running on Apache 4.0,  I get these error
> > messages:
> > ------------------------------------------------------------------
> > ----------
> > -----
> > [Mon Jul 29 13:35:35 SGT 2002] java.lang.NullPointerException
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > org.apache.struts.util.MessageResources.getMessageResources(Messag
> > eResources
> > .java:558)
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > org.apache.struts.action.ActionServlet.initInternal(ActionServlet.
> > java:1088)
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > org.apache.struts.action.ActionServlet.init(ActionServlet.java:441)
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > javax.servlet.GenericServlet.init(GenericServlet.java:258)
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec
> > .java:1650
> > )
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplSe
> > rvletConte
> > xt.java:47)
> > [Mon Jul 29 13:35:35 SGT 2002]  at
> > com.newatlanta.servletexec.ApplServletContext.loadConfiguredServle
> > t(ApplServ
> > letContext.java:113)
> >
> > ------------------------------------------------------------------
> > ----------
> > ---------------------
> > This problem occurs when deploying in either war-ed and exploded forms.
> >
> > I have JAXP 1.1 and Xerces 1.4.4 loaded in servletExecs environment on
> > startup. I'm using jdk1.3.1.
> >
> > I can't find much help for this problem on the net for
> > ServletExec (although
> > there are help for Weblogic and JBuilder). Is there anyway around
> > this or am
> > I missing something?
> >
> > Thanks,
> >
> > Charles
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Deploying struts-example (Struts 1.1) on ServletExec 4.1 - MessageResources Nullpointer exception

Posted by Robert Taylor <rt...@mulework.com>.
Charles, 

Try downloading the latest version of SE.
http://www.newatlanta.com/products/servletexec/download.jsp

You can use your same SE4.1 license key. Let me know if you need
help with installation.


Then download and apply the patch 13 at
ftp://ftp.newatlanta.com/public/4_1_1/patches/


Let me know if this helps.

robert


> -----Original Message-----
> From: Charles [mailto:charles@radworkz.com]
> Sent: Monday, July 29, 2002 2:00 AM
> To: struts-user@jakarta.apache.org
> Subject: Deploying struts-example (Struts 1.1) on ServletExec 4.1 -
> MessageResources Nullpointer exception
> 
> 
> Hi,
> 
> I have a question, for the struts example application (struts-example.war
> from struts 1.1 nightly build), it worked fine in Tomcat 4.0 
> however when I
> port it to ServletExec 4.1 running on Apache 4.0,  I get these error
> messages:
> ------------------------------------------------------------------
> ----------
> -----
> [Mon Jul 29 13:35:35 SGT 2002] java.lang.NullPointerException
> [Mon Jul 29 13:35:35 SGT 2002]  at
> org.apache.struts.util.MessageResources.getMessageResources(Messag
> eResources
> .java:558)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> org.apache.struts.action.ActionServlet.initInternal(ActionServlet.
> java:1088)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:441)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> javax.servlet.GenericServlet.init(GenericServlet.java:258)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec
> .java:1650
> )
> [Mon Jul 29 13:35:35 SGT 2002]  at
> com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplSe
> rvletConte
> xt.java:47)
> [Mon Jul 29 13:35:35 SGT 2002]  at
> com.newatlanta.servletexec.ApplServletContext.loadConfiguredServle
> t(ApplServ
> letContext.java:113)
> 
> ------------------------------------------------------------------
> ----------
> ---------------------
> This problem occurs when deploying in either war-ed and exploded forms.
> 
> I have JAXP 1.1 and Xerces 1.4.4 loaded in servletExecs environment on
> startup. I'm using jdk1.3.1.
> 
> I can't find much help for this problem on the net for 
> ServletExec (although
> there are help for Weblogic and JBuilder). Is there anyway around 
> this or am
> I missing something?
> 
> Thanks,
> 
> Charles
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>