All,
I was able to get the container up and running based on the configuration
settings from Bugzilla. Using ejx and a bit of self-modification I was able
to get my ejb-jar.xml, jboss.xml and jaws.xml looking ok, built and deployed
my entity bean. During the auto-deploy phase I received an error, upon
attempting to access via the client received additional errors. Since the
client problems are likely related to the initial deployment problems I
figure it's a mute point for now.
The error is in the jaws plug-in, the error is reported as follows
[JAWS] Initializing JAWS plugin for CustomerAccount
[Container factory] Caught SQL NPE on JawsCMPField!
[Container factory] Caught JDBC NPE on JawsCMPField!
[Container factory] Caught SQL NPE on JawsCMPField!
[Container factory] Caught JDBC NPE on JawsCMPField!
[Container factory] Caught SQL NPE on JawsCMPField!
[Container factory] Caught JDBC NPE on JawsCMPField!
The Oracle table looks like:
SQL> descr customer_account_tbl
Name Null? Type
----------------------------------------- --------
----------------------------
CUST_NO_IN NOT NULL NUMBER(38)
CUST_NAME_VC NOT NULL VARCHAR2(256)
CUST_CREATE_DT DATE
and my descriptor is:
<cmp-field>
<field-name>CUST_CREATE_DT</field-name>
<column-name>CUST_CREATE_DT</column-name>
<sql-type>DATE</sql-type>
<jdbc-type>DATE</jdbc-type>
</cmp-field>
<cmp-field>
<field-name>CUST_NO_IN</field-name>
<column-name>CUST_NO_IN</column-name>
<sql-type>INTEGER</sql-type>
<jdbc-type>INTEGER</jdbc-type>
</cmp-field>
<cmp-field>
<field-name>CUST_NAME_VC</field-name>
<column-name>CUST_NAME_VC</column-name>
<sql-type>VARCHAR(256)</sql-type>
<jdbc-type>VARCHAR</jdbc-type>
</cmp-field>
I have attempted to change the datatype from DATE to TIMESTAMP, INTEGER to
BIGINT with no success. The internal datatype in the primary key
(CustomerAccountPK) had a long but I converted it to an Integer with no
difference. Is there a common cause to this problem. I just came back to
JBoss after getting my Inprise quote and look forward to making it work. If
additional code, xml, background will help please let me know.
JBoss 1.0.3b
IBM 1.3 JVM
RedHat Linux 6.2
Thanks in advance,
John Moore
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]