[JBoss-user] [JCA/JBoss] - Re: Connections - close them yourself - but - I am trying to

2004-10-07 Thread ronaldoc
Chris, >From the looks of your code, it looks like you're coding to an anti-pattern. See >http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/01/27#perf-problems Have you tried this: only call flush or commit at the last method ? This is probably what Gavin is describing in his blog item e.g. s

[JBoss-user] [Installation & Configuration] - Best JVM options for production JBoss

2004-07-09 Thread ronaldoc
I've just read this page regarding JVM options http://www.petefreitag.com/articles/gctuning/ What options do you use for a production JBoss server ? The following options are IMHO particularly important: 1) -server 2) -Xms & -Xmx Does -Xincgc help ? I'm running on a linux 2.4 kernel. Thanks

[JBoss-user] [EJB/JBoss] - Re: Building EAR files

2004-06-23 Thread ronaldoc
BTW, I think the classpath in MANIFEST way is cleaner. Here's another question along the same thread. What if I a class within an ejb.jar within an ear and I want to access utility classes bundled into another ear. How would want configure that ? Regards, Roonaldo View the original post : h

[JBoss-user] [Security & JAAS/JBoss] - Re: [ Confirm my doubts ] JBoss does not need the JAAS Login

2004-06-23 Thread ronaldoc
Mat, anonymous wrote : So my understanding is that jboss-web.xml is more of a replacement of auth.conf for your webapp. ok. What you said makes sense. Ronaldo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839597#3839597 Reply to the post : http://www.j

[JBoss-user] [Security & JAAS/JBoss] - [ Confirm my doubts ] JBoss does not need the JAAS Login con

2004-06-22 Thread ronaldoc
Context: A webapp in Tomcat accessing session beans. The web and the EJB container are defined to be under the same security domain. Conclusion: In this environment, we don't need to specify a JAAS login configuration file e.g. auth.conf because the security interceptor will catch unauthenticat

[JBoss-user] [EJB/JBoss] - Re: Potential Bug when looking up on localhost

2004-06-17 Thread ronaldoc
bruciadmin, Not sure what platform you're running JBoss on but if its Linux, make sure your iptables setting is allowing connection to port 1099. Nevertheless, post your solution here if it was caused by something else. Regards, Ronaldo View the original post : http://www.jboss.org/index.htm

[JBoss-user] [EJB/JBoss] - What is default transaction attribute for CMT session beans

2004-05-06 Thread ronaldoc
For example, here is the extract from my ejb-jar.xml: | | Foo | | Stateless | Container | | | | Noticed that I did not declare any transaction-attributes (Required, RequiresNew, etc..) in my assembly descriptor section. In this case, what would be the defa

[JBoss-user] [Security & JAAS/JBoss] - WARN message when calling sessionContext.isCallerInRole(Stri

2004-05-05 Thread ronaldoc
Environment: JBoss 3.2.3 I have a Stateless Session Bean and within one of the business methods, I have code that looks something like this: | /** | * @ejb.interface-method | * @ejb.permission role-name = "Manager, Director" | */ | 1 public void doSomething() { | 2 Principal