Subject: Re: Struts 1.1 beta Sample DB app. = FREE T-Shirt From: "Ken Holzer" <[EMAIL PROTECTED]> === Hi Vic,
I was able to get the Struts-Tile example to run, after placing the xerces.jar in the lib directory. I did the same in the WebPIM and it is now working. Thanks for the help, Ken "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Do non-db sample from Struts run (Tiles, validator, struts-docs)?. > I tested on Tomcat4, Resin 2.1, and OrionServer. > Can you just get a hello world jsp? > My first page is just a non struts jsp in webPIM. > > I want to help!!!. > Vic > > Ken Holzer wrote: > > > Hi Vic, > > > > I downloaded the latest version and am trying to run it using WebSphere 4.0. > > > > I am getting the following error when I start the server: > > [02.04.10 09:52:27:953 CDT] 2b31e7c1 WebGroup I SRVE0091I: [Servlet LOG]: > > action: init > > [02.04.10 09:52:28:421 CDT] 2b31e7c1 ServletInstan X SRVE0100E: Did not > > realize init() exception thrown by servlet action: > > javax.servlet.UnavailableException: Parsing error processing resource path > > /WEB-INF/config/struts-config.xml > > > > at > > org.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet.j > > ava:780) > > > > at org.apache.struts.action.ActionServlet.init(ActionServlet.java:417) > > > > at > > org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.j > > ava:52) > > > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > > > at > > com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.ja > > va:802) > > > > at > > com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleSe > > rvlet.java:137) > > > > at > > com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycl > > eServlet.java:243) > > > > at > > com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleSer > > vlet.java:103) > > > > at > > com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388) > > > > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > > > > at > > com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java: > > 84) > > > > at > > com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServlet > > Manager.java:226) > > > > at > > com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebA > > ppServletManager.java:357) > > > > at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1001) > > > > at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:133) > > > > at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:234) > > > > at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:139) > > > > at > > com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:63 > > 3) > > > > at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36) > > > > at com.ibm.ws.runtime.Server.startModule(Server.java:615) > > > > at > > com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:333) > > > > at > > com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349 > > ) > > > > at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:882) > > > > at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519) > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158) > > > > at > > com.ibm.etools.websphere.tools.runner.api.ServerRunner$1.run(ServerRunner.ja > > va) > > > > > > I was able to run the Index.HTML and get to the First.JSP. The TestDAO runs > > OK but the tiles version fails (because of above error). > > > > Any help would be appreciated. > > > > Thanks, > > > > Ken > > > > > > "Vic Cekvenich" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED]... > > > >>I just placed a new version of the WebPIM on the downloads page. > >>(It uses the latest build of Struts 1.1 beta). > >> > >>First 10 people that deploy it, get a FREE shirt (in continental US). > >>1. You must send at least one line to this newsgroup or MVC newsgroup on > >>how to deploy tip. (MVC is on news.basebeans.com in a newsreader) > >>2. Send me ([EMAIL PROTECTED]) a screen shot of the app running (and > >>your mailing address). > >> > >> > >>Thanks, > >>Vic > >> > >>Major changes include factoring out DAO out of baseBeans/FormBeans > >>Also, this applications demonstrates the following: > >>* DB CRUD > >>* How to fork the action so it dispatches to right execute > >>* Use of factoring out DAO from FormBean so you can use any data source > >>(even EJB) > >>* Validation > >>* Messages > >>* Master/Detail > >>* Drill Down > >>* Iteration > >>* Formatting # and date > >>* Collections options drop downs > >>* Use of menu navigation using Struts menu to factor out navigation > >>* Use of Portal Tiles > >>- Navigation > >> > >> > > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

