1834091 Members
2032 Online
110063 Solutions
New Discussion

RPM JAVA group

 
SOLVED
Go to solution
Luk Vandenbussche
Honored Contributor

RPM JAVA group

Hello,

I have a PRM group called PLEXPROD.
All my java programs are actived in this group (see attachement)
I would like to create a PRM group PLEXTEST where my java test programs are running.
These are the programs that have fe wb_dev en presto_dev in their Path variable.

I don't find a solution to implement this as an application record in PRM

Any idea's?
2 REPLIES 2
Dan Herington
Advisor
Solution

Re: RPM JAVA group

Hi Luke,

You are right - Java apps are a challenge because the executable is always the same. Our app manager uses info in the process table to see if it needs to move something to another group. The process table doesn't always have the full command line, so we can't use that as a way to identify an app.

Here is a pretty simple workaround. Wrap each of your apps in a startup script and have the startup script do a wait after it starts up the app.

Then you can create an app record for the startup script (give the startup scripts unique names). You will need to use the "alternate name" field in the app record for the name of the script. The app field needs to be the executable, which would be the shell you used (sh, perl, etc.)

Dan
Luk Vandenbussche
Honored Contributor

Re: RPM JAVA group

Hi Dan,

Can you send me copy of the script that move the application to another process group.

Thx