Re: [JBoss-user] Jboss and JRMP

2001-10-29 Thread Hermann RANGAMANA
Jboss is built on top of RMI, so it uses by default JRMP. Feature to enable it to use another protocol than JRMP is not yet implemented, AFAIK (i'm not personnaly an active developper of jboss, so don't know it it's on the to-do list or not ...) - Original Message - From: Ben Hui [EMAIL

Re: [JBoss-user] Problems with my Postgres DS

2001-10-26 Thread Hermann RANGAMANA
Hi Grant, Set the login attribute to true to get more information on what's happening. NullPointer is returned from the pool if it cannot create a connection to the database for any reason. Verify that you start the postmaster with the -i flag, wich enables network connection to the database

Re: [JBoss-user] Problems with my Postgres DS

2001-10-26 Thread Hermann RANGAMANA
I meant the LoggingEnabled attribute in the pool conf --Hermann - Original Message - From: Hermann RANGAMANA [EMAIL PROTECTED] To: Grant Edwards [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 26, 2001 4:12 PM Subject: Re: [JBoss-user] Problems with my Postgres DS Hi

Re: [JBoss-user] JBoss/Linux and threading

2001-10-25 Thread Hermann RANGAMANA
IMHO, I think this is more Linux problem than a EJB one. But this problem of Linux spawning thousand of threads has been raised many times, but i could not find on the list a final solution to fix this. Can anyone post a sort of HOW-TO to overcome this problem on a production environment ? Thanx

Re: [JBoss-user] Select COUNT????? in Entity

2001-10-16 Thread Hermann RANGAMANA
You don't need to do this in a finder method ... just do it in a normal business method, wich return an int or an Integer object (the result of the 'select count' query ...) Hermann R A N G A M A N A Ingénieur Informaticien Primagendys SAS Tél : +(33) 1 43 58 27 83 Fax : +(33) 1 43 58 27 17

[JBoss-user] Transaction

2001-10-16 Thread Hermann RANGAMANA
Hi all, I'm using jBoss 2.2.1 with win2k, and database on a Linux box running Mandrake 7.2 and postgresql 7.2.1 Here is the problem : whithin a method in a session bean, i call 3 methods of an entity bean. I want pack those three calls in a single transaction, in order that when a call

Re: [JBoss-user] newbie session bean question

2001-10-15 Thread Hermann RANGAMANA
What you're talking about is singleton pattern ... i've read in a discussion at theserverside.com that it's impossible to achieve singleton pattern with ejb, and didn't do further on my research --Hermann - Original Message - From: Frank Morton [EMAIL PROTECTED] To: [EMAIL

[JBoss-user] Log4j error at start up w/ 2.4.1

2001-09-28 Thread Hermann RANGAMANA
hi all, i have the following when i run jBoss 2.4.1. I'm running the out-of-box jboss, that is i downloaded jBoss 2.4.1, unpack and run it. i'm using w2k. Please help. Hermann JBOSS_CLASSPATH=;run.jar;../lib/crimson.jarjboss.home = F:\dev\JBoss-2.4.1Using JAAS LoginConfig:

[JBoss-user] BMP state

2001-08-06 Thread Hermann RANGAMANA
Hi all, i've already seen on the list a discussion about this problem but didn't have much success on digging up the archive list ... If the database has been modified via any other channel but jBoss (another appli, etc.), how can i make changes visible by my BMP, and how can i ask them to

Re: [JBoss-user] Unable to deregister with Transaction Manager

2001-08-01 Thread Hermann RANGAMANA
Hi Frederico, I've faced exactly the same problem few days ago. I used BMP with postgreSQL and jBoss on win2k. I was about to going insane before finding the solution It is generally due to improperly unclosed connection. For example, if you have code like this : Connection conn =

Re: [JBoss-user] java.io.NotSerializableException need help

2001-07-30 Thread Hermann RANGAMANA
I add : it serializable even if it holds a reference to another instance that is not serializable, if this instance's class has a no-arg contructor. --hermann - Original Message - From: Ole Husgaard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 11:46 AM Subject:

Re: [JBoss-user] Auto Incrementing Primary Key with PostgreSQL a nd JBoss

2001-07-27 Thread Hermann RANGAMANA
It works only if you decide to generate yourself auto-incr value. But what folk are talking about is how to get a database generated auto-incr and map it with your entity bean. --hermann - Original Message - From: Maurice le Rutte [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday,

Re: [JBoss-user] Auto-increment(revisited) : read on jGuru.

2001-07-26 Thread Hermann RANGAMANA
, what would you use as the entity bean's primary key? Frank T. Villarreal, Jr. Email [EMAIL PROTECTED] -Original Message-From: Hermann RANGAMANA [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 26, 2001 9:32 AMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Auto

Re: [JBoss-user] The method return values in the home interface must be of valid types for RMI/IIOP

2001-07-23 Thread Hermann RANGAMANA
Spec 1.1 section 6.10.6 : The return type for a create method must be the session bean's remote interface type. The return type is correct. The problem is that on or more of your business methods throws EJBException. This is seemingly a bug in the verifier. You have just to move all

[JBoss-user] CMP in PostgresSQL : inaccurate data mapping in JAWS?

2001-07-19 Thread Hermann RANGAMANA
Hi all, i'm currently using jBoss 2.2.1 and postgreSQL 7.0.1. I deploy my bean as CMP but when i try to create one, the database throws error back : ERROR: Attribute 'valide' is of type 'bool' but expression is of type 'int4' valide is a field in the bean : type boolean valide is also a

Re: [JBoss-user] Jboss and sapdb

2001-07-18 Thread Hermann RANGAMANA
Hi all, how can specify commit options for entity beans ?? --Hermann PS : Forgive for the elementary question ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Session - Entity Beans binding

2001-07-16 Thread Hermann RANGAMANA
Add ejb-link tag your entity beanz name. --hermann - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 4:16 PM Subject: [JBoss-user] Session - Entity Beans binding Hi to all, i'm a newbye to J2EE deployment and i have some problems with

Re: [JBoss-user] isModified Method

2001-07-13 Thread Hermann RANGAMANA
If you don't really want to change your method name ... why not to wrapp it in a isModified method () ? --hermann - Original Message - From: Lennart Petersson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 12:19 PM Subject: SV: [JBoss-user] isModified Method

[JBoss-user] Deployment problem ...

2001-07-12 Thread Hermann RANGAMANA
Hi all, I deploy my bean, and jBoss throws the following exception, once by the verifier, and then by [auto-deploy]. Here is the exception. Note that the my bean class name is, say, com.blah.MyBean, but the [verifier] (and then the the auto-deployer) is looking for another class

Re: [JBoss-user] Deployment problem ...

2001-07-12 Thread Hermann RANGAMANA
classes? What do your DD look like? Are your Home and Remote interface in the jar? Burkhard - Original Message - From: Hermann RANGAMANA [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 11:47 AM Subject: [JBoss-user] Deployment problem ... Hi all, I deploy my

Re: [JBoss-user] 2 WEEKS EVICTION NOTICE

2001-07-12 Thread Hermann RANGAMANA
So am i --hermann - Original Message - From: Cor Hofman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 1:03 PM Subject: RE: [JBoss-user] 2 WEEKS EVICTION NOTICE Okay, lets have a vote. I'm in favor of letting the mailing list live. Regards, Cor.

Re: [JBoss-user] More on RMI/IIOP warnings

2001-07-12 Thread Hermann RANGAMANA
I've had the same problem few days ago... Remove all EJBException from the throws clause of ALL of your business methods in the remote interface. If there's only ONE business methods wich declare EJBException in its throws clause, then that remote interface won't be a valid type of RMI/IIOP...

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-11 Thread Hermann RANGAMANA
Title: RE: [JBoss-user] IT'S ALIVE! So for me - Original Message - From: Patrick Munis To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 8:14 PM Subject: RE: [JBoss-user] IT'S ALIVE! it's not working for me. -Original Message-

[JBoss-user] Tx and connection

2001-07-09 Thread Hermann RANGAMANA
Hi all, is a connection automatically returned to pool (closed) after the transaction in wich it participates ends (either by commit or rollback), or should i manually track transaction end and perform myself all connection closing? Here is a sample code to illustrate this : try {

Re: [JBoss-user] Re: Jboss Performance problems

2001-07-06 Thread Hermann RANGAMANA
Hi all, could you post here some example of an entity beans implementing isModified () ? --hermann - Original Message - From: Devraj Mukherjee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 1:53 AM Subject: Re: [JBoss-user] Re: Jboss Performance problems Hi Saul,

[JBoss-user] EJB question

2001-07-05 Thread Hermann RANGAMANA
Hi all, In my session bean, i have reference to an instance of an entity bean. so, i lookup an instance of the home interface of the entity bean using the bean name or jndi name. The problem is that, with this approach, i have to hardcode the entity bean name or its jndi name within the session

[JBoss-user] Design question - Singleton

2001-07-05 Thread Hermann RANGAMANA
Hi all, I have a session bean, which number of instance should be limited to 1 (Singleton). How can i implement this with ejb? --hermann ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] RMI/IIOP warning

2001-07-04 Thread Hermann RANGAMANA
Still it's an invalid exception of RMI/IIOP because ... it extends RuntimeException (regardless of what the superclass of RuntimeException is). --hermann PS : cf previous post of Toby ... ;-) - Original Message - From: Burkhard Vogel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [JBoss-user] Weird deployment error...

2001-06-15 Thread Hermann RANGAMANA
Remove EJBException from your create method ---Hermann - Original Message - From: Phan Anh Tran [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 7:12 AM Subject: [JBoss-user] Weird deployment error... My remote interface: public interface DataManager

Re: [JBoss-user] Why jboss+postgresql does not support Container transaction

2001-06-11 Thread Hermann RANGAMANA
Hi danch, I'm using org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl as datasource class ... Note that the exception is thrown only when i perform update query. --hermann Hermann RANGAMANA == [EMAIL PROTECTED] Primagendys SAS www.primagendys.fr - Original Message - From: danch

Re: [JBoss-user] DEAR JBOSS USERS

2001-06-08 Thread Hermann RANGAMANA
experienced such trouble? Any workaroud? --Hermann Hermann RANGAMANA == [EMAIL PROTECTED] Primagendys SAS www.primagendys.fr - Original Message - From: Robert Schulz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 4:49 AM Subject: RE: [JBoss-user] DEAR JBOSS USERS We

Re: [JBoss-user] Using Minerva

2001-06-07 Thread Hermann RANGAMANA
As for your description, you make full use of the connection pooling When you close the connection, it is returned back to the pool. I use exactly the same scenario. --hermann PS : i'd be interested if there's a better way to use connection pooling. Hermann RANGAMANA == [EMAIL PROTECTED

[JBoss-user] Why jboss+postgresql does not support Container transaction

2001-06-07 Thread Hermann RANGAMANA
Is it the expected behavior of postgresql? --Hermann Hermann RANGAMANA == [EMAIL PROTECTED] Primagendys SAS www.primagendys.fr ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Unable to use the search button in the jboss user list !!!!!

2001-06-05 Thread Hermann RANGAMANA
I posted the same question few days ago ... and got no answers till now. Can any gurus here solve this problem ? --hermann - Original Message - From: Jean-Michel DELSAUX [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 05, 2001 9:01 AM Subject: [JBoss-user] Unable to use the

[JBoss-user] postgresql+jBoss question

2001-06-05 Thread Hermann RANGAMANA
Hi all, Has anyone using jBoss+postgres already faced the following problem? When i perform update query on my database, i got the following exceptions and don't know much how to solve it. Hope any response. --Hermann [ClientBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is:

[JBoss-user] Transaction Manager (PostgreSql)

2001-06-01 Thread Hermann RANGAMANA
Please, help me! After an update query on simple BMP (over a PostgreSql db), i got the following error when i attempt to close the connection : *** [ClientBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception is: javax.ejb.EJBException [ClientBean] java.lang.RuntimeException:

[JBoss-user] Unsaved bean state after server restart

2001-05-23 Thread Hermann RANGAMANA
Hi all, i wrote a fairly simple BMP... and it seems to work very well. But actually there's a big problem : the container doesn'tsave any change i made on the bean into the database. Clients programs can view the bean as changed **as long as the container is running**. But if i restart the

[JBoss-user] UndeclaredThrowableException

2001-05-22 Thread Hermann RANGAMANA
Hi all gurus, I'm developping a simple apli using jBoss. i successfuly deployed an simple BMP. But when i try to call a method on this Bean from the client, the following message is thrown (in the client side) Can anybody help me to understand what this message means and ... the solution?

[JBoss-user] A problem with the list archive ??

2001-05-21 Thread Hermann RANGAMANA
Hi all, I always get the following error while performing search at the list archive : htsearch detected an error. Please report this to the returned matches webmaster of this site. The error message is: Unable to read configuration file '/bigassraid/htdig//conf/10767.conf' What is the problem?

[JBoss-user] Strange behavior at start up...

2001-05-07 Thread Hermann RANGAMANA
Hi all, I'm a newbie to jBoss... i'm testing it for a project. I observed a strange behavior of jBoss at startup... i added a data source at jboss.jcml using a postgresSQL jdbc connection, but have forgotten to add the jdbc driver for postgresql in the drivers section. At start up, jBoss