>From: 李向榮 <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: Deployment Problem in iPlanet using Strut Example !! >Date: Wed, 26 Sep 2001 17:41:23 +0800 > >Thank you, trish > >But since me pass the javac problem, I still couldn't get it work. >There are showing some message list below : > >[26/九月/2001 17:37:17:7] info: -------------------------------------- >[26/九月/2001 17:37:17:7] info: action: init >[26/九月/2001 17:37:17:7] info: -------------------------------------- >[26/九月/2001 17:37:18:0] info: -------------------------------------- >[26/九月/2001 17:37:18:0] info: action: null >[26/九月/2001 17:37:18:0] info: -------------------------------------- >[26/九月/2001 17:37:19:8] error: Exception: SERVLET-execution_failed: Error >in executing servlet upl >oad: java.lang.IllegalAccessError: try to access class >org.apache.struts.action.AddDataSourceRule fr >om class org.apache.struts.action.ActionServlet >Exception Stack Trace: >java.lang.IllegalAccessError: try to access class >org.apache.struts.action.AddDataSourceRule from cl >ass org.apache.struts.action.ActionServlet > at >org.apache.struts.action.ActionServlet.initDigester(ActionServlet.java:1133) > at >org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1322) > at >org.apache.struts.action.ActionServlet.init(ActionServlet.java:465) > at javax.servlet.GenericServlet.init(GenericServlet.java:258) > at >com.netscape.server.servlet.servletrunner.ServletRepository.loadServlet(Unknown >Source) > at >com.netscape.server.servlet.servletrunner.ServletRepository.createInstance(Unknown >Source >) > at >com.netscape.server.servlet.servletrunner.ServletRunner.createServletInfo(Unknown >Source) > > at >com.netscape.server.servlet.servletrunner.AppInfo.preLoadServlets(Unknown >Source) > at >com.netscape.server.servlet.servletrunner.AppInfo.resetServlets(Unknown >Source) > at >com.netscape.server.servlet.servletrunner.AppInfo.<init>(Unknown Source) > at >com.netscape.server.servlet.servletrunner.ServletModule.getAppInfo(Unknown >Source) > at >com.netscape.server.servlet.servletrunner.ServletRunner.getAppInfo(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:479) > >[26/九月/2001 17:37:20:3] 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:479) > >What is it suppose means ? Is any access policy over there in Struts ? > >Regards >Frankie Lee >System Services/Project Manager >Mercuries Data Systems Ltd. >3F, 2, 150 Lane, Sec.5, Hsin I Rd., Taipei, Taiwan, R.O.C. >TEL: +886-2-27225333 ext.390 >FAX: +886-2-27222330 >MOBILE:+886-952994950 > >-----Original Message----- >From: Tricia Ong Cheah Yen [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, September 25, 2001 7:16 PM >To: [EMAIL PROTECTED] >Subject: RE: Deployment Problem in iPlanet using Strut Example !! > > >Frankie, > > you got to specify the the path of ur struts.jar in iPlanet's >java configuration file. So, in your jvm12.config, add in this line > > >jvm.classpath=C:/iPlanet/Servers/docs/YourWebApp/WEB-INF/lib/struts.jar > > however, if u are using iPlanet 6 with Service Pack 1, you do >not have to specify the classpath. > >+trish >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, September 25, 2001 6:41 PM >To: Struts-User >Subject: Deployment Problem in iPlanet using Strut Example !! > > >Hello, all, > >I have searched the mailing archive for this problem, there are someone >post the same issue but no answer. >Hope someome have the solution already that would share for me. >I have got some problems, here is the problems that I occur : > >1. javac couldn't find /WEB-INF/lib/struts.jar, unless I uncompress >struts.jar into /WEB/INF/classes. >2. SERVLET-execution_failed: Error in executing servlet action: >java.lang.IllegalAccessError: > try to access class org.apache.struts.action.AddDataSourceRule >from class org.apache.struts.action.ActionServlet > >Regards >Frankie _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp