You can figure it out by going in the JMX agent view and on the UnifiedLoaderRepository mbean you can give it the name of the class and it will return the URL from which it was loaded.
JMImplementation:name=Default,service=LoaderRepository The operation name is displayClassInfo > Hi Alex, > > Thank you for responding. > Would you know a way to find out from which directory/jar the class gets > actually loaded? > If so I could probably embed that piece of code and do a System.out.println > of the directory/jar > from which it is loaded. > > Regards, > > Cor. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Alexey > Loubyansky > Sent: Tuesday, August 26, 2003 14:38 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] No hair left, help is needed on > $Proxy23.<clinit>NoSuchMethodError > > > Could it be that there is some other version of the class in the > classpath that does not have this method? > > alex > > Cor Hofman wrote: > >> Hi all, >> >> No response yet, so let me toss in a suggestion. >> Could it be that this is a classloader issue? >> >> Regards, >> >> Cor. >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Behalf Of Cor Hofman >> Sent: Monday, August 25, 2003 20:56 >> To: Jboss >> Subject: [JBoss-user] No hair left, help is needed on $Proxy23.<clinit> >> NoSuchMethodError >> >> >> Hi all, >> >> Your help is much appreciated on this one, because this one is driving me >> nuts! >> >> java.lang.NoSuchMethodError: sendEmail2Businesses >> [Mon Aug 25 20:43:50 CEST 2003] at $Proxy23.<clinit>(Unknown Source) >> [Mon Aug 25 20:43:50 CEST 2003] at >> > sun.reflect.GeneratedSerializationConstructorAccessor64.newInstance(Unknown >> Source) >> [Mon Aug 25 20:43:50 CEST 2003] at >> java.lang.reflect.Constructor.newInstance(Constructor.java:274) >> [Mon Aug 25 20:43:50 CEST 2003] at >> java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:759) >> [Mon Aug 25 20:43:50 CEST 2003] at >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1621) >> [Mon Aug 25 20:43:50 CEST 2003] at >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264) >> [Mon Aug 25 20:43:50 CEST 2003] at >> java.io.ObjectInputStream.readObject(ObjectInputStream.java:322) >> [Mon Aug 25 20:43:50 CEST 2003] at >> java.rmi.MarshalledObject.get(MarshalledObject.java:135) >> [Mon Aug 25 20:43:50 CEST 2003] at >> > org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:25 >> 8) >> [Mon Aug 25 20:43:50 CEST 2003] at >> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182) >> [Mon Aug 25 20:43:50 CEST 2003] at $Proxy22.create(Unknown Source) >> [Mon Aug 25 20:43:50 CEST 2003] at >> > org.companion.tag.crm.EmailBusinessThread.load(EmailBusinessThread.java:71) >> [Mon Aug 25 20:43:50 CEST 2003] at >> org.companion.tag.EmailThread.run(EmailThread.java:52) >> >> I have 2 installation. On 2 of them the above exeception is never thrown. > On >> the third one I keep >> getting this NoSuchMethodError Exception at $Proxy23.<clinit>, which I >> cannot explain. >> Unfortunately this is our production environment. >> >> The situation is the following: >> I am running JBOSS 2.4.6. From within a servlet I create a thread and > within >> the thread >> I call the method EmailCrmSession.sendEmail2Businesses(). >> EmailCrmSession is a stateless Session bean which sends Emails. >> >> Now what is going on? >> >> Your input is much appreciated. >> >> Regards Cor. >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: VM Ware >> With VMware you can run multiple operating systems on a single machine. >> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >> at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 >> _______________________________________________ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: VM Ware >> With VMware you can run multiple operating systems on a single machine. >> WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >> at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 >> _______________________________________________ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
