• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deployment script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment script


  • Subject: Re: Deployment script
  • From: Jeffrey Schmitz <email@hidden>
  • Date: Sat, 22 Dec 2018 21:48:57 -0600

OK, using the scripts you sent (thanks!) I’ve setup the new machine for deployment.  It all works as long as I specify localhost for all the WOHost and related environment variables in the http setup, as well as the specified Host in JavaMonitor/wotaskd.  However, when I change all of the localhost’s to the local IP of the machine (192.168.1.100), everything seems to work ok, and javamonitor is able to start the application, but when try I navigate to the app's URL I get the dreaded:

The requested application was not found on this server.

I’ve checked and double checked all the settings to no avail.  Any idea what might be going on?  Again, I don’t have any problems when I use localhost in all the http, monitor and wtaskd settings.

Here’s the site config.


<SiteConfig type="NSDictionary">
	<hostArray type="NSArray">
		<element type="NSDictionary">
			<type type="NSString">MACOSX</type>
			<name type="NSString">192.168.1.100</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">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets</macPath>
			<adaptorThreads type="NSNumber">8</adaptorThreads>
			<lifebeatInterval type="NSNumber">30</lifebeatInterval>
			<statisticsPassword type="NSString"></statisticsPassword>
			<adaptorThreadsMax type="NSNumber">256</adaptorThreadsMax>
			<startingPort type="NSNumber">2001</startingPort>
			<additionalArgs type="NSString">-d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO WOHost  192.168.1.100</additionalArgs>
			<projectSearchPath type="NSString">()</projectSearchPath>
			<autoRecover type="NSString">YES</autoRecover>
			<autoOpenInBrowser type="NSString">NO</autoOpenInBrowser>
			<listenQueueSize type="NSNumber">128</listenQueueSize>
			<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
			<sessionTimeOut type="NSNumber">3600</sessionTimeOut>
			<debuggingEnabled type="NSString">NO</debuggingEnabled>
			<phasedStartup type="NSString">YES</phasedStartup>
			<macOutputPath type="NSString">/usr/local/opt/WODeployment/Logs</macOutputPath>
			<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>
			<additionalArgs type="NSString">-d64 -Xms2048m -Xmx3072m -WOAllowsConcurrentRequestHandling YES EOAdaptorDebugEnabled NO -WODirectConnectEnabled NO WOHost  192.168.1.100</additionalArgs>
			<path type="NSString">/usr/local/opt/WOApplications/netBrackets.woa/netBrackets</path>
			<outputPath type="NSString">/usr/local/opt/WODeployment/Logs/netBrackets-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">netBrackets</applicationName>
			<gracefulScheduling type="NSString">YES</gracefulScheduling>
			<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
			<id type="NSNumber">1</id>
			<hostName type="NSString">192.168.1.100</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://192.168.1.100/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="192.168.1.100"/>
  </application>
  <application name="JavaMonitor">
    <instance id="-56789" port="56789" host="unknown14c213ed9923.attlocal.net"/>
  </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="192.168.1.100"/>
  </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="192.168.1.100"/>
  </application>
</adaptor>




Properties of this wotaskd


