[JBoss-user] Single Row Limitation of CMP !!!!

2001-10-24 Thread Prashant Sarode
Hi all, Is the single-row limitation with CMP removed from EJB 2.0 ?? I mean can we perform the updates or inserts on the multiple tables in EJB 2.0 ?? Thatnks & Regards, Prashant ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.

Re: [JBoss-user] sap ra in jboss3.0 doc

2001-10-24 Thread David Jencks
I'd like to get working examples of as many dbs as possible into the manual using the 3.0 configuration. If you have one for sapdb, send it to me and I'll put it in. I know they all seem the same, still I think it will be useful. If there are any gotchas you know of, telling about them would be

[JBoss-user] sap ra in jboss3.0 doc

2001-10-24 Thread Paul McLachlan
David, You mentioned a month or so ago that you were interested in using the sap ra in the jboss3.0 doc. Do you need any more input? i.e configuration details etc. We have as much knowledge about it as necessary to get it working without having the source code. We are using a local Minerva poo

Re: [JBoss-user] performance problem

2001-10-24 Thread Fred Loney
What is Profile? An EJBObject? Where did the profile object come from? ejbPassivate() is called at the discretion of the JBoss container, not necessarily when a task is completed. An EB is passivated when it is swapped out of the instance pool. If there are only a few EBs, it is unlikely to be pa

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-24 Thread David Jencks
On 2001.10.24 17:48:46 -0400 Dmitri Colebatch wrote: > On Wed, 24 Oct 2001, David Jencks wrote: > > > So, my question is, what do you gain by having a dispatcher? It seems > to > > me that most or all of the time it will be computing dynamically what > is > > set up statically in its absence. W

[JBoss-user] performance problem

2001-10-24 Thread Frank Morton
Still a newbie, but making progress thanks to the list I'm using a servlet that processes forms, puts the necessary results in the session and redirects to a jsp page. Working pretty well, but the display of the jsp page is very slow. Poking around, I found out something that probably has an

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-24 Thread Dmitri Colebatch
On Wed, 24 Oct 2001, David Jencks wrote: > So, my question is, what do you gain by having a dispatcher? It seems to > me that most or all of the time it will be computing dynamically what is > set up statically in its absence. What kind of computations could it do to > determine the next task t

[JBoss-user] Please help

2001-10-24 Thread MSedliak
Hi All, please I would like to ask you for help. I use JBoss-2.2.2_Tomcat-3.2.2 and I have a problem when I try to use my stateless EJB sk.softip.ejb.util.EjbDispatcher after approx 20 minuts of waiting. I get this exception. Are there some ideas ? java.lang.NullPointerException at org.open

Re: [JBoss-user] Why the same code do not work in Session Bean

