Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 55034 invoked from network); 16 Sep 2002 08:39:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Sep 2002 08:39:50 -0000 Received: (qmail 25915 invoked by uid 97); 16 Sep 2002 08:40:23 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 25869 invoked by uid 97); 16 Sep 2002 08:40:22 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 25855 invoked by uid 98); 16 Sep 2002 08:40:22 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 16 Sep 2002 10:39:39 +0200 (MEST) From: gernot.pfingstl@gmx.at To: "Struts Users Mailing List" MIME-Version: 1.0 References: Subject: Re: Installation struts-example.war 1.1-b2 X-Priority: 3 (Normal) X-Authenticated-Sender: #0001001309@gmx.net X-Authenticated-IP: [195.3.83.11] Message-ID: <32490.1032165579@www16.gmx.net> X-Mailer: WWW-Mail 1.5 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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" > >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.(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: > > > >For additional commands, e-mail: > > > > > > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- To unsubscribe, e-mail: For additional commands, e-mail: