[JBoss-user] Re: iterator extremely slow problem

2002-11-06 Thread Gene Ge
Yes, I also think it's a CMR problem, I really wonder why it is so slow to get CMR. Any other idea???help!!! Gene Hello Gene, According to the Log4J informations (time), It doesn't seem the problem comes from Iterator but from the getStudent() method: 18:13:02,484 INFO [STDOUT] =3D=3D=3D=3Din

[JBoss-user] Re: iterator extremely slow problem

2002-11-06 Thread Gene Ge
I'm using jboss3.03 and jdk1.4 _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --- This sf.net email is sponsored b

[JBoss-user] iterator extremely slow problem

2002-11-06 Thread Gene Ge
iterator extremely slow problem Because I found my search was very slow, so I made a simple test: code:* .. System.out.println("before findAll. time is"+new Date().getTime()); Iterator graduat

[JBoss-user] how to reload ejbs when DB changed directly

2002-10-31 Thread Gene Ge
Hello everyone: I meet another problem. My J2EE app share same DB with another app made by PHP, so when the datas of db are changed by phps, my ejbs do not reload it and all property values are from cach. appreciate anyone to help me to solve this problem Gene

[JBoss-user] Re: Please help me! Transaction problem----solved!

2002-10-25 Thread Gene Ge
thanks Dmitri and Stephen thanks everyone try to help me. at last I found it was a stupid mistake: I wrote a statement in my jsp like: which should be So... But it is really hard to find :) thanks all best regards Gene _ Surf

[JBoss-user] Please help me! Transaction problem

2002-10-24 Thread Gene Ge
Someone please help me, I have asked this question many times and still not get any answer yet! I also searched in archives but get no answer. _ 11:43:14,093 ERROR [LogInterceptor] EJBException: javax.ejb.EJBException:

[JBoss-user] Re: Help with cmr relationship please

2002-10-18 Thread Gene Ge
Hi,kiuma I have seen your question and Alex's reply and wonder whether you have solved the problem. I'm a little confusing by your user-role's 1:N relationship. I think in most applications it should be N:N, for one user may be in many roles and many users may in the same role. OK, let's firs

[JBoss-user] Re:URGENT: how to set up 1->N and N->1 relationship with XDoclet v1.2b1

2002-10-10 Thread Gene Ge
Hi,Herve: I'm using 1.1.2 and have made it successfully. 1:N At the One side EJB: @ejb:interface-method view-type="local" * @ejb:relation *name="One-Many" *role-name="One" *target-role-name="Many" *target-ejb="TargetEJB" *target-multiple="no" *

[JBoss-user] ???Tried to enter Stateful bean with different transaction context?

2002-10-10 Thread Gene Ge
hello all: I met another problem. <--Error Message-> javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different transaction context at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceIn

[JBoss-user] A transaction Question:Application Error tried to enter Stateful bean with diff

2002-10-08 Thread Gene Ge
hello all: I met another problem. <--Error Message-> javax.ejb.EJBException: Application Error: tried to enter Stateful bean with different transaction context at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstance

[JBoss-user] Re: One to One Unidirectional Relation

2002-10-08 Thread Gene Ge
Hi Neal: I think you should add a part in jbosscmp-jdbc.xml at the entity role you want jboss to generate a foreign key for you, otherwise jboss will generate both as default(my opinion). As far as One:N relationship, because it's impossible to set foreigh key at the one side(of course

[JBoss-user] Mail Service- to dim and stephen

2002-10-08 Thread Gene Ge
hi, dim and stephen: Thanks:) I'm so sorry for my poor knowledge about SMTP:) but...:) I'm still a little confused: how can some mail application(such like outlook) make it, I mean, send to others outside the domain. I had read one article about it and found that one can send username&password

[JBoss-user] Re: Questin with Mail Service-not solved yet and to dim

2002-10-08 Thread Gene Ge
Thanks very much! Dim I had found the archives I wanted. But the problem about mail service is still not solved. I had put username&password into mail-service.xml, but it didn't take effect. With username&password I can't send mail to host other than the smtp host I used. whereas without user

[JBoss-user] How can I search Archives?About fk as part of pk

2002-10-07 Thread Gene Ge
hello everyone: I want to search in archives, but when I try to link "http://sourceforge.net/mailarchive/forum.php?forum=jboss-user"; I was told:"ERROR! Forum is restricted to members of this group ". So... And my problem is: In my impression, someone had said the lastest jobss release now a

[JBoss-user] Re: A question about Mail Service--not solved yet!

2002-10-07 Thread Gene Ge
mail in your mail client (outlook etc). cheers dim - Original Message ----- From: "Gene Ge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 1:09 PM Subject: [JBoss-user] A questin about Mail Service >hello every: > Thanks for your hel

[JBoss-user] Help!!!: Redeploy problem

2002-10-07 Thread Gene Ge
Hello everyone: I really need your help and thanks at first! When I redeploy a war archive to server(which I have to do very frequently every day), using a ant's ftp task to transfer my war to the server, the server always gave following errors: 2002-10-05 16:21:47,109 ERROR [org.jboss.d

[JBoss-user] A questin about Mail Service

2002-10-06 Thread Gene Ge
hello every: Thanks for your help! I am trying to use Mail Service to send email. I did some configuration first such as set "mail.pop3.host=pop.aaa.net" "mail.smtp.host=smtp.aaa.net" etc. in the /server/deploy/mail-service.xml file. The problem is: I found my program can only send mail to

[JBoss-user] please help:deploy&startup questions

2002-10-05 Thread Gene Ge
hello everyone: I meet two puzzling questions. : When I startup the server, it gives following error: <--Error Message Begin> 2002-10-05 16:18:19,343 ERROR [org.jboss.naming.NamingService] Could not start on port 1099 java.net.BindE