tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Agarwal <ami....@gmail.com>
Subject Re: Tomcat startup error
Date Fri, 09 Apr 2010 17:49:18 GMT
Hi Harry,
Thanks for the tip. Here is the full stack trace.

I am not sure what did you mean by compile with embedding package. Could you
put some more light on it.


WrapperSimpleApp: Encountered an error running main:
java.lang.NoSuchMethodError:
org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V

java.lang.NoSuchMethodError:
org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V

      at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)

      at com.mypkg.packaging.HMMain.runMain(Unknown Source)

      at com.mypkg.packaging.HMMain.main(Unknown Source)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292)

      at java.lang.Thread.run(Thread.java:619)

On Fri, Apr 9, 2010 at 11:09 PM, Harry Metske <harry.metske@gmail.com>wrote:

> Amit,
>
> you should post the full stacktrace, but it looks like your embedding
> package was compiled against an older version of Tomcat than the one you
> are
> running.
> The method signature
> of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed
> (return
> type void => boolean) in revision  467222 (24-10-2006)
>
> It should be recompiled with the current version.
>
> regards,
> Harry
>
>
> 2010/4/9 Amit Agarwal <ami.aga@gmail.com>
>
> > After upgrading to the  latest 6.0.26 ver from 6.0.13, I see the
> following
> > error while starting embedded Tomcat.
> > Any ideas how to get around this?
> >
> > WrapperSimpleApp: Encountered an error running main:
> > java.lang.NoSuchMethodError:
> >
> >
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
> >
> > java.lang.NoSuchMethodError:
> >
> >
> org.apache.tomcat.util.IntrospectionUtils.setProperty(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
> >
> >      at com.mypkg.packaging.EmbeddedTomcat.startTomcat(Unknown Source)
> >
> >
> > Amit
> > --
> > Be Happy. Always.
> >
>



-- 
Be Happy. Always.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message