On Tue, Nov 11, 2008 at 3:13 PM, Sharon Lucas <[EMAIL PROTECTED]> wrote:
>
> Please provide your STAX xml file that contains exactly what you're doing,
> as well as your .py file and Java class files so I can try to recreate and
> resolve the problem.
>
> --------------------------------------------------------------
> Sharon Lucas
> IBM Austin, [EMAIL PROTECTED]
> (512) 838-8347 or Tieline 678-8347
>
>
>
> [EMAIL PROTECTED]
>
> 11/11/2008 04:29 AM
> To
> Sharon Lucas/Austin/[EMAIL PROTECTED] cc
> staf-users@lists.sourceforge.net
> Subject
> Re: [staf-users] Unable to call Java and Jython from Stax xml Job
>
>
> Dear Sharon,
Thanks for the mail.
I just resolved the problem with your help you did to me earlier and a bit
by adding to the STAF's CLASSPATH environment variable the path to one of my
.jar file which my Jython and Java classes use:
import sys
sys.path.append("C:\\testing")
Thanks for your kind help.
I also wonder the why STAF wasn't able to load the classes from the Jar file
when I actually added the path in my xml file by:
sys.path.append("C:\\testing\\Desktop\\jniwrap-2.9.5.jar")
Ultimately, I had to add this to the STAF Env variable CLASS PATH in the
STAF.cfg file.
Regards,
Rajat
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users