Re: Deployment on OS X El Capitan
Re: Deployment on OS X El Capitan
- Subject: Re: Deployment on OS X El Capitan
- From: Stavros Panidis <email@hidden>
- Date: Tue, 31 May 2016 08:36:06 +0300
Thank you very much. I really appreciate this valuable information!
Stavros
> On 31 May 2016, at 04:53, email@hidden wrote:
>
> Send Webobjects-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.apple.com/mailman/listinfo/webobjects-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Webobjects-dev digest..."
>
>
> Today's Topics:
>
> 1. RE: error - exactly one of 'checked' or 'value' must be bound
> (Wolfgang Hartmann)
> 2. RE: Deployment on OS X El Capitan (Pascal Robert)
> 3. Re: WOLips server (Hugi Thordarson)
> 4. Re: Deployment on OS X El Capitan (Samuel Pelletier)
> 5. Re: Deployment on CentOS 7 [Was: Re: Modern Deployment
> presentation] (Theodore Petrosky)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 30 May 2016 22:04:07 +0200
> From: Wolfgang Hartmann <email@hidden>
> To: Samuel Pelletier <email@hidden>, "Ress, David A"
> <email@hidden>
> Cc: "email@hidden" <email@hidden>
> Subject: RE: error - exactly one of 'checked' or 'value' must be bound
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hy,
>
> Due to the fact that there are a lot of 'synchronized' blocks, caches, overwritten hashcode/equals-Methods in the org.objectstyle.wolips.bindings.api-Package I suspect a Threading-Issue somewhere.
>
> Closing all files, restarting eclipse and afterwards clean the project should fix the broken validations (maybe by resetting the broken validation-cache-entry...)
>
> Best regards,
> Wolfy
>
>
>> Subject: Re: error - exactly one of 'checked' or 'value' must be bound
>> From: email@hidden
>> Date: Mon, 30 May 2016 11:34:33 -0400
>> To: email@hidden
>> CC: email@hidden
>>
>> David,
>>
>> Those false validation error on built in component come and disappear randomly. Relaunching Eclipse sometime trigger something that reset the expected behaviour.
>>
>> Samuel
>>
>>
>>> Le 29 mai 2016 à 16:41, Ress, David A <email@hidden> a écrit :
>>>
>>> All,
>>>
>>> Still trying to fix my application after updating to Eclipse 4.4.2, WOLIps 4.4, Webobjects 5.4.3 and Java 1.8.
>>>
>>> When I open any WOComponent with a WORadioButton inside, I get the error on the subject line for the following in the WOD
>>>
>>> FailureConstant: WORadioButton {
>>> selection = mNumberOfFailures;
>>> value = 0;
>>> name="group2";
>>> }
>>>
>>> FailureRejects: WORadioButton {
>>> selection = mNumberOfFailures;
>>> value = 1;
>>> name="group2";
>>> }
>>>
>>> I am not using the checked binding, so why I am seeing this error?
>>>
>>> Ironically, I had no issues with the WOD/html until I opened them in Eclipse to change a disclaimer, and as soon as it opened, BOOM! errors at every WORadioButton.
>>>
>>> I tried cleaning the project, but the error persists and I am stumped by the fact that under my old system (Eclipse 3.3, WOLips 3.3, WebObjects 5.4.2, Java 1.6) there is no error generated and it worked fine.
>>>
>>> Granted, I may have doing something wrong all along, and if so, some one please educate me as to what I am doing wrong.
>>>
>>> Thanks in advance.
>>>
>>> David
>>>
>>> _______________________________________________
>>> 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
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.apple.com/archives/webobjects-dev/attachments/20160530/010d3bea/attachment.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 30 May 2016 20:57:04 +0000
> From: Pascal Robert <email@hidden>
> To: Stavros Panidis <email@hidden>,
> "email@hidden" <email@hidden>
> Subject: RE: Deployment on OS X El Capitan
> Message-ID:
> <email@hidden>
>
> Content-Type: text/plain; charset=iso-8859-1
>
> I know a path from OS X Server to Linux :-)
>
> ________________________________________
> De : webobjects-dev-bounces+probert=email@hidden <webobjects-dev-bounces+probert=email@hidden> de la part de Stavros Panidis <email@hidden>
> Envoyé : 30 mai 2016 13:21:06
> À : email@hidden
> Objet : Deployment on OS X El Capitan
>
> Hi,
>
> any road map to update from Yosemite to El Capitan server?
>
> Many thanks in advance
>
> Stavros Panidis
>
> _______________________________________________
> 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
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 30 May 2016 22:30:18 +0000
> From: Hugi Thordarson <email@hidden>
> To: Ramsey Gurley <email@hidden>
> Cc: WebObjects-Dev <email@hidden>
> Subject: Re: WOLips server
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=utf-8
>
> Does it? It only opens components for me, i.e. not the components’ java classes but the WOComponent editor.
>
> - hugi
>
>
>
>> On 30. maí 2016, at 15:56, Ramsey Gurley <email@hidden> wrote:
>>
>> Yes. That's what WOLToolbar does.On May 30, 2016 3:42 AM, Hugi Thordarson <email@hidden> wrote:
>>>
>>> Hi all.
>>> One question regarding the WOLips server (web server used to open components in Clock to Open). Can it be used to open java files? And even send the user to a particular line in that file? Thought I’d ask before I start digging around in the code.
>>>
>>> Cheers,
>>> - hugi
>>>
>>> // Hugi Thordarson
>>> // http://www.loftfar.is/
>>> // s. 895-6688
>>>
>>>
>>> _______________________________________________
>>> 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
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 30 May 2016 19:14:45 -0400
> From: Samuel Pelletier <email@hidden>
> To: Stavros Panidis <email@hidden>
> Cc: email@hidden
> Subject: Re: Deployment on OS X El Capitan
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=utf-8
>
> Hi,
>
> I deploy on Mac but never use the built in software. Even on Linux, I used to compile my apache with php and any custom modules.
>
> This way, you control with feature are included and when the update are applied and doe not worry about updates from Apple or distribution provider.
>
> Homebrew is your friend if you want to go this way.
>
> BTW, you can also install apache with homebrew if you do to want to compile it yourself.
>
> Samuel
>
>> Le 30 mai 2016 à 13:21, Stavros Panidis <email@hidden> a écrit :
>>
>> Hi,
>>
>> any road map to update from Yosemite to El Capitan server?
>>
>> Many thanks in advance
>>
>> Stavros Panidis
>>
>> _______________________________________________
>> 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
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 30 May 2016 21:53:18 -0400
> From: Theodore Petrosky <email@hidden>
> To: Pascal Robert <email@hidden>
> Cc: WebObjects-Dev <email@hidden>
> Subject: Re: Deployment on CentOS 7 [Was: Re: Modern Deployment
> presentation]
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Is there something special that I am missing. This is the first time I am using a VM. I am running ESXi and I have a Centos 7 VM.
>
> I am on my workstation and I can go to http://ipnumber:56789 <http://ipnumber:56789/> and I can see the Wonder JavaMonitor page. I tried to set up JavaMonitor to run as a WO app. I gave it the path as:
>
> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
>
> and I set the log to:
>
> /wologs/JavaMonitor-1 of course /wologs is owned by appserver:appserveradm
>
> When I click the start button this is what I get in the logs, eventually the app dies with no error. It just lists the death:
>
> I just noticed that although the app died, if I click the start button, I get a red warning: webapp3: JavaMonitor-1 cannot be started because port 2006 is still in use
>
> so the app lives at /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor. The directories are owned by appserver:appserveradm
>
> I see no permissions errors.
>
> I am very tired. I have a snapshot of the VM just before I started installing webobjects, so it is easy to fall back to there.
>
> Help!!! Please!
>
>
> ERXProperties has found the following Properties files:
> JavaJDBCAdaptor.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/JavaJDBCAdaptor.framework/Resources/Properties
> JavaEOControl.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/JavaEOControl.framework/Resources/Properties
> JavaWOExtensions.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/JavaWOExtensions.framework/Resources/Properties
> JavaMonitorFramework.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/JavaMonitorFramework.framework/Resources/Properties
> ERRest.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/ERRest.framework/Resources/Properties
> ERJars.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/ERJars.framework/Resources/Properties
> ERExtensions.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/ERExtensions.framework/Resources/Properties
> Ajax.framework -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Frameworks/Ajax.framework/Resources/Properties
> JavaMonitor.app -> /opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Resources/Properties
> ERXProperties currently has the following properties:
> ERXRest.MHost.type.alias=osType
> NSProjectSearchPath=()
> WOAcceptMalformedCookies=false
> WOAdaptor=WODefaultAdaptor
> WOAdaptorURL=http://localhost/cgi-bin/WebObjects
> WOAdditionalAdaptors=()
> WOAllowRapidTurnaround=false
> WOAllowsCacheControlHeader=true
> WOAllowsConcurrentRequestHandling=true
> WOApplicationBaseURL=/WebObjects
> WOApplicationName=JavaMonitor
> WOAutoOpenClientApplication=false
> WOAutoOpenInBrowser=false
> WOCachingEnabled=true
> WOContextClassName=WOContext
> WODebuggingEnabled=false
> WODefaultUndoStackLimit=10
> WODeploymentBackups=true
> WODirectConnectEnabled=true
> WODisplayExceptionPages=false
> WOFrameworksBaseURL=/WebObjects/Frameworks
> WOGenerateWSDL=true
> WOIncludeCommentsInResponse=false
> WOLaunchdEnabled=false
> WOLifebeatDestinationPort=1085
> WOLifebeatEnabled=true
> WOLifebeatInterval=30
> WOListenQueueSize=128
> WOLocalRootDirectory=/opt/Local
> WOMaxHeaders=200
> WOMaxIOBufferSize=8196
> WOMaxSocketIdleTime=180000
> WOMissingResourceSearchEnabled=false
> WOMonitorEnabled=true
> WONoPause=true
> WOOutputPath=/wologs/JavaMonitor-1
> WOPort=2006
> WORootDirectory=/opt
> WOSMTPHost=smtp
> WOSessionStoreClassName=WOServerSessionStore
> WOSessionTimeOut=3600
> WOSocketCacheSize=100
> WOSocketMonitorSleepTime=50
> WOStatisticsStoreSessionMax=50
> WOUserDirectory=/opt/Local/Library/WebObjects/JavaApplications/wotaskd.woa
> WOWorkerThreadCount=8
> WOWorkerThreadCountMax=256
> WOWorkerThreadCountMin=16
> _AjaxRequestHandlerKey=ja
> _ComponentRequestHandlerKey=wo
> _DirectActionRequestHandlerKey=wa
> _ResourceRequestHandlerKey=wr
> _StreamActionRequestHandlerKey=wis
> _WOHTMLParserClassName=WOHTMLTemplateParser
> _WOSessionReclaimingInterval=60
> _WebServiceRequestHandlerKey=ws
> awt.toolkit=sun.awt.X11.XToolkit
> com.webobjects.eoaccess.ERXEntityDependencyOrderingDelegate.active=false
> com.webobjects.version=5.4
> dbMinConnectionsGLOBAL=1
> er.extensions.Ajax.hasLocalization=false
> er.extensions.ERExtensions.hasLocalization=true
> er.extensions.ERJars.hasLocalization=false
> er.extensions.ERRest.hasLocalization=false
> er.extensions.ERXComponentActionRedirector.enabled=false
> er.extensions.ERXDatabase.className=er.extensions.eof.ERXDatabase
> er.extensions.ERXGracefulShutdown.Enabled=false
> er.extensions.ERXGracefulShutdown.SignalsToHandle=(TERM, INT)
> er.extensions.ERXLocalizationEditor.endoding=UTF-16BE
> er.extensions.ERXLocalizer.availableLanguages=(English,German,Japanese)
> er.extensions.ERXLocalizer.defaultLanguage=English
> er.extensions.ERXLocalizer.fileNamesToWatch=("Localizable.strings","ValidationTemplate.strings")
> er.extensions.ERXLocalizer.isLocalizationEnabled=true
> er.extensions.ERXMessageEncoding.Enabled=true
> er.extensions.ERXNavigationManager.NavigationMenuFileName=NavigationMenu.plist
> er.extensions.ERXNavigationManager.localizeDisplayKeys=false
> er.extensions.ERXPatcher.cleanupXHTML=false
> er.extensions.ERXPatcher.suppressValueBindingSlow=false
> er.extensions.ERXRaiseOnMissingEditingContextDelegate=true
> er.extensions.ERXSharedEOLoader.PatchSharedEOLoading=false
> er.extensions.ERXWOForm.multipleSubmitDefault=true
> er.extensions.JavaMonitorFramework.hasLocalization=false
> er.extensions.JavaWOExtensions.hasLocalization=false
> er.extensions.concurrency.ERXTaskObjectStoreCoordinatorPool.maxCoordinators=1
> er.extensions.load.Properties.framework.Ajax=load
> er.extensions.load.Properties.framework.ERExtensions=load
> er.extensions.load.Properties.framework.ERJars=load
> er.extensions.load.Properties.framework.ERRest=load
> er.extensions.load.Properties.framework.JavaMonitorFramework=load
> er.extensions.load.Properties.framework.JavaWOExtensions=load
> er.extensions.stackTrace.cleanup=true
> er.extensions.stackTrace.skipPatternsFile=StackTraceSkipPatterns-Normal.plist
> er.javamonitor.showMigrationsTab=false
> er.javamonitor.showModProxyTab=true
> file.encoding=UTF-8
> file.encoding.pkg=sun.io
> file.separator=/
> java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
> java.awt.printerjob=sun.print.PSPrinterJob
> java.class.path=/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa/Contents/Resources/Java/:/opt/Local/Library/WebObjects/JavaApplication
> java.class.version=52.0
> java.endorsed.dirs=/opt/jdk1.8.0_91/jre/lib/endorsed
> java.ext.dirs=/opt/jdk1.8.0_91/jre/lib/ext:/usr/java/packages/lib/ext
> java.home=/opt/jdk1.8.0_91/jre
> java.io.tmpdir=/tmp
> java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> java.runtime.name=Java(TM) SE Runtime Environment
> java.runtime.version=1.8.0_91-b14
> java.specification.name=Java Platform API Specification
> java.specification.vendor=Oracle Corporation
> java.specification.version=1.8
> java.vendor=Oracle Corporation
> java.vendor.url=http://java.oracle.com/
> java.vendor.url.bug=http://bugreport.sun.com/bugreport/
> java.version=1.8.0_91
> java.vm.info=mixed mode
> java.vm.name=Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name=Java Virtual Machine Specification
> java.vm.specification.vendor=Oracle Corporation
> java.vm.specification.version=1.8
> java.vm.vendor=Oracle Corporation
> java.vm.version=25.91-b14
> javax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
> line.separator=
> log4j.appender.A1=org.apache.log4j.ConsoleAppender
> log4j.appender.A1.layout=er.extensions.logging.ERXPatternLayout
> log4j.appender.A1.layout.ConversionPattern=%d %-5p %V{u/f} [%t] %C{2} (%F:%L) - %m%n
> log4j.rootCategory=INFO, A1
> os.arch=amd64
> os.name=Linux
> os.version=3.10.0-327.18.2.el7.x86_64
> path.separator=:
> sun.arch.data.model=64
> sun.boot.class.path=/opt/jdk1.8.0_91/jre/lib/resources.jar:/opt/jdk1.8.0_91/jre/lib/rt.jar:/opt/jdk1.8.0_91/jre/lib/sunrsasign.jar:/opt/jdk1.8.$
> sun.boot.library.path=/opt/jdk1.8.0_91/jre/lib/amd64
> sun.cpu.endian=little
> sun.cpu.isalist=
> sun.io.unicode.encoding=UnicodeLittle
> sun.java.command=com.webobjects.monitor.application.Application -WOPort 2006 -WOCachingEnabled YES -WODebuggingEnabled NO -WOOutputPath /wologs$
> sun.java.launcher=SUN_STANDARD
> sun.jnu.encoding=UTF-8
> sun.management.compiler=HotSpot 64-Bit Tiered Compilers
> sun.os.patch.level=unknown
> user.country=US
> user.dir=/opt/Local/Library/WebObjects/JavaApplications/JavaMonitor.woa
> user.home=/home/appserver
> user.language=en
> user.name=appserver
> user.timezone=America/New_York
>
> 2016-05-30 21:29:37,969 INFO 32 MB/57.5 MB [main] appserver.ERXApplication (ERXApplication.java:1214) - Wonder version: 7.0.0-SNAPSHOT
> 2016-05-30 21:29:38,040 WARN 45.46 MB/44.04 MB [main] logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:44) -
>
> I even went so far as to compile my own JavaMonitor and wotaskd apps.
>
> There is no error in the httpd error logs.
>
>
>> On May 29, 2016, at 5:23 PM, Pascal Robert <email@hidden> wrote:
>>
>> Just did a deployment on CentOS 7 (finally took the time to set up my HP MicroServer). You have to comment this in httpd.conf:
>>
>> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/«
>> <Directory "/var/www/cgi-bin">
>> AllowOverride None
>> Options None
>> Require all granted
>> </Directory>
>>
>> and in webobjects.conf:
>>
>> <Location /cgi-bin/WebObjects/>
>> <Limit GET POST OPTIONS >
>> Require all granted
>> </Limit>
>> Require all denied
>> </Location>
>>
>> Reload Apache (sudo apachectl graceful) after.
>>
>>> Le 27 mai 2016 à 20:54, Theodore Petrosky <email@hidden> a écrit :
>>>
>>> on CentOS, any and all files ending with .conf that live in /etc/http/conf.d/ will be read.
>>>
>>> This is the last lines of httpd.conf
>>>
>>> # Supplemental configuration
>>> #
>>> # Load config files in the "/etc/httpd/conf.d" directory, if any.
>>> IncludeOptional conf.d/*.conf
>>>
>>>
>>> I renamed the box so it comes up as localhost, and i the error has changed to
>>>
>>> Not Found
>>>
>>> The requested URL /cgi-bin/WebObjects/ASProjectManagement was not found on this server.
>>>
>>> so now the .woa/1 is gone. but the project that lives here is not working.
>>>
>>> you do not use centos, but you are using apache. if you had the installation structure as below, what would your webobjects.conf look like?
>>>
>>> /var/www/html is the default location for web pages and indeed I put a file index.html there and it is served just fine.
>>>
>>> Ted
>>>
>>>
>>>
>>>
>>>> On May 27, 2016, at 8:03 PM, Paul Hoadley <email@hidden> wrote:
>>>>
>>>> Hi Ted,
>>>>
>>>> With the caveat that we don’t use CentOS, and that there is almost certainly more than one way to do it...
>>>>
>>>> On 27 May 2016, at 10:53 pm, Theodore Petrosky <email@hidden> wrote:
>>>>
>>>>> 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?
>>>>
>>>> You’ve got to put that where Apache is expecting to find its configuration files. On Amazon Linux, that’s /etc/httpd/conf.d. You need to work out where that would be for CentOS, then re-start Apache.
>>>>
>>>>
>>>> --
>>>> Paul Hoadley
>>>> http://logicsquad.net/
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.apple.com/archives/webobjects-dev/attachments/20160530/0614788a/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> Webobjects-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/webobjects-dev
>
> End of Webobjects-dev Digest, Vol 13, Issue 220
> ***********************************************
_______________________________________________
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