RE: Struts 1.1B2 with iplanet6Sp2

2002-10-10 Thread Ziad Haidar

Thanks Graig,

That was the first thing I checked, the struts.jar is only in the webapp. In
fact if I take out the struts.jar file from the webapp I get a class not
found exception for the ActionServlet, meaning there is no other class with
that name on the class path.

Ziad


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, 11 October 2002 3:25 PM
To: Struts Users Mailing List
Subject: Re: Struts 1.1B2 with iplanet6Sp2


I don't use the iPlanet server directly myself much, but "duplicate class
definition" sounds like you might have struts.jar on the classpath used to
start the server, as well as being in your webapp.  Make sure you start
the server *without* this JAR in the classpath.

Craig

On Fri, 11 Oct 2002, Ziad Haidar wrote:

> Date: Fri, 11 Oct 2002 14:58:02 +1000
> From: Ziad Haidar <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Struts 1.1B2 with iplanet6Sp2
>
> Hi,
>
> I am trying to get Struts 1.1 B2 to work with I planet 6 Sp2. The first
> problem was getting exceptions from the commons-logging package. The only
> way to fix this was to use commons-logging.jar version 1.0.2 instead of
the
> one in the download area. I am now getting the following exception when
the
> ActionServelt is being initialised:
> vs(https-localhost)Exception thrown in servlet.init; context = /blank,
> servlet = 'action',
> servlet-class = 'org.apache.struts.action.ActionServlet',
> stack tace: java.lang.SecurityException: sealing violation
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)..
>
> Every request after that to the ActionServlet gets the following Exception
>
> Unexpected error condition thrown (unknown exception,no description),
> stack: java.lang.LinkageError: duplicate class definition:
> org/apache/struts/action/ActionServlet   at
> java.lang.ClassLoader.defineClass0(Native Method)
>
> In order to eliminate my code and projects settings, I deployed the
> jakarta-struts-1.1-b2-blank.war file to the web server. I get the same
error
> with this file when the servlet is starting. ( ps I also had to replace
the
> commons-logging.jar file as well).
>
> Any ideas or suggestions would be much appreciated.
>
> Regards,
>
> Ziad.
>
>
> --
> 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]>



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




Re: Struts 1.1B2 with iplanet6Sp2

2002-10-10 Thread Craig R. McClanahan

I don't use the iPlanet server directly myself much, but "duplicate class
definition" sounds like you might have struts.jar on the classpath used to
start the server, as well as being in your webapp.  Make sure you start
the server *without* this JAR in the classpath.

Craig

On Fri, 11 Oct 2002, Ziad Haidar wrote:

> Date: Fri, 11 Oct 2002 14:58:02 +1000
> From: Ziad Haidar <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Struts 1.1B2 with iplanet6Sp2
>
> Hi,
>
> I am trying to get Struts 1.1 B2 to work with I planet 6 Sp2. The first
> problem was getting exceptions from the commons-logging package. The only
> way to fix this was to use commons-logging.jar version 1.0.2 instead of the
> one in the download area. I am now getting the following exception when the
> ActionServelt is being initialised:
> vs(https-localhost)Exception thrown in servlet.init; context = /blank,
> servlet = 'action',
> servlet-class = 'org.apache.struts.action.ActionServlet',
> stack tace: java.lang.SecurityException: sealing violation
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:234)..
>
> Every request after that to the ActionServlet gets the following Exception
>
> Unexpected error condition thrown (unknown exception,no description),
> stack: java.lang.LinkageError: duplicate class definition:
> org/apache/struts/action/ActionServlet   at
> java.lang.ClassLoader.defineClass0(Native Method)
>
> In order to eliminate my code and projects settings, I deployed the
> jakarta-struts-1.1-b2-blank.war file to the web server. I get the same error
> with this file when the servlet is starting. ( ps I also had to replace the
> commons-logging.jar file as well).
>
> Any ideas or suggestions would be much appreciated.
>
> Regards,
>
> Ziad.
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: