[JBoss Messaging Development] - Need help compiling JBoss Messaging 1.4.8.GA for AS5
by Johan Hedin
Johan Hedin [http://community.jboss.org/people/johan.hedin] created the discussion
"Need help compiling JBoss Messaging 1.4.8.GA for AS5"
To view the discussion, visit: http://community.jboss.org/message/607785#607785
--------------------------------------------------------------
Hi all
I have trouble compiling JBoss 1.4.8.GA for AS5. I have set the build.properties to integration.base=AS5. I then do
ant clean
# lots of download
Then
johan@localhost ~/tmp/JBossMessaging_1_4_8_GA-AS5 $ ant compile
Buildfile: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build.xml
check.inhibit.downloads:
createthirdparty:
compile:
show.version:
[echo] ========================================
[echo] Building 1.4.8.GA for AS5!
[echo] ========================================
compile-parsers:
[mkdir] Created dir: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/gen-parsers/org/jboss/jms/server/selector
[echo] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/thirdparty/sun-javacc/lib/
[javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
[javacc] (type "javacc" with no arguments for help)
[javacc] Reading from file /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/selector/SelectorParser.jj . . .
[javacc] Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding.
[javacc] File "TokenMgrError.java" does not exist. Will create one.
[javacc] File "ParseException.java" does not exist. Will create one.
[javacc] File "Token.java" does not exist. Will create one.
[javacc] File "SimpleCharStream.java" does not exist. Will create one.
[javacc] Parser generated successfully.
[mkdir] Created dir: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes
[javac] Compiling 7 source files to /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes
[javac] Note: /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/gen-parsers/org/jboss/jms/server/selector/SelectorParser.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
compile-classes:
[javac] Compiling 362 source files to /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/output/classes
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/ServerConnectionFactoryEndpoint.java:49: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/messaging/util/JBMExecutor.java:45: warning: [deprecation] org.jboss.messaging.util.NamedThreadQueuedExecutor in org.jboss.messaging.util has been deprecated
[javac] public class JBMExecutor extends NamedThreadQueuedExecutor
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:31: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:32: cannot find symbol
[javac] symbol : class SecurityContextAssociation
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextAssociation;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:46: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityActions
[javac] static SecurityContext getSecurityContext()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:56: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityActions
[javac] static void setSecurityContext(final SecurityContext sc)
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityAspect.java:48: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:31: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:32: cannot find symbol
[javac] symbol : class SecurityContextAssociation
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextAssociation;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:45: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.SecurityActions
[javac] static SecurityContext getSecurityContext()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:55: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.SecurityActions
[javac] static void setSecurityContext(final SecurityContext sc)
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:32: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:33: cannot find symbol
[javac] symbol : class SecurityContextAssociation
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextAssociation;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:34: cannot find symbol
[javac] symbol : class SecurityContextFactory
[javac] location: package org.jboss.security
[javac] import org.jboss.security.SecurityContextFactory;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:36: cannot find symbol
[javac] symbol : class JBossSecurityContext
[javac] location: package org.jboss.security.plugins
[javac] import org.jboss.security.plugins.JBossSecurityContext;
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:48: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.security.SecurityActions
[javac] static SecurityContext getSecurityContext()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:58: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.security.SecurityActions
[javac] static void setSecurityContext(final SecurityContext sc)
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/client/container/ClientConsumer.java:81: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
[javac] debug = log.isDebugEnabled();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/ServerConnectionFactoryEndpoint.java:226: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint
[javac] SecurityContext previousSCtx = SecurityActions.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/ServerPeer.java:1806: warning: [deprecation] deployXML(java.net.URL,java.lang.ClassLoader) in org.jboss.aop.AspectXmlLoader has been deprecated
[javac] AspectXmlLoader.deployXML(url, this.getClass().getClassLoader());
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/src/main/org/jboss/jms/server/endpoint/ServerSessionEndpoint.java:146: warning: [deprecation] isDebugEnabled() in org.jboss.logging.Logger has been deprecated
[javac] private boolean debug = log.isDebugEnabled();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:48: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityActions
[javac] return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:50: cannot find symbol
[javac] symbol: class SecurityContext
[javac] public SecurityContext run()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:52: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] return SecurityContextAssociation.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityActions.java:62: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(sc);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/container/SecurityAspect.java:293: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.container.SecurityAspect
[javac] SecurityContext previousSCtx = SecurityActions.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:47: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.endpoint.SecurityActions
[javac] return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:49: cannot find symbol
[javac] symbol: class SecurityContext
[javac] public SecurityContext run()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:51: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] return SecurityContextAssociation.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/endpoint/SecurityActions.java:61: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(sc);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:50: cannot find symbol
[javac] symbol : class SecurityContext
[javac] location: class org.jboss.jms.server.security.SecurityActions
[javac] return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>(){
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:52: cannot find symbol
[javac] symbol: class SecurityContext
[javac] public SecurityContext run()
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:54: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] return SecurityContextAssociation.getSecurityContext();
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:64: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(sc);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:158: cannot find symbol
[javac] symbol: class SecurityContext
[javac] SecurityContext context = SecurityContextFactory.createSecurityContext(principal, passwordChars, subject, secDom);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:158: cannot find symbol
[javac] symbol: variable SecurityContextFactory
[javac] SecurityContext context = SecurityContextFactory.createSecurityContext(principal, passwordChars, subject, secDom);
[javac] ^
[javac] /home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/integration/AS5/src/main/org/jboss/jms/server/security/SecurityActions.java:159: cannot find symbol
[javac] symbol: variable SecurityContextAssociation
[javac] SecurityContextAssociation.setSecurityContext(context);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 33 errors
[javac] 4 warnings
BUILD FAILED
/home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build.xml:69: The following error occurred while executing this line:
/home/johan/tmp/JBossMessaging_1_4_8_GA-AS5/build-messaging.xml:218: Compile failed; see the compiler error output for details.
Total time: 7 seconds
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607785#607785]
Start a new discussion in JBoss Messaging Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 4 months
[JBoss Web Services Development] - How to deploy a JaxWS endpoint during AS7 service startup?
by Andrew Dinn
Andrew Dinn [http://community.jboss.org/people/adinn] created the discussion
"How to deploy a JaxWS endpoint during AS7 service startup?"
To view the discussion, visit: http://community.jboss.org/message/612541#612541
--------------------------------------------------------------
I have been integrating the XTS code into AS7 and so far have incorporated an XTS extension which will deploy the main XTS service as part of AS7 standalone startup (see the http://github.com/adinn/jboss-as/tree/master/xts xts subdirectory in my github http://github.com/adinn/jboss-as jbossas repo for details). However, this implemenation is incomplete because it does not deploy the JaxWS endpoints required for XTS to work. I can get it to work if I deploy the endpoints by throwing the relevant war files into the standalone deplloyments directory but clearly that is inadequate as a proper solution.
What I wouudl like to do is to deploy the endpoints during startup of the XTS service and undeploy them during service shutdown. Is there a way I can do this using the JBossWS AS integration code? Jason suggested this would be the best way to do the deployment as it ought only to involve handing over the SEI class and a URL path -- which would be much preferable as regards performance to pulling the details out of a war file on disk. It looks to me like the EndpointService will do what I want but I don't know how to access it, how to drive it or whether, in fact,this is barking up the wrong tree. Any advice?
regards,
Andrew Dinn
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/612541#612541]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[JBoss AS7 Development] - AS 7 startup time showdown
by Dan Allen
Dan Allen [http://community.jboss.org/people/dan.j.allen] modified the document:
"AS 7 startup time showdown"
To view the document, visit: http://community.jboss.org/docs/DOC-16971
--------------------------------------------------------------
How fast does AS 7 start on your computer? This page is a crowdsourced benchmark to see what type of times people are getting. It could also give you an idea if it's time to upgrade your computer to more cores.
When you start the server the first time, it starts slower than subsequent starts. We are interested in your best times :)
During the first startup, AS 7 builds caches and indexes and performs precompilations, "getting to know" your installation and libraries. The same optimizations are done on your deployments, so subsequent deployments are typically faster than the first.
On with the showdown! Feel free to edit this page and add your metrics. We are most interested in *stock JVM settings*, just to even the playing field. If you do add flags, please note that in the JVM column. We ask that you not step on previous entries.
h3. AS 7 (Web Profile)
|| *Username* || *Processor / Chipset* || *RAM* || *HardDrive Speed* || *Operating System* || *JVM* || *Startup Time* ||
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 11.04 i686 2.6.38-8 (pae) | OpenJDK 1.6.0_22 32-bit (stock settings) | 1726ms |
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 11.04 i686 2.6.38-8 (pae) | OpenJDK 1.6.0_22 32-bit (JVM flags Group A) | 970ms |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8-XX:+UseFastAccessorMethods -XX:+TieredCompilation -Xverify:none
-XX:+UseFastAccessorMethods -XX:+TieredCompilation -Xverify:none | OpenJDK 1.6.0_22 64-Bit (stock settings) | 1590ms |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (JVM flags Group A) | 1293ms |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 | 2822ms |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 (JVM flags Group A) | 1589ms |
| david bosschaert | Quad i7 2.2GHz 64-bit | 8G 1333MHz | 7200 RPM | Mac OS X 10.6.8 Darwin 10.8.0 x86_64 | Apple Java 1.6.0_26 | 1479ms |
| david bosschaert | Quad i7 2.2GHz 64-bit | 8G 1333MHz | 7200 RPM | Mac OS X 10.6.8 Darwin 10.8.0 x86_64 | Apple Java 1.6.0_26 (JVM flags Group A) | 1189ms |
| ssilvert | Intel ® Core™ 2 Duo i7-620M -i7
(2.66GHz, 4MB L3, 1066MHz FSB, 35W) | 8GB 1333MHz | 7200 RPM | Windows 7 Enterprise SP1 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) | 1813ms |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB 1333MHz | 7200 RPM | Fedora 15
2.6.38.8-32.fc15.x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-x86_64
(stock settings) | 1450ms |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB 1333MHz | 7200 RPM | KVM Image Fedora 15
2.6.38.8-32.fc15.i686
on Fedora 15 x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-i686
(JVM flags Group A) | 1007ms |
| jason.greene | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.8 (forced 64 bit kernel) | Apple Java 1.6.0_26 (-d32 bit mode) | 1486ms |
| jason.greene | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.8 (forced 64 bit kernel) | Apple Java 1.6.0_26 (stock settings) | 2041ms |
| goldmann | Intel Core i5 2.4 Ghz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.7 | Apple Java 1.6.0_26 (stock settings) | 2476ms |
| wolfc | Intel Core i7 860 2.80 Ghz | 6GB 1333Mhz | RAID0 2x7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-bit | 1287ms (w. patch) |
| mike.pellegrini | Intel Core i5 560 2.66 GHz | 4GB
1067MHz | 7200 RPM | Fedora Core 15 2.6.38.8-32.fc15.x86_64 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03) | 1930ms |
| tommysdk | Intel ® Core™ i5 CPU M560 @ 2.70 GHz 64-bit | 4GB 1333 MHz | 7200 RPM | Windows 7 Professional | Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) | 1913 ms |
| sannegrinovero | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | SSD Intel G2 | Fedora Core 15/64bit
custom kernel 2.6.39.2 | Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Options Group B | 1232ms |
| kevin.sapper | Intel ® Core™ i7 CPU Q720 @ 1.60 GHz | 6GB 1333 MHz | 5600 RPM | Windows 7 Home | Java(TM) SE Runtime 64-Bit Environment (build 1.6.0_26-b03)
Options Group A | 2098ms |
| kevin.sapper | Intel ® Core™ i7 CPU Q720 @ 1.60 GHz | 6GB 1333 MHz | 5600 RPM | Windows 7 Home | Java(TM) SE Runtime 64-Bit Environment (build 1.6.0_26-b03)
Options Group B | 1771ms |
h3. Older AS Versions
|| *Username* || *Processor / Chipset* || *RAM* || *HardDrive Speed* || *Operating System* || *JVM* || *AS Version* || *Startup Time* ||
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | OpenJDK 1.6.0_22 32-Bit (stock settings) | 6.0.0.Final | 14.5s |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (stock settings) | 6.0.0.Final | 13s |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 | 6.0.0.Final | 21.88s |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB
1333MHz | 7200 RPM | Fedora 15
2.6.38.8-32.fc15.x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-x86_64
(stock settings) | 6.0.0.Final | 12.0s |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB
1333MHz | 7200 RPM | Fedora 15
2.6.38.8-32.fc15.x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-x86_64
(stock settings) | 5.1.0.GA | 19.0s |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB
1333MHz | 7200 RPM | Fedora 15
2.6.38.8-32.fc15.x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-x86_64
(stock settings) | 4.2.3.GA | 6.2s |
| mike.pellegrini | Intel Core i5 560 2.66 GHz | 4GB
1067MHz | 7200 RPM | Fedora Core 15 2.6.38.8-32.fc15.x86_64 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03) | 5.1.0 | 23s. |
h3. Optimizations
You get better startup times with 32 bit over 64 bit, because of the smaller integer size. If you are on a 64 bit machine, you can do one of two things to get 32 bit performance:
* Run in 32 bit mode using the JVM flag: -d32 (Mac and Windows)
* Use the JVM compression flag: -XX:+UseCompressedOops
There are also some other JVM flags that will speed things up:
* -noverify
* -XX:+DisableExplicitGC
* -client (32 bit JVM only. You have to edit standalone.sh to use -client instead of -server)
JVM flag legend (for table above):
* *Group A*: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -noverify -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC -XX:+UseCompressedOops
* *Group B*: -server -Xms128m -Xmx128m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true -XX:+UseFastAccessorMethods -XX:+TieredCompilation -Xverify:none
Let the best machine win!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-16971]
Create a new document in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
13 years, 6 months
[JBoss AS7 Development] - AS 7 startup time showdown
by Dan Allen
Dan Allen [http://community.jboss.org/people/dan.j.allen] modified the document:
"AS 7 startup time showdown"
To view the document, visit: http://community.jboss.org/docs/DOC-16971
--------------------------------------------------------------
How fast does AS 7 start on your computer? This page is a crowdsourced benchmark to see what type of times people are getting. It could also give you an idea if it's time to upgrade your computer to more cores.
When you start the server the first time, it starts slower than subsequent starts. We are interested in your best times :)
During the first startup, AS 7 builds caches and indexes and performs precompilations, "getting to know" your installation and libraries. The same optimizations are done on your deployments, so subsequent deployments are typically faster than the first.
On with the showdown! Feel free to edit this page and add your metrics. We are most interested in *stock JVM settings*, just to even the playing field. If you do add flags, please note that in the JVM column. We ask that you not step on previous entries.
h3. AS 7 (Web Profile)
|| *Username* || *Processor / Chipset* || *RAM* || *HardDrive Speed* || *Operating System* || *JVM* || *Startup Time* ||
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 11.04 i686 2.6.38-8 (pae) | OpenJDK 1.6.0_22 32-bit (stock settings) | 1726ms |
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 11.04 i686 2.6.38-8 (pae) | OpenJDK 1.6.0_22 32-bit (JVM flags Group A) | 970ms |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (stock settings) | 1590ms |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (JVM flags Group A) | 1293ms |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 | 2822ms |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 (JVM flags Group A) | 1589ms |
| david bosschaert | Quad i7 2.2GHz 64-bit | 8G 1333MHz | 7200 RPM | Mac OS X 10.6.8 Darwin 10.8.0 x86_64 | Apple Java 1.6.0_26 | 1479ms |
| david bosschaert | Quad i7 2.2GHz 64-bit | 8G 1333MHz | 7200 RPM | Mac OS X 10.6.8 Darwin 10.8.0 x86_64 | Apple Java 1.6.0_26 (JVM flags Group A) | 1189ms |
| ssilvert | Intel ® Core™ 2 Duo i7-620M -i7
(2.66GHz, 4MB L3, 1066MHz FSB, 35W) | 8GB 1333MHz | 7200 RPM | Windows 7 Enterprise SP1 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) | 1813ms |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB 1333MHz | 7200 RPM | Fedora 15
2.6.38.8-32.fc15.x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-x86_64 | 1450ms |
| jason.greene | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.8 (forced 64 bit kernel) | Apple Java 1.6.0_26 (-d32 bit mode) | 1486ms |
| jason.greene | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.8 (forced 64 bit kernel) | Apple Java 1.6.0_26 (stock settings) | 2041ms |
| goldmann | Intel Core i5 2.4 Ghz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.7 | Apple Java 1.6.0_26 (stock settings) | 2476ms |
| wolfc | Intel Core i7 860 2.80 Ghz | 6GB 1333Mhz | RAID0 2x7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-bit | 1287ms (w. patch) |
| mike.pellegrini | Intel Core i5 560 2.66 GHz | 4GB
1067MHz | 7200 RPM | Fedora Core 15 2.6.38.8-32.fc15.x86_64 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03) | 1930ms |
| tommysdk | Intel ® Core™ i5 CPU M560 @ 2.70 GHz 64-bit | 4GB 1333 MHz | 7200 RPM | Windows 7 Professional | Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) | 1913 ms |
| sannegrinovero | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | SSD Intel G2 | Fedora Core 15/64bit
custom kernel 2.6.39.2 | Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Options Group B | 1232ms |
| kevin.sapper | Intel ® Core™ i7 CPU Q720 @ 1.60 GHz | 6GB 1333 MHz | 5600 RPM | Windows 7 Home | Java(TM) SE Runtime 64-Bit Environment (build 1.6.0_26-b03)
Options Group A | 2098ms |
| kevin.sapper | Intel ® Core™ i7 CPU Q720 @ 1.60 GHz | 6GB 1333 MHz | 5600 RPM | Windows 7 Home | Java(TM) SE Runtime 64-Bit Environment (build 1.6.0_26-b03)
Options Group B | 1771ms |
h3. Older AS Versions
|| *Username* || *Processor / Chipset* || *RAM* || *HardDrive Speed* || *Operating System* || *JVM* || *AS Version* || *Startup Time* ||
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | OpenJDK 1.6.0_22 32-Bit (stock settings) | 6.0.0.Final | 14.5s |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (stock settings) | 6.0.0.Final | 13s |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 | 6.0.0.Final | 21.88s |
| mike.pellegrini | Intel Core i5 560 2.66 GHz | 4GB
1067MHz | 7200 RPM | Fedora Core 15 2.6.38.8-32.fc15.x86_64 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03) | 5.1.0 | 23s. |
h3. Optimizations
You get better startup times with 32 bit over 64 bit, because of the smaller integer size. If you are on a 64 bit machine, you can do one of two things to get 32 bit performance:
* Run in 32 bit mode using the JVM flag: -d32 (Mac and Windows)
* Use the JVM compression flag: -XX:+UseCompressedOops
There are also some other JVM flags that will speed things up:
* -noverify
* -XX:+DisableExplicitGC
* -client (32 bit JVM only. You have to edit standalone.sh to use -client instead of -server)
JVM flag legend (for table above):
* *Group A*: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -noverify -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC -XX:+UseCompressedOops
* *Group B*: -server -Xms128m -Xmx128m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true -XX:+UseFastAccessorMethods -XX:+TieredCompilation -Xverify:none
Let the best machine win!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-16971]
Create a new document in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
13 years, 6 months
[JBoss AS7 Development] - AS 7 startup time showdown
by Dan Allen
Dan Allen [http://community.jboss.org/people/dan.j.allen] modified the document:
"AS 7 startup time showdown"
To view the document, visit: http://community.jboss.org/docs/DOC-16971
--------------------------------------------------------------
How fast does AS 7 start on your computer? This page is a crowdsourced benchmark to see what type of times people are getting. It could also give you an idea if it's time to upgrade your computer to more cores.
When you start the server the first time, it starts slower than subsequent starts. We are interested in your best times :)
During the first startup, AS 7 builds caches and indexes and performs precompilations, "getting to know" your installation and libraries. The same optimizations are done on your deployments, so subsequent deployments are typically faster than the first.
On with the showdown! Feel free to edit this page and add your metrics. We are most interested in *stock JVM settings*, just to even the playing field. If you do add flags, please note that in the JVM column. We ask that you not step on previous entries.
h3. AS 7 (Web Profile)
|| *Username* || *Processor / Chipset* || *RAM* || *HardDrive Speed* || *Operating System* || *JVM* || *Startup Time* ||
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 11.04 i686 2.6.38-8 (pae) | OpenJDK 1.6.0_22 32-bit (stock settings) | 1726ms |
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 11.04 i686 2.6.38-8 (pae) | OpenJDK 1.6.0_22 32-bit (JVM flags Group A) | 970ms |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (stock settings) | 1590ms |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (JVM flags Group A) | 1293ms |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 | 2822ms |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 (JVM flags Group A) | 1589ms |
| david bosschaert | Quad i7 2.2GHz 64-bit | 8G 1333MHz | 7200 RPM | Mac OS X 10.6.8 Darwin 10.8.0 x86_64 | Apple Java 1.6.0_26 | 1479ms |
| david bosschaert | Quad i7 2.2GHz 64-bit | 8G 1333MHz | 7200 RPM | Mac OS X 10.6.8 Darwin 10.8.0 x86_64 | Apple Java 1.6.0_26 (JVM flags Group A) | 1189ms |
| ssilvert | Intel ® Core™ 2 Duo i7-620M -i7
(2.66GHz, 4MB L3, 1066MHz FSB, 35W) | 8GB 1333MHz | 7200 RPM | Windows 7 Enterprise SP1 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) | 1813ms |
| tkimura | Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz | 8GB 1333MHz | 7200 RPM | Fedora 15
2.6.38.8-32.fc15.x86_64 | OpenJDK 1.6.0_22
fedora-58.1.10.2.fc15-x86_64 | 1450ms |
| jason.greene | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.8 (forced 64 bit kernel) | Apple Java 1.6.0_26 (-d32 bit mode) | 1486ms |
| jason.greene | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.8 (forced 64 bit kernel) | Apple Java 1.6.0_26 (stock settings) | 2041ms |
| goldmann | Intel Core i5 2.4 Ghz | 8GB 1067MHZ | 7200 RPM | Mac OS X 10.6.7 | Apple Java 1.6.0_26 (stock settings) | 2476ms |
| wolfc | Intel Core i7 860 2.80 Ghz | 6GB 1333Mhz | RAID0 2x7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-bit | 1287ms (w. patch) |
| mike.pellegrini | Intel Core i5 560 2.66 GHz | 4GB
1067MHz | 7200 RPM | Fedora Core 15 2.6.38.8-32.fc15.x86_64 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03) | 1930ms |
| tommysdk | Intel ® Core™ i5 CPU M560 @ 2.70 GHz 64-bit | 4GB 1333 MHz | 7200 RPM | Windows 7 Professional | Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) | 1913 ms |
| sannegrinovero | i7 Dual Core @ 2.66 GHz | 8GB 1067MHZ | SSD Intel G2 | Fedora Core 15/64bit
custom kernel 2.6.39.2 | Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Options Group B | 1232ms |
| kevin.sapper | Intel ® Core™ i7 CPU Q720 @ 1.60 GHz | 6GB 1333 MHz | 5600 RPM | Windows 7 Home | Java(TM) SE Runtime 64-Bit Environment (build 1.6.0_26-b03)
Options Group A | 2098ms |
| kevin.sapper | Intel ® Core™ i7 CPU Q720 @ 1.60 GHz | 6GB 1333 MHz | 5600 RPM | Windows 7 Home | Java(TM) SE Runtime 64-Bit Environment (build 1.6.0_26-b03)
Options Group B | 1771ms |
h3. Older AS Versions
|| *Username* || *Processor / Chipset* || *RAM* || *HardDrive Speed* || *Operating System* || *JVM* || *AS Version* || *Startup Time* ||
| dan.j.allen | 2x Intel Core 2 Duo E8400 3.00 GHz 32-bit | 4GB 800MHz | 7200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | OpenJDK 1.6.0_22 32-Bit (stock settings) | 6.0.0.Final | 14.5s |
| dan.j.allen | Quad i7-2620M 2.70GHz 64-bit | 8GB 1333MHz | 7200 RPM | Ubuntu 11.04 x86_64 2.6.38-8 | OpenJDK 1.6.0_22 64-Bit (stock settings) | 6.0.0.Final | 13s |
| dan.j.allen | 2x Intel Core 2 Duo T7500 2.20 GHz 32-bit | 4GB 667MHz | 5200 RPM | Ubuntu 10.10 i686 2.6.35-28 (pae) | Java(TM) SE HotSpot Server VM 1.6.0_24-b07 | 6.0.0.Final | 21.88s |
| mike.pellegrini | Intel Core i5 560 2.66 GHz | 4GB
1067MHz | 7200 RPM | Fedora Core 15 2.6.38.8-32.fc15.x86_64 | Java(TM) SE Runtime Environment (build 1.6.0_26-b03) | 5.1.0 | 23s. |
h3. Optimizations
You get better startup times with 32 bit over 64 bit, because of the smaller integer size. If you are on a 64 bit machine, you can do one of two things to get 32 bit performance:
* Run in 32 bit mode using the JVM flag: -d32 (Mac and Windows)
* Use the JVM compression flag: -XX:+UseCompressedOops
There are also some other JVM flags that will speed things up:
* -noverify
* -XX:+DisableExplicitGC
* -client
JVM flag legend (for table above):
* *Group A*: -Xms64m -Xmx512m -XX:MaxPermSize=256m -client -noverify -Xverify:none -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC -XX:+UseCompressedOops
* *Group B*: -server -Xms128m -Xmx128m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true -XX:+UseFastAccessorMethods -XX:+TieredCompilation -Xverify:none
Let the best machine win!
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-16971]
Create a new document in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
13 years, 6 months