On 1/8/2014, 10:04 PM, "Jeffrey Schmitz" wrote:
Yes.
Why is that not netbrandeds-mini1.netbrandeds.info? There are two domain names? Multiple machines?
Returns:
<adaptor>
<application name="netBrackets">
<instance id="1" port="2001" host="netbrandeds-mini1.netbrandeds.info"/>
</application>
</adaptor>
And from javamonitor Hosts tab/View Config I get:
Wotaskd for WebObjects 5: netbrandeds-mini1.netbrandeds.info
Site Config as written to disk
<SiteConfig type="NSDictionary">
<hostArray type="NSArray">
<element type="NSDictionary">
<type type="NSString">MACOSX</type>
<name type="NSString">netbrandeds-mini1.netbrandeds.info</name>
</element>
</hostArray>
<applicationArray type="NSArray">
<element type="NSDictionary">
<cachingEnabled type="NSString">YES</cachingEnabled>
<adaptor type="NSString">WODefaultAdaptor</adaptor>
<name type="NSString">netBrackets</name>
<adaptorThreadsMin type="NSNumber">16</adaptorThreadsMin>
<notificationEmailEnabled type="NSString">NO</notificationEmailEnabled>
<macPath type="NSString">/Library/WebObjects/Applications/netBrackets.woa/netBrackets</macPath>
<lifebeatInterval type="NSNumber">30</lifebeatInterval>
<statisticsPassword type="NSString"></statisticsPassword>
<adaptorThreadsMax type="NSNumber">256</adaptorThreadsMax>
<startingPort type="NSNumber">2001</startingPort>
<adaptorThreads type="NSNumber">8</adaptorThreads>
<projectSearchPath type="NSString">()</projectSearchPath>
<autoRecover type="NSString">YES</autoRecover>
<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
<listenQueueSize type="NSNumber">128</listenQueueSize>
<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
<macOutputPath type="NSString">/Library/WebObjects/Logs/</macOutputPath>
<sessionTimeOut type="NSNumber">3600</sessionTimeOut>
<debuggingEnabled type="NSString">NO</debuggingEnabled>
<phasedStartup type="NSString">YES</phasedStartup>
<additionalArgs type="NSString">-d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info</additionalArgs>
<timeForStartup type="NSNumber">30</timeForStartup>
</element>
</applicationArray>
<instanceArray type="NSArray">
<element type="NSDictionary">
<hostName type="NSString">netbrandeds-mini1.netbrandeds.info</hostName>
<port type="NSNumber">2001</port>
<cachingEnabled type="NSString">YES</cachingEnabled>
<additionalArgs type="NSString">-d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES -EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO -WOHost netbrandeds-mini1.netbrandeds.info</additionalArgs>
<path type="NSString">/Library/WebObjects/Applications/netBrackets.woa/netBrackets</path>
<outputPath type="NSString">/Library/WebObjects/Logs/netBrackets-1</outputPath>
<id type="NSNumber">1</id>
<schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
<schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
<schedulingEnabled type="NSString">NO</schedulingEnabled>
<schedulingStartDay type="NSNumber">1</schedulingStartDay>
<debuggingEnabled type="NSString">NO</debuggingEnabled>
<gracefulScheduling type="NSString">YES</gracefulScheduling>
<autoRecover type="NSString">YES</autoRecover>
<lifebeatInterval type="NSNumber">30</lifebeatInterval>
<schedulingInterval type="NSNumber">12</schedulingInterval>
<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
<applicationName type="NSString">netBrackets</applicationName>
<schedulingType type="NSString">DAILY</schedulingType>
<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
</element>
</instanceArray>
<site type="NSDictionary">
<password type="NSString">DCFC2F80AC202A7D314CD3E4C06C8F5D320F</password>
<viewRefreshEnabled type="NSString">YES</viewRefreshEnabled>
<woAdaptor type="NSString">http://netbrandeds-mini1.netbrandeds.info/cgi-bin/WebObjects</woAdaptor>
<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="1" port="2001" host="netbrandeds-mini1.netbrandeds.info"/>
</application>
<application name="JavaMonitor">
<instance id="-56789" port="56789" host="netbrandeds-mini1.netbrandeds.info"/>
</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="1" port="2001" host="netbrandeds-mini1.netbrandeds.info"/>
</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="netbrandeds-mini1.netbrandeds.info"/>
</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, er.extensions.ERJars.hasLocalization=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="" href="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/, 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, WOLifebeatInterval=30, java.specification.name=Java Platform API Specification, 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 , 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, er.extensions.load.Properties.framework.JavaWOExtensions=load, WOPlatform=MacOS, java.vm.info=mixed mode, java.vm.specification.name=Java Virtual Machine Specification, WOWorkerThreadCountMax=256, er.extensions.load.Properties.framework.JavaMonitorFramework=load, 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"), _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.load.Properties.framework.ERExtensions=load, 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, os.name=Mac OS X, java.specification.vendor=Sun Microsystems Inc., WOFrameworksBaseURL=/WebObjects/Frameworks, mrj.build=11M4609, er.extensions.load.Properties.framework.ERRest=load, 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, er.extensions.ERExtensions.hasLocalization=true, java.class.version=50.0, com.webobjects.pid=81, _DeploymentDebugging=true, WOHost=netbrandeds-mini1.netbrandeds.info, 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.ERRest.hasLocalization=false, 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=, _WOHTMLParserClassName=WOHTMLTemplateParser, WOLifebeatEnabled=false, 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.8.5, user.home=/var/empty, com.webobjects.version=5.1, _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/ERFoundation.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/ERRest.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-cli-1.2.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-codec-1.6.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-io-2.2.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.6.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/httpclient-4.2.1.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpcore-4.2.1.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-2.1.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.10.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.17.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.6.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.6.6.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/commons-beanutils-1.8.3.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/commons-collections-3.2.1.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/commons-logging-1.1.1.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/ezmorph-1.0.6.jar:/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/json-lib-2.3-jdk15.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, er.extensions.ERXLocalizationEditor.endoding=UTF-16BE, _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, er.extensions.load.Properties.framework.ERJars=load, WOCachingEnabled=true, WOIncludeCommentsInResponse=true, user.country=US, WOAllowsConcurrentRequestHandling=false, WOLaunchdEnabled=false, WOAdaptor=WOClassicAdaptor, java.vendor=Apple Inc., WOSavesAdaptorConfiguration=false, awt.nativeDoubleBuffering=true, er.extensions.JavaMonitorFramework.hasLocalization=false, er.extensions.ERXPatcher.suppressValueBindingSlow=false, er.extensions.JavaWOExtensions.hasLocalization=false, java.specification.version=1.6, sun.arch.data.model=64}
On Jan 8, 2014, at 11:40 PM, Chuck Hill < email@hidden> wrote:
--
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.
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, 9:37 PM, "Jeffrey Schmitz" wrote:
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@hidden> wrote:
What does this show?
--
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.
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
# 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)
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:
JavaMonitor Hosts Host name, tried both (Status said available for both so wotaskd daemon is running):
On Jan 8, 2014, at 5:52 AM, Pascal Robert < email@hidden> 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@hidden>
À: "Chuck Hill" <email@hidden>
Cc: "WebObjects Development" <email@hidden>
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@hidden > 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="">
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@hidden > 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@hidden > 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@hidden > wrote:
<blockquote>
On Jan 6, 2014, at 4:14 AM, Amedeo Mantica < email@hidden > 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@hidden > 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@hidden )
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
_______________________________________________
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
|