RE: [JBoss-user] Help: cross package EJB access problem how ?

2001-07-05 Thread Lau Chet Hong
Thank you Kevin for your suggestion. It seems to be the right thing to do. But it is telling me the stub for the session bean A or entity bean A could not be found, what did I do wrong ? I also have another question: >From the Session Bean B's code, I have already do 'import session A's package

[JBoss-user] Help: cross package EJB access problem how ?

2001-07-04 Thread Lau Chet Hong
Hello all, Please help me wit this: I have a session bean A accessing to an entity bean A using EJB reference java:comp/env/ejb/syssetting. These two beans is put into package A. Then I have another package B, with a session bean B trying to access the session bean A (which in turns accesses enti

RE: [JBoss-user] Weird problem with transaction - more info for questions

2001-06-20 Thread Lau Chet Hong
ss supports an optional > method public boolean isModified() in the beans > implementation. If this method returns false, the call to > ejbStore is skipped at commit time. > > > /Lennart > > - Original Message - > From: Lau Chet Hong <[EMAIL PROTECTED]&

RE: [JBoss-user] Weird problem with transaction - more info for questions

2001-06-19 Thread Lau Chet Hong
Lennart, I think I found out the reason being that: After the first time I run the client to update the record, and before I run it the second time, I did open up the table manually (through the DBMS) to delete the record. Somehow if I delete the record manually, the client will throw the error if

[JBoss-user] Weird problem with transaction - more info for questions

2001-06-19 Thread Lau Chet Hong
Dear all, BTW, I'm using SQL Server 2K for my database. The code works fine when I'm running it under JBuilder+Inprise AppServer. It only happens when I port it to jBoss. Please help. TIA. Regards, ChetHong Lau > -Original Message----- > From: Lau Chet Hong [mailto:[EMAIL PR

[JBoss-user] Weird problem with transaction

2001-06-19 Thread Lau Chet Hong
Greetings! I'm tyring to do a transaction-ed update into two tables. I have a client that access a session bean, which in turns calls two entity beans for the actual db update. The weird problem is: the update is only successful alternately. That is, the first update is OK, then on the 2nd update,

RE: [JBoss-user] Little problem in test

2001-06-14 Thread Lau Chet Hong
You'll need to run the run_upload first to insert some sample data into the database first, before the run_list will show any data. Regards, ChetHong Lau > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 14, 2001 6:07 PM > To: [EMAIL PROTECT

[JBoss-user] How to use uniqueidentifier / auto-numbering field in a database?

2001-06-13 Thread Lau Chet Hong
Dear all, Does jBoss supports those called uniqueidentifier / auto-number field type in a database ? I am trying to use a primary key field with uniqueidentifier type in SQL Server 2000, but couldn't manage. How should I configure my jaws.xml and my source code to use it ? Thank you very much! Re

[JBoss-user] How to use JAWS ?!

2001-06-12 Thread Lau Chet Hong
Hello all, Can anyone enlighten me on how to properly use JAWS ? 1.Do I start JAWS by running 'java -jar ejx.jar' ? 2. After starting JAWS, can I open an existing ejb-jar.xml or jboss.xml or jaws.xml ? I keep getting error box saying 'Could not load file:null' when I try to open the above

RE: [JBoss-user] problem with MS SQL Server and JBoss

2001-06-12 Thread Lau Chet Hong
Hi, I'm also new to jBoss, and just managed to setup SQLServer with jBoss this morning. Basically it's a three step thing. 1. Setup your ODBC connection in the Window's Administrative tools-Data Sources(ODBC). Remember the DSN name. 2. Edit the JBOSS_HOME\conf\tomcat\jboss.jcml and add ",sun.jdbc.

[JBoss-user] Problem opening file with JAWS

2001-06-11 Thread Lau Chet Hong
I couldn't open any ejb-jar.xml, jboss.xml, etc from JAWS. It keeps giving me 'File could not load:NULL' error box when I try to open a file; and I have tried it many times on sample source code's xml file I downloaded too. Anybody can enlighten me on this ? Thanks in adv. ChetHong Lau

[JBoss-user] jBoss with SQLServer help

2001-06-10 Thread Lau Chet Hong
I am trying to configure jBoss 2.2.1+tomcat to use SQL Server 2000, using Sun's JDBC-ODBC bridge, as documented in the jBoss.org documentation http://www.jboss.org/documentation/HTML/ch11s22.html. But I just couldn't get it to work. When I start jBoss, it gives the error: [SQLServerPool] java.lan

[JBoss-user] Where is JAWS ?

2001-05-31 Thread Lau Chet Hong
Hi all, I'm new here; looking for the JAWS binary, but just couldn't find it anywhere. Any idea ? Thanks ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user