Issue Details (XML | Word | Printable)

Key: DIRSERVER-751
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Alex Karasulu
Reporter: Alex Karasulu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Jsvc fails on AMD 64-bit linux machines

Created: 26/Sep/06 01:07 PM   Updated: 20/Apr/07 01:04 AM
Return to search
Component/s: None
Affects Version/s: 1.5.0, 1.0.1, 1.0, 1.0-RC4, 1.0-RC3, 1.0-RC2, 1.0-RC1, pre-1.0
Fix Version/s: 1.5.1, 1.0.2

Time Tracking:
Not Specified

Environment:
AMD 64
Ubuntu 6.06.1
JDK 1.5.0_08

Resolution Date: 20/Apr/07 01:04 AM


 Description  « Hide
The apacheds start command on the init script fails because the compiled binary for Jsvc segfaults on 64-bit machines. I think we need a 64-bit version of ApacheDS installers with a jsvc binary compiled on a 64-bit linux machine.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu added a comment - 02/Oct/06 03:20 AM
Again this can be taken care of later.

Alex Karasulu made changes - 02/Oct/06 03:20 AM
Field Original Value New Value
Fix Version/s 1.0 [ 12312043 ]
Fix Version/s 1.0.1 [ 12312091 ]
Priority Major [ 3 ] Minor [ 4 ]
Emmanuel Lecharny added a comment - 25/Jan/07 04:10 PM
Let's push that to 1.5.0 stack

Emmanuel Lecharny made changes - 25/Jan/07 04:10 PM
Fix Version/s 1.0.1 [ 12312091 ]
Fix Version/s 1.5.0 [ 12310790 ]
Alex Karasulu made changes - 23/Feb/07 08:18 PM
Assignee Alex Karasulu [ akarasulu ]
Emmanuel Lecharny added a comment - 16/Mar/07 02:58 PM
Ok, seems not really urgent ...

Let's postpone it again...

Emmanuel Lecharny made changes - 16/Mar/07 02:58 PM
Fix Version/s 1.5.1 [ 12310792 ]
Fix Version/s 1.5.0 [ 12310790 ]
Alex Karasulu added a comment - 19/Apr/07 07:37 PM
I'm going to try to fix this for 1.0.2 and 1.5.1 since I have the hardware to test this on now.

Alex Karasulu made changes - 19/Apr/07 07:37 PM
Fix Version/s 1.0.2 [ 12312309 ]
Affects Version/s 1.0.1 [ 12312091 ]
Affects Version/s 1.5.0 [ 12310790 ]
Affects Version/s 1.0 [ 12312043 ]
Ole Ersoy added a comment - 19/Apr/07 08:06 PM
Oh - I should also mention that I'm running 1.5.0
on AMD 64. When I first tried to run it,
it did not want to start, even though
I su'd from my account.

From what I understand, su give me root priviliges,
but does not make me the root user.

So I tried again from the "root" user shell,
and as long as I set JAVA_HOME
it runs fine.

When the RPM installer gets done, ApacheDS will run under the user "apacheds",
so we may want to wait on this, unless it's really urgent for someone.

Cheers,
- Ole




Alex Karasulu made changes - 19/Apr/07 11:28 PM
Status Open [ 1 ] In Progress [ 3 ]
Repository Revision Date User Message
ASF #530593 Fri Apr 20 00:41:43 UTC 2007 akarasulu adding support to generate an installer with jsvc compiled for x86_64: fix for DIRSERVER-751
Files Changed
ADD /directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/jsvc_linux_x86_64
MODIFY /directory/daemon/trunk/plugin/src/main/java/org/apache/directory/daemon/installers/CreateImageCommand.java

Repository Revision Date User Message
ASF #530594 Fri Apr 20 00:44:34 UTC 2007 akarasulu adding support to generate an installer with jsvc compiled for x86_64: fix for DIRSERVER-751
Files Changed
MODIFY /directory/daemon/branches/1.0/plugin/src/main/java/org/apache/directory/daemon/installers/CreateImageCommand.java
ADD /directory/daemon/branches/1.0/plugin/src/main/resources/org/apache/directory/daemon/installers/jsvc_linux_x86_64 (from /directory/daemon/trunk/plugin/src/main/resources/org/apache/directory/daemon/installers/jsvc_linux_x86_64)

Alex Karasulu added a comment - 20/Apr/07 01:04 AM
Got it working painlessly for both 1.0 and 1.5 in minutes here are the commits:

For (1.0 daemon/1.0 ads) branches:

    http://svn.apache.org/viewvc?view=rev&revision=530594
    http://svn.apache.org/viewvc?view=rev&revision=530599

For (1.1 daemon/1.5 ads) branches:

    http://svn.apache.org/viewvc?view=rev&revision=530593
    http://svn.apache.org/viewvc?view=rev&revision=530600

Generated x86_64 izpack installer for both 1.0 and 1.5 branches and tested on 64 bit machine. All works well. If you have a minute please test this out I have uploaded these snapshots up to my home directory here:

    http://people.apache.org/~akarasulu/apacheds/x86_64/

Good luck!


Alex Karasulu made changes - 20/Apr/07 01:04 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Closed [ 6 ]