From owner-freebsd-java@FreeBSD.ORG Sun Apr 26 21:43:48 2015 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5CC08C0 for ; Sun, 26 Apr 2015 21:43:48 +0000 (UTC) Received: from nm8-vm0.bullet.mail.bf1.yahoo.com (nm8-vm0.bullet.mail.bf1.yahoo.com [98.139.213.95]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93CE115F5 for ; Sun, 26 Apr 2015 21:43:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1430084620; bh=CHI2dOJlRhfkZA4qICcwk5Bi9REudDeevJh86wwdwsw=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=t6b9CwXALkz922xdm/74ficCjOl+1RLO3HSG60+n2Xwi9MC9ePpR4M2+BxlvQ/y3htPJ8XaxkRE9dWL/hcVG2lY0yrB70+kyoOQRP5+cT/5DnjCpyn4wzQ45VYw9hRQOEzgYphv4NNrziF+UiHtO3rttEybv6T1MlC3O3bZcnXYJmP72DCN48Q+/g+CJVcrymb2hxYx5KHap1rytzj7W2d3btMz9vAGah+5Jx+RKJ8H5dPPs5z7bf/hnCST8RNWQT0UdhJ9qykh0qsfp+KxYrXTIqD+v4rOS6vqETPT1FdhwUV5NjrUlG5UN+METDndnGj3xMpkF3pqitEBHE4mxRw== Received: from [98.139.214.32] by nm8.bullet.mail.bf1.yahoo.com with NNFMP; 26 Apr 2015 21:43:40 -0000 Received: from [98.139.213.15] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 26 Apr 2015 21:43:40 -0000 Received: from [127.0.0.1] by smtp115.mail.bf1.yahoo.com with NNFMP; 26 Apr 2015 21:43:40 -0000 X-Yahoo-Newman-Id: 852147.23926.bm@smtp115.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: IJ.JijMVM1m7niNlTcNjvxEMCuKYP2x1l7PNTfC7LQHj1xF gmbUDrR6zNzLpTpAWXX9oZ5s6_TKvwjx0dHpY9Hp4r17SLgMatYA0QCBJm3S iCSJF9LYc.5mbh71B0q2nSSru3eizJ4l1.XyTz9yNHvLfXg3HrxUr4g3rM8B aie3BkrILa4PaZE9ynn_XFO6GJw5_dFwDclTK7i52W2kLndmFbUSnQ4GXZF0 Xi5zoEaZ7YRwfJe91fyIkR21fHPlYJxapF9r.kVIai.vcOP7cjXBHSgYsL73 s0Kt31aAGNUgCmrsPVOcvZBujWUIObweTzxHt8c5e96sErVVqPo0Lx_m7QZO HLs0P87NKg9SV9ACAfH55aSjrYxYAvK_mZqtglxLijYO2nvSD3XrTHXzsTFj XRlsWET1QhYyF7U5Fjou8oKTV1D4Fh_.XsBxjWji.ecMqVPDTdo3Yp2xSwcm MHcvd76NQBqXsBG6PxIRBamnPfNYTiGuczUvQWRls_I2KrC.lkwdwTiDxlZR ApAaNA6fcM7sDraGqiROKRqt6x4_F3BMkBw-- X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <553D5C0A.6060105@yahoo.com> Date: Sun, 26 Apr 2015 17:43:38 -0400 From: Paul Pathiakis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Greg Lewis , Craig Rodrigues CC: "freebsd-java@freebsd.org" , Lon Chen , Paul Pathiakis Subject: Re: Freebsd + openjdk 7 = problem? References: <552F7FF0.5090909@eileo.com> <552FC8EC.5020509@atlantisservices.net> <20150424045441.GB30726@misty.eyesbeyond.com> In-Reply-To: <20150424045441.GB30726@misty.eyesbeyond.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2015 21:43:49 -0000 I think we have a good cut on the documentation: http://www.opennms.org/wiki/Installing_on_FreeBSD_10.x_with_OpenJDK P. On 04/24/2015 00:54, Greg Lewis wrote: > On Thu, Apr 16, 2015 at 11:07:50AM -0700, Craig Rodrigues wrote: >> On Thu, Apr 16, 2015 at 7:36 AM, Paul Pathiakis < >> ppathiakis@atlantisservices.net> wrote: >>> I'm still working with the OpenNMS people and I'm going to get a cheat >>> sheet together on how to quickly implement a build and install so that >>> someone in the java group can fix these issues. >>> >> If you have some sort of blog or web page where you can post all >> the steps to reproduce the problem, that might be good. When posting to >> multiple mailing lists sometimes details get lost for complicated issues >> like this, so sometimes it is good >> to have it in one place. > This was be immensely helpful for whomever ends up having time to look into > it. I went and started looking at OpenNMS a couple of weeks ago and > frankly didn't have enough time to walk through all of the build and set up > steps. A wiki or something that boils it all down would be most helpful. > > Also, I agree that the place to look to fix this is in the openjdk8 port. > I expect we'll be wanting to switch to that as the default soon. > From owner-freebsd-java@FreeBSD.ORG Mon Apr 27 13:28:33 2015 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C264E80 for ; Mon, 27 Apr 2015 13:28:33 +0000 (UTC) Received: from messages.atlantisservices.net (atlantisservices.com [96.39.127.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 078A81444 for ; Mon, 27 Apr 2015 13:28:32 +0000 (UTC) Received: from desktop4.192atlantisservices.net (unknown [192.168.0.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by messages.atlantisservices.net (Postfix) with ESMTPSA id 079C4197FE; Mon, 27 Apr 2015 13:28:25 +0000 (UTC) Message-ID: <553E3978.3000201@atlantisservices.net> Date: Mon, 27 Apr 2015 09:28:24 -0400 From: Paul Pathiakis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Ronald Roskens CC: Seth Leger , Benjamin Reed , "freebsd-java@freebsd.org" Subject: Re: [opennms-devel] OpenNMS 1.14+ on FreeBSD 8, 9, 10, 11 References: <551AFE89.2010407@opennms.org> <551AFF30.5000207@atlantisservices.net> <551E1754.2040305@atlantisservices.net> <551F4455.7020305@atlantisservices.net> <679B4B28-35B8-4AD6-A84A-2E5C2E4BA77C@elfin.net> <5594D52C-56F5-411D-AC8E-0A9305DD0996@elfin.net> <5BB323E3-7697-4899-A740-C05109D9004A@opennms.org> <552148F6.1040708@atlantisservices.net> <7504A1F5-6C17-42D0-81E9-375C320235F5@elfin.net> <5522DEB3.2060407@atlantisservices.net> <30656E80-ECC3-4054-95C1-B42AEE0ECA56@elfin.net> <552FE3F1.50600@atlantisservices.net> <198271CF-C8A8-469F-8C3F-159ABE12FD29@elfin.net> In-Reply-To: <198271CF-C8A8-469F-8C3F-159ABE12FD29@elfin.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2015 13:28:33 -0000 Guys: http://www.opennms.org/wiki/Installing_on_FreeBSD_10.x_with_OpenJDK It's a first cut. It will need help. However, I can get this over to java@freeBSD.org so they can easily install and replicate the problem. P. On 04/20/2015 00:21, Ronald Roskens wrote: > Paul, > > I don’t think there’s been a change in status. The native FreeBSD OpenJDK 7 or 8 still crash. > > I’ve submitted pull requests today with fixes for the three test issues I found in OpenNMS. > > > There seems to be a regression with OpenJDK 8 on FreeBSD. I was looking at some of the hs_err_pid.log files and noticed that all id’s for the JavaThread lines have the same id, and that its the same as the PID of the process. OpenJDK 7 on FreeBSD works differently: it logs unique numbers for each, but there doesn’t seem to be any relation to either the tid or nid values logged in a thread dump. > > > > So I have $OPENNMS_HOME/etc/opennms.conf: > START_TIMEOUT=0 > JAVA_HEAP_SIZE=1024 > ADDITIONAL_MANAGER_OPTIONS=“-Xint -Xdiag" > > This makes the JDK run dog slow, it took around 35 minutes to startup. It crashed about 15 minutes later too. > > Its almost like once jetty is up and running, the JVM crashes. > > > > Here are my notes for installing OpenNMS 15 using the installer: > ==== > # pkg install openjdk7 > # pkg install bash > # pkg install jicmp > # pkg install jicmp6 > # pkg install iplike > > The installer requires an X11 display. > > # ftp 'http://sourceforge.net/projects/opennms/files/OpenNMS/stable-15.0.1/standalone-opennms-installer-15.0.1-1.zip/download' > # unzip standalone-opennms-installer-15.0.1-1.zip > # /usr/local/openjdk7/bin/java -jar standalone-opennms-installer-15.0.1-1.jar > Step 1: Information > Click Next > Step 2: Licensing Agreements > Click the radio button for 'I accept the terms of this license agreement.' > Click Next > Step 4: Target Path > Enter installation path: /usr/local/OpenNMS > Click Next > Message that /usr/local/OpenNMS target directory will be created. > Click OK > Step 5: Select Installation Packages > Select Core and Docs > Click Next > Step 6: User Data > Database Host: localhost > PostgreSQL Database Name: opennms > Database Port: 5432 > Database Username (Administrator): pgsql > Database Password (Administrator): > Database Username (Runtime): opennms > Database Username (Runtime): opennms > Click Next > Step 7: User Data - Configure Discovery Range > Start: > End: > Click Next > Step 8: Installation > ( this step extracts and installs into the target directory /usr/local/OpenNMS ) > Click Next > Step 9: Perform External Processes > ( this steps runs '/usr/local/OpenNMS/bin/install -dis' ) > Click Next > Step 10: Installation Finished > Click Done > > # vi /usr/local/OpenNMS/bin/opennms > Change #!/bin/bash to #!/usr/local/bin/bash > > Fix for NMS-7464 > # rm /usr/local/OpenNMS/jetty-webapps/opennms-remoting/WEB-INF/lib/org.opennms.core.soa-15.0.1.jar > > # /usr/local/OpenNMS/bin/opennms start > Open a web browser to :8980 > Login using admin for username & password. > > ** need doc on setting up a requisition & single node ** > > Wait for the JDK to crash and dump an hs_err_pid.log and core file. > ==== > > > >> On Apr 16, 2015, at 11:31 AM, Paul Pathiakis wrote: >> >> Guys, >> >> Sorry, I've been a little offline for a while. What is the status of everything? I know Ron corrected some things and I was just curious if everything is merged into 16 and in the repository. Also, how do I access the latest 16 stable branch (git command) ? >> >> I'd like to get the build process to be fully documented for the Java on FreeBSD folks so that they can easily reproduce all the unit tests and bugs as well as troubleshoot the OpenJDK8 to see what issues it has. >> >> Given 16 is on the way and so is 8, I figure that's a good direction to start in on. By the time they address the issues, we might be in sync with 16 and 8. Right now, nothing works and most people that were running previous versions of OpenNMS on FreeBSD are stuck on 1.12 or earlier and FreeBSD 9 or earlier. >> >> Thanks for everything so far! >> >> Paul >> >> >> On 04/06/2015 22:41, Ron Roskens wrote: >>> Search for the string HEAD, and you'll see the inline diff of changes. >>> >>> There is another way to install OpenNMS, by using the opennms-installer package. It's just a jar file you execute ( java -jar ), then run through 10 install steps, and when completed, you have a fully working install ready for you to run $OPENNMS_HOME/bin/opennms start. It's saves time from having to run through the whole build process. It does require an X11 display, so I don't know how well that might go over for a port. >>> >>> What it would give a FreeBSD JVM developer though is a fully functional and running OpenNMS install they could test against. >>> >>> Ron >>> >>>> On Apr 6, 2015, at 2:29 PM, Paul Pathiakis wrote: >>>> >>>> The merge generates a conflict, but its just a whitespace issue. >>>> >>>> vi features/system-report/src/main/java/org/opennms/systemreport/SystemReportResourceLocator.java >>>> git add features/system-report/src/main/java/org/opennms/systemreport/SystemReportResourceLocator.java >>>> git commit >>>> >>>> Ron, >>>> >>>> Regarding the above, where is the whitespace issue in that file? I'm kind of stuck looking for it. >>>> >>>> (Is there any way to correct it so that we don't have to change it each time we recheck the repository?) >>>> >>>> Also, given that I'm now told that JDK 1.8 is the way to go as 1.7 is EOL, I'm going to head in that direction. >>>> >>>> P. >>>> >>>> On 04/05/2015 18:00, Ronald Roskens wrote: >>>>>> On Apr 5, 2015, at 9:38 AM, ppathiakis@atlantisservices.net wrote: >>>>>> >>>>>> Ron, >>>>>> >>>>>> Any hints on what I'm doing wrong with git and why it won't check out the develop section that you're providing. Also, if 1.8 is working with 1.16, I'm going to head in that direction for testing if that sounds good. >>>>>> >>>>>> Use my resources as you need to get things done. I'm here to help and learn so that I can support the FreeBSD port in the future. (Unless you want to run with it.) >>>>> If the develop branch already exists, then >>>>> >>>>> # git checkout develop >>>>> >>>>> You should also pull up the latest commits. >>>>> >>>>> # git pull >>>>> >>>>> Then you could do the git merge. >>>>> >>>>> >>>>> When I run OpenNMS 16.0.0-SNAPSHOT (develop) with either OpenJDK7 or OpenJDK8, I get a JVM crash dump. >>>>> >>>>> When I had installed OpenJDK7 and 8, I noticed there were config options for debugging. For both the slowdebug and fastdebug options, I re-installed OpenJDK8 and ran OpenNMS. Both times the JVM crashed within minutes of startup. >>>>> >>>>> Is there a way to compile OpenJDK8 using GCC rather than clang? >>>>> >>>>> Is there a way to compile OpenJDK8u60-b09 within the FreeBSD ports framework and use that to test running OpenNMS under? >>>>> >>>>> >>>>> I found this PDF from Oracle on troubleshooting guide for Java SE 6, and assume it also applies to OpenJDK. >>>>> >>>>> http://www.oracle.com/technetwork/java/javase/tsg-vm-149989.pdf >>>>> >>>>> There were two JVM arguments that I found that are supposed to help debugging JNI or native methods. “-verbose:jni” and “-Xcheck:jni” and both arguments when added to the command line for OpenNMS caused the JVM to crash much earlier. >>>>> >>>>> Create the file $OPENNMS_HOME/etc/opennms.conf and add a line ADDITIONAL_MANAGER_OPTIONS=“Xcheck:jni -verbose:jni” and you’ll get the crash. >>>>> >>>>> >>>>> As Jessie had posted earlier, one of the FreeBSD java port developers is needed to help diagnose it further from here. >>>>> >>>>> >>>>> Ron From owner-freebsd-java@FreeBSD.ORG Sat May 2 00:43:31 2015 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B80896DE for ; Sat, 2 May 2015 00:43:31 +0000 (UTC) Received: from server.earnyourturns.com (server.earnyourturns.com [198.1.96.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DBDC134E for ; Sat, 2 May 2015 00:43:31 +0000 (UTC) Received: from earnyou1 by server.earnyourturns.com with local (Exim 4.85) (envelope-from ) id 1YoL7g-0001QG-If for java@freebsd.org; Sat, 02 May 2015 00:17:36 +0000 To: java@freebsd.org Subject: Hendershot Generator Free-Energy Guide X-PHP-Script: www.backcountrytalk.earnyourturns.com/vb/cron.php for 71.231.185.138 From: "Backcountry Talk" Auto-Submitted: auto-generated Message-ID: <20140909080314.55119b0fd2c7@www.backcountrytalk.earnyourturns.com> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: vBulletin Mail via PHP Date: Sat, 02 May 2015 00:17:36 +0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.earnyourturns.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [500 500] / [47 12] X-AntiAbuse: Sender Address Domain - server.earnyourturns.com X-Get-Message-Sender-Via: server.earnyourturns.com: authenticated_id: earnyou1/from_h X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2015 00:43:31 -0000 ,, This is a message from 3n3rgyT ( mailto: ) from the Backcountry Talk ( http://www.backcountrytalk.earnyourturns.com/vb/ ). The message is as follows: . Hi, We know that the ultimate problem that we are facing today is energy. Now here is a machine that would overcome this problem which was designed many years ago but the blueprint was suppressed by huge oil companies and including the government for a one big reason.. their own PROFIT. To know more, please visit this site: http://m0tivation.yolasite.com/?id=URI Have a good one. Justin Cane . Backcountry Talk takes no responsibility for messages sent through its system.