Hi Matthias,
we are currently working on this issue. The problem is how the thrown
exception from the bean should be routed through the modules to the
client. I think we will be able to fix this soon.
MVB> I got past this. I was thrown off by the way that the container is
MVB> intercepting my exception and creating a new one, but not propagating my
MVB> error message. When I explicitly print the stack trace before throwing
MVB> my CreateException, I see the real problem and can fix it.
MVB> "Mattias V. Bertelsen" wrote:
>>
>> I have read through the archives a bit, looked at the "getting started"
>> docs on the web site, and read the docs that come with the binary
>> distribution. I'm getting the impression that BMP is not fully
>> supported yet. Is that true? What parts should work?
>>
>> I am getting the following exception in my client when calling
>> create(...) on my BMP entity bean:
>>
>> javax.ejb.CreateException: Create
>> failed:java.lang.reflect.InvocationTargetException
>>
>> My ejbCreate() method runs, but stops logging System.out.println() calls
>> as soon as I call setInt() on a PreparedStatement in my insertRow() SQL
>> function. There is no further output to the server console, and my
>> client catches the exception.
>>
>> I am using the PostgreSQL 7.0.1 JDBC Driver and the binary JBoss
>> distribution on Debian (frozen) linux with the Sun JDK 1.3 Beta
>> refresh. I already have a stateless session bean deployed and working
>> that generates primary keys using PostgreSQL sequences.
>>
>> I checked out the CVS version yesterday, but haven't tried to build it
>> yet. Should I be working with the head of CVS, the snapshot, or the
>> binary download? Should I even bother trying to use JBoss yet?
>>
>> By the way, I REALLY like the auto-deployer. I switched from jonas
>> because of deployment and configuration headaches.
>>
>> The only other problem I've had with JBoss was that it took me forever
>> to figure out how to correctly configure and look up my Datasource.
>> This was solved by reading the mailing list.
>>
>> Thanks,
>> Mattias V. Bertelsen
>> N<.n�+?��n<,�ǫ�yb��(�H�?� ��&N<����r�>z6�ˬz�~X��
>> +?)�v^,r??�?�zk#�|(�H�?� ��&
MVB> --
MVB> --------------------------------------------------------------
MVB> To subscribe: [EMAIL PROTECTED]
MVB> To unsubscribe: [EMAIL PROTECTED]
MVB> Problems?: [EMAIL PROTECTED]
--
Best regards,
Stephan mailto:[EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]