On Friday 03 May 2002 02:19, you wrote:
I've made the try with this version of the tomcat (tomcat-4.0.4-b2)
but the VerifyError is still there.
Possibly it's not a problem with the tomcat's class loader
but with the version 3.x all works fine.
I'm including the exception log below:
[EmbeddedCatalinaServiceSX] action: Error creating Action instance for path
'/security/common/topiclist', class name
'com.nuix.itopix.action.TopicListAction'
java.lang.VerifyError: (class: com/nuix/itopix/action/TopicListAction,
method: defaultAction signature:
(Lcom/nuix/itopix/list/GenericListForm;Ljavax/servlet/http/HttpServletRequest;Lorg/apache/struts/action/ActionMapping;)Ljava/lang/Object;)
Incompatible object argument for method call
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at
org.apache.struts.action.ActionServlet.processActionCreate(ActionServlet.java:1632)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1577)
at
com.nuix.itopix.servlet.ItopixActionServlet.process(ItopixActionServlet.java:234)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:531)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1017)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115)
at java.lang.Thread.run(Thread.java:498)
> Don't know if this is exactly the same issue, but some class loader bugs
> in 4.0.3 have been fixed in 4.0.4-b2 -- you should give that a try
> instead.
>
> Craig
>
> On Thu, 2 May 2002, Dmitri Lysenko wrote:
> > Date: Thu, 2 May 2002 10:43:54 +1000
> > From: Dmitri Lysenko <[EMAIL PROTECTED]>
> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] To: [EMAIL PROTECTED]
> > Subject: java.lang.VerifyError while using struts with Tomcat 4.0.x
> >
> > Hi,
> >
> > I'm using tomcat 4.0.3 integrated with JBoss 2.4.4 (they run in the same
> > JVM). Struts framework is used to handle the presentation logic.
> > This combination works fine with Tomcat 3.x.
> > However after I upgrated to the Tomcat 4.0.3 I'm experiencing the
> > java.lang.VerifyError (Incompartible argument for a function) while the
> > ActionServlet instanciates some action classes. I'm sure that the
> > problem caused by the changes in the tomcat's classloader. I had the
> > situation when the class with the same name is accessible by two
> > different classloaders. I found out that the problem appears if the class
> > is loaded by the classloader that's different with the one that the
> > current thread uses. In this situation I had this VerifyError. I was able
> > to resolve the problem by eliminating the class duplication, now I have
> > no two same classes that are placed in the different jars. However the
> > question is why this error appears? The situation that I had when the
> > same class is accessible by multiple class loaders is not prohibited by
> > the Java language. I'm wondering what classloader contraint was violated.
> >
> > To fix the problem I have to use the jar's packaging that's not very
> > convenient for me. So I appreciate any help that allows me to resolve
> > this problem in better way.
> >
> > Dmitri Lyssenko,
> > [EMAIL PROTECTED]
> >
> > --
> > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>