[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 3.2.5 OutOfMemoryError, need config help.

2005-11-09 Thread hernant
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


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Using Oracle with JBoss

2004-09-14 Thread hernant
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
jndi-nameOracleDS2/jndi-name
connection-urljdbc:oracle:thin:@SERVER1:1521:DB1/connection-url
driver-classoracle.jdbc.driver.OracleDriver/driver-class
user-nameUSERNAME/user-name
PASSWORD

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
/local-tx-datasource



you can add more local-tx-datasource(s).

Hope this helps.

Hernan Terzian

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848229#3848229

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848229


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Using Oracle with JBoss

2004-09-14 Thread hernant
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


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: jbosscmp-jdbc

2004-06-08 Thread hernant
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 : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838008#3838008

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838008


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Checking a field against a list of values

2004-05-20 Thread hernant
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
 *method-intf=LocalHome
 *query=
 *  @jboss.query
 *signature=java.util.Collection ejbSelectGeneric( java.lang.String jbossql, 
java.lang.Object[] args )
 *dynamic=true
 *  

despues agregs estos metodos al entity mismo:

/**
 * @jboss.dynamic-ql
 */
public abstract java.util.Collection ejbSelectGeneric ( String jbossQl, 
Object[]arguments ) throws FinderException;

/**
 * @ejb.home-method 
 *  tview-type=local 
 */
public java.util.Collection ejbHomeBusquedasGenericas(
String node_name,   String type,String 
alias_name,  String description, String login,   
String passwd,  String transfer_dir,String host_alias, 
 String operational_status,  String ip_address,  String cv_id, 
  String node_type) throws javax.ejb.FinderException{ 

java.util.Collection params = new java.util.ArrayList();
int paramNumber = 1;
boolean yaHayUno = false;

// generate JBossQL query
StringBuffer jbossQl = new StringBuffer();
jbossQl.append(SELECT OBJECT(u) );
jbossQl.append(FROM Dyt_com_nodeSchema AS u );

if (
(node_name!=null  
 !node_name.equalsIgnoreCase(todos)
 !node_name.equalsIgnoreCase()
) 
||  (type!=null  
 !type.equalsIgnoreCase(todos)
 !type.equalsIgnoreCase()
) 
||  (alias_name!=null  
 !alias_name.equalsIgnoreCase(todos)
 !alias_name.equalsIgnoreCase()
) 
||  (description!=null  
 !description.equalsIgnoreCase(todos)
 !description.equalsIgnoreCase()
) 
||  (login!=null  
 !login.equalsIgnoreCase(todos)
 !login.equalsIgnoreCase()
) 
||  (passwd!=null  
 !passwd.equalsIgnoreCase(todos)
 !passwd.equalsIgnoreCase()
) 
||  (transfer_dir!=null  
 !transfer_dir.equalsIgnoreCase(todos)
 !transfer_dir.equalsIgnoreCase()
) 
||  (host_alias!=null  
 !host_alias.equalsIgnoreCase(todos)
 !host_alias.equalsIgnoreCase()
) 
||  (operational_status!=null  
 !operational_status.equalsIgnoreCase(todos)
 !operational_status.equalsIgnoreCase()
) 
||  (ip_address!=null  
 !ip_address.equalsIgnoreCase(todos)
 !ip_address.equalsIgnoreCase()
) 
||  (cv_id!=null  
 !cv_id.equalsIgnoreCase(todos)
 !cv_id.equalsIgnoreCase()
) 
||  (node_type!=null  
 !node_type.equalsIgnoreCase(todos)
 !node_type.equalsIgnoreCase()
) 
)
{
jbossQl.append(WHERE);
}

if (node_name != null 
 !node_name.equalsIgnoreCase(todos)
 !node_name.equalsIgnoreCase()
){
if (yaHayUno) jbossQl.append( AND);
jbossQl.append( u.node_name=? + paramNumber++);
params.add(node_name);
yaHayUno=true;
}
if (type != null 
 !type.equalsIgnoreCase(todos)
 !type.equalsIgnoreCase()
){
if (yaHayUno) jbossQl.append( AND);
jbossQl.append( u.type=? + paramNumber++);
params.add(type);
yaHayUno=true;
}
if (alias_name != null 
 !alias_name.equalsIgnoreCase(todos)
 !alias_name.equalsIgnoreCase()
){
if (yaHayUno) jbossQl.append( AND);
jbossQl.append( u.alias_name=? + paramNumber++);
params.add(alias_name);
  

[JBoss-user] [Clustering/JBoss] - Re: Only Fail-over

2004-05-12 Thread hernant
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 : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834686#3834686

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834686


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - jboss clustering test

2004-04-23 Thread hernant
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 the load balancing. In my jboss.xml I have 
no special configuration, only the clustered tag:
  
 ejb-nameDyt_sta_period_lack_Ayuda/ejb-name
 jndi-nameDyt_sta_period_lack_AyudaBean/jndi-name
 local-jndi-nameDyt_sta_period_lack_AyudaLocal/local-jndi-name
 true
  

What Im missing?

Regards,
Hernn.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3832109#3832109

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832109


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jboss clustering test

2004-04-23 Thread hernant
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 : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832124


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jboss clustering test

2004-04-23 Thread hernant
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?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3832142#3832142

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3832142


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: jboss clustering test

2004-04-23 Thread hernant
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


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user