|
|
Sacha Mallais
|
|||||||||||
|
|
|
|
|||||||||
| Navigate Database Table: "WOFAQ" | ||||||||||
| Current record is #5 out of 21 in found set (21 total records in table) | ||||||||||
|
|
|||||||||
| Question | My application starts and I can see it in ps, but JavaMonitor says it is not running! |
|---|---|
| Answer |
wotaskd is very sensitive to what host name is used. There are a couple of things that can cause problems. Each machine has a canonical name and IP address; one that reverse DNS will lookup. To find this name, open a Terminal and type This name may not match the host name that you are serving your application under. That does not matter, it needs to be this name for the WO infrastructure, If this is the name you are using, your server is probably too fast. On newer servers, wotaskd can get started before the networking services are fully initialized. This can lead to IP address confusion. A solution to this is used by wotaskd in WO 5.4 under Leopard but that should work under Tiger as well. Edit /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskdand add # # Verify network services are intialized before starting # echo Checking network services.... /usr/sbin/ipconfig waitallup near the top. This will block until network services have been initialized. If that doesn't work, edit the same script and add # # Verify network services are intialized before starting # echo Waiting for network services.... sleep 5up near the top. |
| Figure 1 | No file available. |
| Figure 2 | No file available. |
| Figure 3 | No file available. |
| Date Modified | Mar 4 2008 |
| Modified By | sacha@global-village.net |