Issue Details (XML | Word | Printable)

Key: BAM-1094
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ajay Sridhar [Atlassian]
Reporter: Caspar Clemens Mierau
Votes: 0
Watchers: 0
Operations

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

start-bamboo wrapper uses false uname syntax

Created: 03/Apr/07 08:06 AM   Updated: 29/May/07 02:30 AM
Component/s: Administration (General), Infrastructure, Installation
Affects Version/s: 1.0.3
Fix Version/s: 1.1.2

Time Tracking:
Original Estimate: 30 minutes
Original Estimate - 30 minutes
Remaining Estimate: 30 minutes
Remaining Estimate - 30 minutes
Time Spent: Not Specified
Remaining Estimate - 30 minutes

Environment: Debian Etch

Participants: Ajay Sridhar [Atlassian], Caspar Clemens Mierau, Edwin Wong [Atlassian] and Mark Chaimungkalanont [Atlassian]
Since last comment: 1 year, 19 weeks, 4 days ago
Number of comments: 4
Internal Priority: 4. Low
Internal Work Bucket: Confirmed
Labels:


 Description  « Hide
The start_bamboo wrapper script uses "uname" in a way Debian does not recognize:

cruise@bamboo:~/bamboo$ ./wrapper/start-bamboo status
Try `uname --help' for more information.

The problem is "uname -p"



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Edwin Wong [Atlassian] added a comment - 04/Apr/07 12:23 AM
Hi Caspar,

Have you tried using the non-wrapper script (in the root folder) as opposed to wrapper?

We'll look into the issue with the wrappper script.

Thanks for the report.
Edwin


Caspar Clemens Mierau added a comment - 04/Apr/07 03:59 AM
Hi Edwin,

i tried it but had problems configuring it to rename the context which is quite easy in the wrapper.

Best,

Caspar.


Edwin Wong [Atlassian] added a comment - 09/Apr/07 08:12 AM
Hi Caspar,

You can rename the context of the default startup script by changing the RUN_CMD line in the bamboo.sh file:

RUN_CMD="java -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -classpath $CLASSPATH -Dorg.mortbay.xml.XmlParser.NotValidating=true -Djetty.port=8085 com.atlassian.bamboo.server.Server 8085 ./webapp /"

to

RUN_CMD="java -Xms256m -Xmx512m -XX:MaxPermSize=256m -Djava.awt.headless=true -classpath $CLASSPATH -Dorg.mortbay.xml.XmlParser.NotValidating=true -Djetty.port=8085 com.atlassian.bamboo.server.Server 8085 ./webapp /MY_CONTEXT"

The context path is the last argument in the line, with default being "/" - the root.

Cheers,
Edwin


Ajay Sridhar [Atlassian] added a comment - 29/May/07 02:30 AM
Hi Casper,

This issue is now fixed and should be shipped in the next Bamboo release.

We changed the Bamboo start-up script to use "uname -m" (exclusively) to determine the system architecture.

Cheers,
Ajay