[JBoss-user] Handle.getEJBObject() bug in jboss 3.2.3 - fixed.

2004-02-11 Thread Russell Chan
s call, in jboss 3.2.3 resulted in an extra reflock on the stateful bean, thus causing a problem when the container went to passivate the bean ("Unable to passivate blah blah"). Once again, this patch is for jboss 3.2.3. Regards, Russ -- -- Russell Chan, Navaho Networks Inc. 416 542 159

Re: [JBoss-user] Unable to passivate due to ctx lock

2004-02-04 Thread Russell Chan
ROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- -- Russell Chan, Navaho Networks Inc. 416 542 1590 x108 --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of E

[JBoss-user] How to change: jboss.bind.address

2004-02-03 Thread Pitre, Russell
How do I change the “jboss.bind.address”   I’m using version 3.2.3 w/ Tomcat.   I found this:   Using 3.2.2 or greater use the --host switch. In 3.2.2 you must remove snmp-adapter.sar from your deploy or it will generate bind errors.  Example: run.bat -c default --host localhost  

Re: [JBoss-user] Possible bug in Handle.getEJBObject() - Jboss 3.2.3

2004-01-30 Thread Russell Chan
ss Group, LLC > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Russell > Chan > Sent: Friday, January 23, 2004 12:37 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Possible bug in Handle.getEJBO

[JBoss-user] Re: Possible bug in Handle.getEJBObject() - Jboss 3.2.3

2004-01-30 Thread Russell Chan
t and I'll look into it again. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Russell Chan Sent: Friday, January 23, 2004 12:37 PM To: [EMAIL P

[JBoss-user] Re: Possible bug in Handle.getEJBObject() - Jboss 3.2.3

2004-01-28 Thread Russell Chan
t, and the passivation thread runs. The jboss management console just shows the statefulSessionInstanceCache for the stateful bean growing larger and larger as more instances of the stateful bean are created. The pool management works fine, however. Russ Russell Chan wrote: Hi, I've

[JBoss-user] Possible bug in Handle.getEJBObject() - Jboss 3.2.3

