Thought I’d checked back in with this one. This year’s hocus pocus ended up being to remove all WOHost parameters, including from:
/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties /Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Resources/Properties and from the Additional parameters entered in WOMonitor for my application instance. After doing this and restarting everything I can again run applications (phew!) Can’t wait to learn more about mod_proxy and extract my self from wotaskd/woAdaptor heck. Jeff > On Dec 20, 2014, at 7:55 PM, Jeffrey Schmitz <j...@netbrackets.com> wrote: > > Hi All, > Back with my annual “the requested application was not found on this > server" issue. This time it’s with a machine running snow leopard server > that had been running for years with no problem, then suddenly started > getting the app not found error. It has all the same symptoms as has > happened before on other machines (see previous email below). JavaMonitor > sees my app and starts it fine, there are no errors in the logs (application, > javamonitor, or wotaskd) and all the properties are set as shown below in my > previous email, except this machine’s name is > netbrandeds-mi...@netbrandeds.info > <mailto:netbrandeds-mi...@netbrandeds.info>. > > The host commands work as expected (see below). I did try changing all the > below entries to locahost, and that didn’t help either, so I’m at a bit of a > loss as to how to proceed. Any help would be greatly appreciated. Should I > consider deploying with Tomcat? > > Heres the result of the host commands: > > netbrandeds-mini1:Apache2.2 netBrackets$ host 208.52.189.44 > 44.189.52.208.in-addr.arpa domain name pointer > netbrandeds-mini1.netbrandeds.info. > > netbrandeds-mini1:Apache2.2 netBrackets$ host > netbrandeds-mini1.netbrandeds.info > netbrandeds-mini1.netbrandeds.info has address 208.52.189.44 > netbrandeds-mini1.netbrandeds.info mail is handled by 10 mx00.1and1.com > <http://mx00.1and1.com/>. > netbrandeds-mini1.netbrandeds.info mail is handled by 10 mx01.1and1.com > <http://mx01.1and1.com/>. > > >> On May 9, 2014, at 8:04 PM, Jeffrey Schmitz <j...@netbrackets.com >> <mailto:j...@netbrackets.com>> wrote: >> >> A month has passed and more, so I'm ready to try the "canonical" settings >> for deploying my app with it's real domain name instead of localhost. So >> far, not so good... >> >> I was able to add and start my application in JavaMonitor, and everything >> seemed to come up fine with no errors listed in either the wotaskd log, or >> in the application's log. However, when I try to bring up the site I get >> the dreaded "The requested application was not found" error. Below are the >> settings I have. Any ideas for something to try or other logs to check, >> etc.? >> >> registered IP/Domain: >> >> $ host 208.52.168.238 >> 238.168.52.208.in-addr.arpa domain name pointer netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/> >> $ host netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> >> netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> has >> address 208.52.168.238 >> >> /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: >> WOHost=netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> >> /Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Resources/Properties: >> WOHost=netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> >> >> httpd.conf: >> 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) >> WebObjectsAlias /cgi-bin/WebObjects >> WebObjectsConfig http://208.52.168.238:1085 <http://208.52.168.238:1085/> 10 >> >> /Library/WebObjects/Applications/netBrackets.woa/Contents/Resources/Properties: >> Tried with no localhostips set and 2 variations: >> er.extensions.WOHostUtilities.localhostips=(netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>) >> er.extensions.WOHostUtilities.localhostips=(208.52.168.238) >> >> >> JavaMonitor Settings: >> >> Site Http Adaptor URL: >> http://netbrackets1.netbrackets.com/cgi-bin/WebObjects >> <http://netbrackets1.netbrackets.com/cgi-bin/WebObjects> >> >> Hosts: >> netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> / >> 208.52.168.238 (Available=YES) >> >> Application Additional Parameters: >> -d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES >> EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost >> netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> >> >> >> netbrackets.com <http://netbrackets.com/>:1085 shows: >> <SiteConfig type="NSDictionary"> >> <hostArray type="NSArray"> >> <element type="NSDictionary"> >> <type type="NSString">MACOSX</type> >> <name type="NSString">netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/></name> >> </element> >> </hostArray> >> <applicationArray type="NSArray"> >> <element type="NSDictionary"> >> <adaptorThreadsMax >> type="NSNumber">256</adaptorThreadsMax> >> <startingPort type="NSNumber">2001</startingPort> >> <cachingEnabled type="NSString">YES</cachingEnabled> >> <adaptorThreads type="NSNumber">8</adaptorThreads> >> <adaptor type="NSString">WODefaultAdaptor</adaptor> >> <projectSearchPath >> type="NSString">()</projectSearchPath> >> <macOutputPath >> type="NSString">/Library/WebObjects/Logs</macOutputPath> >> <additionalArgs type="NSString">-d64 -Xms2048m >> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO >> -WODirectConnectEnabled NO -WOHost netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/></additionalArgs> >> <autoOpenInBrowser >> type="NSString">NO</autoOpenInBrowser> >> <name type="NSString">netBrackets</name> >> <phasedStartup type="NSString">YES</phasedStartup> >> <adaptorThreadsMin >> type="NSNumber">16</adaptorThreadsMin> >> <notificationEmailEnabled >> type="NSString">NO</notificationEmailEnabled> >> <debuggingEnabled type="NSString">NO</debuggingEnabled> >> <macPath >> type="NSString">/Library/WebObjects/Applications/netBrackets.woa/netBrackets</macPath> >> <autoRecover type="NSString">YES</autoRecover> >> <lifebeatInterval type="NSNumber">30</lifebeatInterval> >> <sessionTimeOut type="NSNumber">3600</sessionTimeOut> >> <timeForStartup type="NSNumber">60</timeForStartup> >> <minimumActiveSessionsCount >> type="NSNumber">0</minimumActiveSessionsCount> >> <listenQueueSize type="NSNumber">128</listenQueueSize> >> </element> >> </applicationArray> >> <instanceArray type="NSArray"> >> <element type="NSDictionary"> >> <port type="NSNumber">2001</port> >> <cachingEnabled type="NSString">YES</cachingEnabled> >> <additionalArgs type="NSString">-d64 -Xms2048m >> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO >> -WODirectConnectEnabled NO -WOHost netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/></additionalArgs> >> <path >> type="NSString">/Library/WebObjects/Applications/netBrackets.woa/netBrackets</path> >> <outputPath >> type="NSString">/Library/WebObjects/Logs/netBrackets-1</outputPath> >> <autoOpenInBrowser >> type="NSString">NO</autoOpenInBrowser> >> <schedulingDailyStartTime >> type="NSNumber">3</schedulingDailyStartTime> >> <debuggingEnabled type="NSString">NO</debuggingEnabled> >> <schedulingEnabled >> type="NSString">NO</schedulingEnabled> >> <schedulingStartDay >> type="NSNumber">1</schedulingStartDay> >> <hostName type="NSString">netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/></hostName> >> <schedulingInterval >> type="NSNumber">12</schedulingInterval> >> <autoRecover type="NSString">NO</autoRecover> >> <lifebeatInterval type="NSNumber">30</lifebeatInterval> >> <applicationName >> type="NSString">netBrackets</applicationName> >> <gracefulScheduling >> type="NSString">YES</gracefulScheduling> >> <schedulingWeeklyStartTime >> type="NSNumber">3</schedulingWeeklyStartTime> >> <id type="NSNumber">1</id> >> <schedulingType type="NSString">DAILY</schedulingType> >> <minimumActiveSessionsCount >> type="NSNumber">0</minimumActiveSessionsCount> >> <schedulingHourlyStartTime >> type="NSNumber">3</schedulingHourlyStartTime> >> </element> >> <element type="NSDictionary"> >> <port type="NSNumber">2002</port> >> <cachingEnabled type="NSString">YES</cachingEnabled> >> <schedulingStartDay >> type="NSNumber">1</schedulingStartDay> >> <additionalArgs type="NSString">-d64 -Xms2048m >> -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO >> -WODirectConnectEnabled NO -WOHost netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/></additionalArgs> >> <path >> type="NSString">/Library/WebObjects/Applications/netBrackets.woa/netBrackets</path> >> <outputPath >> type="NSString">/Library/WebObjects/Logs/netBrackets-2</outputPath> >> <schedulingHourlyStartTime >> type="NSNumber">3</schedulingHourlyStartTime> >> <autoOpenInBrowser >> type="NSString">NO</autoOpenInBrowser> >> <schedulingEnabled >> type="NSString">NO</schedulingEnabled> >> <schedulingType type="NSString">DAILY</schedulingType> >> <debuggingEnabled type="NSString">NO</debuggingEnabled> >> <schedulingInterval >> type="NSNumber">12</schedulingInterval> >> <autoRecover type="NSString">YES</autoRecover> >> <lifebeatInterval type="NSNumber">30</lifebeatInterval> >> <applicationName >> type="NSString">netBrackets</applicationName> >> <gracefulScheduling >> type="NSString">YES</gracefulScheduling> >> <schedulingWeeklyStartTime >> type="NSNumber">3</schedulingWeeklyStartTime> >> <id type="NSNumber">2</id> >> <hostName type="NSString">netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/></hostName> >> <minimumActiveSessionsCount >> type="NSNumber">0</minimumActiveSessionsCount> >> <schedulingDailyStartTime >> type="NSNumber">3</schedulingDailyStartTime> >> </element> >> </instanceArray> >> <site type="NSDictionary"> >> <viewRefreshEnabled type="NSString">YES</viewRefreshEnabled> >> <woAdaptor >> type="NSString">http://netbrackets1.netbrackets.com/cgi-bin/WebObjects</woAdaptor> >> <http://netbrackets1.netbrackets.com/cgi-bin/WebObjects%3C/woAdaptor%3E> >> <viewRefreshRate type="NSNumber">60</viewRefreshRate> >> </site> >> </SiteConfig> >> >> >> >> Adaptor Config as sent to Local WOAdaptors - All Running Applications and >> Instances >> >> <?xml version="1.0" encoding="ASCII"?> >> <adaptor> >> <application name="netBrackets"> >> <instance id="2" port="2002" host="netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>"/> >> </application> >> <application name="JavaMonitor"> >> <instance id="-56789" port="56789" host="netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>"/> >> </application> >> </adaptor> >> >> >> >> >> Adaptor Config as sent to remote WOAdaptors - All Registered and Running >> Applications and Instances >> >> <?xml version="1.0" encoding="ASCII"?> >> <adaptor> >> <application name="netBrackets"> >> <instance id="2" port="2002" host="netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>"/> >> </application> >> </adaptor> >> >> >> >> Adaptor Config as written to disk - All Registered Applications and Instances >> >> <?xml version="1.0" encoding="ASCII"?> >> <adaptor> >> <application name="netBrackets"> >> <instance id="1" port="2001" host="netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>"/> >> <instance id="2" port="2002" host="netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>"/> >> </application> >> </adaptor> >> >> >> >> Properties of this wotaskd >> >> The Configuration Directory is: /Library/WebObjects/Configuration/ >> Wotaskd is NOT writing WOConfig.xml to disk >> The multicast address is: 239.128.14.2 >> This wotaskd is running on Port: 1085 >> Wotaskd is NOT responding to Multicast >> WOAssumeApplicationIsDeadMultiplier is 4 >> The System Properties are: {file.encoding.pkg=sun.io, >> java.home=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, >> WOAutoOpenInBrowser=false, WOAcceptMalformedCookies=false, >> WODirectConnectEnabled=true, er.extensions.stackTrace.cleanup=true, >> java.endorsed.dirs=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed, >> sun.os.patch.level=unknown, java.vendor.url=http://www.apple.com/ >> <http://www.apple.com/>, java.version=1.6.0_65, WOShouldUseSpawn=true, >> WOMaxIOBufferSize=8196, _ResourceRequestHandlerKey=wr, >> java.vendor.url.bug=http://bugreport.apple.com/ >> <http://bugreport.apple.com/>, >> er.extensions.concurrency.ERXTaskObjectStoreCoordinatorPool.maxCoordinators=1, >> _WebServiceRequestHandlerKey=ws, user.name=_appserver, >> sun.io.unicode.encoding=UnicodeLittle, sun.jnu.encoding=MacRoman, >> java.runtime.name=Java(TM) SE Runtime Environment, WOSMTPHost=smtp, >> java.specification.name=Java Platform API Specification, >> WOLifebeatInterval=30, >> ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, >> user.timezone=America/New_York, WOUserDirectory=/, >> WOAllowRapidTurnaround=true, path.separator=:, NSProjectSearchPath=(".."), >> file.encoding=MacRoman, WOApplicationBaseURL=/WebObjects, >> sun.java.command=com.webobjects._bootstrap.WOBootstrap -WOPort 1085 >> -_DeploymentDebugging true, WORespondsToMulticastQuery=false , >> socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16, >> WOSessionStoreClassName=WOServerSessionStore, >> java.io.tmpdir=/var/folders/zz/zyxvpxvq6csfxvn_n000009w00002g/T/, >> user.language=en, line.separator= >> , er.extensions.ERXGracefulShutdown.Enabled=false, >> com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate.active=false, >> WOMaxSocketIdleTime=180000, WOSocketMonitorSleepTime=50, WOPlatform=MacOS, >> java.vm.info=mixed mode, java.vm.specification.name=Java Virtual Machine >> Specification, WOWorkerThreadCountMax=256, WOMulticastAddress=239.128.14.2, >> log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout, >> WOListenQueueSize=128, WOPort=1085, >> er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings"), >> http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, >> _StreamActionRequestHandlerKey=wis, >> log4j.appender.A1=org.apache.log4j.ConsoleAppender, log4j.rootCategory=INFO, >> A1, WODebuggingEnabled=false, WOAssumeApplicationIsDeadMultiplier=4, >> java.awt.printerjob=apple.awt.CPrinterJob, >> er.extensions.WOHostUtilities.localhostips=(localhost), >> er.extensions.ERXSharedEOLoader.PatchSharedEOLoading=false, >> gopherProxySet=false, _DirectActionRequestHandlerKey=wa, >> log4j.appender.A1.layout.ConversionPattern=%d %-5p %V{u/f} [%t] %C{2} >> (%F:%L) - %m%n, >> er.extensions.ERXNavigationManager.localizeDisplayKeys=false, >> WOAdaptorURL=http://localhost/cgi-bin/WebObjects >> <http://localhost/cgi-bin/WebObjects>, os.name=Mac OS X, >> java.specification.vendor=Sun Microsystems Inc., >> WOFrameworksBaseURL=/WebObjects/Frameworks, mrj.build=11M4609, >> er.extensions.ERXLocalizer.availableLanguages=(English,German,Japanese), >> java.vm.name=Java HotSpot(TM) 64-Bit Server VM, >> mrj.version=1070.1.6.0_65-462, >> WOApplicationClass=com.webobjects.monitor.wotaskd.Application, >> er.extensions.ERXMessageEncoding.Enabled=false, >> WOContextClassName=WOContext, >> java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java, >> java.class.version=50.0, com.webobjects.pid=22366, >> _DeploymentDebugging=true, WOHost=netbrackets1.netbrackets.com >> <http://netbrackets1.netbrackets.com/>, >> er.extensions.ERXRaiseOnMissingEditingContextDelegate=true, >> WOLocalRootDirectory=, WOWorkerThreadCount=8, >> WOMissingResourceSearchEnabled=true, >> sun.boot.library.path=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries, >> WOSocketCacheSize=100, sun.management.compiler=HotSpot 64-Bit Tiered >> Compilers, java.awt.graphicsenv=apple.awt.CGraphicsEnvironment, >> WOLifebeatDestinationPort=1085, >> er.extensions.ERXLocalizer.isLocalizationEnabled=true, WOGenerateWSDL=true, >> java.vm.specification.version=1.0, WOStatisticsStoreSessionMax=50, >> WOMonitorEnabled=false, >> er.extensions.ERXGracefulShutdown.SignalsToHandle=(TERM, INT), >> awt.toolkit=apple.awt.CToolkit, sun.cpu.isalist=, WOLifebeatEnabled=false, >> _WOHTMLParserClassName=WOHTMLTemplateParser, >> er.extensions.stackTrace.skipPatternsFile=StackTraceSkipPatterns-Normal.plist, >> WOEnvClassPath=, >> java.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext, >> os.version=10.9.2, user.home=/var/empty, com.webobjects.version=5.4.3, >> _ComponentRequestHandlerKey=wo, WORootDirectory=/System, >> java.vm.vendor=Apple Inc., WOSessionTimeOut=3600, >> WODisplayExceptionPages=true, WOAdditionalAdaptors=(), >> WOWorkerThreadCountMin=16, dbMinConnectionsGLOBAL=1, >> er.extensions.ERXWOForm.multipleSubmitDefault=true, >> user.dir=/Library/WebObjects/JavaApplications/wotaskd.woa, >> er.extensions.ERXComponentActionRedirector.enabled=false, WOMaxHeaders=200, >> sun.cpu.endian=little, er.extensions.ERXPatcher.cleanupXHTML=false, >> WOAutoOpenClientApplication=true, java.vm.version=20.65-b04-462, >> com.webobjects.classpath=/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/wotaskd.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaMonitorFramework.framework/Resources/Java/JavaMonitorFramework.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5-sources.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.5.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2-sources.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.16.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.6.3.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.6.3.jar:/Library/WebObjects/Extensions/axis-ant.jar:/Library/WebObjects/Extensions/axis.jar:/Library/WebObjects/Extensions/commons-discovery-0.2.jar:/Library/WebObjects/Extensions/commons-logging-1.0.4.jar:/Library/WebObjects/Extensions/derby.jar:/Library/WebObjects/Extensions/derbyclient.jar:/Library/WebObjects/Extensions/jaxrpc.jar:/Library/WebObjects/Extensions/log4j-1.2.14.jar:/Library/WebObjects/Extensions/saaj.jar:/Library/WebObjects/Extensions/serializer.jar:/Library/WebObjects/Extensions/servlet.jar:/Library/WebObjects/Extensions/wsdl4j-1.5.1.jar:/Library/WebObjects/Extensions/xalan.jar:/Library/WebObjects/Extensions/xercesImpl.jar:/Library/WebObjects/Extensions/xml-apis.jar:/Library/WebObjects/Extensions/, >> java.class.path=WOBootstrap.jar, os.arch=x86_64, _AjaxRequestHandlerKey=ja, >> sun.java.launcher=SUN_STANDARD, >> er.extensions.ERXNavigationManager.NavigationMenuFileName=NavigationMenu.plist, >> WODefaultUndoStackLimit=10, WOAllowsCacheControlHeader=true, >> java.vm.specification.vendor=Sun Microsystems Inc., >> er.extensions.ERXLocalizer.defaultLanguage=English, file.separator=/, >> _WOSessionReclaimingInterval=60, >> java.runtime.version=1.6.0_65-b14-462-11M4609, >> sun.boot.class.path=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar, >> WOCachingEnabled=true, WOIncludeCommentsInResponse=true, user.country=US, >> WOAllowsConcurrentRequestHandling=false, WOLaunchdEnabled=false, >> WOAdaptor=WOClassicAdaptor, java.vendor=Apple Inc., >> WOSavesAdaptorConfiguration=false, awt.nativeDoubleBuffering=true, >> er.extensions.ERXPatcher.suppressValueBindingSlow=false, >> java.specification.version=1.6, sun.arch.data.model=64} >> >> On Mar 5, 2014, at 6:32 PM, Chuck Hill <ch...@global-village.net >> <mailto:ch...@global-village.net>> wrote: >> >> >>> Hi, >>> >>> >>> On 2014-03-04, 4:19 PM, "Jeffrey Schmitz" wrote: >>> >>> I'm guessing that or something very much like it is the problem. But I >>> don't think I have the courage to try it at this point since it's currently >>> running with localhost. Maybe in about a month, or if it stops working >>> again I'll try it with all WOHosts and setting all to domain names instead >>> of localhost. >>> >>> I wish there were a canonical, well documented way to set this stuff that >>> worked every time, so I'm going to take a first cut. >>> >>> The list below I think represents some very common deployment "problem >>> child" entries, but I certainly at this time haven't found a magic answer >>> that always works for me for the things in red, with the biggest overall >>> questions being: >>> >>> Use localhost/don't use localhost >>> >>> Use localhost for single machine development. >>> >>> >>> Use IP Addresses or domain names >>> >>> Use for deployment. >>> >>> >>> Use WOHost properties/Don't use WOHost properties >>> >>> Always use WOHost. >>> >>> >>> Note that if you do use domain names, they must be reverse lookup'able, so >>> that the 'host ip' and 'host domain' commands match up >>> >>> Very much so. >>> >>> >>> e.g. >>> $host netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> >>> netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> has >>> address 208.52.168.238 >>> >>> $ host 208.52.168.238 >>> 238.168.52.208.in-addr.arpa domain name pointer >>> netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/>. >>> >>> >>> With that said, here is my first attempt at the canonical list of >>> deployment problem children: >>> >>> /Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Properties: >>> WOHost=[IP/Domain/localhost/don't use WOHost] >>> >>> /Library/WebObjects/JavaApplications/JavaMonitor/Contents/Resources/Properties: >>> WOHost=[IP/Domain/localhost/don't use WOHost] >>> >>> JavaMonitor Site HTTP Adaptor URL: >>> http://[IP/Domain/localhost]/cgi-bin/WebObjects >>> JavaMonitor Hosts Host name (Status says available so wotaskd daemon is >>> running): >>> [IP/Domain/localhost] >>> >>> /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf: >>> WebObjectsConfig [IP/Domain/localhost]:1085 10 >>> >>> >>> httpd.conf "problem" entries: >>> >>> ServerName [IP/Domain/localhost]:80 >>> >>> DocumentRoot "/Library/WebServer/Documents" >>> <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 >>> >>> apache.conf "problem" entries: >>> >>> LoadModule WebObjects_module >>> /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so >>> WebObjectsDocumentRoot /Library/WebServer/Documents >>> WebObjectsAlias /cgi-bin/WebObjects >>> WebObjectsConfig [IP/Domain/localhost]:1085 10 >>> >>> Additional Arguments "magic" entry in Javamonitor: >>> >>> .... -WOHost [IP/Domain/localhost/don't use WOHost] >>> >>> >>> >>> >>> >>> On Mar 4, 2014, at 11:30 AM, Chuck Hill <ch...@global-village.net >>> <mailto:ch...@global-village.net>> wrote: >>> >>>> The random results and lack of WOHost settings suggest that the apps are >>>> starting while networking is getting finalized. I’d try adding WOHost to >>>> everything (apps, JavaMonitor, wotaskd). >>>> >>>> Chuck >>>> >>>> >>>> On 2014-03-04, 7:56 AM, "Jeff Schmitz" wrote: >>>> >>>> Definitely random. Every reboot is an adventure :-) >>>> >>>> Here's the host info. I think it looks good. >>>> host netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> >>>> netbrackets1.netbrackets.com <http://netbrackets1.netbrackets.com/> has >>>> address 208.52.168.238 >>>> >>>> host 208.52.168.238 >>>> 238.168.52.208.in-addr.arpa domain name >>>> >>>> I'll have to try starting the app from the command line later but all is >>>> working right now so I'm pretty sure the app itself starts fine. Per the >>>> logs It was actually getting started by javamonitor without error but >>>> javamonitor didn't know it. >>>> >>>> Sent from my iPhone >>>> >>>> On Mar 4, 2014, at 9:01 AM, Aaron Rosenzweig <aa...@chatnbike.com >>>> <mailto:aa...@chatnbike.com>> wrote: >>>> >>>>> Hi Jeff, >>>>> >>>>> I wonder if you are having NSLOOKUP trouble. >>>>> >>>>> If the DNS isn’t just right, WO can get easily confused and probably will >>>>> cause sporadic problems like you are experiencing. >>>>> >>>>> Right? If I understand it correctly things are failing somewhat randomly. >>>>> It’s not like they never work, they sometimes do. That smells of DNS >>>>> trouble. >>>>> >>>>> In particular: >>>>> >>>>> "Check that the machine is properly identified in the DNS including the >>>>> reverse lookup." >>>>> AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/> >>>>> e: aa...@chatnbike.com <mailto:aa...@chatnbike.com> t: (301) 956-2319 >>>>> >>>>> On Mar 4, 2014, at 4:44 AM, Jeffrey Schmitz <j...@netbrackets.com >>>>> <mailto:j...@netbrackets.com>> wrote: >>>>> >>>>>> JavaMonitor started the instances, and they start fine with no errors. >>>>>> >>>>>> Is there some way I can get this working without javamonitor knowing >>>>>> it's running at least temporarily? The app is up and running according >>>>>> to the log at least. >>>>>> >>>>>> >>>>>> On Mar 4, 2014, at 3:08 AM, Alexander Spohr <a...@freeport.de >>>>>> <mailto:a...@freeport.de>> wrote: >>>>>> >>>>>>> >>>>>>> Am 04.03.2014 um 09:30 schrieb Jeffrey Schmitz <j...@netbrackets.com >>>>>>> <mailto:j...@netbrackets.com>>: >>>>>>> >>>>>>>> port = 2003; runningState = "DEAD" >>>>>>> >>>>>>> Who started the instances? >>>>>>> Are they on the right port? >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Do not post admin requests to the list. They will be ignored. >>>>>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com >>>>>> <mailto:Webobjects-dev@lists.apple.com>) >>>>>> Help/Unsubscribe/Update your Subscription: >>>>>> https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com >>>>>> >>>>>> <https://lists.apple.com/mailman/options/webobjects-dev/aaron%40chatnbike.com> >>>>>> >>>>>> This email sent to aa...@chatnbike.com <mailto:aa...@chatnbike.com> >>> >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jeff%40netbrackets.com > > This email sent to j...@netbrackets.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com