From the netbrandeds-mini1 machine it says it can't connect.  Also tried 
localhost:1085 with same result.

From remote machine I get:'
Attempt to call Direct Action: defaultAction on wotaskd with incorrect password.

On Jan 8, 2014, at 11:30 PM, Chuck Hill <[email protected]> wrote:

> What does this show?
> 
>  http://netbrandeds-mini1.netbrandeds.info:1085
> 
> 
> -- 
> 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/8/2014, 8:42 PM, "Jeffrey Schmitz" wrote:
> 
> 
> OK, I've added the netbrandeds-mini1 "sub-domain" to my domain at 1and1, and 
> I've had my hosting provider setup the "PTR" record.  Both forward and 
> reverse DNS lookups are working (but should reverse also find 
> www.netbrandeds.info?)
> 
> host 208.52.189.44
> 44.189.52.208.in-addr.arpa domain name pointer 
> netbrandeds-mini1.netbrandeds.info.
> 
> ping netbrandeds-mini1.netbrandeds.info
> PING netbrandeds-mini1.netbrandeds.info (208.52.189.44): 56 data bytes
> 64 bytes from 208.52.189.44: icmp_seq=0 ttl=48 time=115.582 ms
> 64 bytes from 208.52.189.44: icmp_seq=1 ttl=48 time=126.453 ms
> 64 bytes from 208.52.189.44: icmp_seq=2 ttl=48 time=142.789 ms
> 64 bytes from 208.52.189.44: icmp_seq=3 ttl=48 time=157.293 ms
> 
> Apache is now working correctly, I'm not getting any "connection refused" 
> errors in womonitor logs, and I'm able to start and stop my app.  But when I 
> try to access my app, I still get:
> 
>  The requested application was not found on this server.
> 
> 
> Below are all the related settings.  I'm still not 100% sure when I should 
> specify www.netbrandeds.info vs netbrandeds-mini1.netbrandeds.info, and tried 
> both in a couple cases to no avail:
> 
> Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties:
>    WOHost=netbrandeds-mini1.netbrandeds.info
> 
> Library/WebObjects/JavaApplications/womonitor.woa/Contents/Resources/Properties:
>    WOHost=netbrandeds-mini1.netbrandeds.info
> 
> added the below to /etc/hosts , otherwise apache wouldn't start on a reboot, 
> only manually from apachectl, see 
> https://lists.macosforge.org/pipermail/macports-users/2010-February/019157.html:
>    # My local aliases
>    127.0.0.1    netbrandeds-mini1.netbrandeds.info
> 
> macports httpd.conf at /opt/local/apache2/conf/httpd.conf:
> 
>    ServerName netbrandeds-mini1.netbrandeds.info: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
> 
> 
> /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf:
> 
> LoadModule WebObjects_module    
> /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so (it's the 
> wonder version)
> 
> WebObjectsConfig http://netbrandeds-mini1.netbrandeds.info:1085 10
> 
> Java Monitor Application Additional Arguments:
> -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling  YES 
> -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost 
> netbrandeds-mini1.netbrandeds.info
> 
> JavaMonitor Site URL To Adaptor, tried both:
> http://www.netbrandeds.info/cgi-bin/WebObjects
> http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects
> 
> 
> JavaMonitor Hosts Host name, tried both (Status said available for both so 
> wotaskd daemon is running):
> http://www.netbrandeds.info/cgi-bin/WebObjects
> http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects
> 
> 
> On Jan 8, 2014, at 5:52 AM, Pascal Robert <[email protected]> wrote:
> 
>> Looks like netbrandeds.info is managed by your domain name provider (1and1). 
>> You need to login to whatever interface they have to manage your domain name 
>> and add a DNS entry for netbrandeds-mini1.netbrandeds.info with 
>> 208.52.189.44 as the IP address (it's a "A" type of DNS record). You also 
>> need to contact your hosting provider (BroadRiver ?) to ask them to map 
>> 208.52.189.44 to netbrandeds-mini1.netbrandeds.info (this is what we call a 
>> "reverse DNS entry", or a "PTR" record).
>> 
>> ----- Mail original ----- 
>> De: "Jeffrey Schmitz" <[email protected]> 
>> À: "Chuck Hill" <[email protected]> 
>> Cc: "WebObjects Development" <[email protected]> 
>> Envoyé: Mercredi 8 Janvier 2014 00:09:26 
>> Objet: Re: Can't start app from javamonitor 
>> 
>> 
>> 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. 
>> 
>> 
>> <blockquote>
>> 
>> 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 
>> 
>> 
>> </blockquote>
>> 
>> 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. 
>> 
>> 
>> 
>> <blockquote>
>> 
>> 
>> 
>> 
>> On 1/7/2014, 4:43 AM, "Jeffrey Schmitz" wrote: 
>> 
>> 
>> <blockquote>
>> 
>> 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: 
>> 
>> 
>> <blockquote>
>> 
>> 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: 
>> 
>> 
>> <blockquote>
>> 
>> 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: 
>> 
>> 
>> <blockquote>
>> 
>> 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: 
>> 
>> 
>> <blockquote>
>> 
>> 
>> On Jan 6, 2014, at 4:14 AM, Amedeo Mantica < [email protected] > wrote: 
>> 
>> 
>> <blockquote>
>> What happens starting manually the app? 
>> 
>> </blockquote>
>> 
>> 
>> 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: 
>> 
>> 
>> <blockquote>
>> Re: App won't start, no logs 
>> </blockquote>
>> 
>> 
>> <blockquote>
>> 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 
>> 
>> </blockquote>
>> 
>> 
>> 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] 
>> </blockquote>
>> 
>> 
>> 
>> </blockquote>
>> 
>> 
>> 
>> </blockquote>
>> 
>> 
>> </blockquote>
>> 
>> 
>> 
>> </blockquote>
>> 
>> 
>> </blockquote>
>> 
>> 
>> 
>> _______________________________________________ 
>> 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/probert%40macti.ca 
>> 
>> 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]

Reply via email to