Help launching an app with the command line (asap thanks)
Help launching an app with the command line (asap thanks)
- Subject: Help launching an app with the command line (asap thanks)
- From: Dev WO <email@hidden>
- Date: Sun, 9 May 2004 18:40:21 +0200
Hi all,
I may have done something strange, but since the last Panther server
update, my setup is broken:(
I can't restart, it only shuts down...and I'm six hours away from the
server...
So today I wanted to update one of my WO applications. So I tryed using
Monitor as usual, but it wouldn't work complaining about "port already
in use", so I did
ps -guaxwwwww | grep ootstrap
in the command line and killed all the instance of my app.
So now I wanted to start it from the command line, to see if it would
work so I tried:
/Library/WebObjects/Applications/AnazysV3.woa/AnazysV3 -WOPort 2007
-WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /dev/null
-WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO
-WOLifebeatInterval 30 -WOLifebeatEnabled YES
-WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor
-WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin
16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath ()
-WOSessionTimeOut 3600 -WOApplicationName anazys -WOMonitorEnabled YES
-WONoPause YES -WOStatisticsPassword woanazys &
and also
"$WOSERVICE" -appPath
/Library/WebObjects/Applications/AnazysV3.woa/AnazysV3 -WOPort 2007
-WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /dev/null
-WOAutoOpenInBrowser NO -WOAutoOpenClientApplication NO
-WOLifebeatInterval 30 -WOLifebeatEnabled YES
-WOLifebeatDestinationPort 1085 -WOAdaptor WODefaultAdaptor
-WOWorkerThreadCount 8 -WOListenQueueSize 128 -WOWorkerThreadCountMin
16 -WOWorkerThreadCountMax 256 -NSProjectSearchPath ()
-WOSessionTimeOut 3600 -WOApplicationName anazys -WOMonitorEnabled YES
-WONoPause YES -WOStatisticsPassword woanazys &
But it always says:
-sh: syntax error near unexpected token `('
Anyone could give me the command line to start my app?
Thanks a lot...
Xavier
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.