2004-01-28 Thread Russell Chan
tInstanceCache] Unable to passivate due to ctx lock, id=dpsp9lca-7 15:21:12,639 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock, id=dpsp9lca-7 There's some more detail in the snippet of log attached. -- -- Russell Chan, Navaho Networks Inc. 416 542 1590 x108

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Pitre, Russell
The JSP compile should fail in that case. -Original Message- From: Pitre, Russell [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 14, 2004 12:38 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Throwing exception question Yah, I have my MaxNumberOfRequestsException class e

RE: [JBoss-user] Throwing exception question....

2004-01-14 Thread Pitre, Russell
ndled. Regards, Adrian On Wed, 2004-01-14 at 19:07, Pitre, Russell wrote: > Hello All- > > > > Using: jboss3.2.3-tomcat > > > > I have a class that will throw a user defined exception. > > > > My method: > > public ArrayList getPersistableO

[JBoss-user] Throwing exception question....

2004-01-14 Thread Pitre, Russell
Hello All-   Using: jboss3.2.3-tomcat   I have a class that will throw a user defined exception.   My method: public ArrayList getPersistableObjects (String className, String keys) { if(cachelessKeyValues.length() > MAX_NUMBER_OF_REQUESTS) { throw new MaxNumberOfRequestsException("

RE: [JBoss-user] Exclude a class from being logged to the appender

2004-01-06 Thread Pitre, Russell
L PROTECTED] Subject: Re: [JBoss-user] Exclude a class from being logged to the appender You can raise the priority of the specific class: //Nicholas --- "Pitre, Russell" <[EMAIL PROTECTED]> wrote: > Does anyone know how I can EXCLUDE a certain class > from being

[JBoss-user] Exclude a class from being logged to the appender

2004-01-06 Thread Pitre, Russell
Does anyone know how I can EXCLUDE a certain class from being logged to the console appender.  This class logs a “ping” message every 5 seconds and I don’t want to see the messages on the console during development.       Any help is greatly appreciated…               

[JBoss-user] rmi security manager....

2004-01-06 Thread Pitre, Russell
I have coded an rmi server for my j2ee appl for Jboss and wish to use the rmi security manager…….How can I supply the following argument at runtime….For now I have been starting JBoss with run.bat but in the production I will be running Jboss as a service…..If someone supply me with a hint

Re: [JBoss-user] Selecting large datasets using CMP

2003-09-10 Thread Russell Chan
int jbosscmp-jdbc.xml: findWithLimitOffset int int SELECT OBJECT(o) FROM OrderX o OFFSET ?1 LIMIT ?2 -- -- Russell Chan, Navaho Networks Inc. 41

Re: [JBoss-user] Selecting large datasets using CMP

2003-09-10 Thread Russell Chan
his on jboss as well as a straight query from a session bean, I'd be very interested to know. We have an app that deals with very large data sets. Regards Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Russell Chan Sent: Tuesday, September 09, 200

[JBoss-user] Re: Possible to dynamically change datasource information?

2003-09-09 Thread Russell Chan
Oops... I forgot to mention versions: We're using jboss 3.2.1 under linux, sun jdk 1.4.1 Russell Chan wrote: Hi, Is it possible to manipulate a datasource programmatically, to change the characteristics of a datasource on the fly? Here's what we'd like to do: There are occa

[JBoss-user] Selecting large datasets using CMP

2003-09-09 Thread Russell Chan
Hi, In our application we currently have a need (don't ask) to periodically go through a very large dataset. We are using jboss 3.2.1, with an oracle 9i back-end, using CMP2. On my first attempts to do this, with a read-ahead strategy of "on-load", with a page size of 10, (in a transaction), the

[JBoss-user] Possible to dynamically change datasource information?

2003-09-09 Thread Russell Chan
n turn the pools back on before the transactions time out, is this feasible? -- -- Russell Chan, --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss

[JBoss-user] Stored procedures and session beans

2003-08-14 Thread Russell Chan
Hi, I've looked through the documentation, but haven't really found an answer to my question yet, so I'll try here. I have a case where some legacy functionality is wrapped up in an oracle stored procedure. I have a session bean which needs to do some lookups/updated, call this stored procedur

[JBoss-user] Clustering and failover

2003-07-27 Thread Russell Chan
Hi, I'm trying to currently get a two node cluster and a client work only in a failover setup. I'm using jboss-3.2.1. my jboss.xml file has entries such as: true TestEJBPartition org.jboss.ha.framework.interfaces.FirstAvailable org.jboss.ha.framework.interface

[JBoss-user] Failover problem...

2003-07-25 Thread Russell Chan
ased clustering docs, and I'm failing to see something simple here. The clustering DOES appear to work flawlessly, as I have stateful, stateless, and entity beans all in this partition, which work. My problem is that I want fail-over really, not clustering per se. Any pointers? Thanks, Rus

Re: [JBoss-user] cmp-field and cmr-field mapped to same databasecolumn

2003-06-12 Thread Russell Chan
erceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117) On Thu, 2003-

[JBoss-user] cmp-field and cmr-field mapped to same database column

2003-06-12 Thread Russell Chan
Hi, I'm trying to find out if I can have a CMP EJB with a cmp-field accessors and cmr-field accessors mapping to the same database column/foreign key. I'm using jboss-3.2.1 with cmp2 (and xdoclet-1.2b) In my case, the actual foreign key is enough for some circumstances, and I don't want to trigg

[JBoss-user] Can I store a Local Entity Bean in my HttpSession?

2003-03-15 Thread Russell Black
Can I store a Local Entity Bean in my HttpSession? That is, will it be valid on subsequent requests? Something like this?session.setAttribute("foo", beanLocalHome.findByPrimaryKey(key));Thanks,Russell

[JBoss-user] Performance Numbers

2003-03-04 Thread Russell Black
My client is concerned about JBoss's scalability.  Just wondering if any of you have used JBoss in a heavily-used production environment, e.g. lots of requests, and a large database.  How well does it hold up?   Thanks, Russell   P.S.  I'm using the postgres database.  Any idea h

Re: [JBoss-user] Debugging JSPs with eclipse

2003-01-13 Thread Russell Black
Never mind, I figured it out.  I had another jasper compiler jar in my classpath that was getting used.  I deleted everything from the classpath except the JBoss stuff and it worked.  - Original Message - From: Russell Black To: [EMAIL PROTECTED] Sent: Sunday

[JBoss-user] Debugging JSPs with eclipse

2003-01-12 Thread Russell Black
  I've tried setting the classdebuginfo parameter to true in server/default/deploy/jbossweb.sar/webdefault.xml, but they're still being generated without debug info.    Has anyone had any luck debugging JSPs?   Thanks, Russell

RE: [JBoss-user] Problems migrating from JBoss_2.4.4-Tomcat_4.0.1 to JBoss_2.4.7-Tomcat_4.0.4

2002-07-04 Thread Russell Giebelhaus
jboss/deploy respectively) Hope this helps, Russell Giebelhaus > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, July 04, 2002 12:47 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Problems

RE: [JBoss-user] transaction timed out

2002-06-26 Thread David Russell
timeout to would be... David P. Russell Lead Technical Consultant Idea Integration [EMAIL PROTECTED] [EMAIL PROTECTED] (585) 249-2600 (585) 273-7728 >>> [EMAIL PROTECTED] 06/26/02 12:16PM >>> Would a method in a session bean that initiates a transaction (let's say one

[JBoss-user] Re: JBoss-user digest, Vol 1 #2508 - 10 msgs

2002-06-21 Thread David Russell
I'm not sure that I see a difference between using straight SQL in the session bean versus finding the appropriate entity bean and querying it for the current inventory. The advantage to using the entity bean is, of course, the portability that you mention. I would think that two methods on t

[JBoss-user] unpacked deployment under3.0

2002-06-11 Thread Mike Russell
Under Jboss 3.0 release with Jetty, how do I deploy an exploded directory that follows the correct war structure? __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ___

Re: [JBoss-user] jbosscmp-jdbc.xml DTD?

2002-06-07 Thread David Russell
The final DTD has and respectively as opposed to the foreign-key-field versions. Just spent a little time finding that one myself. David David P. Russell Lead Technical Consultant Idea Integration [EMAIL PROTECTED] [EMAIL PROTECTED] (585) 249-2600 (585) 273-7728 >>> [EMAIL PROT

Re: [JBoss-user] CMP Generated SQL Problem

2002-06-06 Thread David Russell
iguration, and you will need to post a bug report (with only the simple entity and query). -dain David Russell wrote: > OK, so I'm a little impatient and posted this question in a longer form two days >ago. Hopefully I won't annoy too many people by adding to the already signi

[JBoss-user] CMP Generated SQL Problem

2002-06-06 Thread David Russell
T OBJECT(o) FROM EgadGenomeBean AS o would end up generating SQL that looks like this: SELECT FROM EGAD.GENOME t0_o The missing "selected" columns cause a missing element exception when I actually try to use the finder method for this EJB. Thanks, David David P. Ru

[JBoss-user] CMP Field Mapping and Query

2002-06-04 Thread David Russell
problem? The only other interesting configuration tidbit that I can think of is that I have two separate Oracle datasources configured, and this bean references a one while all of the other beans reference the other. David P. Russell Lead Technical Consultant Idea Integration [EMAIL PROTECTED] [EMAIL

[JBoss-user] Accessing ejb from IAS container

2001-07-09 Thread Russell
Hi all , I am using jdk1.2.2 , jboss2.1 and jbuilder3.5. I have a session ejb bean which is deployed in jboss2.1 container.However I need to access methods in ejb bean in ias container. How to do that in jboss2.1 ?? Anybody have any ideas ?? Thanks __

[JBoss-user] Postgres Datasource problems

2001-06-18 Thread Russell Chan
I'm guessing that this is more a postgresql problem as I think it works when I use the default datastore... Anyways, any help at this point would be useful... -- Russell Chan Stable Network Technologies Inc. PO Box 86079 Oakville, Ontario, Cana

[JBoss-user] Weird error in Jboss container

2001-05-17 Thread Russell
Hi all , i am using RedHat6.1 , jdk1.3 , postgresql7.0.1 and jBoss2.1 . The weird error are : I have deploy my ejb which included 3 entity and 1 session bean. The session bean is facade to the entity bean. When i run jboss container and called a method from session for example Sear

Re: [JBoss-user] java.lang.Illegal.Argument Exception : object is not instance of the class

2001-05-16 Thread Russell
out what happen : > Do you play with 2 session beans in 2 different ejb jar here ? > Thanks. > > > -Message d'origine- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]De la part de Russell > > Envoye : mercredi 16 mai 2001 7:02

Re: [JBoss-user] java.lang.Illegal.Argument Exception : object is not instance of the class

2001-05-15 Thread Russell
$Proxy1.adminDeleteCompany(Unknown Source) at com.cesma.ecommerce.pmg.pmgprocess.Untitled1.main(Untitled1.java:38) Toby Allsopp wrote: > > On Wed, May 16, 2001 at 11:21:57AM +0800, Russell wrote: > > > > Hi all , > > > >I am using jBoss2.1 , jdk1.3 and

[JBoss-user] java.lang.Illegal.Argument Exception : object is not instance of theclass

2001-05-15 Thread Russell
Hi all , I am using jBoss2.1 , jdk1.3 and Tomcat3.2.1. When i tried to remove entity , i have the error below : java.lang.Illegal.Argument Exception : object is not instance of the class... And the code is : Remote r = home.findByPrimaryKey(new HomePK(3)); r.remove

[JBoss-user] How to get IP address from ejb

2001-05-10 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 and jboss2.1 . Can i get the computer IPAddress which accessed the ejb and stored in the ipaddress in table ? Thanks ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/list

Re: [JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread Russell
rst bean. The finder exception from looking for a > nonexistent bean skips the assignment of projectinfo, so you call the "2" > bean getProjectInfoJB(). > > david jencks > > On 2001.05.10 04:39:11 -0400 Russell wrote: > > > > Hi all , I am usi

[JBoss-user] Weird error in jboss2.1.1

2001-05-10 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 and jboss2.1 . I have an entity bean , method below is the implementation code is most important which to increase ejb performance using value object: public ProjectInfoJB getProjectInfoJB() throws RemoteException{ projectinfojb.setAgreement

Re: [JBoss-user] LIKE queries in cmp

2001-05-02 Thread Russell
Hi Carles , change your finder as below : findByLikeProjectTitle projectitle like {0}||'%' companyid Thanks . Carles Pi-Sunyer wrote: > > Is it possible to to create LIKE queries in a jboss > cmp bean? > > I would like to do something that allows a query that > is

Re: SV: [JBoss-user] Cannot start jBoss2.2.1 container

2001-05-02 Thread Russell
Sorry . Ok now . Thanks everybody. Russell wrote: > > Hi Fredrik Alund , > >I run the script run.sh it give me the info below after i commented > out the -server option: > > JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar > > It did not stated that jboss is

Re: SV: [JBoss-user] Cannot start jBoss2.2.1 container

2001-05-02 Thread Russell
[EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]For Russell > Skickat: den 2 maj 2001 10:02 > Till: [EMAIL PROTECTED] > Amne: Re: [JBoss-user] Cannot start jBoss2.2.1 container > > Hi all , > >I am using RedHat6.1 , jdk1.3 and jboss2.2.1 . > >When i tried

Re: [JBoss-user] Cannot start jBoss2.2.1 container

2001-05-02 Thread Russell
ctory=org.apache.crimson.jaxp.SAXParserFactoryImpl" echo JBOSS_CLASSPATH=$JBOSS_CLASSPATH java -server $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ Russell wrote: > > Hi Jonathan , thanks for your info. > > I tried to run using jdk1.3 , I also have similar problem. > I did not chan

Re: [JBoss-user] Cannot start jBoss2.2.1 container

2001-05-01 Thread Russell
and > SAXPa#rserFactoryImpl). > > Was that just a cut and paste (into the email) error ? > > Jonathan > > -Original Message- > From: Russell [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 2 May 2001 5:37 p.m. > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Canno

[JBoss-user] Cannot start jBoss2.2.1 container

2001-05-01 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 and jBoss2.2.1.Recently i just download jBoss2.2.1 to my PC . When i tried to run the using java -jar run.jar , it gave me the error below : [Info] Java version: 1.2.2,Sun Microsystems Inc. [Info] Java VM: Classic VM 1.2.2,Sun Micr

Re: [JBoss-user] Where to place java bean class

2001-05-01 Thread Russell
Hi doreen , From ejb specification, you must override the Object method hashCode and equals. Thanks doreen_cheng wrote: > > hi all, > > I am migrating a web-based application from Inprise Application Server to JBoss with >Tomcat. In my application, there are several CMP Entity Beans,

Re: [JBoss-user] Null pointer/Server exception when int column null in db

2001-04-30 Thread Russell
Hi Jim , Use primitives wrapper class . for example if field is int , use Integer class. Thanks Jim Cheesman wrote: > > I'm getting a NullPointerException (wrapped up in a > TransactionRolledbackException, in turn wrapped up in a ServerException...) > when I try to read a column with null

Re: [JBoss-user] Get Database connection from Jndi

2001-04-26 Thread Russell
ed minerva. You can > use this outside of JBoss (uses the JBoss hierarchy, so you will need the > JBoss classes, but you won't need JBoss running.) Also, there are several > open source database connection pool libraries available if you can't get > minerva to work for yo

Re: [JBoss-user] Get Database connection from Jndi

2001-04-25 Thread Russell
wrote: > > Assuming when you say "outside of JBoss" you mean in a different JVM, no. > > - Original Message - > From: "Russell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, April 26, 2001 12:30 AM > Subject: Re: [JBo

Re: [JBoss-user] Get Database connection from Jndi

2001-04-25 Thread Russell
> ----- Original Message - > From: "Russell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, April 25, 2001 10:09 PM > Subject: [JBoss-user] Get Database connection from Jndi > > > > > > > Hi all , > > > >

[JBoss-user] Get Database connection from Jndi

2001-04-25 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 and jboss2.1. Recently i have been trying to access database connection from binding datasource in jboss. The error is "NamingNotFoundException error" Can we accessed jndi that binding in jboss outside ejb bean ?? Thanks wt below is

[JBoss-user] Create class in the ejb bean.

2001-04-24 Thread Russell
Hi all , I am using RedHat6.1 , postgresql7.0.1 , jdk1.3 and jboss2.1. It is valid to create class within ejb bean , for example in the session bean code below : class Test{ } public void ejbCreate(){} public void...{} Anybody have any

Re: [JBoss-user] javax.ejb.FinderException : Find failed Exception

2001-04-24 Thread Russell
Thanks danch. Case is solved. danch wrote: > > Look in the server log. There should be at least one exception stack > trace in there as well. The first one should tell you what went wrong. > > -danch > > Russell wrote: > > > > Hi all , I am using RedHat6

[JBoss-user] javax.ejb.FinderException : Find failed Exception

2001-04-23 Thread Russell
Hi all , I am using RedHat6.1 , jboss2.1 and jdk1.3. I have created entity bean and deployed to jboss container. The problems that i have facing is that when i create my own finder method : findByUser(String loginid) throws RemoteException,FinderException. When i tried to call the

[JBoss-user] Ref:Generate unique key in ejb

2001-04-20 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 , jbuilder3.5 and jboss2.1. I have the code below : public ProjectMngUserPK ejbCreate(ProjectMngUserJB projectmnguserjb) throws CreateException { this.pm_userid = projectmnguserjb.getUserid(); this.companyid = new Integer(projectmngus

[JBoss-user] Some question about jboss

2001-04-20 Thread Russell
Hi all , i am using RedHat6.1 , jdk1.3 and jboss2.1. I have came across a document regarding jboss container. The url is //www2.theserverside.com/reviews/thread.jsp?thread_id=2918 The title is "Can JBoss be a BEA better" . And about pros an cons of JBoss. One of cons that i have mo

Re: [JBoss-user] No resource manager found

2001-04-18 Thread Russell
IMESTAMP java.lang.Byte TINYINT TINYINT java.lang.Float FLOAT FLOAT Thanks Toby Allsopp wrote: > > On Thu, Apr 19, 2001 at 11:08:27AM +0800, Russell wrote: &

Re: [JBoss-user] No resource manager found

2001-04-18 Thread Russell
org.jboss.resource.security.ManyToOnePrincipalMapping userName=sa password= 10 8082 Mail mail.properties weetat password Toby Allsopp wrote: > > On Thu, Apr 19, 2001 at 09:53:39AM +0800, Russell wrote: >

Re: [JBoss-user] No resource manager found

2001-04-18 Thread Russell
Hi Toby , First of all , I did not deploy the ejb jars with jboss.xml(from documentation is optional). And the records are inserted into my table , i can see it in my database. Thanks. Toby Allsopp wrote: > > On Wed, Apr 18, 2001 at 08:19:31PM +0800, Russell wrote: > &

[JBoss-user] No resource manager found

2001-04-18 Thread Russell
Hi all , I am using RedHat6.1 , postgresql7.0.1 ,jboss2.1 and jdk.1.3. Do i need to worry if where start the jboss , i have the error below : [Container-Factory]No resource manager found for jdbc/PostgresDS However , when i called ejb create , the records is inserted in my table

[JBoss-user] SQL Data type

2001-04-18 Thread Russell
Hi all , I am using RedHat6.1 , jdk1.3 , postgresql7.0.1 and jboss2.1. I have a database field which the type is TIME. I have set mapping as below java.sql.Time TIME TIME Can i set the mapping like that ?? Thanks

Re: [JBoss-user] Connection pooling

2001-04-17 Thread Russell
= (DataSource)ctx.lookup("java:comp/env/jdbc/DB"); Thanks Toby Allsopp wrote: > > On Wed, Apr 18, 2001 at 12:08:29PM +0800, Russell wrote: > > > > Hi all , i am using RedHat6.1 ,jdk1.3,postgresql7.0.1 and jboss2.1. > > Hi. Good to see you have the han

[JBoss-user] Connection pooling

2001-04-17 Thread Russell
Hi all , i am using RedHat6.1 ,jdk1.3,postgresql7.0.1 and jboss2.1. I need some advice regarding the code below which in stateless session bean : My question is that if the connection below created are pooled ??? Thanks wt. // code public int executeSQLStatement(String sqlstr){

Re: [JBoss-user] Ejb Extrenal References

2001-04-17 Thread Russell
Hi Rajender , Are you are trying to call ejb bean from different jar files in the same container ? If yes , you need to set ejb-ref in ejb-jar.xml like below : ejb/Sequencekeys Session com.cesma.sequence.SequencekeysHome com.cesma.sequence.Sequencekeys

Re: [JBoss-user] findAll method did not order

2001-04-15 Thread Russell
Hi awc , The documents did not stated anything how to order the result returned from findAll method. Any other ideas anyone ? Thanks awc wrote: > > Hi Russell, > > try http://www.jboss.org/documentation/HTML/ch05s05.html > > you will see the full story. > >

[JBoss-user] findAll method did not order

2001-04-11 Thread Russell
Hi all , I am using RedHat6.1 , postgresql7.0.1 , jboss2.1 and jdk1.3. I have created a findAll method however the result returned are not ordered. How to order the result by primary key in findAll method ??? Any ideas ?? Thanks russell

Re: [JBoss-user] What is BlackBox Datasources ??

2001-04-10 Thread Russell
p wrote: > > On Tue, Apr 10, 2001 at 09:01:34AM +0800, Russell wrote: > > > > Hi all , I am using Linux6.1 , jbos2.1 and tomcat3.2.1. > > I've told you before, and I'll keep telling you: there is no such thing > as "Linux6.1". I assume you mean

[JBoss-user] What is BlackBox Datasources ??

2001-04-09 Thread Russell
Hi all , I am using Linux6.1 , jbos2.1 and tomcat3.2.1. May i know what is BlackBox Datasources ?? What is the purposes ?? Any documentation regarding Black Box DS ?? Thanks wt ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sour

[JBoss-user] Finder method in Jboss is not working

2001-04-05 Thread Russell
Hi all , I am using JBoss2.1 , jdk1.3 and Tomcat3.2.1. I have CMP fields as below : public int id; public String name; public String country I have added a finder method in the home interface as below : findByName() throws RemoteException,FinderException; findByC

Re: [JBoss-user] Error in the Jboss

2001-04-05 Thread Russell
Yes u are correct. I forget to close the connection. Thanks [EMAIL PROTECTED] wrote: > > I think my previous suggestion did not apply. > > It seems like you are retrieving more connection from the connection pool > than returning to it. When the server runs out of connections, it will hang >

[JBoss-user] Error in the Jboss

2001-04-05 Thread Russell
Hi all , i am using JBoss2.1 , Tomcat3.2.1 and jdk1.3 . I have a module which session ejb bean that will create company : below is the code public void addCompanyUsers(int adminid,UserCompanyJB usercompanyJB ) throws RemoteException,FinderException,CreateException,UserException { seqke

Re: [JBoss-user] Re: Tradeoffs: Running Tomcat separately from JBoss?

2001-04-04 Thread Russell
Hi John , We have done that successfully.However there are some bugs on Tomcat , it cannot read jar files from jboss in the /WEB_INF/lib You need to set classpath in the tomcat for required jar file in /client directory in your jboss instal folder. There are some doc in the jboss how to do th

Re: [JBoss-user] Explicit commit and rollback in EJB

2001-03-28 Thread Russell
? BTW , our Asian counterparts are very curious how jboss developers can develop such a good products. What incentives that you all achieved ? Where you all get capital from ? How you all doing it ? Thanks wt. danch wrote: > > Russell wrote: > > > Hi Dan , > > > >

Re: [JBoss-user] Explicit commit and rollback in EJB

2001-03-28 Thread Russell
Hi Dan , Thanks for u info. Read document regarding transaction in javasoft.com and i found out that what i done it in CMP is wrong. BTW , can i know why i must set the fetching key as RequiresNew ?? Thanks wt. Dan Christopherson wrote: > > Hi, Ricky! > You can do explicate commit and

Re: [JBoss-user] How to Lookup a bean from another bean (separate jars)?

2001-03-27 Thread Russell
Hi alex , From accessing ejb bean from separate jar,you did not need to specify the ejblink tag.Maybe that is u problems. Specify ejb-link for accessing ejb bean in the same jar. I test to accessing ejb bean in separate jar using jboss without any problems.Furthermore in jboss , is very si