Bug 33777 - tomcat not supporting jrockit jdk
Summary: tomcat not supporting jrockit jdk
Status: RESOLVED WONTFIX
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Unknown (show other bugs)
Version: 5.5.2
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 20:06 UTC by Anil Pathak
Modified: 2005-05-02 04:11 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anil Pathak 2005-02-28 20:06:15 UTC
Tomcat installer for windows doesnot accept BEA jrocket as the jdk home
Comment 1 Dominik Drzewiecki 2005-03-01 08:53:50 UTC
Moreover, when installed onto a machine with both Sun's and BEA's JVM tomcat
doesn't start on jrockit. Jrockit seems not to accept the *non-standard* -Xrs
param which is appended by tomcat5w by default... :/
Comment 2 Staffan Larsen 2005-03-02 02:21:56 UTC
The -Xrs equivalent in JRockit is -Xnohup
Comment 3 Mladen Turk 2005-03-07 19:54:25 UTC
This would mean that we would have to discover each and every
JVM present, with what ever vendor implementation specific params are.
This would be too much to ask I'm afraid.

If you wish to use JRockit then simply update your params.
Thanks anyhow for the tip. I'll probably document that somewhere,
or you can create a support page :).
Comment 4 Dominik Drzewiecki 2005-03-07 22:26:05 UTC
Well, that's pretty cool that there is an equivalent for -Xrs in Jrockit, but
appending it doesn't do any good. The problem is that it is *not possible* to
launch tomcat on Bea's JVM as it *rejects*  unknown -Xrs parameter which being
hardcoded somewhere in the tomcatw.exe (rather than specified somewhere on the
editable parameter list) is passed to JVM.
I realize that it is mandatory to pass -Xrs (or it's equivalents) to processes
run as service but hardcoding it in the launcher is not an option either as it
prevents usage of other JVMs.
Bottomline: To me it seems that hardcoding non-standard parameters is somewhat
risky.
Comment 5 Staffan Larsen 2005-03-29 15:22:39 UTC
In the next service pack (SP1) for JRockit 5.0 we will have support for -Xrs (as
an alias for -Xnohup).
Comment 6 Jess Holle 2005-03-29 15:29:27 UTC
I for one applaud BEA for adding synonyms where necessary to make their JDK more
interoperable with Sun's at a command line argument level.

I believe it would be for the best if all non-Sun JDK's accepted all the Sun JDK
arguments -- even as no-ops -- so as to provide a more seamless porting experience.

IBM would be the counter-example to this.  Their JDK refuses to start when
commonly used Sun JDK arguments (e.g. "-server") are used, which forces
obnoxious contortions into installlation/configuration software to deal with
this unnecessary inconsistency.
Comment 7 Henrik Stahl 2005-04-29 20:13:20 UTC
We have added the -Xrs option to our recently released JRockit 5.0 (R25.1). 
Announcement here:

http://forums.bea.com/bea/thread.jspa?threadID=600003820

I suggest you close this after verifying that it works as intended.

/Henrik
Comment 8 Dominik Drzewiecki 2005-05-02 12:11:41 UTC
This is no longer a case.
Tomcat runs like a charm on the latest'n'greatest JRockit 5.0 (R25.1).
Thanks you BEA guys for listening.