jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-260

Sonar server can't be started on an IBM Aix Unix machine

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.3, 1.4
  • Fix Version/s: None
  • Component/s: Infrastructure
  • Labels:
    None
  • Environment:
    IBM Aix 5.3

Description

Hi,

On an IBM Aix Unix, sonar server can't be started via the standard method "sonar.sh start" since the wrapper can't be run.
I already had a problem of this kind with things like archiva or continuum, but I ended up directly launching plexus.sh.

In my case, I can't find what to start instead.

If you give me some pointers, couldn't I try to build a wrapper myself on this platform?

Thanks.

Cheers.

Issue Links

depends upon

Improvement - An improvement or enhancement to an existing feature or task. SONAR-262 Upgrade to Java Service Wrapper 3.3

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Simon Brandhof added a comment - 06/Jun/08 11:41 AM

Hi Baptiste,

It seems to be the same kind of problem that SONAR-209, focused on Solaris OS.
We use the Java Service Wrapper 3.2.3 from Tanuki software. The last release 3.3.0 fixes some bugs on Unix plateforms. It should surely resolve our problems.

The upgrade is planned in SONAR-262.

Thank you for your feedback

Show
Simon Brandhof added a comment - 06/Jun/08 11:41 AM Hi Baptiste, It seems to be the same kind of problem that SONAR-209, focused on Solaris OS. We use the Java Service Wrapper 3.2.3 from Tanuki software. The last release 3.3.0 fixes some bugs on Unix plateforms. It should surely resolve our problems. The upgrade is planned in SONAR-262. Thank you for your feedback
Hide
Permalink
Simon Brandhof added a comment - 16/Jun/08 5:12 AM

It should be fixed thanks to the upgrade of Java Service Wrapper 3.3.0. Unfortunatly we can't test it.

Show
Simon Brandhof added a comment - 16/Jun/08 5:12 AM It should be fixed thanks to the upgrade of Java Service Wrapper 3.3.0. Unfortunatly we can't test it.
Hide
Permalink
Simon Brandhof added a comment - 31/Jul/08 3:02 AM

Still have problems. Should be definitely fixed on 1.4 final.

Show
Simon Brandhof added a comment - 31/Jul/08 3:02 AM Still have problems. Should be definitely fixed on 1.4 final.
Hide
Permalink
Baptiste MATHUS added a comment - 30/Nov/08 11:28 AM

Unfortunately, I didn't find time to re-test sonar until now. I just re-tried with 1.4.3 but I receive a segmentation fault when I try to start sonar.sh using aix-ppc-32 (trying with the aix-ppc-64 gives me some kind of connection pool exhaustion after warning about the non 64 bit JVM).

My AIX JVM is a 32 bit one. Here's the output (not very useful I guess):
[P520]/cic/soft/sonar-1.4.3/
bin/aix-ppc-32:oslevel -r
5300-03
[P520]/cic/soft/sonar-1.4.3/bin/aix-ppc-32:./sonar.sh console
Running sonar...
wrapper | --> Wrapper Started as Console
wrapper | Java Service Wrapper Community Edition 3.3.0
wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.org
wrapper |
./sonar.sh[7]: 97240 Erreur de segmentation(coredump)

I can provide the coredump if you wish.

Couldn't Sonar provide an additional directory in bin that would just use simple shell scripting to be able to start the server in special cases/not very common OS like mine? That could be a usable workaround while waiting for a fix.

Any advice appreciated .
Cheers.

Show
Baptiste MATHUS added a comment - 30/Nov/08 11:28 AM Unfortunately, I didn't find time to re-test sonar until now. I just re-tried with 1.4.3 but I receive a segmentation fault when I try to start sonar.sh using aix-ppc-32 (trying with the aix-ppc-64 gives me some kind of connection pool exhaustion after warning about the non 64 bit JVM). My AIX JVM is a 32 bit one. Here's the output (not very useful I guess): [P520]/cic/soft/sonar-1.4.3/ bin/aix-ppc-32:oslevel -r 5300-03 [P520]/cic/soft/sonar-1.4.3/bin/aix-ppc-32:./sonar.sh console Running sonar... wrapper | --> Wrapper Started as Console wrapper | Java Service Wrapper Community Edition 3.3.0 wrapper | Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.org wrapper | ./sonar.sh[7]: 97240 Erreur de segmentation(coredump) I can provide the coredump if you wish. Couldn't Sonar provide an additional directory in bin that would just use simple shell scripting to be able to start the server in special cases/not very common OS like mine? That could be a usable workaround while waiting for a fix. Any advice appreciated . Cheers.
Hide
Permalink
Simon Brandhof added a comment - 30/Nov/08 11:46 AM

and what's the result of "java -version" please ?

Show
Simon Brandhof added a comment - 30/Nov/08 11:46 AM and what's the result of "java -version" please ?
Hide
Permalink
Baptiste MATHUS added a comment - 30/Nov/08 11:57 AM

This is a 1.5 JDK:
[P520]/cic/soft:java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20080811c (SR8a))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20080811 (JIT enabled)
J9VM - 20080809_21892_bHdSMr
JIT - 20080620_1845_r8
GC - 200806_19)
JCL - 20080811b
[P520]/cic/soft:java -fullversion
java version complète de "J2RE 1.5.0 IBM AIX build pap32devifx-20080811c (SR8a)"

Show
Baptiste MATHUS added a comment - 30/Nov/08 11:57 AM This is a 1.5 JDK: [P520]/cic/soft:java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20080811c (SR8a)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20080811 (JIT enabled) J9VM - 20080809_21892_bHdSMr JIT - 20080620_1845_r8 GC - 200806_19) JCL - 20080811b [P520]/cic/soft:java -fullversion java version complète de "J2RE 1.5.0 IBM AIX build pap32devifx-20080811c (SR8a)"
Hide
Permalink
Baptiste MATHUS added a comment - 05/Mar/09 4:19 AM

Hi, I just retried with the sonar 1.6 version, and the problem is still present:

[P520]/cic/sonar-1.6/bin/aix-ppc-32:./sonar.sh console
Running sonar...
Removed stale pid file: /cic/sonar-1.6/bin/aix-ppc-32/./sonar.pid
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Community Edition 3.3.0
wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights Reserved.
wrapper  |     http://wrapper.tanukisoftware.org
wrapper  |
./sonar.sh[7]: 66446 Erreur de segmentation(coredump)
[P520]/cic/sonar-1.6/bin/aix-ppc-64:oslevel -r
5300-03

My kernel is a 32 bits one:

[P520]/cic/sonar-1.6/bin/aix-ppc-32:ls -l /unix
lrwxrwxrwx   1 root     system           21 24 déc 2004  /unix@ -> /usr/lib/boot/unix_mp*

If you think I should report this bug against the JSW tracker, or if you need any more information, please just let me know.
I'd be very happy to be able to use sonar on our supported infrastructure.

Cheers.

Show
Baptiste MATHUS added a comment - 05/Mar/09 4:19 AM Hi, I just retried with the sonar 1.6 version, and the problem is still present:
[P520]/cic/sonar-1.6/bin/aix-ppc-32:./sonar.sh console
Running sonar...
Removed stale pid file: /cic/sonar-1.6/bin/aix-ppc-32/./sonar.pid
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Community Edition 3.3.0
wrapper  |   Copyright (C) 1999-2008 Tanuki Software, Inc.  All Rights Reserved.
wrapper  |     http://wrapper.tanukisoftware.org
wrapper  |
./sonar.sh[7]: 66446 Erreur de segmentation(coredump)
[P520]/cic/sonar-1.6/bin/aix-ppc-64:oslevel -r
5300-03
My kernel is a 32 bits one:
[P520]/cic/sonar-1.6/bin/aix-ppc-32:ls -l /unix
lrwxrwxrwx   1 root     system           21 24 déc 2004  /unix@ -> /usr/lib/boot/unix_mp*
If you think I should report this bug against the JSW tracker, or if you need any more information, please just let me know. I'd be very happy to be able to use sonar on our supported infrastructure. Cheers.
Hide
Permalink
Simon Brandhof added a comment - 05/Mar/09 7:30 AM

Hi Baptiste,
You can try the following :

  • download latest wrapper version for AIX 32bits (standard or community version ? I don't know)
  • overwrite /sonar/bin/aix-ppc-32/wrapper and /sonar/bin/aix-ppc-32/lib/libwrapper.a
  • overwrite /sonar/bin/aix-ppc-32/sonar.sh by /src/bin/sh.script.in
  • edit sonar.sh with :
    APP_NAME="sonar"
    APP_LONG_NAME="sonar"
    WRAPPER_CMD="./wrapper"
    WRAPPER_CONF="../../conf/wrapper.conf"

Good luck
Simon

Show
Simon Brandhof added a comment - 05/Mar/09 7:30 AM Hi Baptiste, You can try the following :
  • download latest wrapper version for AIX 32bits (standard or community version ? I don't know)
  • overwrite /sonar/bin/aix-ppc-32/wrapper and /sonar/bin/aix-ppc-32/lib/libwrapper.a
  • overwrite /sonar/bin/aix-ppc-32/sonar.sh by /src/bin/sh.script.in
  • edit sonar.sh with :
    APP_NAME="sonar"
    APP_LONG_NAME="sonar"
    WRAPPER_CMD="./wrapper"
    WRAPPER_CONF="../../conf/wrapper.conf"
Good luck Simon
Hide
Permalink
Olivier Gaudin added a comment - 07/Jul/09 12:53 PM

Baptiste, any news ?

Show
Olivier Gaudin added a comment - 07/Jul/09 12:53 PM Baptiste, any news ?
Hide
Permalink
Baptiste MATHUS added a comment - 07/Jul/09 1:48 PM

Hi Olivier,
Sorry I didn't find time to test what you proposed. I'm not being optimistic about finding this time under less than one or two months. Around september I might be able to allow some time to work this issue out. Anyway, I really want to test last versions of sonar, so I know I'll do sooner or later.

Thanks.

Show
Baptiste MATHUS added a comment - 07/Jul/09 1:48 PM Hi Olivier, Sorry I didn't find time to test what you proposed. I'm not being optimistic about finding this time under less than one or two months. Around september I might be able to allow some time to work this issue out. Anyway, I really want to test last versions of sonar, so I know I'll do sooner or later. Thanks.
Hide
Permalink
Olivier Gaudin added a comment - 07/Jul/09 3:37 PM

Baptiste, I am closing the ticket for the time being. DOn't hesitate if this occurs with a more recent version. You might try to ask on the mailing as well.

Show
Olivier Gaudin added a comment - 07/Jul/09 3:37 PM Baptiste, I am closing the ticket for the time being. DOn't hesitate if this occurs with a more recent version. You might try to ask on the mailing as well.

People

  • Assignee:
    Olivier Gaudin
    Reporter:
    Baptiste MATHUS
Vote (0)
Watch (0)

Dates

  • Created:
    06/Jun/08 4:31 AM
    Updated:
    07/Jul/09 3:37 PM
    Resolved:
    07/Jul/09 3:37 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.