Many questions allessandro, here are the answers:

I needed messaging - so therefore i choose to use middleware.

In development JBoss works fine because there is no actual load. In production there 
is.

Three major issues i will mention:
- Security: check if it works! You expect _fail save_ but it is _fail unsave_. I 
misconfigured security and that resulted in a nice username password popup but no 
actual check. So everybody could log in using any username and any password.
- Database connections: Version 3.2.4 has some nice debugging features: use them. My 
application did not use the connections properly. For Tomcat that is no problem - but 
JBoss starts using more and more connections untill it just stops. (No response 
whatsoever). This was a hard to solve problem - time pressured rewrite of the 
application.
- JBoss uses hsqldb. Don't use it because it _will_ crash and it _will not_ restart. 
Not nice because for me it broke down in production so I got another time pressured 
learning curve on configuring JBoss on the environment you don't want to learn this.

Anyway, out of the box JBoss is not production ready. Somewhere in wiki you find: 
"hsqldb is not a production quality database. It is suitable for demos and testing. 
JBoss ships with the database to help you get something working out of the box".
Small point: the default settings for mysql are useless, they need tuning. I am still 
working on that btw.

As I have said before, my website is quite Mickey Mouse sized: 1000 visitors, about 
1.000.000 database requests per day. Just running the application gave me considerable 
problems and needed advanced tuning. Things i did not need to with other important 
components like Tomcat (previous setup) and MySQL.
You simply need load testing and some more working knowledge with JBoss (documentation 
does not really help - it is not comparable with before mentioned MySQL and Tomcat). 
So, I think Trial and Error (load tests) is the best way.
In this process i have become sort of an JBoss guru. From that point of view i am now 
confident it is tuned and ready for production (cron restarts it every night though 
;-).

Good luck,

Jaap
ps, other questions: i do not use CMP. before i have seen a project fail big time 
using Weblogic (also database connections btw!)- so what are we talking about. Oracle? 
Memory leaks in the application server caused another project i have seen to invest 
almost an extra 500.000 euro in hardware). And clustering? It is still a hype, don't 
consider it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841353#3841353

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841353


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to