• 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: Modern Deployment presentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modern Deployment presentation


  • Subject: Re: Modern Deployment presentation
  • From: Steve Peery <email@hidden>
  • Date: Fri, 27 May 2016 14:52:26 -0400

I’m no expert on this, but it sounds like Apache is not able to resolve "/cgi-bin/WebObjects/ASProjectManagement.woa/1” This would suggest your adaptor doesn’t know where to look. Not for the application itself but for wotaskd. In traditional deployment, this was set in the end of the Apache config file. I know I’ve been stung by "was not found on this server"  by not having reverse DNS set up and I notice that your setting in Monitor is  host=“WOCentOS.localdomain” not localhost.

Steve



On May 27, 2016, at 9:23 AM, Theodore Petrosky <email@hidden> wrote:

ok I am ready to scream and need help.

Given, you have a split install set up for

application:   /opt/Local/Library/WebObjects/JavaApplications/
split install:   /var/www/html/WebObjects/

what directory directive do you put into webobjects.conf? 
WebObjectsDocumentRoot


I have followed the little information on the wiki and googled like made and everything I have tried leaves me with:

Not Found

The requested URL /cgi-bin/WebObjects/ASProjectManagement.woa/1 was not found on this server.

I am trying to set up CentOS 7 on ESXi.

I get on port 1085

<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>
			<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">ASProjectManagement</name>
			<unixPath type="NSString">/opt/Local/Library/WebObjects/JavaApplications/ASProjectManagement.woa/ASProjectManagement</unixPath>
			<adaptorThreadsMin type="NSNumber">16</adaptorThreadsMin>
			<notificationEmailEnabled type="NSString">NO</notificationEmailEnabled>
			<debuggingEnabled type="NSString">NO</debuggingEnabled>
			<phasedStartup type="NSString">YES</phasedStartup>
			<listenQueueSize type="NSNumber">128</listenQueueSize>
			<lifebeatInterval type="NSNumber">30</lifebeatInterval>
			<minimumActiveSessionsCount type="NSNumber">0</minimumActiveSessionsCount>
			<unixOutputPath type="NSString">/opt/WOLogs</unixOutputPath>
			<timeForStartup type="NSNumber">30</timeForStartup>
			<statisticsPassword type="NSString"></statisticsPassword>
			<sessionTimeOut type="NSNumber">3600</sessionTimeOut>
		</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/ASProjectManagement.woa/ASProjectManagement</path>
			<outputPath type="NSString">/opt/WOLogs/ASProjectManagement-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">NO</autoRecover>
			<lifebeatInterval type="NSNumber">30</lifebeatInterval>
			<applicationName type="NSString">ASProjectManagement</applicationName>
			<gracefulScheduling type="NSString">YES</gracefulScheduling>
			<schedulingWeeklyStartTime type="NSNumber">3</schedulingWeeklyStartTime>
			<id type="NSNumber">1</id>
			<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>
		<woAdaptor type="NSString">http://10.1.2.57/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="ASProjectManagement">
    <instance id="1" port="2001" host="localhost"/>
  </application>
  <application name="JavaMonitor">
    <instance id="-56789" port="56789" host="WOCentOS.localdomain"/>
  </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="ASProjectManagement">
    <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="ASProjectManagement">
    <instance id="1" port="2001" host="localhost"/>
  </application>
</adaptor>
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

References: 
 >Modern Deployment presentation (From: Pascal Robert <email@hidden>)
 >Re: Modern Deployment presentation (From: Pascal Robert <email@hidden>)
 >Re: Modern Deployment presentation (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: Modern Deployment presentation
  • Next by Date: Deployment on CentOS 7 [Was: Re: Modern Deployment presentation]
  • Previous by thread: Re: Modern Deployment presentation
  • Next by thread: Deployment on CentOS 7 [Was: Re: Modern Deployment presentation]
  • Index(es):
    • Date
    • Thread