WO Apache Adaptor not seeing my apps
WO Apache Adaptor not seeing my apps
- Subject: WO Apache Adaptor not seeing my apps
- From: Hugi Thordarson <email@hidden>
- Date: Thu, 2 Apr 2009 13:36:59 +0000
Good morning folks,
It's been a while since I've set up a new WO server and I'm getting a
bit rusty. Perhaps someone can show me what I'm overlooking...
* Everything running on the same machine.
* I've got wotaskd running on the machine, and the WO module installed.
* I ran JavaMonitor manually, added "localhost" to the hosts list and
created the JavaMonitor app, added an instance and started it. Sure
enought, it goes up and I can access it using Direct Connect.
* If I look at wotaskd's page (via direct connect:1085) it shows me a
seeimingly correct configuration, including the JavaMonitor applications
* But WOAdaptorInfoPage says no applications are available!
* And http://localhost/Apps/WebObjects/JavaMonitor says "The requested
application was not found on this server".
I'm running CentOS 5, WO 5.4.3, Apache 2.2 and the adaptor code from
Project Wonder.
Any ideas? I attached the config page, as served by wotaskd, and the
WOAdaptorInfoPage, if they help.
Cheers,
- Hugi
// Hugi Thordarson
// http://hugi.karlmenn.is/
Title: Wotaskd for WebObjects 5.2
Wotaskd for WebObjects 5.2: dev-xml.us.is
Site Config as written to disk
<SiteConfig type="NSDictionary">
<hostArray type="NSArray">
<element type="NSDictionary">
<type type="NSString">UNIX</type>
<name type="NSString">localhost</name>
</element>
</hostArray>
<applicationArray type="NSArray">
<element type="NSDictionary">
<adaptorThreadsMax type="NSNumber">256</adaptorThreadsMax>
<startingPort type="NSNumber">2001</startingPort>
<cachingEnabled type="NSString">YES</cachingEnabled>
<additionalArgs type="NSString">-WOAllowsConcurrentRequestHandling YES</additionalArgs>
<adaptor type="NSString">WODefaultAdaptor</adaptor>
<projectSearchPath type="NSString">()</projectSearchPath>
<listenQueueSize type="NSNumber">128</listenQueueSize>
<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
<name type="NSString">JavaMonitor</name>
<unixPath type="NSString">/opt/Apple/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor</unixPath>
<adaptorThreadsMin type="NSNumber">16</adaptorThreadsMin>
<notificationEmailEnabled type="NSString">NO</notificationEmailEnabled>
<debuggingEnabled type="NSString">NO</debuggingEnabled>
<phasedStartup type="NSString">YES</phasedStartup>
<autoRecover type="NSString">YES</autoRecover>
<adaptorThreads type="NSNumber">8</adaptorThreads>
<lifebeatInterval type="NSNumber">30</lifebeatInterval>
<sessionTimeOut type="NSNumber">3600</sessionTimeOut>
<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
<statisticsPassword type="NSString"></statisticsPassword>
<timeForStartup type="NSNumber">30</timeForStartup>
</element>
</applicationArray>
<instanceArray type="NSArray">
<element type="NSDictionary">
<port type="NSNumber">2001</port>
<cachingEnabled type="NSString">YES</cachingEnabled>
<additionalArgs type="NSString">-WOAllowsConcurrentRequestHandling YES</additionalArgs>
<path type="NSString">/opt/Apple/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor</path>
<id type="NSNumber">1</id>
<schedulingHourlyStartTime type="NSNumber">3</schedulingHourlyStartTime>
<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
<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>
<schedulingType type="NSString">DAILY</schedulingType>
<schedulingInterval type="NSNumber">12</schedulingInterval>
<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
<applicationName type="NSString">JavaMonitor</applicationName>
<hostName type="NSString">localhost</hostName>
<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
<schedulingDailyStartTime type="NSNumber">3</schedulingDailyStartTime>
</element>
</instanceArray>
<site type="NSDictionary">
<viewRefreshEnabled type="NSString">YES</viewRefreshEnabled>
<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="JavaMonitor">
<instance id="1" port="2001" host="localhost"/>
</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="JavaMonitor">
<instance id="1" port="2001" host="localhost"/>
</application>
</adaptor>
Adaptor Config as written to disk - All Registered Applications and Instances
<?xml version="1.0" encoding="ASCII"?>
<adaptor>
<application name="JavaMonitor">
<instance id="1" port="2001" host="localhost"/>
</application>
</adaptor>
Properties of this wotaskd
The Configuration Directory is: /opt/Apple/Local/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: {java.vendor=Sun Microsystems Inc., WOWorkerThreadCountMax=256, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot Client Compiler, WOSocketMonitorSleepTime=50, WOFrameworksBaseURL=/WebObjects/Frameworks, os.name=Linux, sun.boot.class.path=/usr/java/jdk1.5.0_17/jre/lib/rt.jar:/usr/java/jdk1.5.0_17/jre/lib/i18n.jar:/usr/java/jdk1.5.0_17/jre/lib/sunrsasign.jar:/usr/java/jdk1.5.0_17/jre/lib/jsse.jar:/usr/java/jdk1.5.0_17/jre/lib/jce.jar:/usr/java/jdk1.5.0_17/jre/lib/charsets.jar:/usr/java/jdk1.5.0_17/jre/classes, WODefaultUndoStackLimit=10, WOSessionStoreClassName=WOServerSessionStore, WOLifebeatInterval=30, WOEnvClassPath=, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_17-b04, WOListenQueueSize=128, user.name=root, WOSessionTimeOut=3600, WORootDirectory=/opt/Apple, WOMaxHeaders=200, _StreamActionRequestHandlerKey=wis, _WOHTMLParserClassName=WOHTMLTemplateParser, user.language=en, WOSMTPHost=smtp, sun.boot.library.path=/usr/java/jdk1.5.0_17/jre/lib/i386, java.version=1.5.0_17, WOAllowsCacheControlHeader=true, user.timezone=Atlantic/Reykjavik, WOUserDirectory=/, sun.arch.data.model=32, WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects, java.endorsed.dirs=/usr/java/jdk1.5.0_17/jre/lib/endorsed, _DirectActionRequestHandlerKey=wa, sun.cpu.isalist=, sun.jnu.encoding=UTF-8, file.encoding.pkg=sun.io, file.separator=/, java.specification.name=Java Platform API Specification, WOApplicationClass=Application, java.class.version=49.0, user.country=US, WOMaxSocketIdleTime=180000, java.home=/usr/java/jdk1.5.0_17/jre, java.vm.info=mixed mode, sharing, os.version=2.6.18-92.1.18.el5, _WOSessionReclaimingInterval=60, WOContextClassName=WOContext, path.separator=:, java.vm.version=1.5.0_17-b04, WOAllowRapidTurnaround=false, WOPlatform=UNIX, _ResourceRequestHandlerKey=wr, java.awt.printerjob=sun.print.PSPrinterJob, WOSocketCacheSize=100, sun.io.unicode.encoding=UnicodeLittle, WOAcceptMalformedCookies=false, user.home=/root, java.specification.vendor=Sun Microsystems Inc., java.library.path=/usr/java/jdk1.5.0_17/jre/lib/i386/client:/usr/java/jdk1.5.0_17/jre/lib/i386:/usr/java/jdk1.5.0_17/jre/../lib/i386, java.vendor.url="" java.vm.vendor=Sun Microsystems Inc., java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=WOBootstrap.jar, com.webobjects.pid=4471, WOLocalRootDirectory=/opt/Apple/Local, com.webobjects.classpath=/opt/Apple/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/wotaskd.jar:/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/Resources/Java/javamonitor.jar:/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/root/Library/Java:/opt/Apple/Local/Library/Java:/opt/Apple/Library/Java/:/Network/Library/Java:/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:/opt/Apple/Local/Library/WebObjects/Extensions/axis.jar:/opt/Apple/Local/Library/WebObjects/Extensions/saaj.jar:/opt/Apple/Local/Library/WebObjects/Extensions/axis-ant.jar:/opt/Apple/Local/Library/WebObjects/Extensions/commons-logging.jar:/opt/Apple/Local/Library/WebObjects/Extensions/jaxrpc.jar:/opt/Apple/Local/Library/WebObjects/Extensions/log4j-1.2.4.jar:/opt/Apple/Local/Library/WebObjects/Extensions/wsdl4j.jar:/opt/Apple/Local/Library/WebObjects/Extensions/avalon-framework-4.1.2.jar:/opt/Apple/Local/Library/WebObjects/Extensions/commons-discovery.jar:/opt/Apple/Local/Library/WebObjects/Extensions/logkit-1.0.1.jar:/opt/Apple/Local/Library/WebObjects/Extensions/, java.vm.specification.name=Java Virtual Machine Specification, WOMaxIOBufferSize=8196, java.vm.specification.version=1.0, sun.cpu.endian=little, sun.os.patch.level=unknown, WOStatisticsStoreSessionMax=50, java.io.tmpdir=/tmp, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, _ComponentRequestHandlerKey=wo, WOWorkerThreadCountMin=16, os.arch=i386, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, _WebServiceRequestHandlerKey=ws, java.ext.dirs=/usr/java/jdk1.5.0_17/jre/lib/ext, WOAllowsConcurrentRequestHandling=false, user.dir=/opt/Apple/Library/WebObjects/JavaApplications/wotaskd.woa, WOGenerateWSDL=true, WOAdditionalAdaptors=(), line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, WOApplicationBaseURL=/WebObjects, file.encoding=UTF-8, java.specification.version=1.5, WOWorkerThreadCount=8, WOAdaptor=WODefaultAdaptor}
Title: WebObjects Adaptor Information
Available applications:Server Adaptor:Server = Apache
WebObjects Server Adaptor version = 4.5.1
WebObjects Configuration URI(s) = no config servers
Load balancing algorithms = (roundrobin, loadaverage, random)
Transport = nbsocket
Request headers:User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; is-is) AppleWebKit/530.1+ (KHTML, like Gecko) Version/4.0 Safari/528.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: is-is
Accept-Encoding: gzip, deflate
Cookie: __utma=60628393.1834457269448042000.1230476669.1238676438.1238678355.351; __utmb=60628393.1.10.1238678355; __utmc=60628393; __utmz=60628393.1237072477.225.10.utmcsr=malefnin.com|utmccn=(referral)|utmcmd=referral|utmcct=/ib/index.php; SW_LANGUAGE=Icelandic; SW_USER_NAME=hugi; US_USER_NAME=nuJpR4AeZ62wcjNbZpwAGg==
Connection: keep-alive
Host: dev.us.is
SERVER_SOFTWARE: Apache/2.2.3 (CentOS)
SERVER_NAME: dev-xml.us.is
SERVER_PORT: 0
REMOTE_HOST: 192.168.34.184
REMOTE_ADDR: 192.168.34.184
DOCUMENT_ROOT: /var/www/html
SERVER_ADMIN: root@localhost
SCRIPT_FILENAME: /Apps
REMOTE_PORT: 49900
_______________________________________________
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