One quick-and-dirty thing to look for -- are all of your classes and their
constructors declared "public"?  If they are not, then Struts won't be
able to use reflection to get at their insides.

Craig


On Thu, 27 Jun 2002, Scott P. Bartle wrote:

> Date: Thu, 27 Jun 2002 14:32:22 -0600
> From: Scott P. Bartle <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Has anyone successfully implemented Jakarta Struts 1.0.2 in
>     iPlanet 6.5?
>
> I have been working on this issue for the past 3 days, and I've read a
> lot of questions on a variety of forums and mailing lists, but I have
> yet to find a solution to this problem.  The problem I am running into
> is the notorious IllegalAccessError.  Mapping the name "Director" to my
> ActionServlet, here is what I am seeing:
>
> Error in executing servlet Director: java.lang.IllegalAccessError: try
> to access class org.apache.struts.action.AddDataSourceRule from class
> org.apache.struts.action.ActionServlet
> [27/Jun/2002 11:25:33:9] error: APPLOGIC-caught_exception: Caught
> Exception:
> java.lang.ClassCastException: java.lang.IllegalAccessError
>         at
> com.netscape.server.servlet.servletrunner.ServletRunner.reportError(Unkn
> own Source)
>         at
> com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
> Source)
>         at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
>         at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
>         at com.kivasoft.thread.ThreadBasic.run(Native Method)
>         at java.lang.Thread.run(Thread.java:484)
>
> I have also tried to deploy the struts-example.war, and although it does
> successfully deploy, it fails and throws the above IllegalAccessError
> upon initializing the ActionServlet.
>
> I have been out to read Matt Raible's document
> (http://www.icsynergy.com/downloads/struts/strutsHowTo.html), and I have
> read the "Using Jakarta Struts on iPlanet Application Server"
> document(http://developer.iplanet.com/appserver/samples/struts/docs/stru
> ts.pdf), provided by Sun--both excellent documents if you haven't read
> them, yet.  Regardless of what I have tried, however, I have yet to see
> a successful implementation of Jakarta Struts with iPlanet 6.5.  I get
> the impression that others have had success with Jakarta Struts on prior
> releases of iPlanet, so I am hoping there is an answer to this issue for
> release 6.5, as well.
>
> All ideas are welcome!!
>
> Thanks for your help,
> -spb
>
> <ps -- I am posting this on jGuru and the Struts mailing list as well.
> If we find an answer to this issue, I will post the answer to all 3
> lists, as well.  Thanks, again.>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to