W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: linkageError

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 11 Jan 2000 17:07:04 +0100 (MET)
To: jean-gui <jlalanne@largemedium.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0001111618430.27066-100000@tarantula.inria.fr>
On Tue, 11 Jan 2000, jean-gui wrote:

> Hi,
> 
> I am using Jigsaw to run servlets but Iīve got an linkageError by
> trying to define one alias for a Servlet. When I try to click on the
> servlet icon, I donīt get anything.
> I think I have badly define my alias for the servlet. So I have an
> identifier without class related to it ... How could I get rid of this
> identifier which points on nothing ?

I saw this trace when a servlet was compiled using a jdk1.1 or an old
linux jdk, reompiling the same code using solaris jdk made it work well...

If you are using Jigsaw2.1.0, the stores are in XML, you "just" have to
dig the right resource container (in stores/XX/st-YY) and modify the
configuration by hand, otherwise, you will have to remove the existing
container of the bad resource.
Hope this helps,

> 
> Any help on this would be much appreciated.
> Thank you.
> 
> 
> Best Regards
> Jean-Guillaume LALANNE
> 
> 
> here is the error messages I got:
> 
> java.lang.LinkageError: trying to refine class LMServlet (bad class loader?)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at java.lang.ClassLoader.defineClass(Unknown Source)
>         at org.w3c.jigsaw.servlet.AutoReloadServletLoader.loadClassFile(AutoReloadServletLoader.java, Compiled Code)
>         at org.w3c.jigsaw.servlet.AutoReloadServletLoader.getNewClass(AutoReloadServletLoader.java:215)
>         at org.w3c.jigsaw.servlet.AutoReloadServletLoader.loadClass(AutoReloadServletLoader.java, Compiled Code)
>         at org.w3c.jigsaw.servlet.ServletWrapper.launchServlet(ServletWrapper.java:439)
>         at org.w3c.jigsaw.servlet.ServletWrapper.initialize(ServletWrapper.java:498)
>         at org.w3c.tools.resources.AttributeHolder.unpickleInstance(AttributeHolder.java, Compiled Code)
>         at org.w3c.tools.resources.AttributeHolder.unpickle(AttributeHolder.java, Compiled Code)
>         at org.w3c.tools.resources.AttributeHolder.unpickle(AttributeHolder.java, Compiled Code)
>         at org.w3c.tools.resources.store.ResourceIndex.loadResource(SimpleResourceStore.java, Compiled Code)
>         at org.w3c.tools.resources.store.SimpleResourceStore.loadResource(SimpleResourceStore.java, Compiled Code)
>         at org.w3c.tools.resources.store.Reference.lock(ResourceStoreManager.java, Compiled Code)
>         at org.w3c.tools.resources.store.StoreEntry.loadResource(ResourceStoreManager.java, Compiled Code)
>         at org.w3c.tools.resources.store.ResourceStoreManager.loadResource(ResourceStoreManager.java, Compiled Code)
>         at org.w3c.tools.resources.ContainerResource.internalLookup(ContainerResource.java, Compiled Code)
>         at org.w3c.tools.resources.ContainerResource.lookup(ContainerResource.java, Compiled Code)
>         at org.w3c.tools.resources.DirectoryResource.lookup(DirectoryResource.java, Compiled Code)
>         at org.w3c.jigsaw.admin.BrokerFrame.lookup(BrokerFrame.java, Compiled Code)
>         at org.w3c.jigsaw.admin.BrokerFrame.remoteLoadResource(BrokerFrame.java, Compiled Code)
>         at org.w3c.jigsaw.admin.BrokerFrame.extended(BrokerFrame.java, Compiled Code)
>         at org.w3c.jigsaw.frames.HTTPFrame.perform(HTTPFrame.java, Compiled Code)
>         at org.w3c.tools.resources.FramedResource.performFrames(FramedResource.java, Compiled Code)
>         at org.w3c.tools.resources.FramedResource.perform(FramedResource.java, Compiled Code)
>         at org.w3c.jigsaw.admin.AdminServer.perform(AdminServer.java, Compiled Code)
>         at org.w3c.jigsaw.http.Client.processRequest(Client.java, Compiled Code)
>         at org.w3c.jigsaw.http.Client.startConnection(Client.java, Compiled Code)
>         at org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java:114)
>         at org.w3c.util.CachedThread.run(ThreadCache.java, Compiled Code)
> 

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Tuesday, 11 January 2000 11:05:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT