Re: Looking towards JDK 9, 10
Re: Looking towards JDK 9, 10
- Subject: Re: Looking towards JDK 9, 10
- From: "Luís Eugênio S. Pacheco" <email@hidden>
- Date: Mon, 07 May 2018 16:22:44 -0300
Hi,
I tried a big project here on JDK 9 both packaging via maven and running on
Eclipse Oxygen. No problems so far on Mac OS High Sierra.
I have not run on a homologation environment (CentOS) with all the
functionalities and scenarios being tested yet, so maybe some part could crash
or show some undesired behaviour. This is our next move, as soon we get
machines to do it.
Regards, Luis.
>
> Date: Mon, 07 May 2018 09:30:58 +0200
> From: "Dr. Markus Stoll, junidas GmbH" <email@hidden>
> To: Samuel Pelletier <email@hidden>
> Cc: Paul Hoadley <email@hidden>, WebObjects-Dev
> <email@hidden>
> Subject: Re: Looking towards JDK 9, 10
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> i tried with JDK 10 and it looks quite promising (but only use a subset of
> Wonder frameworks... )
> I have a working Dev seat (Eclipse 4.7.3a with JDK 10) and a working Test
> deployment with JDK 10.0.1 running on windows (see my pull request for the
> needed WOStart.exe)
>
> Full tests of my apps are still outstanding... Will now watch the whole
> thing, but I want to be prepared for Java 8 going EOL...
>
> Regards, Markus
>
>> Am 01.05.2018 um 01:40 schrieb Samuel Pelletier <email@hidden>:
>>
>> Hi Paul,
>>
>> The actual situation of Java is not clear. Java 9 is already end of life and
>> 10 will be before Java 8. Java 8 that will be supported at least until next
>> January and also until December 2020 but we do not know the details about
>> the later date...
>>
>> See this page full of "more details will be coming... "
>> http://www.oracle.com/technetwork/java/eol-135779.html
>> <http://www.oracle.com/technetwork/java/eol-135779.html>
>>
>> The next real version seem to be 11 but it is not available yet.
>>
>> Anyone have tried to compile with a newer version ?
>>
>> Samuel
>>
>>
>>
>>> Le 30 avr. 2018 à 07:11, Paul Hoadley <email@hidden
>>> <mailto:email@hidden>> a écrit :
>>>
>>> Hello,
>>>
>>> Just out of curiosity, has anyone experimented with migration to JDK 9 or
>>> 10? There are a handful of usages of internal APIs in both the WebObjects
>>> JARs, as well as ERExtensions and ERProfiling. (Some of those would be
>>> easily replaced in Wonder, and jdeps gives alternatives. I take it Signal
>>> and SignalHandler are still present in JDK 9, though jdeps (from JDK 8) is
>>> saying Resource and URLClassPath have been removed, and would need suitable
>>> alternatives found. I'm not sure what the path would be for the offending
>>> classes in WebObjects.)
>>>
>>> Has anyone looked at this, or is JDK 8 likely to be the end of the road?
>>>
>>>
>>> --
>>> Paul Hoadley
>>> https://logicsquad.net/ <https://logicsquad.net/>
>>> https://www.linkedin.com/company/logic-squad/
>>> <https://www.linkedin.com/company/logic-squad/>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden
>>> <mailto: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:
> <https://lists.apple.com/archives/webobjects-dev/attachments/20180507/d58a6ea7/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 3850 bytes
> Desc: not available
> URL:
> <https://lists.apple.com/archives/webobjects-dev/attachments/20180507/d58a6ea7/attachment.bin>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 07 May 2018 17:13:16 +0930
> From: Paul Hoadley <email@hidden>
> To: WebObjects-Dev <email@hidden>
> Subject: Re: Looking towards JDK 9, 10
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Thanks to everyone for their input on this.
>
>
> --
> Paul Hoadley
> https://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.apple.com/archives/webobjects-dev/attachments/20180507/8a5690d5/attachment.html>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 07 May 2018 10:58:01 +0200
> From: "Dr. Markus Stoll, junidas GmbH" <email@hidden>
> To: Paul Hoadley <email@hidden>
> Cc: WebObjects-Dev <email@hidden>
> Subject: Re: Looking towards JDK 9, 10
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> to get some more details, I started with a jdeprscan (JDK 10) of
> JavaWebobjects and got this:
>
> class com/webobjects/_ideservices/_IDEProjectPBX uses deprecated method
> java/io/File::toURL()Ljava/net/URL;
> class com/webobjects/_ideservices/_PBProject uses deprecated method
> java/io/File::toURL()Ljava/net/URL;
> class com/webobjects/appserver/WOApplication uses deprecated method
> java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/WOApplication uses deprecated method
> java/lang/Double::<init>(D)V
> class com/webobjects/appserver/WOComponent uses deprecated method
> java/lang/Long::<init>(Ljava/lang/String;)V
> class com/webobjects/appserver/WOComponent uses deprecated method
> java/lang/Double::<init>(Ljava/lang/String;)V
> class com/webobjects/appserver/WOComponent uses deprecated method
> java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/WOComponent uses deprecated method
> java/lang/Integer::<init>(Ljava/lang/String;)V
> class com/webobjects/appserver/WOContext uses deprecated method
> java/lang/Integer::<init>(Ljava/lang/String;)V
> class com/webobjects/appserver/WODisplayGroup uses deprecated method
> java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/WOMessage uses deprecated method
> java/lang/Boolean::<init>(Z)V
> class com/webobjects/appserver/WORequest uses deprecated method
> java/lang/Boolean::<init>(Z)V
> class com/webobjects/appserver/WOSessionStore uses deprecated method
> java/lang/Object::finalize()V
> class com/webobjects/appserver/WOSessionStore overrides deprecated method
> java/lang/Object::finalize()V
> class com/webobjects/appserver/WOStatisticsStore uses deprecated method
> java/lang/Long::<init>(J)V
> class com/webobjects/appserver/WOStatisticsStore uses deprecated method
> java/lang/Double::<init>(D)V
> error: cannot find class
> com/webobjects/webservices/support/_private/WOWSSupport
> class com/webobjects/appserver/WOWSDDRegistrar uses deprecated method
> java/lang/reflect/AccessibleObject::isAccessible()Z
> error: cannot find class
> com/webobjects/webservices/support/_private/WOWSSupport$Delegate
> class com/webobjects/appserver/_private/WOBrowser uses deprecated method
> java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/_private/WOCheckBox uses deprecated method
> java/lang/Boolean::<init>(Z)V
> class com/webobjects/appserver/_private/WOClassicAdaptor uses deprecated
> method java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/_private/WOFileCacheManager uses deprecated
> method java/lang/Long::<init>(J)V
> class com/webobjects/appserver/_private/WOForm uses deprecated method
> java/lang/Boolean::<init>(Z)V
> class com/webobjects/appserver/_private/WOInputList uses deprecated method
> java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/_private/WONestedList uses deprecated method
> java/lang/Integer::<init>(I)V
> class com/webobjects/appserver/_private/WORadioButton uses deprecated method
> java/lang/Boolean::<init>(Z)V
> error: cannot find class com/webobjects/webservices/support/WOXMLProvider
> error: cannot find class
> com/webobjects/webservices/support/_private/WOSecurityHandler
> class com/webobjects/appserver/xml/WOXMLDecoder uses deprecated class
> org/xml/sax/Parser
> class com/webobjects/appserver/xml/WOXMLDecoder has field named _parser of
> deprecated type org/xml/sax/Parser
> class com/webobjects/appserver/xml/WOXMLDecoder has method named parser
> having deprecated return type org/xml/sax/Parser
> class com/webobjects/appserver/xml/_private/_DecodingHandler extends
> deprecated class org/xml/sax/HandlerBase
> class com/webobjects/appserver/xml/_private/_DecodingHandler uses deprecated
> class org/xml/sax/HandlerBase
> class com/webobjects/appserver/xml/_private/_DecodingHandler uses deprecated
> class org/xml/sax/AttributeList
> class com/webobjects/appserver/xml/_private/_DecodingHandler has method named
> startElement having deprecated parameter type org/xml/sax/AttributeList
> class com/webobjects/appserver/xml/_private/_MappingHandler uses deprecated
> class org/xml/sax/AttributeList
> class com/webobjects/appserver/xml/_private/_MappingHandler has method named
> startElement having deprecated parameter type org/xml/sax/AttributeList
> class com/webobjects/appserver/xml/_private/_MappingModel uses deprecated
> class org/xml/sax/Parser
>
> So I guess, JDK 11 is going to hurt - one would need to do more patching in
> webobjects itself
>
>
> regards, Markus
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 3850 bytes
> Desc: not available
> URL:
> <https://lists.apple.com/archives/webobjects-dev/attachments/20180507/53068b0e/attachment.bin>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 07 May 2018 14:57:29 +0200
> From: Maik Musall <email@hidden>
> To: WebObjects-Dev <email@hidden>
> Subject: Re: Web service disturbs wotaskd communication
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Chuck,
>
> thanks for the suggestions. Thread dump was insightful, revealing that the
> new startup code caused didFinishLaunching() to be blocked and never finish.
>
> Maik
>
>
>> Am 04.05.2018 um 20:33 schrieb Chuck Hill <email@hidden>:
>>
>> Hi Maik,
>>
>> Are the WOWorkerThreads still running? Try getting a thread dump. Is your
>> refactored web service running as a daemon thread? If that, that could be
>> by the app is not stopping. You will need to tie in application.terminate()
>> to stop the web service.
>>
>> That is the only thing that I can think of that sort-of fits your
>> description.
>>
>>
>> Chuck
>>
>> From: Webobjects-dev
>> <webobjects-dev-bounces+chill=email@hidden
>> <mailto:webobjects-dev-bounces+chill=email@hidden>> on
>> behalf of Maik Musall <email@hidden <mailto:email@hidden>>
>> Date: Friday, May 4, 2018 at 5:48 AM
>> To: WebObjects-Dev <email@hidden
>> <mailto:email@hidden>>
>> Subject: Web service disturbs wotaskd communication
>>
>> Hi all, <>
>>
>> we recently refactored a web service running within a WO application. It was
>> based on com.sun.net <http://com.sun.net/>.httpserver which is of course
>> deprecated, and now we use org.apache.http instead. It creates a socket on a
>> high port number, waits for requests and serves responses. Nothing special
>> that I can see.
>>
>> Now, whenever we fire up the new implementation, the entire WO app instance
>> can't be stopped any more through wotaskd (e.g. by stopping the instance
>> manually in WOMonitor). Force Quit still works, and shutting down from
>> within through Runtime.exit() works, too. And if I disable that webservice,
>> normal stops also work fine again.
>>
>> The application port (2003 here) is reachable, I can connect to it via curl
>> or telnet, I even get an exception in the log when I send some garbage
>> there. It just doesn't react to wotaskd commands any more, and I can't
>> figure out why.
>>
>> Does anyone have a hunch about where to look?
>>
>> Thanks
>> Maik
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <https://lists.apple.com/archives/webobjects-dev/attachments/20180507/81a81a17/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Webobjects-dev mailing list
> email@hidden
> https://lists.apple.com/mailman/listinfo/webobjects-dev
>
>
> ------------------------------
>
> End of Webobjects-dev Digest, Vol 15, Issue 53
> **********************************************
_______________________________________________
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