Solved

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

Posted on 2010-08-12
3
717 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.
Suggested Courses

623 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