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
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
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
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
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
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
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
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