on 04-29-2009 8:34 PM
Hi
In my sender file adapter, I want to use the option "Run operating system command before message processing". In the command I want to execute a java class (java classname.class). This java class will create a text file and that needs to picked up by the file sender file adater. I guess this will work?. Please correct me if I am wrong.
My questions are (Assuming the above will work):
1. Which location (recomended) do I need put this class file in PI box ( its win 2003 server).
2. I can't find any environment variable for classpath. How do I setup my classpath so that adapter can find this class?.
I've copied the .class file (the whole package directory) into several XI directories that contains JAR files but without any success.
Your help is appreciated.
Thanks
Job.
Hi,
Have you tried to pack your class on jar file (with manifest using Main-Class: <your class>) and call like this:
java c:\app.jar ?
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.