Search |
||
Customizing GlassFish v2 with 23 unpublished properties.Posted by jfarcand on October 4, 2007 at 12:14 PM PDT
Because Grizzly has replaced the Sun WebServer runtime (starting with 9.0/GlassFish v1) in Sun's Application Server (SJSAS), and to avoid breaking compatibility with previous release, some configuration mechanisms are not officially exposed in GlassFish's domain.xml as attribute or elements. We will fix the problem with our upcoming v3 release, but for now those hidden features are sleeping with the bear! Time to officially expose them. Some are highly NIO related, some not. UPDATE: if you are using GlassFish v3, all properties starts with com.sun.grizzly instead of com.sun.enterprise.web.connector.grizzly
All the above properties needs to be added in domain.xml using the jvm-options elements: Now the following list of property can be added under the http-service in domain.xml:
Et hop! Grizzly no longer have an hidden side :-)! technorati: grizzly comet glassfish jruby glassfishv2 http compression »
Related Topics >>
Java Enterprise Comments
Comments are listed in date ascending order (oldest first)
Submitted by jlorenzen on Fri, 2007-10-05 10:57.
I am assuming you are showing the defaults. Or more specifically what is the default for enableSnoop?
Submitted by thorleif on Fri, 2007-10-05 15:22.
Hi,
is it possible to set these variables with asadmin? Thorleif Wiik
Submitted by j_doe1 on Sun, 2008-05-25 04:34.
I wouldn't bother with the Euro spec turbo's, you won't gain a lot for the hassle. However a hybridised pair of stock turbo's might be worth it. They are the same externally as the stock turbo's but feature larger compressor and turbine wheels.
The 550cc injectors will allow you to get close to 550HP with the right turbo's but in reality a small single turbo is required to achieve the power as even the hybrid OEM turbos arn't capable of flowing that much air.how to play roulette
roulette how to win
roulette tips
how to win at roulette
Run your car on water
Run Car on Water
Water Powered Car
Water Car
horse racing
horse racing tips
horse racing betting
horse racing software
horse racing systems
downloadable movies
download full version movies
download movies
movie downloads
forex trading systems
forex currency trading
forex software
learn forex
world of warcraft guide
wow gold guide
wow guide
world of warcraft cheats
how to play poker
learn poker
poker strategy
poker sites
poker calculator
free blackjack
online blackjack
blackjack strategy
how to play blackjack
iphone downloads
iphone games download
iphone download site review
iphone download sites
how to make money on ebay
make money on ebay
warren buffett
warren buffet
Submitted by pccontac168 on Mon, 2009-01-12 20:48.
I am using glassfish v2u2 on AMD 4200 with 3GRAM
I wrote a simple web-service which response the total request count(a integer) in my local LAN environment.
I tested the environment on Windows XP SP3 with just tuned my heap size to 1G.
I used SOAPUI to test the concurrent access withe 0 delay.
I used 2 clients with SOAPUI to access the same web-service on the same time.
I could get about 800 request/response for each client.(my client CPU usage reach 100% then I could not increase anymore)
The network usage for the client is only about 12%, for the server is only about 25% and CPU for the server reach about 99%.
That means total 1600.
I used the same client but switch the same server with CentOS 5.2 installed with GlassFish(SunApplicationServer Ed. 9.1).
No matter I used 1 or 2 clients to connect to the server at the same time, the total request/response I can get is about 600 only.
I even tuned my server with your advise, but the result is the same.
My server's network usage is only about 1.7Mbit/s.
I am wondering is the problem arise from the Linux, my networking environment or the GlassFish(Grizzly) limitation on CentOS?
Or I have to configured anything I missed?
I really appreciate your help.
Best Regrads,
Eric
I
Submitted by pccontac168 on Mon, 2009-01-12 20:50.
I tuned my GlassFish with your advise from another post about Grizzly tuning for JVM. not from this post.
@pccontac168 Really sorry I
Submitted by jfarcand on Wed, 2009-10-07 18:22.
@pccontac168 Really sorry I guess java.net didn't send me your first post. Next time post it on users@grizzly.dev.java.net of tweet it to @project_grizzly or @jfarcand
|
||
|
|