Author |
Message
|
amjadu |
Posted: Wed Sep 01, 2004 7:37 pm Post subject: java program not being invoked from process. |
|
|
 Novice
Joined: 26 Feb 2004 Posts: 13 Location: Banglore, India
|
Hi people,
My OS is WinNt, with WF version 3.4.
We associated a java program to a process in the buildtime.
when the process is called the program is to run automatically.
but this is not happening. We even tried to run an .exe file associated with a program, but this exe is also not being invoked, even when the monitor status shows the current process was running.
Any pointers would be of great help. _________________ Regards - Amjad |
|
Back to top |
|
 |
Andy |
Posted: Thu Sep 02, 2004 2:32 am Post subject: |
|
|
 Centurion
Joined: 14 May 2003 Posts: 122
|
Is your PEA running?
Do force login and try... _________________
Andy |
|
Back to top |
|
 |
amjadu |
Posted: Thu Sep 02, 2004 2:38 am Post subject: |
|
|
 Novice
Joined: 26 Feb 2004 Posts: 13 Location: Banglore, India
|
Hi Andy,
PEA is running, could u please explain me how the logging in can hinder this invokation of the java program.
I am actually calling an API(java) call (execService.logon2) to login into the System. _________________ Regards - Amjad |
|
Back to top |
|
 |
vennela |
Posted: Thu Sep 02, 2004 7:34 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Did you set the classpath right?
How are you trying to invoke your java program?
What is your
1. path and file name
2. your commandline parameters
3. working directory (is this directory existing)?
Also there is a sample java implementation program in the workflow install SMP directory |
|
Back to top |
|
 |
amjadu |
Posted: Wed Sep 08, 2004 9:21 pm Post subject: |
|
|
 Novice
Joined: 26 Feb 2004 Posts: 13 Location: Banglore, India
|
Hi Vennela,
I was out of town, so i could not reply u in time, sorry abt that.
We are setting the class path, infact we have given the whole path in the working directory. we are invoking the java program by associating timeout process with WFCallingProgram.java
path and file name - java.exe
your commandline parameters - com.ai.common.workflow WFCallingProgram
working directory (is this directory existing)? - E:\Program Files\eclipse\workspace\com\ai\common\workflow
I have just seen the sample, i will go thru it and get back to you.
thanks for the timely response. _________________ Regards - Amjad |
|
Back to top |
|
 |
dhanya_menon |
Posted: Thu Sep 09, 2004 2:53 am Post subject: |
|
|
Newbie
Joined: 09 Sep 2004 Posts: 1
|
Hi Vinnela,
This on behalf of the issue raised by Amjad . We tried out with the code we got from net. Tried out putting the path of the java file in class path. But still program is not invoked.
Regards,
Dhanya |
|
Back to top |
|
 |
|