The Configuration Directory is: /usr/local/opt/WODeployment/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: {er.wotaskd.sshd.enabled=false, WOShouldUseSpawn=true, java.specification.version=11, sun.cpu.isalist=, er.extensions.ERExtensions.hasLocalization=true, WOAutoOpenInBrowser=false, sun.arch.data.model=64, WOAcceptMalformedCookies=false, java.vendor.url="" href="http://java.oracle.com/" class="">http://java.oracle.com/, NSProjectSearchPath=(), WOSessionTimeOut=3600, WOAllowsConcurrentRequestHandling=false, WOAllowRapidTurnaround=false, sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib, _ComponentRequestHandlerKey=wo, sun.java.command=com.webobjects._bootstrap.WOBootstrap -WOPort 1085 -_DeploymentDebugging false, er.extensions.ERXMessageEncoding.Enabled=false, jdk.debug=release, java.specification.vendor=Oracle Corporation, java.version.date=2018-10-16, java.home=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home, er.extensions.ERXGracefulShutdown.SignalsToHandle=(TERM, INT), java.specification.name=Java Platform API Specification, java.vm.specification.vendor=Oracle Corporation, WORootDirectory=/System, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, er.wotaskd.sshd.port=6022, java.runtime.version=11.0.1+13-LTS, WOAssumeApplicationIsDeadMultiplier=4, WOContextClassName=WOContext, WOMaxIOBufferSize=8196, er.extensions.ERXLocalizationEditor.endoding=UTF-16BE, WOHost=192.168.1.100, WOWorkerThreadCountMin=16, file.encoding=UTF-8, java.vendor.version=18.9, er.extensions.ERJars.hasLocalization=false, er.extensions.load.Properties.framework.JavaWOExtensions=load, er.extensions.load.Properties.framework.ERJars=load, WOMaxHeaders=200, java.io.tmpdir=/var/folders/zz/zyxvpxvq6csfxvn_n000009w00002g/T/, er.extensions.stackTrace.cleanup=true, WOSocketMonitorSleepTime=50, WODeploymentConfigurationDirectory=/usr/local/opt/WODeployment/Configuration, java.version=11.0.1, er.extensions.ERXLocalizer.defaultLanguage=English, dbMinConnectionsGLOBAL=1, java.vm.specification.name=Java Virtual Machine Specification, java.awt.printerjob=sun.lwawt.macosx.CPrinterJob, java.library.path=/var/empty/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:., java.vendor=Oracle Corporation, sun.io.unicode.encoding=UnicodeBig, javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl, er.extensions.load.Properties.framework.ERRest=load, com.webobjects.classpath=/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/wotaskd.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERJars.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERFoundation.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ERWebObjects.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/ERRest.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaMonitorFramework.framework/Resources/Java/JavaMonitorFramework.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaWOJSPServlet.framework/Resources/Java/javawojspservlet.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaWebServicesSupport.framework/Resources/Java/javawebservicessupport.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/bcprov-jdk15-140.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/mina-core-2.0.4.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/src.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/sshd-core-0.7.0.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Resources/Java/sshd-pam-0.7.0.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpcore-4.4.10.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/javassist-3.22.0-GA.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpclient-cache-4.5.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.17.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-io-2.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang-2.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-logging-1.2.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-cli-1.3.1.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpcore-nio-4.4.10.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-lang3-3.7.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.7.25.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpmime-4.5.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/ognl-3.2.4.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/httpclient-4.5.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/fluent-hc-4.5.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.7.25.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/junit-4.12.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/commons-codec-1.11.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERJars.framework/Resources/Java/joda-time-2.9.9.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/ezmorph-1.0.6.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/json-lib-2.4-jdk15.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/commons-beanutils-1.8.3.jar:/usr/local/opt/WODeployment/wotaskd.woa/Contents/Frameworks/ERRest.framework/Resources/Java/commons-collections-3.2.2.jar, er.extensions.load.Properties.framework.JavaMonitorFramework=load, er.extensions.JavaMonitorFramework.hasLocalization=false, WOSocketCacheSize=100, WODebuggingEnabled=false, user.timezone=America/Chicago, os.name=Mac OS X, java.vm.specification.version=11, http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, log4j.rootCategory=INFO, A1, user.home=/var/empty, log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout, WODirectConnectEnabled=true, _DirectActionRequestHandlerKey=wa, java.awt.graphicsenv=sun.awt.CGraphicsEnvironment, java.awt.headless=true, WOUserDirectory=/, WOPlatform=MacOS, WODisplayExceptionPages=false, WOSMTPHost=smtp, er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings"), com.webobjects.version=5.4, path.separator=:, os.version=10.14, WOLocalRootDirectory=/usr/local/opt, com.webobjects.pid=2642, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, WOFrameworksBaseURL=/WebObjects/Frameworks, WOAdditionalAdaptors=(), WOEnvClassPath=, os.arch=x86_64, er.extensions.concurrency.ERXTaskObjectStoreCoordinatorPool.maxCoordinators=1, WOAdaptor=WOClassicAdaptor, java.vm.info=mixed mode, er.extensions.JavaWOExtensions.hasLocalization=false, java.class.version=55.0, WOAdaptorURL=http://localhost/cgi-bin/WebObjects, awt.toolkit=sun.lwawt.macosx.LWCToolkit, sun.jnu.encoding=UTF-8, _DeploymentDebugging=false, WOMonitorEnabled=false, com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate.active=false, WOMulticastAddress=239.128.14.2, er.extensions.ERXRaiseOnMissingEditingContextDelegate=true, er.extensions.ERXSharedEOLoader.PatchSharedEOLoading=false, WOAllowsCacheControlHeader=true, er.extensions.ERXPatcher.cleanupXHTML=false, log4j.appender.A1.layout.ConversionPattern=%d %-5p %V{u/f} [%t] %C{2} (%F:%L) - %m%n, er.extensions.ERXDatabase.className=er.extensions.eof.ERXDatabase, er.extensions.load.Properties.framework.ERExtensions=load, file.separator=/, java.vm.compressedOopsMode=Zero based, line.separator= 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

  • Follow-Ups:
    • Re: Deployment script
      • From: Jeffrey Schmitz <email@hidden>
References: 
 >Deployment script (From: Jeffrey Schmitz <email@hidden>)
 >Re: Deployment script (From: Jesse Tayler <email@hidden>)
 >Re: Deployment script (From: Jeffrey Schmitz <email@hidden>)
 >Re: Deployment script (From: Paul Hoadley <email@hidden>)
 >Re: Deployment script (From: Theodore Petrosky <email@hidden>)
 >Re: Deployment script (From: Jeffrey Schmitz <email@hidden>)
 >Re: Deployment script (From: Theodore Petrosky <email@hidden>)
 >Re: Deployment script (From: Jeffrey Schmitz <email@hidden>)
 >Re: Deployment script (From: Theodore Petrosky <email@hidden>)
 >Re: Deployment script (From: Jeffrey Schmitz <email@hidden>)

  • Prev by Date: Re: Enterprise objects stored in JSON or byte
  • Next by Date: Re: Deployment script
  • Previous by thread: Re: Deployment script
  • Next by thread: Re: Deployment script
  • Index(es):
    • Date
    • Thread