Author |
Message
|
texan |
Posted: Tue Apr 13, 2004 2:09 am Post subject: Authentication exit as service |
|
|
Acolyte
Joined: 25 Feb 2004 Posts: 74
|
We have configured authentication exit successfully. I have set PATH and CLASSPATH variables as required. Ran the fmczchk command to modify config. settings to use JAVA as auth exit. Now if I start service from (controlpanel-> services), it won't startup. It gives a error saying that JVM can't be loaded or Java auth exit n't available. If I start from command prompt using fmcamain, it works fine. I do n't know why service can't read my system variables.
But the prblem is if user logsoff from the system, it is killing this command prompt (I mean it is killing the WF server). Did any one encounter this problem? How can I make it run as service? In case of UNIX I can run in background using "&". But I can't find any solution for running in background in widows.
Thanks in advance. |
|
Back to top |
|
 |
texan |
Posted: Wed Apr 14, 2004 5:06 am Post subject: |
|
|
Acolyte
Joined: 25 Feb 2004 Posts: 74
|
Can somebody reply me? No one has faced this problem??????? |
|
Back to top |
|
 |
Ratan |
Posted: Wed Apr 14, 2004 6:49 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Try this:
Set the Service UserID to what ever user was able to run it in from the command Prompt. _________________ -Ratan |
|
Back to top |
|
 |
vennela |
Posted: Wed Apr 14, 2004 9:33 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I still think that's a CLASSPATH issue.
Where did you set the CLASSPATH, in the SYSTEM environment variables or in the USER environment variables? If user env to which user did you set the CLASSPATH? |
|
Back to top |
|
 |
texan |
Posted: Wed Apr 14, 2004 12:52 pm Post subject: |
|
|
Acolyte
Joined: 25 Feb 2004 Posts: 74
|
I set the CLASSPATH under System Variable. I think if we set values under system variables, it does n't matter which user logged into system. Right now my service running under local operating system account.
I will assign it to a particular account and see what happens..
Does anyone know when you run fmczchk, which properties/database it modifies? |
|
Back to top |
|
 |
jmac |
Posted: Thu Apr 15, 2004 5:42 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Assuming I understand your question simply use -y<config> if you dont specify -y it uses the default config.
From the command:
Code: |
-y configID Configuration ID to use |
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
texan |
Posted: Thu Apr 15, 2004 6:07 am Post subject: |
|
|
Acolyte
Joined: 25 Feb 2004 Posts: 74
|
JMAC,
I did n't understand your post. I can run WF Server with auth. exit from the command prompt without any problem. But I want to run it as a service so that it won't get killed when user logs off from the system.
When user logs off from the system, it will kill admin server but it won't kill execution and scheduling servers.
I want to keep all these commands in a bat file and run this bat file as service. is that possible? |
|
Back to top |
|
 |
jmac |
Posted: Thu Apr 15, 2004 6:24 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
My reply was to the following question which you asked.
texan wrote: |
Does anyone know when you run fmczchk, which properties/database it modifies? |
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|