[JBoss-user] [JCA/JBoss] - Re: Oracle DataSource: DB shutdown detection (JBoss 3.2.3)

2004-12-09 Thread gchazalon
I've also tried the latest release (3.2.6) with no more success. The fact that JBoss throws a FinderException instead of an EJBException to report a system-level failure (DB unavailable) seems to be an implementation mistake with regards to the EJB 2.0 specification chapter 18.2.2. Anyway, I wo

[JBoss-user] [JCA/JBoss] - Oracle DataSource: DB shutdown detection (JBoss 3.2.3)

2004-12-07 Thread gchazalon
Hi, I have set up an Oracle DataSource using the oracle thin driver (oracle.jdbc.driver.OracleDriver) and my application uses CMP 2.0 Entity Beans. The problem is that JBoss doesn't seem to make a difference between "Bean with PK X doesn't exist" and a brutal DB shutdown after its startup and

[JBoss-user] [Persistence & CMP/JBoss] - Re: Initializing a java.sql.Blob cmp field (JBoss 3.2.3/Orac

2004-10-14 Thread gchazalon
Thanks for your answer Steve, As we decided to get rid off the BLOB column in the project, I don't have BLOB mapping issues anymore ;-) Nethertheless, your previous post was valuable for my personal knowledge. Now I know that the Oracle JDBC driver doesn't support LOB bigger than 5kB, which is,

[JBoss-user] [Persistence & CMP/JBoss] - Initializing a java.sql.Blob cmp field (JBoss 3.2.3/Oracle9.

2004-10-08 Thread gchazalon
Hi, I have experienced different issues when trying to initialize a java.sql.Blob cmp-field mapped on an Oracle BLOB. Let me explain my case: I have an entity bean with a cmp-field of type java.sql.Blob mapped on an Oracle BLOB. The BLOB column in the DB is nullable. I have a session facade in

[JBoss-user] [Persistence & CMP/JBoss] - How to avoid the select before insert with JDBCPkSqlCreateCo

2004-08-16 Thread gchazalon
Hi, I have been seaching for similar cases in the forums, but found nothing similar. So please consider the following : I use the JDBCPkSqlCreateCommand entity command for generating the primary keys for one of my CMP entity beans. In fact, the SQL involved here uses an oracle sequence and som

[JBoss-user] [JCA/JBoss] - Re: Where should I put the Oracle JDBC driver jar ?

2004-07-20 Thread gchazalon
Thanks Bertrand, I'll keep it that way for the moment. :-) Regards, Gregory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842723#3842723 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842723 --

[JBoss-user] [JCA/JBoss] - Where should I put the Oracle JDBC driver jar ?

2004-07-19 Thread gchazalon
Hi, I have created a datasource on an Oracle 9i database with the Oracle thin JDBC driver. Of course I needed to add the oracle library containing the driver classes to JBoss classpath. For now I have put the ojdbc14.jar right under the ${JBOSS_HOME}/server/${CONFIG_NAME}/lib directory, and i

[JBoss-user] [Management, JMX/JBoss] - Accessing an EJB JNDI env from outside (e.g. from an MBean)

2004-06-28 Thread gchazalon
Hi JBoss users, I am trying to access an EJB environment variable stored under the bean's java:comp/env namespace, from a custom MBean. The purpose is to make my EJB highly configurable, by shipping it with an associated MBean, which can change dynamically its JNDI env entries via the JBoss con

[JBoss-user] [Management, JMX/JBoss] - Custom MBean lifecycle with EJB dependencies

2004-06-22 Thread gchazalon
Hi, I have experienced a strange behavior using JBoss 3.2.3 JMX. I have created a custom MBean, which basicaly creates an instance of a stateful EJB and map it into a JNDI entry. Since my MBean depends on the deployment of this particular EJB, I have a element in the associated jboss-servi

[JBoss-user] [Installation & Configuration] - Re: Hotspot

2004-06-04 Thread gchazalon
Thanks Scott, I have just filed a new bug report at Sun's website. I hope they will do something, but for now the workaround is not to use the crappy "-server" Hotspot VM option. Regards, Gregory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837508#383750

[JBoss-user] [Installation & Configuration] - Hotspot

2004-06-03 Thread gchazalon
Hi, I have discovered a weird behavior and now I have a workaround. I use Axis 1.1 deployed on JBoss 3.2.3 to build some webservices. It happened that one of my webservices caused the JBoss server to simply stop without notice when testing it. The only information I could get was the log from my

[JBoss-user] [EJB/JBoss] - Re: EJB ghost reference in JBoss JNDI

2004-05-17 Thread gchazalon
Okay, I'm still stuck on this thing. Here is a sample of the debug log I can get in DEBUG treshold from JBoss : | -- | 16:28:08,916 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 31s:465ms | 16:32:34,749 I

[JBoss-user] [EJB/JBoss] - Re: EJB ghost reference in JBoss JNDI

2004-05-17 Thread gchazalon
Thanks Darran, but I'm afraid that there is no conflict with any other Jars, because there is only one on my server. And the JNDI tree seems clean to me. None of my EJB mentioned. The most annoying is that a shutdown/restart doesn't change anything. JBoss must be store its JNDI entries, but whe

[JBoss-user] [EJB/JBoss] - EJB ghost reference in JBoss JNDI

2004-05-17 Thread gchazalon
Hi, I've been struggling this morning with a redeployment issue. When I first deploy an EJB module on my JBoss 3.2.3 server, it just works fine. After a new build, when I try to redeploy it (via JBoss IDE), the container cannot deploy it correctly, because of somekind of ghost reference to the o

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 3.2.3 : Getting a javax.naming.NameNotFoundExcepti

2004-04-22 Thread gchazalon
Ok, fair enough Adrian, sorry for this newbie mistake. I'll try to be more precise this time. Meanwhile typing this post, I have just read carefuly the log file and discovered that I had accidently copied my ejb jar file also in the /deploy/jbossweb-tomcat41.sar directory, which caused the prob

[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss 3.2.3 : Getting a javax.naming.NameNotFoundException:

2004-04-22 Thread gchazalon
Hi Jboss fellowship, If only I hadn't changed anything since this morning... I wouldn't bother you with my post ! I am getting an exception at server startup : 16:46:25,904 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean o