One other possible clue in all this is the WOMonitor/wotaskd log, which is showing the following sequence that just keeps repeating when no applications have been started:
2014-01-06 22:55:11,594 DEBUG 17.16 MB/16.78 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:55:41,594 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:55:41,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:11,595 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 22:56:11,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 22:56:41,596 DEBUG 17.21 MB/16.73 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2 Then after starting my app, it changes to the following sequence... 2014-01-06 23:15:11,629 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:15:11,630 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:15:16,737 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @@@@@ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:15:46,739 DEBUG 16.02 MB/17.92 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @@@@@ Received Lifebeat: lifebeat netBrackets localhost 2001 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Creating new lifebeat socket 2014-01-06 23:16:11,631 DEBUG 14.13 MB/19.8 MB [Thread-1] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection refused 2014-01-06 23:16:16,740 DEBUG 16.1 MB/17.84 MB [WorkerThread13] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:46) - @@@@@ Received Lifebeat: lifebeat netBrackets localhost 2001 Just fishing here. Jeff On Jan 6, 2014, at 10:45 AM, Jeffrey Schmitz <[email protected]> wrote: > Still not quite there. The app now starts up from JavaMonitor and status > looks good (ON), but when I try to access it, I get: > > The requested application was not found on this server. > > I've installed the MacPorts apache and loaded it: > > sudo port load apache2 > > and turned off the Server Websites service from the Server app. Apache is > serving the correct static pages from my document root. > > The Macports Apache uses the httpd.conf from /opt/local/apache2/conf > > The changes I've made to the default macports httpd.conf are shown in red > below: > > ServerName localhost:80 > DocumentRoot "/Library/WebServer/Documents" > <Directory /> > Options FollowSymLinks > AllowOverride None > # Order deny,allow > # Deny from all > </Directory> > <Directory "/Library/WebServer/Documents"> > # > # Possible values for the Options directive are "None", "All", > # or any combination of: > # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI > MultiViews > # > # Note that "MultiViews" must be named *explicitly* --- "Options All" > # doesn't give it to you. > # > # The Options directive is both complicated and important. Please see > # http://httpd.apache.org/docs/2.2/mod/core.html#options > # for more information. > # > Options Indexes FollowSymLinks > > # > # AllowOverride controls what directives may be placed in .htaccess files. > # It can be "All", "None", or any combination of the keywords: > # Options FileInfo AuthConfig Limit > # > AllowOverride None > > # > # Controls who can get stuff from this server. > # > Order allow,deny > Allow from all > > </Directory> > ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) > "/Library/WebServer/CGI-Executables/$1" > <Directory "/Library/WebServer/CGI-Executables"> > AllowOverride None > Options None > Order allow,deny > Allow from all > </Directory> > > Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf > > Some key entries in the referenced apache.conf file are: > > LoadModule WebObjects_module > /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (NOTE: This > is the wonder version) > WebObjectsDocumentRoot /Library/WebServer/Documents > WebObjectsAlias /cgi-bin/WebObjects > WebObjectsConfig localhost:1085 10 > > > > On Jan 6, 2014, at 6:43 AM, Jeffrey Schmitz <[email protected]> wrote: > >> >> On Jan 6, 2014, at 4:14 AM, Amedeo Mantica <[email protected]> wrote: >> >>> What happens starting manually the app? >> >> The clue I needed appeared... >> >> /Library/WebObjects/Applications/netBrackets.woa/ >> /Applications/cocoon-2.1.10 >> /Users/netBrackets/Downloads/saxonb9-0-0-2j/saxon9.jar >> java.lang.NoClassDefFoundError: org/jdom/JDOMException >> at java.lang.Class.getDeclaredMethods0(Native Method) >> at java.lang.Class.privateGetDeclaredMethods(Class.java:2484) >> at java.lang.Class.getMethod0(Class.java:2727) >> at java.lang.Class.getMethod(Class.java:1639) >> at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:86) >> Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException >> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) >> ... 5 more >> >> >> This same thing happened about a year and a half ago. I need to do a >> better job of searching the old e-mails, swore I searched on "no logs" but >> somehow missed this old thread... >> >> On Jul 23, 2012, at 10:15 PM, Jeffrey Schmitz <[email protected]> wrote: >> >>> Re: App won't start, no logs >> >>> The root of the problem was that I didn't have my framework project added >>> as a framework to my main project. On my development machine I was >>> referencing the project, so everything worked there. As soon as I added >>> the framework everything worked on the deployment machine. >>> >>> Thanks for the help. >>> >>> Jeff >> >> >> And again, thanks! for all the help. >> >> Jeff >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jeff%40netbrackets.com >> >> This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
