strace java [...whatever...] 2>&1 | grep -E 'stat|open'

should give you a pretty good idea where it looks for
opencard.properties and which one it ultimately winds up using.  Look
towards the end of the output; there will be a barrage of JVM-related
stuff at the beginning.  This can also help you confirm whether your
pcsc_wrapper.jar is getting loaded.  

Syntax above for Bourne compatible shells; for csh/tcsh use "... |&
grep -E ...".

-Steve

On Thu, Jun 10, 2004 at 04:26:09PM -0700, Carl Youngblood wrote:
> I'm trying to port the scripts that run GemPlus RAD III kit over to 
> linux (Fedora Core 2).  I've gotten pretty far, but I'm running into a 
> problem that I believe is related to my pcsc wrapper or 
> opencard.properties file.  I'm wondering if someone on the list can 
> point me in the right direction.  After starting up JCardManager, it 
> starts to load and displays a spash screen while it is loading classes.  
> Then it spits out the following error to the command line:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> opencard/core/terminal/CardTerminalFactory
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>         at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:141)
>         at 
> opencard.core.service.SmartCard.handleTerminalFactoryEntries(SmartCard.java:423)
>         at 
> opencard.core.service.SmartCard.configureTerminalRegistry(SmartCard.java:261)
>         at opencard.core.service.SmartCard.start(SmartCard.java:534)
>         at com.gemplus.tools.gemxpresso.pilot.ServicePilot.open(Unknown 
> Source)
>         at 
> com.gemplus.tools.gemxpresso.pilot.ServicePilot.<init>(Unknown Source)
>         at 
> com.gemplus.tools.gemxpresso.pilot.TraceCmdTargetJPanel.initServicePilot(Unknown 
> Source)
>         at 
> com.gemplus.tools.gemxpresso.pilot.TraceCmdTargetJPanel.<init>(Unknown 
> Source)
>         at 
> com.gemplus.tools.gemxpresso.pilot.JCardManagerJFrame.<init>(Unknown Source)
>         at 
> com.gemplus.tools.gemxpresso.pilot.JCardManagerJFrame.main(Unknown Source)
> 
> I have tried using both Gemplus's and opencard's pcsc_wrapper.jar files, 
> and neither of them seemed to fix the problem.  I also tried copying my 
> opencard.properties file to a number of different locations and nothing 
> seems to change.  Is there a way that I can figure out which 
> opencard.properties file is being used?  Is the problem something 
> entirely different from what I suspect?
> 
> Thanks for your help.
> 
> Carl Youngblood
> 
> 
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
> 
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe 
> ! in the body.


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to