Re: app deployment on el capitan [SOLVED]
Re: app deployment on el capitan [SOLVED]
- Subject: Re: app deployment on el capitan [SOLVED]
- From: T Worman <email@hidden>
- Date: Thu, 19 Nov 2015 10:29:56 -0800
I added an explicit WOHost declaration to the app properties in /etc/WebObjects/<appname>/Properties and it fixed this issue.
It was Chuck’s voice in my head, “Is the hostname the same everywhere?”
Um, I think so.
Tim
UCLA GSE&IS
> On Nov 18, 2015, at 11:33 AM, T Worman <email@hidden> wrote:
>
> Hi all:
>
> Doing “decently” well getting a deployment going on El Capitan. It’s a temporary stop-over as some app dependencies still require some OS X bits. Anyway, this is where I’m getting stuck. This stack trace is an attempted launch from the command line as appserver:
>
> This is running apache 2.4 (macports) and the mod_WebObjects for apache 2.4. I’ve made all the adjustments needed I believe to get things running. Both JavaMonitor and wotaskd are running successfully and can be reached via “localhost.” For now, I have host properties set to ‘localhost’ everywhere just to keep things sane.
>
> Any thoughts on what the origin of this might be? I’m trying to launch the app on port 55555 for testing - but I get the same error even without that.
>
> Nov 18 11:16:43 eTimesheet[N/A] WARN NSLog - Unable to establish a connection to port 55555 on this host. Perhaps this port is already in use by another WebObjects application instance.
> Nov 18 11:16:43 eTimesheet[N/A] WARN NSLog - A fatal exception occurred: <WOApplication>: Cannot be initialized.
> [2015-11-18 11:16:43 PST] <main> com.webobjects.foundation.NSForwardException [java.net.BindException] Can't assign requested address:<WOApplication>: Cannot be initialized.
> at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:918)
> at er.extensions.appserver.ajax.ERXAjaxApplication.<init>(ERXAjaxApplication.java:30)
> at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1122)
> at edu.ucla.gseis.core.GSEISApplication.<init>(GSEISApplication.java:41)
> at edu.ucla.gseis.ets.Application.<init>(Application.java:62)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:877)
> at edu.ucla.gseis.ets.Application.main(Application.java:58)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
> Caused by: java.net.BindException: Can't assign requested address
> at java.net.PlainSocketImpl.socketBind(Native Method)
> at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
> at java.net.ServerSocket.bind(ServerSocket.java:375)
> at java.net.ServerSocket.<init>(ServerSocket.java:237)
> at com.webobjects.appserver._private.WOClassicAdaptor._initServerSocket(WOClassicAdaptor.java:223)
> at com.webobjects.appserver._private.WOClassicAdaptor.<init>(WOClassicAdaptor.java:163)
> at com.webobjects.appserver._private.WOClassicAdaptor.<init>(WOClassicAdaptor.java:171)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:640)
> at com.webobjects.appserver.WOApplication.adaptorWithName(WOApplication.java:1316)
> at er.extensions.appserver.ERXApplication.adaptorWithName(ERXApplication.java:2764)
> at com.webobjects.appserver.WOApplication._initAdaptors(WOApplication.java:1386)
> at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:802)
> ... 17 more
>
> APPLICATION SHUTDOWN SEQUENCE COMPLETE
>
> Tim
> UCLA GSE&IS
> _______________________________________________
> 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
_______________________________________________
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