The problem is related to the bean managed persitence class named
OrderDAOHsql.
The version of OrderDAOHsql that I have follows the same structure as the
BMP classes provided for Oracle, cloudscape, and Sybase. I have just
changed what is necessary to make it compliant with Hypersonic. If you
would like me to provide a copy, I would be happy to. Just let me know if
you want it sent somewhere or if you would like me to post the source in a
reply.
Here is the exception and call stack:
[Hypersonic] java.lang.NullPointerException
[Hypersonic] at org.hsql.Channel.check(Channel.java:72)
[Hypersonic] at org.hsql.Parser.processUpdate(Parser.java:60)
[Hypersonic] at org.hsql.Database.execute(Database.java:124)
[Hypersonic] at org.hsql.ServerConnection.run(ServerConnection.java:58)
It seems that the error is pseudo random. However, it has been narrowed
down to these circumstances:
- After jboss/tomcat is started, the first time that one tries to create an
order. The error occurs.
- Each subsequent time one creates an order it may be successful.
- If the order is updated or deleted the error occurs.
For all three of these situations I have taken the generated sql and
executed it on the database directly through the Hypersonic Database Manager
Utility (org.hsql.util.DatabaseManager)
If you need any information from me, just ask. I am at the end of my rope
trying to figure this stinker out. At this point, I would wave a dead
chicken over the machine if I thought it would help.
Thanks all,
Dan B.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
Sent: Tuesday, December 19, 2000 9:02 PM
To: jBoss
Subject: RE: [jBoss-User] Petstore example version 1.1.1
hello,
spoke to one of the SUN authors of this yesterday :)
he was asking where we were and I said "don't know".
what is your problem exactly? let's get this done...
marc
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Neville Burnell
|Sent: Tuesday, December 19, 2000 6:01 PM
|To: 'jBoss'
|Subject: RE: [jBoss-User] Petstore example version 1.1.1
|
|
|This would be great if we could get a How-To for JPS 1.1.1
|
|I know some of the guys were looking at it a few weeks ago, then it sort
|of disappeared ...
|
|-----Original Message-----
|From: Dan B (Focus) [mailto:[EMAIL PROTECTED]]
|Sent: Wednesday, 20 December 2000 3:01 AM
|To: [EMAIL PROTECTED]
|Subject: [jBoss-User] Petstore example version 1.1.1
|
|
|I have recently downloaded the new version of the sun j2ee petstore
|reference application (version 1.1.1) and am trying to get it to work
|under
|jboss with embedded tomcat support(Jboss version 2-Final / Tomcat 3.2).
|I
|am also running Hypersonic as the database. The jboss preliminary
|documentation provides a step by step description of the changes that
|need
|to be made in order to execute petstore version 1.0.1. Unfortunately,
|the
|step by step does not apply directly to version 1.1.1.
|
|There are classloader issues (which have been resolved). The portion
|that I
|am having trouble with is the bean managed persistence class
|OrderDAOHsql.
|If anyone has a version of this class that is compatible with petstore
|version 1.1.1. Sharing it would be greatly appreciated.
|
|Thanks in advance,
|
|Dan B.
|
|
|
|--
|--------------------------------------------------------------
|To subscribe: [EMAIL PROTECTED]
|To unsubscribe: [EMAIL PROTECTED]
|List Help?: [EMAIL PROTECTED]
|
|
|--
|--------------------------------------------------------------
|To subscribe: [EMAIL PROTECTED]
|To unsubscribe: [EMAIL PROTECTED]
|List Help?: [EMAIL PROTECTED]
|
|
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]