Have you increased the max memory heap size?
If not try -Xmx512m when start java.
Saludos
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3906397#3906397
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3906397
here you have an example of oracle-ds.xml file:
?xml version=1.0 encoding=UTF-8?
!--JBoss Server Configuration--
!--$Id: oracle-ds.xml,v 1.1.2.2 2003/04/01 04:51:12 d_jencks Exp $--
!--Datasource config for Oracle originally from Steven Coy--
local-tx-datasource
Don't know what happened with the password...
the password goes within password tag
Hernan.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848230#3848230
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848230
Yes you can do it.
You can add the datasource and datasource-mapping tags at the entity level in
jbosscmp-jdbc.xml.
However, this is not recommended.
Make 2 different jars.
Saludos,
Hernan Terzian.
View the original post :
Que haces Guido,
te paso un ejemplo de un entity bean usando xdoclet:
a nivel de clase (despues de los imports) pone estos tags:
* @ejb.select
*signature=java.util.Collection ejbSelectGeneric( java.lang.String jbossql,
java.lang.Object[] args )
*result-type-mapping=Local
*
Maybe you just need to handle the http clustering.
This is not done by jboss (only the session replication), you need to have apache over
jboss.
See this link:
http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss
Hernan T.
View the original post :
Hi all, Im trying to test if my application is running on cluster or not. I have 2
computers in cluster. If I destoy the bean it goes to the other node and get it, but
if I request it from many clients at the same time (I have a stress tool) it always
respond from the 1st node. It is not doing
I have not configured any particular policy. As far as I know it should be using de
default cluster configuration. Isn't it?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3832124#3832124
Reply to the post :
I'm testing within a web application. It is not caching the reference.
Also, it is not balancing the http requests. I put the tag in my web.xml
The war (web application) and jar (ejbs) are deployed together into an ear. Can be
this the problem that it is always getting the local reference?
Sorry, but: how should I keep the remote/local and reuse it?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3832179#3832179
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832179
10 matches
Mail list logo