• 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: Can't retrieve cookies (closer, but not there yet)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't retrieve cookies (closer, but not there yet)


  • Subject: Re: Can't retrieve cookies (closer, but not there yet)
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 10 Jan 2008 17:15:12 -0800


On Jan 10, 2008, at 5:01 PM, Jeff Schmitz wrote:

How in the heck to you guys keep track of all that stuff?

We're just smart, real smart. :-P


 For a part time deployer like me I'd be lost with the help...

Anyway, now with Direct Connect disabled and WOPort set to -1, or not set at all, I get the following error in my browser:

Forbidden
You don't have permission to access /cgi-bin/WebObjects/ netBrackets.woa/-49882 on this server.


You are now in Apache Hell. :-) I don't have a 2.2 config file handy. This might help:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#forbidden


When I set WOPort to 80, I get the following exception on startup and never get to the browser part:


You should never set it to that port. Ever. This error is expected and correct.


Chuck


[2008-01-10 18:58:43 CST] <main> com.webobjects.foundation.NSForwardException for com.webobjects.foundation.NSForwardException for java.net.BindException: Permission denied
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.webobjects.appserver._private.WODefaultAdaptor._initServerSocket (WODefaultAdaptor.java:210)
at com.webobjects.appserver._private.WODefaultAdaptor.<init> (WODefaultAdaptor.java:142)
at com.webobjects.appserver._private.WODefaultAdaptor.<init> (WODefaultAdaptor.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.webobjects.foundation._NSUtilities.instantiateObject (_NSUtilities.java:575)
at com.webobjects.appserver.WOApplication.adaptorWithName (WOApplication.java:968)
at com.webobjects.appserver.WOApplication._initAdaptors (WOApplication.java:1014)
at com.webobjects.appserver.WOApplication.<init> (WOApplication.java:575)
at er.extensions.ERXAjaxApplication.<init>(ERXAjaxApplication.java: 24)
at er.extensions.ERXApplication.<init>(ERXApplication.java:531)
at Application.<init>(Application.java:19)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java: 323)
at er.extensions.ERXApplication.main(ERXApplication.java:366)
at Application.main(Application.java:13)





On Jan 10, 2008, at 12:20 AM, Guido Neitzer wrote:

On 09.01.2008, at 21:53, Chuck Hill wrote:

In a way, that is good. wotaskd is not running and you need it to be running. I don't have a Leotard machine handy and don't recall how wotaskd is started on them. Is it launchd now on the client?

Yes.

Put this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>GroupName</key>
<string>appserverusr</string>
<key>Label</key>
<string>com.apple.webobjects.wotaskd</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/System/Library/WebObjects/JavaApplications/ wotaskd.woa/wotaskd</string>
<key>ProgramArguments</key>
<array>
<string>wotaskd</string>
<string>-WOPort</string>
<string>1085</string>
</array>
<key>ServiceIPC</key>
<false/>
<key>UserName</key>
<string>appserver</string>
</dict>
</plist>


In a file, name the file com.apple.webobjects.wotaskd.plist, move it to /Library/LaunchDaemons and change the owner to root.

Now you can start wotaskd with:

sudo launchctl load /Library/LaunchDaemons/ com.apple.webobjects.wotaskd.plist

and it is also started on a reboot.

cug

--
http://www.event-s.net



--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Can't retrieve cookies (closer, but not there yet)
      • From: Guido Neitzer <email@hidden>
References: 
 >Question about WODirectConnectEnabled=false/true (From: "Ren, Kevin" <email@hidden>)
 >Re: Question about WODirectConnectEnabled=false/true (From: Chuck Hill <email@hidden>)
 >Can't retrieve cookies (From: Jeff Schmitz <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: Guido Neitzer <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: Guido Neitzer <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: Jeff Schmitz <email@hidden>)
 >Re: Can't retrieve cookies (From: Art Isbell <email@hidden>)
 >Re: Can't retrieve cookies (From: Guido Neitzer <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: Guido Neitzer <email@hidden>)
 >Re: Can't retrieve cookies (From: Jeff Schmitz <email@hidden>)
 >Re: Can't retrieve cookies (From: Jeff Schmitz <email@hidden>)
 >Re: Can't retrieve cookies (From: Jeff Schmitz <email@hidden>)
 >Re: Can't retrieve cookies (From: Chuck Hill <email@hidden>)
 >Re: Can't retrieve cookies (From: Guido Neitzer <email@hidden>)
 >Re: Can't retrieve cookies (closer, but not there yet) (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: Chapter 11 in Practical WebObjects
  • Next by Date: Re: Can't retrieve cookies (closer, but not there yet)
  • Previous by thread: Re: Chapter 11 in Practical WebObjects
  • Next by thread: Re: Can't retrieve cookies (closer, but not there yet)
  • Index(es):
    • Date
    • Thread