Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Native Library .dll already loaded in another classloader

2 posts in General Discussion Last posting was on 2006-12-01 05:26:19.0Z
qhc_cn Posted on 2006-12-01 03:35:05.0Z
Sender: 120b.456bd9d9.1804289383@sybase.com
From: qhc_cn@sohu.com
Newsgroups: sybase.public.workspace.general
Subject: Native Library .dll already loaded in another classloader
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <456fb0f9.5b51.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Nov 2006 20:35:05 -0700
X-Trace: forums-1-dub 1164947705 10.22.241.41 (30 Nov 2006 20:35:05 -0700)
X-Original-Trace: 30 Nov 2006 20:35:05 -0700, 10.22.241.41
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:247
Article PK: 1087898

Hello:
throws exception:
java.lang.UnsatisfiedLinkError:Native Library
c:\dll\JavaDWInterop.dll already loaded in another
classloader
at java.lang.ClasLoader.loadLibrary0(ClassLoader.java:1551)


"Alexander Pire" <Alexander_no_spam_ Posted on 2006-12-01 05:26:19.0Z
From: "Alexander Pire" <Alexander_no_spam_@powerobjects_dot_com>
Newsgroups: sybase.public.workspace.general
References: <456fb0f9.5b51.1681692777@sybase.com>
Subject: Re: Native Library .dll already loaded in another classloader
Lines: 40
Organization: PowerObjects
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: wsip-68-227-90-197.om.om.cox.net
X-Original-NNTP-Posting-Host: wsip-68-227-90-197.om.om.cox.net
Message-ID: <456fcb0b$1@forums-1-dub>
Date: 30 Nov 2006 22:26:19 -0700
X-Trace: forums-1-dub 1164954379 68.227.90.197 (30 Nov 2006 22:26:19 -0700)
X-Original-Trace: 30 Nov 2006 22:26:19 -0700, wsip-68-227-90-197.om.om.cox.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.workspace.general:248
Article PK: 1087920

It looks like you are getting a safety restriction

Check if you have 2 JVM running in your environment using your JDW classes.

For example 2 J2EE servers (easervers, tomcats, jboss, etc) or even a Java
StandAlone application using your java datawindows.

It looks like you have put the dll in a comon folder and point the
environment var there.

Try to generate isolated environment if you need to run in those
environments

For example, copy the dll twice, one for folder 1 and other for folder 2,
after that create a shell file to start up your servers and make a local set
of the path environment

Other option could be the posibility of one Java application is hanging up
and is holding the resource. Check this in your task manager. Just kille it
should solve the problem

--

Alexander Pire
PowerObjects
www.powerobjects.com
612.339.3355
**IT Solutions - Outside the Box**

<qhc_cn@sohu.com> wrote in message
news:456fb0f9.5b51.1681692777@sybase.com...
> Hello:
> throws exception:
> java.lang.UnsatisfiedLinkError:Native Library
> c:\dll\JavaDWInterop.dll already loaded in another
> classloader
> at java.lang.ClasLoader.loadLibrary0(ClassLoader.java:1551)