you are using some piece of software (com.mypkg.packaging.*) that is calling
tomcat code.
It expects to find a method in org.apache.tomcat.util.IntrospectionUtils
that is no longer there in 6.0.26, which causes the NoSuchMethodError.
Basically your embedder does not support this version of Tomcat, you should
contact the vendor, they should do the recompile .

regards,
Harry

2010/4/9 Amit Agarwal <ami....@gmail.com>

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

Reply via email to