Hi Adrian, can you give us some references about the flags?
Regards, Alban. -----Original Message----- From: Adrian Brock [mailto:[EMAIL PROTECTED] Sent: jeudi, 30. octobre 2003 15:55 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Moving from development to production If you are moving from development to production you should have a stress test that simulates your expected production usage. That will help you understand what resources you use/need. Before you do that, you should also try to understand what services you use. Remove those you don't need and lock down - *SECURE* those you do. There are a number of flags scatter around that will turn off development features. e.g. jasper development mode in the default web.xml or the <debug> flag in transaction-service.xml Make sure you have trimmed your logging as well. log/server.log or the console shouldn't show anything during normal operation. This improves performance and helps you to spot when you have problems. Regards, Adrian On Thu, 2003-10-30 at 14:35, Brian McSweeney wrote: > Hi all, > > Having researched this a little more I've come up with the following > plan. Perhaps someone could tell me if it seems ok :-) > > 1) Change the jboss memory > > In %JBOSS_HOME%/bin/run.bat change the line > > rem JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m > > to > > JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx512m > > Are there any other options to configure here? > > > 2) Set database pool & prepared statement cache > > Not sure if you should do this. I found some notes in the archive with > an example mysql-ds file like this. > I hadn't got the pooling parameters in my mysql-ds. Should I be putting > these in? Eg: > > <datasources> > <local-tx-datasource> > <jndi-name>databaseName</jndi-name> > > <connection-url>jdbc:mysql://xx.xx.xx.xx:3306/databaseName</connection-u > rl> > <driver-class>com.mysql.jdbc.Driver</driver-class> > <user-name>...</user-name> > <password>...</password> > <connection-property > name="autoReconnect">true</connection-property> > > <-- prepared statement caching --> > > <prepared-statement-cache-size>100</prepared-statement-cache-size> > > <!--pooling parameters--> > <min-pool-size>5</min-pool-size> > <max-pool-size>50</max-pool-size> > <blocking-timeout-millis>5000</blocking-timeout-millis> > <idle-timeout-minutes>15</idle-timeout-minutes> > </local-tx-datasource> > </datasources> > > > Does this look ok? > > Any other options people might recommend? > > Thanks, > Brian > > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian > McSweeney > Sent: 29 October 2003 15:56 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Moving from development to production > > Hi all, > > I've searched the archives but couldn't find what I was looking for. > > I'm moving towards my production server and I'd love a simple list of > what to change in the configuration files for a production server. > > My app is > > Struts S stateless session beans ejb cmp entity beans mysql > > I'm going to run on Jboss_tomcat 3.2.2, on a windows machine with 1 > processor, about 1 Gig of ram. > > I'd love a list of stuff like: > > 1) change the memory jboss can have c associated config file > recommended amount of memory for jboss > 2) change the stateless session bean pool c associated config file > recommended pool size > 3) database prepared statement caching d associated config file > recommended cache size > > > these are only the things I know might possibly be changed, but I'm sure > there are way more. > > Any help at all would be much appreciated. > Thanks, > Brian > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user *********************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager to [EMAIL PROTECTED] *********************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user