On Jan 7, 2014, at 1:44 PM, Chuck Hill <[email protected]> wrote:
> "the WOMonitor/wotaskd log” — are you sending them to the same file? Don’t > do that, it will confuse you and us. > I've also wondered about that myself, but I got the idea to do it that way from: http://wiki.wocommunity.org/display/documentation/Troubleshooting+wotaskd+and+JavaMonitor+on+OS+X?src=search Although maybe I shouldn't have interpreted the instructions so literally. > Exception sending lifebeat to wotaskd: java.net.ConnectException: Connection > refused > That sounds like JavaMonitor can’t communicate with wotaskd. This might be > why: > Current HostName = netbrackets.local > I want to set this machine up to serve for the registered domain of netbrandeds.info, and I updated the computer/network name accordingly, so now from the changeip command I get: Primary address = 208.52.189.44 Current HostName = netbrandeds-mini1.netbrandeds.info DNS HostName = netbrandeds-mini1.netbrandeds.info The names match. There is nothing to change. dirserv:success = "success" However, now apache doesn't work anymore. I even went back to it's default/original httpd.conf file, and it won't serve anything. Even putting localhost in Safari that is running on the machine itself returns a Safari can't connect to the server. The apache error log shows the following. [Tue Jan 07 21:19:31 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "netbrandeds-mini1.netbrandeds.info" Configuration Failed [Tue Jan 07 22:53:54 2014] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Tue Jan 07 22:53:58 2014] [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "netbrandeds-mini1.netbrandeds.info" Configuration Failed I'm now into an area I'm not familiar with at all. Didn't find much googling except something to do with etc/hosts, but monkeying with that didn't help either. > > > > On 1/7/2014, 4:43 AM, "Jeffrey Schmitz" wrote: > > Right now to keep it simple I'm using localhost. all my settings are shown > below. If there is somewhere else I need to set WOHost I'll add it to my > well worn list. Also when I do a changeip command I get this, so not sure my > dns stuff is setup right anyway... > > sudo changeip -checkhostname > Password: > > Primary address = 208.52.189.43 > > Current HostName = netbrackets.local > > The DNS hostname is not available, please repair DNS and re-run this tool. > > dirserv:success = "success" > > > WOHost and other settings: > > Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: > WOHost=localhost > > JavaMonitor Site HTTP Adaptor URL: > http://localhost/cgi-bin/WebObjects > > JavaMonitor Hosts Host name (Status says available so wotaskd daemon is > running): > localhost > > /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: > WebObjectsConfig localhost:1085 10 > > httpd.conf: > ServerName localhost:80 > <Directory /> > Options FollowSymLinks > AllowOverride None > # Order deny,allow > # Deny from all > </Directory> > ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) > "/Library/WebServer/CGI-Executables/$1" > Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf > > Additional Arguments Settings in Javamonitor: > > -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES > -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost localhost > > On Jan 6, 2014, at 10:26 PM, Chuck Hill <[email protected]> wrote: > >> Are you running wotaskd, JavaMonitor, and your app all with the same WOHost >> setting? Is it a real DNS name? >> >> >> -- >> Chuck Hill >> Executive Managing Partner, VP Development and Technical Services >> >> 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/gvc/practical_webobjects >> >> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest >> Growing Companies in B.C! >> >> Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of >> Canada’s Fastest-Growing Companies by PROFIT Magazine! >> >> On 1/6/2014, 8:22 PM, "Jeffrey Schmitz" wrote: >> >> 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]
