2 Replies Latest reply on Feb 28, 2006 5:39 PM by 807581

    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(Unknown 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/struts.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,

      <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.>