We have one struts application working on a weblogic server 5.1 service pack 13.
I have put all the struts and apache libraries(struts.jar and commo**.jar, xerces.jar
etc ) in the server class path. They are not in the web-inf/lib directory.
I added another application which is similar to the first one.
Since the two applications are similar they have similar struts config file. The form
bean in the other application has one more extra property. This is a DynaValidatorForm.
When I start my application the config files get loaded for both the applications. The
new application gets loaded after the first application.
The first one runs fine. But I get an error for the second one.
If I remove the extra bean property both the applications work.
Is it because the struts config files are not getting initialized for the second
application.
I have tried deploying the applications so that the struts libraries are in the
WEB-INF/lib directory. But I keep getting class not found errors.
Wed Oct 15 12:27:38 EDT 2003:<I> <WebAppServletContext-SecondApp> /: init
Wed Oct 15 12:27:38 EDT 2003:<E> <WebAppServletContext-SecondApp> Root caus
e of ServletException
javax.servlet.jsp.JspException: Exception creating bean of class org.apache.stru
ts.validator.DynaValidatorForm: {1}
at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:563)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)
at jsp_servlet.__login._jspService(__login.java:194)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:138)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:169)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(
TilesRequestProcessor.java:254)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:309)
at com.tsys.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:196)
at com.tsys.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:169)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1069)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestP
rocessor.java:274)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Ti
lesRequestProcessor.java:320)
at com.tsys.common.struts.GeneralRequestProcessor.process(GeneralRequest
Processor.java:196)
at com.tsys.common.struts.GeneralActionServlet.process(GeneralActionServ
let.java:273)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:120)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:946)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
textImpl.java:910)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
ContextManager.java:277)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
a:403)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:285)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:130)
-Scott
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search