Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-08-12
3
Medium Priority
?
725 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

927 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