Skip to main content

GlassFish v3 on Windows Server 64 bit

15 replies [Last post]
robinzon
Offline
Joined: 2010-01-20

Hi all,

I need to install GS on 64 bit Windows Server 2003 or 2008 and avoid 4GB heap barrier. Initially I thought that since GS is 100% Java then I just need to find out if I can get 64 bit JVM running on WS 2003. Based on this table (http://java.sun.com/javase/6/webnotes/install/system-configurations.html) both WS 2003 and 2008 are suitable.

But then I checked GS Release Notes (http://docs.sun.com/app/docs/doc/820-7688/abpaj?a=view) which say Windows 7 is the only 64 bit platform supported.

On the other hand, this Wiki page (http://wiki.glassfish.java.net/Wiki.jsp?page=Faq64bitConfig) says: "If you need to break the 2GB or 4GB heap (depending on your OS/JVM combinaison) maximum barrier for your GlassFish-powered application, you can move to a 64-bit JVM".

I'm confused... Is there a way to run GS on WS 2003 or 2008? Why Release Notes does not name any WS 64 bit platform if I can get 64 bit JVM running there?

Thanks in advance for your help!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
robinzon
Offline
Joined: 2010-01-20

Hi jclingan,

Could you please comment on point (1) I mentioned above?
I just want to be sure that we can run GS v3 over [b]32 bit JVM + 64 bit WS 2008[/b] and have the official support for now, and then (when GS 3.0.1 released) migrate to [b]64 bit JVM + 64 bit WS 2008[/b] which again will be officially supported (by that time).

robinzon
Offline
Joined: 2010-01-20

Thanks wfay!
Regarding support of 64 bit for Windows 7 vs Windows Server - I was hoping that somebody from testers could add a few words as they might know a bit more about it...
I think you're right, we need to talk with Sun representative.

jclingan
Offline
Joined: 2003-06-12

You can ask me since I own the supported platforms.

Windows 7 is developer support only, and we could test either 64 or 32 bit. But we will not pick both.

As I added elsewhere in this thread, we are adding 64-bit support for Windows 2008 R2 with GlassFish 3.0.1.

robinzon
Offline
Joined: 2010-01-20

Hi jclingan,

Many thanks for update! Sorry I did not see you previous comment, but I'm glad that I could get your attention.

Let me just to summarize what is not clear yet:

1. The Release Notes contains table of supported windows platforms (http://docs.sun.com/app/docs/doc/820-7688/abpaj?a=view) but does not actually say about 64 vs 32 Windows. Am I right that only JDK (the right column) matters? So I can install on both 32 and 64 bit Windows platforms but have to use 32 bit JDK for now.

2. I happy to hear that "Windows 2008 64 bit + 64 bit JVM" support is on the way, that is really great. But I've heard that "Sun provides formal Sustaining Support only for final releases" (http://blogs.sun.com/GlassFishForBusiness/entry/glassfish_enterprise_sup...). I assume that final release means 3.1. Anyway, do you have thoughts on regarding the dates for the realease of 3.0.1 and 3.1?

Alexis Moussine-Pouchkine

On 2 avr. 2010, at 04:20, glassfish@javadesktop.org wrote:

> Hi jclingan,
>
> Many thanks for update! Sorry I did not see you previous comment, but I'm glad that I could get your attention.
>
> Let me just to summarize what is not clear yet:
>
> 1. The Release Notes contains table of supported windows platforms (http://docs.sun.com/app/docs/doc/820-7688/abpaj?a=view) but does not actually say about 64 vs 32 Windows. Am I right that only JDK (the right column) matters? So I can install on both 32 and 64 bit Windows platforms but have to use 32 bit JDK for now.
>
> 2. I happy to hear that "Windows 2008 64 bit + 64 bit JVM" support is on the way, that is really great. But I've heard that "Sun provides formal Sustaining Support only for final releases" (http://blogs.sun.com/GlassFishForBusiness/entry/glassfish_enterprise_sup...). I assume that final release means 3.1. Anyway, do you have thoughts on regarding the dates for the realease of 3.0.1 and 3.1?

I'll let John reply but for the release dates question, all we can say is that both are targeted at 2010.
Also, 3.0.1 will be considered as a final (and thus supported) version.
-Alexis

> [Message sent by forum member 'robinzon']
>
> http://forums.java.net/jive/thread.jspa?messageID=394983

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

robinzon
Offline
Joined: 2010-01-20

Hi Alexis,

These are very good news, thank you for sharing it.

shreedhar_ganapathy
Offline
Joined: 2007-01-17

Hi Robinzon
Some questions for you.
Does your app really require more that 4 GB heap - are you expecting that high a number of sessions and concurrent users ? If you do could you look into going for a clustered environment giving you the redundancy and added capacity besides high availability for your deployment.

You should consider the above before deciding on 64 bit - going for 32 bit vm for starters from a performance standpoint might be better - albeit 64 bit vm in the latest JDK releases come with CompressedOops

shreedhar_ganapathy
Offline
Joined: 2007-01-17

Sorry, I should have read that this is for v3 and not v2.1.1

The service availability and redundancy part in my response can still be achieved by fronting multiple GF v3 instances with Apache over mod_jk.

This would alleviate any capacity concerns within the 4 GB heap limit per process in a 32 bit vm.

Sessions are not highly available though in the above.

HA clustering with session persistence is a feature in 3.1

robinzon
Offline
Joined: 2010-01-20

Thanks for you answer, it's a good point actually, although probably it would be too complicated for our current solution. I mean we don't have any other reason to go for cluster so far, it's an internal product with just a few users, but data processing may require a lot of memory, so we just want to have an extra capacity there.

emiddio-verizon

i think it would work; supported means will help solve problems if they
occur;

try it -- easy to not use if does not work;

gary

On 3/29/2010 4:49 PM, glassfish@javadesktop.org wrote:
> Hi all,
>
> I need to install GS on 64 bit Windows Server 2003 or 2008 and avoid 4GB heap barrier. Initially I thought that since GS is 100% Java then I just need to find out if I can get 64 bit JVM running on WS 2003. Based on this table (http://java.sun.com/javase/6/webnotes/install/system-configurations.html) both WS 2003 and 2008 are suitable.
>
> But then I checked GS Release Notes (http://docs.sun.com/app/docs/doc/820-7688/abpaj?a=view) which say Windows 7 is the only 64 bit platform supported.
>
> On the other hand, this Wiki page (http://wiki.glassfish.java.net/Wiki.jsp?page=Faq64bitConfig) says: "If you need to break the 2GB or 4GB heap (depending on your OS/JVM combinaison) maximum barrier for your GlassFish-powered application, you can move to a 64-bit JVM".
>
> I'm confused... Is there a way to run GS on WS 2003 or 2008? Why Release Notes does not name any WS 64 bit platform if I can get 64 bit JVM running there?
>
> Thanks in advance for your help!
> [Message sent by forum member 'robinzon']
>
> http://forums.java.net/jive/thread.jspa?messageID=394370
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

wfay
Offline
Joined: 2006-05-05

> w) which say Windows 7 is the only 64 bit platform
> supported.
>
> I'm confused... Is there a way to run GS on WS 2003
> or 2008? Why Release Notes does not name any WS 64
> bit platform if I can get 64 bit JVM running there?

Not supported != will not run. Just ask the people running GF on Debian, Ubuntu, Mac OSX, etc.

It will probably run fine. Just don't expect Sun/Orcle to support it.

robinzon
Offline
Joined: 2010-01-20

Hi wfay,

Thanks for your answer, but my next question would be why Windows Server platform is out of 64 bit support while Windows 7 (which is mostly for desktops) is supported? It does not seem logical to me.

Agree that "Not supported != will not run", this is a good point. The thing is that we'd like to use GS in our company and also have a support... That means if we're faced with an issue, we would need to reproduce it on 32 bit JVM in order to get support. Looks like a lot of extra work :(

wfay
Offline
Joined: 2006-05-05

> why Windows Server platform is out of 64 bit support
> while Windows 7 is supported?

I have no idea. Someone from Sun/Oracle would need to weigh-in on this. There may be a very logical reason for this decision.

> good point. The thing is that we'd like to use GS in
> our company and also have a support... That means if

If your company is sufficiently large and/or the support contract is sufficiently profitable, I'm certain Sun/Oracle could be convinced to support GF on WS 64-bit platform 2003 or 2008.

I'd get in touch with your company's Sun or Oracle liaison or sales person and begin the conversation. If you don't have one, now is a good time to begin that relationship.

jclingan
Offline
Joined: 2003-06-12

> > why Windows Server platform is out of 64 bit
> support
> > while Windows 7 is supported?
>
> I have no idea. Someone from Sun/Oracle would need to
> weigh-in on this. There may be a very logical reason
> for this decision.
>
> > good point. The thing is that we'd like to use GS
> in
> > our company and also have a support... That means
> if
>
> If your company is sufficiently large and/or the
> support contract is sufficiently profitable, I'm
> certain Sun/Oracle could be convinced to support GF
> on WS 64-bit platform 2003 or 2008.
>

We are adding 64-bit JVM support for Windows 2008 R2 to Glassfish 3.0.1. If there are commercial opportunities to expand 64-bit JVM support on more Microsoft Windows releases, we will consider testing those platforms.

Hope this helps.

> I'd get in touch with your company's Sun or Oracle
> liaison or sales person and begin the conversation.
> If you don't have one, now is a good time to begin
> that relationship.

robinzon
Offline
Joined: 2010-01-20

Just to be more precise, when I say "only Windows 7 is the only 64 bit platform supported" I mean supported for GS running over 64 bit JVM. Of course you can run GS on 64 bit Windows Server using 32 bit JVM, but then you can not get more then 4 GB of RAM.

BTW the technical spec page (http://www.sun.com/software/products/glassfishv3/specs.jsp) says that for [u]any[/u] Windows platform it has to be 32 bit JVM.