Data Access Worldwide Knowledge Base

Article ID 2327
Article Title HOWTO: Helpful tips for web application maintenance
Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2327
KBase Category WEB APPLICATIONS
Date Created 06/14/2007
Last Edit Date 11/29/2007


Article Text
Q: When I look at the Task Manager, I can't tell which WebApp.exe is the session I want to 'end task'. When trying to restart the Web Application Server, it just hangs. I am running multiple revisions of VDF, so I can't tell which WebappServer.exe to 'end task'.

A: All VDF versions through VDF 12 use the same name for a Webapp and for the Webapp Server. Create a copy of the Webapp and include the name of the workspace in the name. For the Webapp Server, create a copy and include the revision.

For example, The Order Entry Example Webapp would be Webapp_Order12_0.exe. The Webapp Server would be WebAppServer_12_0.exe.

Open the Webapp Administrator and change the properties of the Webapp to use your newly named copy of the Webapp.exe. Stop and Start the Webapp. If process pooling is enabled, you will be able to see the change in the Task Manager.

(begin disclaimer) Changing the Webapp Server involves modifying the registry. Modifying the registry is not recommended and any time you edit the registry you should always create a backup before you begin. Follow these instructions only if you have backed up your registry and are willing to take responsibility for any issues that result (end disclaimer).



Stop the Webapp Server using the Webapp Administrator
HKLM\\System\CurrentControlSet\Services\Visual Dataflex 12.0 Web Application Server

Edit the string value "ImagePath" so that it points to the copy you made:
"C:\PROGRA~1\VISUAL~1.0\Bin\WebAppServer_12_0.exe"

Start the Webapp Server using the Webapp Administrator

In the task manager, you should now see the copy running.



NOTE: Anytime you compile your Webapp, you will have to stop the Webapp create a new copy and start your Webapp.

NOTE: Anytime you install a new revision, you will have to create a new copy of the Webapp Server and edit the registry as described.

When you are running multiple Webapps and multiple revisions of VDF, you will be glad you did this because it will help you to identify the offending application and not risk taking another app offline by mistake.


Contributed By:
David Martinko
Company: Redeemed Software & Hosting
email: DavidM@RedeemedSoftware.com
Web Site: http://www.RedeemedSoftware.com


Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.