Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@www.apache.org Received: (qmail 79156 invoked from network); 9 Nov 2003 20:13:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Nov 2003 20:13:29 -0000 Received: (qmail 55761 invoked by uid 500); 9 Nov 2003 20:13:01 -0000 Delivered-To: apmail-jakarta-struts-user-archive@jakarta.apache.org Received: (qmail 55731 invoked by uid 500); 9 Nov 2003 20:13:01 -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 55718 invoked from network); 9 Nov 2003 20:13:00 -0000 Received: from unknown (HELO web9607.mail.yahoo.com) (216.136.129.186) by daedalus.apache.org with SMTP; 9 Nov 2003 20:13:00 -0000 Message-ID: <20031109201305.57113.qmail@web9607.mail.yahoo.com> Received: from [62.245.161.191] by web9607.mail.yahoo.com via HTTP; Sun, 09 Nov 2003 20:13:05 GMT Date: Sun, 9 Nov 2003 20:13:05 +0000 (GMT) From: =?iso-8859-1?q?alvin=20antony?= Subject: RE: Configuration Trouble To: Struts Users Mailing List In-Reply-To: <5FBA8DFA1085E84CA6F5367DAA77BC5503F36E@mail01.dynamichostings.local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-46271354-1068408785=:54073" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-46271354-1068408785=:54073 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello David, I note you are using Jrun3.0! I never had success to setup struts 1.1 with 3.0 but only with 3.1 and Jrun 4. It is worth to test with the new version. Alvin David Liles wrote: Thanks for the info.... I've moved the log4j.jar file to servers/lib and restarted the app and still have the same problem. This is the first Struts project deployed on this server since being rebuilt so I know there are no other struts.jar files.... even searched to make sure.... >From the error being displayed at the dev URL (http://dev.minimoon.biz), it seems as though JRun doesn't know how to interpret the struts tag.... when I change it back to a standard tag the server then errors when it encounters the tag. The log says it can't instantiate [0]javax.servlet.ServletException: Could not instantiate org.apache.struts.action.ActionServlet Any other suggestions? -----Original Message----- From: alvin antony [mailto:alvinbush@yahoo.com] Sent: Sunday, November 09, 2003 1:02 PM To: Struts Users Mailing List Subject: RE: Configuration Trouble Hi, I had this error before. It seems to be a bug in the Jrun. please double check if the old version of jar files from struts1.0 are in the class path for jrun. It will even cause problems when an another web application running on the same Jrun with old version of struts. I also run into problems with Log4j , can solve this by puting Log4j.jar unter server/lib folder, I knew it is not very nice. HTH, Alvin David Liles wrote: I've double checked the path and I have the file in the classes\resources folder named application.properties. It is all lower case.... so I have no idea why it isn't picking it up.... -----Original Message----- From: David Friedman [mailto:humble@ix.netcom.com] Sent: Sunday, November 09, 2003 11:57 AM To: Struts Users Mailing List Subject: RE: Configuration Trouble David, Your message resources statement: Seems to requires this exact file name: "WEB-INF/classes/resources/application.properties" Did you perhaps name it with a capital "A? starting "Application.resources" and forget to update your struts-config.xml file? The JRUN error says it is the message resources (that config line above) which has no resources file, hence the struts app failing. Regards, David -----Original Message----- From: David Liles [mailto:dave@dynamichostings.com] Sent: Sunday, November 09, 2003 12:40 PM To: Struts Users Mailing List Subject: RE: Configuration Trouble I have also found this error in the JRun event log. This error occurs when I attempt to start the web app. 11/09 11:35:54 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:577) at org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader .java:236) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader .java:190) at allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:17 7) at allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1308) at allaire.jrun.servlet.JRunSE.preloadServlets(JRunSE.java:979) at allaire.jrun.servlet.JRunSE.init(JRunSE.java:196) at allaire.jrun.ServletService.init(ServletService.java:66) at allaire.jrun.ServletService.init(ServletService.java:31) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader .java:236) at allaire.jrun.servlet.JRunSE.initServices(JRunSE.java:621) at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96) at allaire.jrun.servlet.JRunSE.init(JRunSE.java:187) at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35) at allaire.jrun.ServletService.init(ServletService.java:66) at allaire.jrun.ServletService.init(ServletService.java:31) at JRun.main(JRun.java:169) [0]javax.servlet.ServletException: Could not instantiate org.apache.struts.action.ActionServlet at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader .java:242) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader .java:190) at allaire.jrun.servlet.JRunServletLoader.loadServlet(JRunServletLoader.java:17 7) at allaire.jrun.servlet.JRunSE.getServletReference(JRunSE.java:1308) at allaire.jrun.servlet.JRunSE.preloadServlets(JRunSE.java:979) at allaire.jrun.servlet.JRunSE.init(JRunSE.java:196) at allaire.jrun.ServletService.init(ServletService.java:66) at allaire.jrun.ServletService.init(ServletService.java:31) at allaire.jrun.servlet.JRunServletLoader.loadServletInstance(JRunServletLoader .java:236) at allaire.jrun.servlet.JRunSE.initServices(JRunSE.java:621) at allaire.jrun.servlet.JvmContext.initServices(JvmContext.java:96) at allaire.jrun.servlet.JRunSE.init(JRunSE.java:187) at allaire.jrun.servlet.JvmContext.init(JvmContext.java:35) at allaire.jrun.ServletService.init(ServletService.java:66) at allaire.jrun.ServletService.init(ServletService.java:31) at JRun.main(JRun.java:169) -----Original Message----- From: David Friedman [mailto:humble@ix.netcom.com] Sent: Sunday, November 09, 2003 11:23 AM To: Struts Users Mailing List Subject: RE: Configuration Trouble David, What classes or taglibs are called from that index.jsp? Regards, David -----Original Message----- From: David Liles [mailto:dave@dynamichostings.com] Sent: Sunday, November 09, 2003 12:02 PM To: struts-user@jakarta.apache.org Subject: Configuration Trouble I am having trouble getting a struts web app to work on a JRun 3.0 SP2a server. When I develop and test locally (JBuilder 7) I do not have any problems, but as soon as I deploy the war to the JRun server I get errors. All of the necessary jar files are in the web app/WEB-INF/lib folder and not in the JRun servers/lib folder. I'll include the error message and struts-config.xml file..... I've tried to contact Macromedia but haven't gotten any response. Is anyone using JRun with Struts? Thanks error message: /: javax.servlet.ServletException: Exception thrown on line '4' from page 'E:\\www\\dev_minimoon\\index.jsp'. java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at allaire.jrun.jsp.JRunJSPStaticHelpers.createTagHandler(JRunJSPStaticHelpers. java:47) at jrun__index2ejspa._jspService(jrun__index2ejspa.java:38) at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1024) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:936) at allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34 ) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:177) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1024) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:936) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav a:88) at allaire.jrun.file.FileServlet.service(FileServlet.java:179) at allaire.jrun.servlet.JRunServletPool.service(JRunServletPool.java:92) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1024) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:936) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav a:88) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1163) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1153) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:382) at allaire.jrun.ThreadPool.run(ThreadPool.java:272) at allaire.jrun.WorkerThread.run(WorkerThread.java:75) struts-config.xml: "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> /> /> parameter="/admin/logon.jsp"/> type="org.apache.struts.actions.ForwardAction" parameter="/admin/supplier/add_supplier.jsp"/> type="org.apache.struts.actions.ForwardAction" parameter="/admin/category/add_category.jsp"/> type="org.apache.struts.actions.ForwardAction" parameter="/admin/item/add_item.jsp"/> parameter="/nav.jsp"/> type="org.apache.struts.actions.ForwardAction" parameter="/admin/nav.jsp"/> parameter="/main.jsp"/> type="biz.minimoon.actions.LogonAction" name="logonForm" scope="request" validate="true" input="/admin/logon.jsp"> type="biz.minimoon.actions.UpdateItemAction" name="updateItem" scope="request" validate="false" input="/admin/display/edit_item.jsp"> type="biz.minimoon.category.actions.UpdateCategoryAction" name="updateCategory" scope="request" validate="false" input="/admin/category/edit_category.jsp"> type="biz.minimoon.supplier.actions.UpdateCategoryAction" name="updateSupplier" scope="request" validate="false" input="/admin/supplier/edit_supplier.jsp"> type="biz.minimoon.actions.AddSupplierAction" name="addSupplier" scope="request" validate="true" input="/admin/supplier/add_supplier.jsp"> type="biz.minimoon.actions.AddCategoryAction" name="addCategory" scope="request" validate="true" input="/admin/category/add_category.jsp"> type="biz.minimoon.item.actions.AddItemAction" name="addItem" scope="request" validate="true" input="/admin/item/add_item.jsp"> type="biz.minimoon.item.actions.DisplayItemAction" scope="request" validate="false"> path="/admin/display/show_items.jsp" /> type="biz.minimoon.actions.ListCategoriesAction" scope="request" validate="false"> path="/admin/category/show_categories.jsp" /> type="biz.minimoon.supplier.actions.ListSuppliersAction" scope="request" validate="false"> path="/admin/supplier/show_suppliers.jsp" /> type="biz.minimoon.category.actions.GetCategoryAction" scope="request" validate="false"> path="/admin/category/edit_category.jsp" /> type="biz.minimoon.supplier.actions.GetSupplierAction" scope="request" validate="false"> path="/admin/supplier/edit_supplier.jsp" /> type="biz.minimoon.item.actions.GetItemAction" scope="request" validate="false"> --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now. --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.Download now. --0-46271354-1068408785=:54073--