Re: centos 6.3 deploy still acting recalcitrantly
Re: centos 6.3 deploy still acting recalcitrantly
- Subject: Re: centos 6.3 deploy still acting recalcitrantly
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 25 Oct 2012 07:25:29 -0700 (PDT)
Yes wotaskd is running here is the output from port 1085
Wotaskd for WebObjects 5: intrawebii.agencysacks.com
Site Config as written to disk
<SiteConfig type="NSDictionary">
<hostArray type="NSArray">
<element type="NSDictionary">
<type type="NSString">UNIX</type>
<name type="NSString">127.0.0.1</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>
<autoRecover type="NSString">YES</autoRecover>
<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
<name type="NSString">monitor</name>
<debuggingEnabled type="NSString">NO</debuggingEnabled>
<unixPath type="NSString">/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor</unixPath>
<adaptorThreadsMin type="NSNumber">16</adaptorThreadsMin>
<notificationEmailEnabled type="NSString">NO</notificationEmailEnabled>
<unixOutputPath type="NSString">/WebObjects/Logs</unixOutputPath>
<phasedStartup type="NSString">YES</phasedStartup>
<listenQueueSize type="NSNumber">128</listenQueueSize>
<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>
<schedulingStartDay type="NSNumber">1</schedulingStartDay>
<path type="NSString">/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor</path>
<outputPath type="NSString">/WebObjects/Logs/monitor-1</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">monitor</applicationName>
<gracefulScheduling type="NSString">YES</gracefulScheduling>
<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
<id type="NSNumber">1</id>
<hostName type="NSString">127.0.0.1</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://intrawebii.agencysacks.com/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="monitor">
<instance id="1" port="2001" host="127.0.0.1"/>
</application>
<application name="JavaMonitor">
<instance id="-56789" port="56789" host="intrawebii.agencysacks.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="monitor">
<instance id="1" port="2001" host="127.0.0.1"/>
</application>
</adaptor>
Adaptor Config as written to disk - All Registered Applications and Instances
<?xml version="1.0" encoding="ASCII"?>
<adaptor>
<application name="monitor">
<instance id="1" port="2001" host="127.0.0.1"/>
</application>
</adaptor>
Properties of this wotaskd
The Configuration Directory is: /opt/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 64-Bit Tiered Compilers, WOSocketMonitorSleepTime=50, WOAssumeApplicationIsDeadMultiplier=4, WOFrameworksBaseURL=/WebObjects/Frameworks, os.name=Linux, sun.boot.class.path=/usr/java/jdk1.6.0_37/jre/lib/resources.jar:/usr/java/jdk1.6.0_37/jre/lib/rt.jar:/usr/java/jdk1.6.0_37/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_37/jre/lib/jsse.jar:/usr/java/jdk1.6.0_37/jre/lib/jce.jar:/usr/java/jdk1.6.0_37/jre/lib/charsets.jar:/usr/java/jdk1.6.0_37/jre/lib/modules/jdk.boot.jar:/usr/java/jdk1.6.0_37/jre/classes, WODefaultUndoStackLimit=10, _AjaxRequestHandlerKey=ja, WOSessionStoreClassName=WOServerSessionStore, WOLifebeatInterval=30, WOEnvClassPath=, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.6.0_37-b06, log4j.rootCategory=INFO, A1,
er.extensions.stackTrace.skipPatternsFile=StackTraceSkipPatterns-Normal.plist, er.extensions.ERXComponentActionRedirector.enabled=false, WOListenQueueSize=128, WOPort=1085, user.name=appserver, WOSessionTimeOut=3600, WORootDirectory=/opt, WOShouldUseSpawn=true, WOMaxHeaders=200, WOAutoOpenClientApplication=false, _StreamActionRequestHandlerKey=wis, _WOHTMLParserClassName=WOHTMLTemplateParser, user.language=en, WOIncludeCommentsInResponse=false, WOSMTPHost=smtp, WOAutoOpenInBrowser=false, sun.boot.library.path=/usr/java/jdk1.6.0_37/jre/lib/amd64, log4j.appender.A1.layout.ConversionPattern=%d %-5p %V{u/f} [%t] %C{2} (%F:%L) - %m%n, er.extensions.ERXPatcher.suppressValueBindingSlow=false, java.version=1.6.0_37, WOAllowsCacheControlHeader=true, user.timezone=US/Eastern, WOUserDirectory=/, WOLifebeatEnabled=false, sun.arch.data.model=64, WOAdaptorURL=http://localhost/cgi-bin/WebObjects, er.extensions.ERXPatcher.cleanupXHTML=false,
java.endorsed.dirs=/usr/java/jdk1.6.0_37/jre/lib/endorsed, _DirectActionRequestHandlerKey=wa, sun.cpu.isalist=, sun.jnu.encoding=UTF-8, file.encoding.pkg=sun.io, WOMonitorEnabled=false, er.extensions.ERXGracefulShutdown.SignalsToHandle=(TERM, INT), file.separator=/, java.specification.name=Java Platform API Specification, er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings"), WOApplicationClass=com.webobjects.monitor.wotaskd.Application, java.class.version=50.0, log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout, user.country=US, WOSavesAdaptorConfiguration=false, WOMaxSocketIdleTime=180000, java.home=/usr/java/jdk1.6.0_37/jre, java.vm.info=mixed mode, os.version=2.6.32-279.el6.x86_64, WOLifebeatDestinationPort=1085, _WOSessionReclaimingInterval=60, er.extensions.ERXRaiseOnMissingEditingContextDelegate=true, WOContextClassName=WOContext, path.separator=:, java.vm.version=20.12-b01,
WOAllowRapidTurnaround=false, WOPlatform=UNIX, _ResourceRequestHandlerKey=wr, er.extensions.ERXGracefulShutdown.Enabled=false, java.awt.printerjob=sun.print.PSPrinterJob, WOLaunchdEnabled=false, WOSocketCacheSize=100, sun.io.unicode.encoding=UnicodeLittle, WODebuggingEnabled=false, er.extensions.ERXLocalizer.availableLanguages=(English,German,Japanese), WOAcceptMalformedCookies=false, user.home=/home/appserver, java.specification.vendor=Sun Microsystems Inc., com.webobjects.version=5.1, java.vendor.url=http://java.sun.com/, java.library.path=/usr/java/jdk1.6.0_37/jre/lib/amd64/server:/usr/java/jdk1.6.0_37/jre/lib/amd64:/usr/java/jdk1.6.0_37/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, er.extensions.ERXMessageEncoding.Enabled=false, er.extensions.concurrency.ERXTaskObjectStoreCoordinatorPool.maxCoordinators=1, java.vm.vendor=Sun Microsystems Inc., er.extensions.ERXNavigationManager.localizeDisplayKeys=false,
er.extensions.ERXLocalizer.isLocalizationEnabled=true, java.runtime.name=Java(TM) SE Runtime Environment, com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate.active=false, java.class.path=WOBootstrap.jar, sun.java.command=com.webobjects._bootstrap.WOBootstrap -WOPort 1085, com.webobjects.pid=1727, WOLocalRootDirectory=/opt/Local, log4j.appender.A1=org.apache.log4j.ConsoleAppender, java.vm.specification.name=Java Virtual Machine Specification,
com.webobjects.classpath=/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/src.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/Java/wotaskd.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.6.5.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-codec-1.6.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/opt/Local/Lib
rary/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.8.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-2.6.7.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2-sources.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-1.6.2.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.6.5.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.16.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/
ERJars.framework/Resources/Java/commons-codec-1.6-sources.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.6.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaMonitorFramework.framework/Resources/Java/JavaMonitorFramework.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaEOC
ontrol.framework/Resources/Java/javaeocontrol.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/opt/Local/Library/WebObjects/Extensions/servlet.jar:/opt/Local/Library/WebObjects/Extensions/axis.jar:/opt/Local/Library/WebObjects/Extensions/log4j-1.2.14.jar:/opt/Local/Library/WebObjects/Extensions/xalan.jar:/opt/Local/Library/WebO
bjects/Extensions/xml-apis.jar:/opt/Local/Library/WebObjects/Extensions/axis-ant.jar:/opt/Local/Library/WebObjects/Extensions/jaxrpc.jar:/opt/Local/Library/WebObjects/Extensions/serializer.jar:/opt/Local/Library/WebObjects/Extensions/commons-logging-1.0.4.jar:/opt/Local/Library/WebObjects/Extensions/saaj.jar:/opt/Local/Library/WebObjects/Extensions/wsdl4j-1.5.1.jar:/opt/Local/Library/WebObjects/Extensions/xercesImpl.jar:/opt/Local/Library/WebObjects/Extensions/commons-discovery-0.2.jar:/opt/Local/Library/WebObjects/Extensions/, WOMaxIOBufferSize=8196, java.vm.specification.version=1.0, er.extensions.ERXNavigationManager.NavigationMenuFileName=NavigationMenu.plist, er.extensions.ERXSharedEOLoader.PatchSharedEOLoading=false, sun.os.patch.level=unknown, sun.cpu.endian=little, WOStatisticsStoreSessionMax=50, java.io.tmpdir=/tmp, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, _ComponentRequestHandlerKey=wo, WOWorkerThreadCountMin=16,
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, os.arch=amd64, dbMinConnectionsGLOBAL=1, _WebServiceRequestHandlerKey=ws, WOCachingEnabled=true, java.ext.dirs=/usr/java/jdk1.6.0_37/jre/lib/ext:/usr/java/packages/lib/ext, WOAllowsConcurrentRequestHandling=false, er.extensions.ERXWOForm.multipleSubmitDefault=true, user.dir=/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa, WORespondsToMulticastQuery=false , WOGenerateWSDL=true, WODisplayExceptionPages=false, WOAdditionalAdaptors=(), line.separator=
, er.extensions.ERXLocalizer.defaultLanguage=English, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, WOApplicationBaseURL=/WebObjects, file.encoding=UTF-8, WODirectConnectEnabled=true, er.extensions.stackTrace.cleanup=true, NSProjectSearchPath=(), WOMulticastAddress=239.128.14.2, java.specification.version=1.6, WOWorkerThreadCount=8, WOMissingResourceSearchEnabled=false, WOAdaptor=WOClassicAdaptor}
--- On Thu, 10/25/12, Bogdan Zlatanov <email@hidden> wrote:
> From: Bogdan Zlatanov <email@hidden>
> Subject: Re: centos 6.3 deploy still acting recalcitrantly
> To: "Theodore Petrosky" <email@hidden>
> Cc: email@hidden, "WebObjects" <email@hidden>
> Date: Thursday, October 25, 2012, 10:23 AM
> Is wotaskd running?
>
> Cheers
> On 25 Oct 2012, at 16:18, Theodore Petrosky wrote:
>
> > I hope we are almost there but, I am direct connected
> to JavaMonitor (http://10.1.5.100:56789)
> > i added my JavaMonitor app like normal using the Unix
> path:
> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
> >
> > and set the log file to /WebObjects/Logs
> > i started the app and javamonitor reports it is
> running. however, I get "The requested application was not
> found on this server." if I click he link.
> >
> > I have <Directory> directives of:
> >
> > <Directory
> "/opt/Local/Library/WebObjects/JavaApplications">
> > AllowOverride All
> > Order allow,deny
> > Allow from all
> > </Directory>
> >
> > <Directory
> "/opt/Local/Library/WebServer/Documents/WebObjects">
> > AllowOverride All
> > Order allow,deny
> > Allow from all
> > </Directory>
> >
> > I also have before the directory directive:
> >
> > WebObjectsDocumentRoot
> /opt/Local/Library/WebObjects/JavaApplications
> > WebObjectsAlias /cgi-bin/WebObjects
> >
> >
> > I have set up deployment with OS X 10.5, 10.6, Centos
> 5.5 (running at backspace as a virtual server with only the
> CLI) with no problems. I don't understand why this is
> causing me such grief
> >
> > :(
> >
> > Ted
> >
> > --- On Thu, 10/25/12, Bastian Triller <email@hidden>
> wrote:
> >
> >> From: Bastian Triller <email@hidden>
> >> Subject: Re: centos 6.3 deploy still acting
> recalcitrantly
> >> To: "Theodore Petrosky" <email@hidden>
> >> Cc: "WebObjects" <email@hidden>
> >> Date: Thursday, October 25, 2012, 7:18 AM
> >> that looks like your apache.conf has
> >> defined the ScriptAlias directive
> >> before your WebObjectsAlias directive. Did you
> check the
> >> wiki for
> >> deployment on Linux [1] (section "Apache
> Configuration")?
> >> So if you want to keep the /cgi-bin part in the URL
> you have
> >> to comment
> >> out the "ScriptAlias /cgi-bin" directive earlier in
> the
> >> apache.conf. Or
> >> you can use another string in your WebObjectsAlias
> directive
> >> before
> >> the /WebObjects, like:
> >>
> >> ...
> >> LoadModule
> >> WebObjects_module
> >> /usr/local/lib64/httpd/modules/mod_WebObjects.so
> >> WebObjectsDocumentRoot
> >> /opt/Apple/Local/Library/WebServer/Documents
> >> Alias /WebObjects
> >>
> /opt/Apple/Local/Library/WebServer/Documents/WebObjects
> >> WebObjectsAlias /apps/WebObjects
> >> <Location /apps/WebObjects>
> >> Order Allow,Deny
> >> Allow from all
> >> </Location>
> >> ...
> >>
> >> I read somewhere about another alternative on OSX
> with a
> >> ScriptAliasMatch directive that matched the
> WebObjects
> >> handler part
> >> in /cgi-bin out. But never tested this.
> >>
> >> I think you can drop the Directory directive, as
> apache
> >> doesn't read
> >> webserverresources from there.
> >>
> >> [1] <http://wiki.wocommunity.org/display/documentation/Deploying+on
> >> +Linux>
> >>
> >> Am Donnerstag, den 25.10.2012, 03:06 -0700 schrieb
> Theodore
> >> Petrosky:
> >>> OK so I got my DNS issue fixed and apache like
> it and
> >> starts. and apache -M give me:
> >>>
> >>>
> >>> disk_cache_module (shared)
> >>> cgi_module (shared)
> >>> version_module (shared)
> >>> WebObjects_module (shared)
> >>> ssl_module (shared)
> >>> Syntax OK
> >>>
> >>> so the webobjects module is loading. I can get
> a direct
> >> connection to:
> >>> http://10.1.5.100:56789 and javamonitor comes up.
> >>>
> >>> I want to run javamonitor through apache so I
> created
> >> an app. so to make a long story short, i added
> javamonitor.
> >>>
> >>> it claims to be running. however I can not
> connect to
> >> the running instance.
> >>> The requested URL
> /cgi-bin/WebObjects/JMonitor.woa/1
> >> was not found on this server.
> >>>
> >>> JavaMonitor lives at:
> >>> /opt/Local/Library/WebObjects/JavaApplications
> >>>
> >>> and I have:
> >>>
> >>> <Directory
> >>
> "/opt/Local/Library/WebObjects/JavaApplications">
> >>> AllowOverride All
> >>> Order allow,deny
> >>> Allow from all
> >>> </Directory>
> >>>
> >>> in my httpd.conf, and the permissions for
> javamonitor
> >> are:
> >>>
> >>> drwxr-xr-x. 3 appserver appserveradm 4096
> Oct 3
> >> 15:31 JavaMonitor.woa
> >>>
> >>> where am I going wrong?
> >>>
> >>> Please, my head hurts.
> >>>
> >>> Ted
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> >>
> >>
> >
> > _______________________________________________
> > 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
>
>
_______________________________________________
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