• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help launching an app with the command line (asap thanks)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help launching an app with the command line (asap thanks)


  • Subject: Re: Help launching an app with the command line (asap thanks)
  • From: Patrick Robinson <email@hidden>
  • Date: Sun, 9 May 2004 21:37:37 -0400

If you really want/need that -NSProjectSearchPath parameter (when starting up via the command line), then you'll need to escape the parentheses like this:
-NSProjectSearchPath \(\)
Also, if you're trying to hit "return" between lines, then you'll need to escape that as well, by ending each line (except the last) with a "\" character.


--
Patrick Robinson
AHNR Info Technology, Virginia Tech
email@hidden


On May 9, 2004, at 12:40 PM, Dev WO wrote:
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.


References: 
 >Help launching an app with the command line (asap thanks) (From: Dev WO <email@hidden>)

  • Prev by Date: Re: [Wonder-disc] D2W(onder) Sample Sites?
  • Next by Date: WOTable with dynamic number of column
  • Previous by thread: Help launching an app with the command line (asap thanks)
  • Next by thread: WOTable with dynamic number of column
  • Index(es):
    • Date
    • Thread