Operating System - HP-UX
1748142 Members
3605 Online
108758 Solutions
New Discussion юеВ

Steven Protter... forms server running properly?

 
txred
New Member

Steven Protter... forms server running properly?

Yes Steven, I would like to see your command or script that can execute a check against the forms server as you described.


Steven Protter posted:

An off beat approach:

As to the status of the process, thats a little harder, because hangs are tough to pick up.

The best thing you can do is build a display form in the motif version of forms and a display report in the motif version of reports. Include no data connections because that will require a login.

Then you can run it to a file with the f60gen and reports equivalment.

I have a command line at work which I will get and post Monday. Then you run the compiled forms direct the output to a file. The return code $? will be 0 for success and 1 for failure in a hung situation. You pick up that code and take appropriate action to restart the servers.

Do you need a full blown script from me?

SEP
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Steven Protter... forms server running properly?

That sure seems like I wrote it.

Can you link in the thread this came from. I'm getting this a little out of context right now.

This methodology is used in X Windows to debug forms/reports problems.

When reports was not working, we were able to get error codes in the file and Oracle helped us resolve the issue.

If this is a reports issue, make sure xvfb is installed and the DISPLAY variable in oracle reports server/servlet points to the right IP address.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
txred
New Member

Re: Steven Protter... forms server running properly?

http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1107924832368+28353475&threadId=238323


Actually, the report service appears easier to monitor, Oracle even offers a script in metalink for it, and we do run xvfb. I actually need a way to monitor the forms service f60webmx to see if its hung up... i have found an em folder to watch for startups, scanned the apache logs, there doesnt appear anyway to verify the service is functioning. ps counts dont really help as you may know that sometimes the service is running, but isnt accepting connections... I've even resorted to trying to write http/java scraping scripts to try and test the forms... it seems that there should be a way to run a test against f60webmx to see if its connecting properly. Also, we are two tier if that makes a difference.