2001-10-24 Thread danch
did you remember to add the resource reference to ejb.xml and map it in jboss.xml? IvanLatysh wrote: > I have Entity bean and I am getting connection using this code > > public void setEntityContext(EntityContext entityContext) throws RemoteException { > javax.naming.Context context = new

Re: [JBoss-user] Why the same code do not work in Session Bean

2001-10-24 Thread Steven Haines
Check your deployment descriptor (ejb-jar.xml) and make sure that you have a resource-reference defined with that name (jdbc/postmasterData) for your session bean; you have to define the database resource (or any resource for that matter - e.g. another bean) on a per-bean basis. If your entity be

Re: [JBoss-user] Please help me ...

2001-10-24 Thread danch
Any time you call a finder there's at least one hit on the database, for that very reason. Even with commit option A, the container hits the database to get (at least) the keys. -danch John Moore wrote: > > Andrius, > > Good point, then it comes down to what you are trying to get the sum >

RE: [JBoss-user] Please help me ...

2001-10-24 Thread John Moore
Title: RE: [JBoss-user] Please help me ... Andrius, Good point, then it comes down to what you are trying to get the sum of.   I have tables w/ million+ active records, multiple containers, commit-option=B/C and our sums/counts are of big results so the collection route was a bad thing (for

[JBoss-user] Why the same code do not work in Session Bean

2001-10-24 Thread IvanLatysh
I have Entity bean and I am getting connection using this code public void setEntityContext(EntityContext entityContext) throws RemoteException { javax.naming.Context context = new javax.naming.InitialContext(); dataSource = (DataSource) context.lookup("java:comp/env/jdbc/postmasterData");

[JBoss-user] JBoss/Linux and threading

2001-10-24 Thread Herve Tchepannou
1) I've started an application with JBoss on a PII 300, Linux RH6.0 My application had: - 5 business object as CMP Entity beans - 4 Stateless Session beans - 4 MDB - 100+ test cases After running the test cases, I was monitoring the number of thread spawned by jboss:: 1srt time: 150

Re: [JBoss-user] Please help me ...

2001-10-24 Thread Andrius Juozapaitis
RE: [JBoss-user] Please help me ...IMHO slsb + entity bean collection approach looks like a better and more universal one. with jboss caching the entities, you might not get a db hit at all. and if your data is more or less static, there is a way to use read-only entity beans, look in the archives

Re: [JBoss-user] MDB dispatcher pattern - opinions

2001-10-24 Thread David Jencks
On 2001.10.23 23:27:28 -0400 Dmitri Colebatch wrote: > On Tue, 23 Oct 2001, David Jencks wrote: > > > How is this better than simply having each task output its processed > > messages to a specific queue, and routing by hooking the receiving > mdb's > > upd to the appropriate queue? I'm assuming

Re: [JBoss-user] Please help me ...

2001-10-24 Thread IvanLatysh
Hello, John! You wrote to "'IvanLatysh'" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> on Wed, 24 Oct 2001 09:14:00 -0700: JM> Note: we put the name of our datasource into an rather JM> than hard code; you wouldn't need to do this. I have done the same way. Now I see. You mean to calculate sum fo

RE: [JBoss-user] Please help me ...

2001-10-24 Thread John Moore
Title: RE: [JBoss-user] Please help me ... I agree with the Fred that the SLSB is the better route and cleaner overall.  In any event, you are only going to return an int.  So, in your remote interface add a public int getXYZ() ... and then add the same to the Bean.  The following is from a S

Re: [JBoss-user] Please help me ...

2001-10-24 Thread IvanLatysh
Hello, John! You wrote to "'IvanLatysh'" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> on Wed, 24 Oct 2001 08:46:42 -0700: JM> or, #4) Rather than a new entity bean, use the existing entity bean JM> and put a new method that grabs the datasource from jndi, gets a JM> connection, runs the query an

RE: [JBoss-user] Please help me ...

2001-10-24 Thread John Moore
Title: RE: [JBoss-user] Please help me ... or, #4) Rather than a new entity bean, use the existing entity bean and put a new method that grabs the datasource from jndi, gets a connection, runs the query and closes (hands back) the connection. I have done #2 & #4, more often #2. #1 won't

Re: [JBoss-user] Please help me ...

2001-10-24 Thread IvanLatysh
Hello, Fred! You wrote to "IvanLatysh" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> on Wed, 24 Oct 2001 08:36:21 -0700: FL> Aggregate queries are usually best performed by a SLSB using an SQL FL> statement. One exception is if the query range is a small number of FL> records whose corresponding EB

Re: [JBoss-user] Please help me ...

2001-10-24 Thread Fred Loney
Aggregate queries are usually best performed by a SLSB using an SQL statement. One exception is if the query range is a small number of records whose corresponding EBs can be readily activated by a finder, e.g. a sum over a user's account balances where the account EBs are fetched by a UserHome fi

[JBoss-user] Please help me ...

2001-10-24 Thread IvanLatysh
Hi All. I have got one problem and I can't get the right way. I have database and I wrap this database with EntityBeans. But now I need build report and I need summary information (in SQL: select sum(myColumn) from myTable group by myID) I see any ways how to do it. 1. Build the new EntityBea

[JBoss-user] jboss spotting

2001-10-24 Thread Jacob Andresen
hi folks! I just spotted jboss hosting on webappcabaret. seems like there is a revolution underway :oP http://www.webappcabaret.com/index.html greetz, Jacob ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo

AW: [JBoss-user] error in jboss

2001-10-24 Thread Jung , Dr. Christoph
looks like you must add the jar which contains org/apache/commons/digester/Rule.class to the jboss lib/ext directory? Anyone here with struts&jboss experience? CGJ -Ursprüngliche Nachricht- Von: Mahesh Agarwal [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Oktober 2001 12:19 An: [EM

RE: [JBoss-user] issue with look up

2001-10-24 Thread Marko Strukelj
Title: RE: [JBoss-user] issue with look up Obviously there is no naming variables set and there is no jndi.properties in the right place on your classpath. You can try passing these global properties to jvm when you run java: java -Djava.naming.factory.initial=org.jnp.interfaces.NamingCon

[JBoss-user] error in jboss

2001-10-24 Thread Mahesh Agarwal
hi can anyone pls solve this error [Default] Pop org.apache.struts.action.ActionMapping [Default] register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:D:\JBo ss\JBoss-2.4.1_Tomcat-3.2.3\tomcat\webapps\struts-example\WEB-INF\lib\struts .jar!/org/apache/struts/re

[JBoss-user] Pb with isIdentical

2001-10-24 Thread Benjamin Hille
Hello, I am struggling with the use of is identical for entity bean. When I execute the following code I get a "false" being displayed. Is that normal ? com.notuskey.persistence.whoWhere.Jurisdiction aJuris = home.findByID_Country(new Long(224)); com.notuskey.persistence.whoWhere.Jurisdiction aJu

Re: [JBoss-user] Sybase ASE on HP-UX connection problem

2001-10-24 Thread Peter Levart
On Tuesday 23 October 2001 19:01, Andrea Delle Chiaie wrote: > Hi guys, > I have a system in production running Sybase ASE 11.9.2, 12.0 and 12.5 on > various platforms. > I'm able to configure and connect to all the ASE versions on Windows > NT/2000, Linux, Digital Unix, but I've a problem on conn

[JBoss-user] pk-constraint does not generate CONSTRAINT clause

2001-10-24 Thread Marco Ladermann
Hi, I tried to use the JAWS feature of auto generating the PRIMARY KEY constraint. In standardjaws.xml I put true in the tag. In my special case the PK consists of 3 fields (dienstName, email, sendeDatum). On deploy the following apears in the log: [2001-10-23 16:01:43,037] (JAWS) Initiali