First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 242826
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Yoann Pannier <gentoo-bugs.f@umsar.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
server-info.patch define $version and $version.number patch Yoann Pannier 2008-10-19 21:40 0000 504 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 242826 depends on: Show dependency tree
Bug 242826 blocks: 243162
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-10-19 21:39 0000
At runtime, ServletContext.getServerInfo() returns "snapshot" instead of
"6.0.18" as a version number.

As far as i can tell, some $version and $version.number do need to be specified
at compile time to get the right numbers at runtime.

Naive patch will follow.

To see what is going on, see those files:
./apache-tomcat-6.0.18-src/java/org/apache/catalina/util/ServerInfo.java
./apache-tomcat-6.0.18-src/java/org/apache/catalina/util/ServerInfo.properties
./apache-tomcat-6.0.18-src/build.xml
./apache-tomcat-6.0.18-src/build.properties.default

------- Comment #1 From Yoann Pannier 2008-10-19 21:40:11 0000 -------
Created an attachment (id=169138) [details]
define $version and $version.number

------- Comment #2 From Miroslav Ć ulc 2008-10-22 00:08:32 0000 -------
Thank you for the bug report and the patch. Fixed in tomcat-6.0.18-r1.

First Last Prev Next    No search results available      Search page      Enter new bug