Solved

Java Application not Loading after the first time (on citrix)

Posted on 2010-08-12
3
712 Views
Last Modified: 2012-06-22
We have a java application (KANA software's "Kana Response" that requires java JRE 1.5.0_15 or 1.6.0._16.  When we push the JRE to a users workstation it works fine, people are able to go to the splash page url, then launch the java application from the links provided at that site, close out and do it again.

When we go onto our Citrix boxes so our offshore partners can access the tool, we run into difficulties.  The JRE installs fine, and when we connect, everything works fine.  If we log out, we are unable to connect again.  The following error is in the Java Console:

java.lang.UnsatisfiedLinkError: Native Library C:\Documents and Settings\c3075a\Application Data\KANA\Response\kanadlls\jdic.dll already loaded in another classloader

Any ideas?
0
Comment
Question by:jdoheny
3 Comments
 
LVL 8

Accepted Solution

by:
WhiteMage earned 500 total points
ID: 33424389
According to the error, the native library is being loaded more than twice for some reason.

Why don't you wrap the loading of the Native Library in a Singleton class to make sure it is only being loaded once?

http://www.experts-exchange.com/Programming/Languages/Java/New_to_Java/A_322-Use-Lazy-Initialization-in-singleton-pattern.html
0
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 37061330
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question