Hi,

I have two applications which uses the same class that gives cpu information using sigar api. Both the applications are deployed in a same JBoss instance. When i try to start the application, first application gets deployed with no errors while for second application i get an error saying unsatisfiedLinkError, sigar-x86-winnt.dll already loaded in another class loader.

So can anyone please help me out in this.

I don't know if it applies, but this link might help you.

Well i found out the answer but don't know how right it is. I created multiple instances of the same .dll files then loaded it dynamically the one which is not being loaded.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.