struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gernot.pfing...@gmx.at
Subject Re: Installation struts-example.war 1.1-b2
Date Mon, 16 Sep 2002 08:39:39 GMT
struts.jar is only in /WEB-INF/lib and I read installation-jr30.html (we are
already using struts 1.0 in production), but with 1.1b2 and the
struts-example app I have problems.

Thanks,
Gernot
> Is struts.jar in the common library directory for JRun?  It shouldn't be  
> and ClassNotFoundExceptions generally occur when this is the case.  
> struts.jar should only be in your /WEB-INF/lib/ directory for the struts 
> application you're developing.
> 
> Have you read this?
> http://jakarta.apache.org/struts/userGuide/installation-jr30.html
> 
> Dave
> 
> 
> >From: gernot.pfingstl@gmx.at
> >Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> >To: struts-user@jakarta.apache.org
> >Subject: Installation struts-example.war 1.1-b2
> >Date: Fri, 13 Sep 2002 19:13:38 +0200 (MEST)
> >
> >I tried to install the struts-example (version 1.1-b2) war-file, but
> after
> >starting the app server I got always following exceptions:
> >
> >09/13 13:18:29 error (JRun) Could not pre-load servlet: action
> >[javax.servlet.ServletException: Could not instantiate
> >org.apache.struts.action.ActionServlet]
> >[1]java.lang.NullPointerException
> >	at
>
>org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:558)
> >	at
>
>org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1153)
> >	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:449)
> >	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> >	...
> >
> >and
> >java.lang.ClassNotFoundException:
> >org.apache.struts.util.PropertyMessageResourcesFactory
> >	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >	at java.security.AccessController.doPrivileged(Native Method)
> >	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> >	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> >	at
>
>org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:193)
> >	at
>
>org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:169)
> >	at
>
>org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:557)
> >	at org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:140)
> >	at
>
>org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:169)
> >	at
>
>org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:557)
> >	at
>
>org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1153)
> >	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:449)
> >	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> >	...
> >
> >The class org.apache.struts.util.PropertyMessageResourcesFactory IS in
> the
> >struts.jar and struts.jar
> >IS in the web.inf/lib directory and this directory IS in the app servers
> >classpath.
> >Later I additionally put the above class in the web.inf/classes
> directory,
> >but without success.
> >
> >What's wrong?
> >
> >I tried installing with JRun 3.1 and the Sun JDK 1.3.1 and with IBM
> >WebSphere AEs 4.0.2
> >and IBM JDK 1.3.0.
> >
> >Thanks,
> >Gernot
> >
> >--
> >GMX - Die Kommunikationsplattform im Internet.
> >http://www.gmx.net
> >
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:struts-user-unsubscribe@jakarta.apache.org>
> >For additional commands, e-mail: 
> ><mailto:struts-user-help@jakarta.apache.org>
> 
> 
> 
> 
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos: 
> http://photos.msn.com/support/worldwide.aspx
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message