I have checked and rechecked the package names and the struts config file.
There are no differences between the classes except for the functional
behavior of the two forms in in web-app. Again, they both inherit from the
same parent BaseActionForm, they both have a bean constructor. The .class
file is in the right place with the right file permissions.

So why can't be loaded?

Mysteries, mysteries.....

-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 18, 2003 5:01 PM
To: Struts Users Mailing List
Subject: Re: stuts 1.1 and iPlanet 6.0/SP6 Classloader question


off the top of my head I would check out your package name app.app2 doesnt
seem like a correct package name what is the package specification for your
GeneralActionForm class? -M
----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 18, 2003 6:47 PM
Subject: stuts 1.1 and iPlanet 6.0/SP6 Classloader question


> Hi folks,
>
> I have trawled through the mail list looking at the threads related to 
> the iPlanet web server and I am left with the general uneasy feeling 
> that
there
> are many unresolved issues with the iPlanet web server.
>
> I have been tracing a problem with web-app deployment on a iPlanet 
> 6.0/SP6 web server where twoweb-app deploys successfully and one runs 
> and the
other
> very similar one does not.
> The one that does run shows the dreaded ClassNotFoundException error 
> on
the
> very first action form load. (See stack trace below). The two webapps 
> are built in very similar pattern, all actions and action forms 
> inherit from
the
> same base classes, the deployed apps on the web server have the same 
> directory structure with the same permissions, and yes the failing 
> action form is in the right place in the WEB-INF/classes folder with 
> the same file/directory permission as other class files in both 
> webapps which load fine, (e.g. custom request processor).
>
> Deployment is done the same way for both webapps using the wdeploy 
> script. The deployment succeeds with no errors. The problem emerges 
> when you hit
the
> welcome url and struts loads up the first action form. It appears the 
> the classloader is not able to find the action form. The working 
> webapp runs successfully 100% of the time while failing one fails 100% 
> of the time at the same place. The webserver error logs are not very 
> helpful since only show a servlet exception.
>
> The two web-apps deploy and run just fine on Tomcat 4.1.27.
>
> As a secondary matter of interest I have not been able to get an
application
> to deploy and work successfully on iPlanet that references a secondary 
> messages resource file. The bean:messages tag fails to find the 
> alternate message bundle unless it is explicitly added to the JVM 
> classpath. I not
yet
> been able to find out why and have not heard back from Sun on the 
> matter.
>
> So any ideas on what would cause the iPlanet classloader to be so 
> flighty?
>
> Guidance and inspiration appreciated.
>
> Anthony
>
> --------
> java.lang.ClassNotFoundException: app.app2.GeneralActionForm  at 
> java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>  at java.security.AccessController.doPrivileged(Native Method)  at 
> java.net.URLClassLoader.findClass(URLClassLoader.java:183)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
>  at
>
org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
>  at
>
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:23
> 1)
>  at
>
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:837)
>  at 
> org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:552)
>  at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:520)
>  at _jsps._jsp._customerstart_jsp._jspService(_customerstart_jsp.java:126)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:256)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
> ava:246)
>  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:527)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:596)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)
>  at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
> Method)
>  at
>
com.iplanet.server.http.servlet.NSRequestDispatcher.include(NSRequestDispatc
> her.java:93)
>  at
>
org.apache.struts.action.RequestProcessor.doInclude(RequestProcessor.java:10
> 99)
>  at
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:272)
>  at
>
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:455)
>  at
>
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:320)
>  at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>  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:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)
>  at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
> Method)
>  at
>
com.iplanet.server.http.servlet.NSRequestDispatcher.include(NSRequestDispatc
> her.java:93)
>  at
>
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:408)
>  at
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
>  at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
>  at 
> org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
>  at
>
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
> va:881)
>  at 
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
>  at
>
_jsps._jsp._layouts._nestedTabsLayout_jsp._jspService(_nestedTabsLayout_jsp.
> java:410)
>  at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:256)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
> ava:246)
>  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:527)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:596)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)
>  at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
> Method)
>  at
>
com.iplanet.server.http.servlet.NSRequestDispatcher.include(NSRequestDispatc
> her.java:93)
>  at
>
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:408)
>  at
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
>  at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
>  at 
> org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
>  at
>
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
> va:881)
>  at 
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
>  at
>
_jsps._jsp._layouts._defaultlayout_jsp._jspService(_defaultlayout_jsp.java:5
> 41)
>  at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:256)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
> ava:246)
>  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:527)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:596)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)
>  at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
> Method)
>  at
>
com.iplanet.server.http.servlet.NSRequestDispatcher.include(NSRequestDispatc
> her.java:93)
>  at
>
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:408)
>  at
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
>  at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
>  at 
> org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
>  at
>
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
> va:881)
>  at 
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
>  at _jsps._jsp._customermain_jsp._jspService(_customermain_jsp.java:154)
>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:256)
>  at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.j
> ava:246)
>  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:527)
>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:596)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)
>  at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
> Method)
>  at
>
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatc
> her.java:48)
>  at
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 69)
>  at
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
>  at
>
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:455)
>  at
>
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:320)
>  at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>  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:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)
>  at
com.iplanet.server.http.servlet.NSServletSession.internalRedirect(Native
> Method)
>  at
>
com.iplanet.server.http.servlet.NSRequestDispatcher.forward(NSRequestDispatc
> her.java:48)
>  at
>
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
> 69)
>  at
>
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
> r.java:274)
>  at
>
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
> sor.java:455)
>  at
>
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
> estProcessor.java:320)
>  at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
>  at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>  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:853)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServl
> etRunner.java:919)
>  at
>
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1
> 061)
>  at
>
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
> r.java:981)--------
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to