Re: [JBoss-user] Database connection pool hangs...

2001-05-21 Thread Guy Rouillier
Whether or not the actual connection is closed will depend on the pool manager you are using. The one that comes with JBoss, JBossPool, does not close the connection, it just returns it to the pool. Establishing a real connection is a very costly operation, so I would suspect that most pool mana

Re: [JBoss-user] JBoss and ANT

2001-05-21 Thread Phan Anh Tran
I just use the zip task to build and deploy my beans. Really convenient... Anh - Original Message - From: "Robert Burrell Donkin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 10:43 AM Subject: Re: [JBoss-user] JBoss and ANT > "Scott M Stark" <[EMAIL PROTECTE

Re: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Toby Allsopp
Guy Rouillier wrote: > Hmm, I see a potential problem with this. What if I have logic like this: > > Get a whole bunch of data from somewhere. > Get a database connection. > For each record > Do a whole bunch of database work > Commit >If database work failed > L

[JBoss-user] RE: petstore 1.1.2, do tell!

2001-05-21 Thread Cuong Tran
Ok, I finally got around to do it. The attached zip file contains all files that I changed/added to make petstore work. Since I wanted to use Hypersonic, I had to replace CatalogDAOImpl and OrderDAOImpl with slightly modified version (CatalogDAOHypersonic and OrderDAOHypersonic). The instruct

[JBoss-user] Sequential Updates

2001-05-21 Thread Phan Anh Tran
I need to make 2 sequential updates to the same row.  The first update is made by a stateless session bean and the second update is made by the client that called the stateless session bean.   The 2 updates change different columns of the same row.   I need an all-or-nothing approach, so my g

Re: [JBoss-user] ClassPathExtension mechanism does not seem to work...

2001-05-21 Thread Phan Anh Tran
I just drop my extra libs in lib\ext. Any reason why you don't want to go that route? Anh - Original Message - From: "Xandy Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 10:31 PM Subject: Re: [JBoss-user] ClassPathExtension mechanism does not seem to wo

Re: [JBoss-user] Documentation Error

2001-05-21 Thread Sebastien Alborini
Ivan Novick wrote: > > http://www.jboss.org/documentation/HTML/ch06s05.html > > The ABean implements EntityBean but is declared in tag in the > ejb-jar.xml > > Is this a typo or am I missing the concept? It is a typo. Thanks! Sebastien > > Ivan > > __

Re: [JBoss-user] Database connection pool hangs...

2001-05-21 Thread Phan Anh Tran
Yeah, I closed everything but the connections. Once I closed the connections, everything worked fine. By the way, upon seeing a connection.close(), does the actual connection gets closed at that point and is free for re-used or does the connection gets closed ans is free for re-used first after

R: [JBoss-user] multiple key

2001-05-21 Thread Belli Andrea
Thanks, I want to use a beans who maps a table on a relational db which haS a primary key composed by two colomns of this table, or eventually a column of this table and a column which is a foreign key which point on another table. This is may little problem; I don't understand if with JAWS I may

Re: [JBoss-user] ClassPathExtension mechanism does not seem towork...

2001-05-21 Thread Xandy Johnson
Could you include the snippet from your jboss.conf where you have added the extra libs? It sounds like you might be adding individual jar files, but as far as I know, the ClassPathExtension is for adding directories that contain jar files. Also, are you running run.bat from within the jboss\bin

Re: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Georg Rehfeld
Hello Guy, Toby, Jonathan, and all other users/developers, Jonathan said: >>> ..., many other application servers automatically >>> return the connection to the pool at the end of a transaction. >>> I would like to see this implemented by JBoss, since it kinda >>> of makes sense. Toby promised:

RE: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Jonathan Ackerman
I see your point. Especially if you look at section 11.3.3 of the EJB 1.1 spec. My comment should have been that JBoss release the connection back to the pool if it cannot be used by the transaction anymore (eg at the end of a method call on a stateless session bean or during the remove() on stat

[JBoss-user] JBoss tomcat log files

2001-05-21 Thread K S Sreeram
Is it possible for jboss-tomcat to generate log output in the same format as Apache 'access.log'. This is required because we are using a log analyzer which can understand only that format KS ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists

Re: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Guy Rouillier
Hmm, I see a potential problem with this. What if I have logic like this: Get a whole bunch of data from somewhere. Get a database connection. For each record Do a whole bunch of database work Commit If database work failed Log an error Continue This is a p

Re: [JBoss-user] Q: How to configure JBoss on a per user basis

2001-05-21 Thread Guy Rouillier
I submitted a change to minerva (now JBossPool) to pool with a specified userid and password. Now that Toby has JBossPool in cvs, this change will hopefully be showing up soon. If you can't wait, let me know and I'll send you what I have. This will allow you to use getConnection(aUserId, aPass

Re: [JBoss-user] jaas not forwarding principal

2001-05-21 Thread Scott M Stark
I just added a test case to jbosstest that has a client call an unsecure bean that in turn calls a secured bean and the principal is propagated correctly. How do you know that the principal is coming in correctly from the servlet? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTE

RE: [JBoss-user] What is "Leaving out a server session"?

2001-05-21 Thread Jim Brownfield
Thanks, Scott! > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott M > Stark > Sent: Monday, May 21, 2001 8:19 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] What is "Leaving out a server session"? > > > Its simply a debug message that s

Re: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread Georg Rehfeld
Hi Brian, > Here is the source for the session bean using connection pooling: as others pointed out and you confirmed them to be right, giving back the connections into the pool by executing connection.close() speeds up your processing essentially. But you not only test the speed of the connect

Re: [JBoss-user] What is "Leaving out a server session"?

2001-05-21 Thread Scott M Stark
Its simply a debug message that should be "Handing out a server session" in English. There appears to have been a slight translation problem when the message was added. You can safely ignore the message. - Original Message - From: "Jim Brownfield" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: [JBoss-user] mySQL auto increment and CMP entity beans

2001-05-21 Thread Georg Rehfeld
Hi Paul, > I am using jboss 2.2.1 to create a simple CMP entity bean that has two > properties, id and name. In the database the id is an auto increment > column. In the bean managed version of this bean I had a second sql > (select ns.section_id from nh_section ns where ns.section_id is null) >

Re: [JBoss-user] question about minerva connections pooling

2001-05-21 Thread arionyu
Hi! It depends on whether you wanna a bean-managed transaction or container-managed transaction. For bean-managed transaction, you should make use of javax.transacion.UserTransaction. For container-managed transaction, you should use setRollbackOnly() from your EJBContext. The transaction would

Re: [JBoss-user] java.io.FileNotFoundException

2001-05-21 Thread Matt Davies
Hi Again, This has been solved. It was caused by a race condition: The server tried to use the reference before the home.create(...) method could return. Strangely, I would have thought a "no concurrent calls on stateful beans" or something else indicating that creation of the bean was not fin

[JBoss-user] What is "Leaving out a server session"?

2001-05-21 Thread Jim Brownfield
I've looked on the archive, and I can't find a reference to this. I have an MBean publishing ObjectMessage objects on a timer. In my test, within the same JVM (although, of course, this wouldn't always be the case), I have a Message Driven Bean receiving the published objects and updating an ent

Re: [JBoss-user] multiple key

2001-05-21 Thread Georg Rehfeld
Hi Andrea, > question:There is a way to map a primary key over multiple > tables in a db? I'm not quite sure, what you mean: - having the same primary key _column_ name/type in different tables? This is definitely allowed in SQL. - using the same primary key _class_ in different beans? Thi

[JBoss-user] Q: How to configure JBoss on a per user basis

2001-05-21 Thread Phillip Padgett
We are using JBoss to develop some software and each of our users has JBoss installed on their machines. I try to keep the software on all of the machines the same. I would like for each user to have their own own connection pool. The database username is the same as their username. Is there s

Re: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Toby Allsopp
On Tue, May 22, 2001 at 12:11:23PM +1200, Jonathan Ackerman wrote: > It did not bomb, it's just waiting for a connection to become available :) > > We have found that it is good practice to put your DB access code in a > try-finally block and do the connection close in the finally clause to > en

[JBoss-user] jaas not forwarding principal

2001-05-21 Thread Ferguson, Doug
I have a bean that has a reference to another bean. Bean #1 is deployed with no security and bean #2 is deployed with security. I login from a servlet and the security gets passed to bean #1 but as soon as I hit bean #2 it looks like the credentials are getting passed! Any ideas? d. ___

RE: [JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Jonathan Ackerman
It did not bomb, it's just waiting for a connection to become available :) We have found that it is good practice to put your DB access code in a try-finally block and do the connection close in the finally clause to ensure a release of the connection. Having said that, many other application s

[JBoss-user] Documentation Error

2001-05-21 Thread Ivan Novick
http://www.jboss.org/documentation/HTML/ch06s05.html The ABean implements EntityBean but is declared in tag in the ejb-jar.xml Is this a typo or am I missing the concept? Ivan ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.

[JBoss-user] Hypersonic : Access is denied

2001-05-21 Thread The Allisons
Hi All, I found out why I was getting an error stating that there was no buffer space for a file descriptor. It lead backwards to consistent messages about "neighbour table overflow", which lead me to configure my lo interface (Debian linux). I'm very grateful to google.com - which helped

[JBoss-user] Re: Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Bob Cober
FYI - The error was caused by the bean. It was using Minerva JDBC connection pooling with a pool limit of 10 connections. The bean did not release the connection, so it bombed as soon as 10 rapid requests came in. Long live Open-Source From: "Bob Cober" <[EMAIL PROTECTED]> To: [EMAI

Re: [JBoss-user] Another Classpath extension question

2001-05-21 Thread Ed Swierk
You hit the nail on the head. I was adding some Jars and directories to the JBOSS_CLASSPATH before running run_with_tomcat.bat. When I instead add them as ClassPathExtensions in jboss.conf, and leave JBOSS_CLASSPATH unset, everything works fine. This sounds like a bug...is there some reason why

RE: [JBoss-user] JBoss Training Review

2001-05-21 Thread Ferguson, Doug
I agree. The class was awesome! d. -Original Message- From: Erik Peterson [mailto:[EMAIL PROTECTED]] Sent: Monday, May 21, 2001 3:38 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss Training Review Just wanted to drop a note to the rest of you about the JBoss training I attended i

Re: [JBoss-user] Another Classpath extension question

2001-05-21 Thread danch (Dan Christopherson)
I'm suspicious of the spaces in the path to the jars involved. Adam Lipscombe wrote: > Class HttpServlet is in webserver.jar, which is a fundamental tomcat > library. > > I found that some adding some libs to the classpath passed to JBoss at > start-up time (i.e. the -classpath / JBOSS CLASSPAT

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Scott M Stark
So add a client configuration entry to the server auth.conf and use it for your client LoginContext creation. The current contrib/tomcat module code has two example tomcat request interceptors that integrate into the JBoss security layer. - Original Message - From: "Lewis Henderson" <[EM

RE: [JBoss-user] Another Classpath extension question

2001-05-21 Thread Adam Lipscombe
Class HttpServlet is in webserver.jar, which is a fundamental tomcat library. I found that some adding some libs to the classpath passed to JBoss at start-up time (i.e. the -classpath / JBOSS CLASSPATH statements) completely stuffed the libraries that JBoss could see. Are you passing any extra l

RE: [JBoss-user] Jbuilder 4.0 Foundation & JBoss2.2.1 HowTo Guide

2001-05-21 Thread John P. Coffey
John, actually I believe my howto addressed that, actually I am debugging withoug the embedded tomcat, I simply do not specify tomcat as the argument to start the debugger and I also ensured that the conf/default is in the classpath rather than conf/tomcat, I think that should do the trick. Sorry

[JBoss-user] Re: JNDI name list

2001-05-21 Thread Ralf Purnhagen
Use the JNDIView-MBean: Just have a look at http://localhist:8082 -> JNDIView -> list Ralf wjlz wrote: > > Hi All, > > I would like to get all available JNDI name > on the sever. How can I do it? Is there an > example code for a client? > > Thanks in advance. > >

[JBoss-user] JBoss Training Review

2001-05-21 Thread Erik Peterson
Just wanted to drop a note to the rest of you about the JBoss training I attended in Atlanta, GA last week. Marc Fluery and Scott Stark discussed a wide range of J2EE technology topics. Labs using JBoss had been developed to support the concepts presented. We covered about 600 slides and 10 labs

RE: [JBoss-user] JBOSSMQ: Regarding Creation of Topics Dinamically on the Server.

2001-05-21 Thread Ryan Wu
You can use Topic topic = (Topic) Context.lookup("topic/testTopic"); if you want to do so. Of course, before you do this, you need to put the testTopic in your topic list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim McCune Sent: Monday, May

Re: [JBoss-user] Hardware Sizing

2001-05-21 Thread Thomas Cong
Thanks for all your feed-backs! I'd be more than happy to report a success story to jboss.org Just have to make it happen first :) - Original Message - From: "toby cabot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 12:35 PM Subject: Re: [JBoss-user] Hardware Si

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Lewis Henderson
...I was trying to run an embedded tomcat client talking to jboss in the same VM! There is another issue to this in that you cannot have override java.security.auth.login.config for the client as the server also uses it! If I use stand-alone tomcat everything seems to work...I'm still holding m

[JBoss-user] Calling CORBA objects from JBoss

2001-05-21 Thread Dave Ortman
Hi, I recently posted an inquiry regarding the utilization of CORBA objects from within EJB's deployed in JBoss. Basically, I was unable to have a session bean make a call to a CORBA object. Since then, we have deployed the same bean to WebLogic, and it worked fine. So, the issue is not EJB sp

[JBoss-user] Another Classpath extension question

2001-05-21 Thread Ed Swierk
I'm having trouble getting a servlet to run when I start JBoss (2.2.1 with Tomcat 3.2.1) with the run_with_tomcat.bat script. The log file shows servlet.jar, among others, being added to the classpath: [Classpath extension] Added directory:file:/C:/Documents and Settings/eswierk/Cogenia/Server/J

[JBoss-user] Embedded Servlet/Security Support

2001-05-21 Thread Han-Shen Yuan
Title: Embedded Servlet/Security Support Last week, I had written a message describing my woes with security respect to Embedded Jetty.  After trying out the embedded Tomcat distribution, I ran into the exact same issue, despite following Dain's instructions on how to reconfigure Tomcat to

[JBoss-user] EAR deployment: Can't find jar

2001-05-21 Thread Norton Lam
I searched the archive for this problem and found some messages, but no final solution. I'm deploying an ear file in JBoss 2.2.1 (runs with Tomcat and Apache on a Linux box). When the J2EE default deployer runs, I get the following: [J2EE Deployer Default] Deploy J2EE application: file:/usr/loc

[JBoss-user] how to set jboss configuration so don´t give outlocal net ip, but internet ip instead (I use forwarding)

2001-05-21 Thread Rogelio Triviño
Hi: I´m using a linux machine for firewall and forwarding. I try to connect jboss from a client applet that I serve with jboss. The applet connect to my public ip in internet, and the firewall redirects the input to the jboss server (another linux machine) I have enabled forwarding for ports 10

Re: [JBoss-user] Regarding EJB references

2001-05-21 Thread K.V. Vinay Menon
And how are you referring to the ejbs ? Using the java:/comp/env namespace or using the 'external' jndi namespace?? I believe it would be the advantange between in-VM and out of VM call. Vinay - Original Message - From: "Keerthi Panneer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: M

[JBoss-user] Lots of Entity Beans with one Session bean

2001-05-21 Thread awc
Hello, I hope to wrap entity bean with session bean. I do have entity bean candidates that have same table structure like id,name,remarks. So on my entities only thing that will change is sql statements in ejb methods. On my session bean, I can cache the entity Beans Home PulpProductionMachineT

Re: [JBoss-user] question about minerva connections pooling

2001-05-21 Thread Toby Allsopp
On Mon, May 21, 2001 at 05:38:06PM +0200, [EMAIL PROTECTED] wrote: > ok. I found the problem. my bean was container- manged transactions(" > Container" was in my ejb-jar.xml file, > now I have (" Bean" ). And all works > fine. > > But is very curious, with weblogic. Its work fine with container-

Re: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread danch (Dan Christopherson)
Excellent! Good to hear Brian D. Brown wrote: > Well, my hat's off to you (and Robert). After putting dbCon.close() in the > session beans, I got the following results: > > Without pooling > > 11016 ms > 10846 ms > 10565 ms > > With pooling > > 6499 ms > 6309 ms

Re: [JBoss-user] Hardware Sizing

2001-05-21 Thread Toby Allsopp
On Mon, May 21, 2001 at 10:10:44AM -0400, Thomas Cong wrote: > > Toby, > We developed a web-based custom management system, where for each user > session, there are 2 session beans and 2 or more entity beans. The max > number of users is around 100,000, but we do not expect higher load than > 100

RE: [JBoss-user] BMP finder method problem

2001-05-21 Thread Morrison, Scott
I also ran into this when first developing BMP Entity Beans Check your implementation class - the method public String ejbFindByPrimarKey( String key ) ... needs to return either a collection (of primary keys) or an instance of the primary key type -Original Message- From: Artur

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Scott M Stark
If by client side you mean a client running in a VM external to the JBoss server VM, then this is the expected default behavior. Multi-threaded clients need to enable the thread local storage mode of the SecurityAssociation class by either calling SecurityAssociation.setServer() or equivalently ad

Re: [JBoss-user] mySQL auto increment and CMP entity beans

2001-05-21 Thread Ivan Novick
I set the value to 0 in the create method and somehow MySQL makes the value the proper value uder the autoincrement.  Seems to work, but makes me a little nervou.   Ivan - Original Message - From: Paul Austin To: Jboss-User Sent: Monday, May 21, 2001 9:19 AM Subject

RE: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread Brian D. Brown
Well, my hat's off to you (and Robert). After putting dbCon.close() in the session beans, I got the following results: Without pooling 11016 ms 10846 ms 10565 ms With pooling 6499 ms 6309 ms 6039 ms Big difference!! Thanks again. -Original Message- From:

Re: [JBoss-user] JBoss and ANT

2001-05-21 Thread Robert Burrell Donkin
"Scott M Stark" <[EMAIL PROTECTED]> wrote >JBoss ejb jars are pretty trivial constructs in ant because there is no stub >compiliation step as required by weblogic. I would have to look at the current >ejb jar ANT task to see if it offers sufficient simplication of the steps >required. Maybe it do

Re: [JBoss-user] A problem with the list archive ??

2001-05-21 Thread Burkhard Vogel
We sould really put this somewhere prominent even more obvious the FAQ, this link is _NOT_ working, has never and probably will not ever. Everybody should _REALLY_ use the link provided on www.jboss.org/business/lists.html , if this will ever be??? - Original Message - From: "Hermann RANGA

[JBoss-user] JNDI name list

2001-05-21 Thread wjlz
Hi All, I would like to get all available JNDI name on the sever. How can I do it? Is there an example code for a client? Thanks in advance. __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ __

Re: [JBoss-user] BM Entity Bean Example?

2001-05-21 Thread Faisal Abdallah
Check Jbosstest-cvs - Original Message - From: "Christopher Cheng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 5:45 AM Subject: [JBoss-user] BM Entity Bean Example? > Does anybody have an example of Bean Managed EJB with JBoss, preferably for > Sybase? > > > __

RE: [JBoss-user] oracle, jaws, RAW(32) and String

2001-05-21 Thread Tim McCune
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I asked the same question of the list a while back and the only response I got was basically "it's a bug in Oracle". Not real helpful. Although Oracle has their own set of problems, it's awfully commonly-used. It sure would be nice if JBoss would a

RE: [JBoss-user] JBOSSMQ: Regarding Creation of Topics Dinamically on the Server.

2001-05-21 Thread Tim McCune
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Take another look at the JMS documentation. You can't create topics dynamically. It would be nice if you could. The closest that I've been able to get is to use message selectors to dynamically filter through the messages. Not a very object-orient

[JBoss-user] Bug?- jboss classloader problem?

2001-05-21 Thread Aron Sogor
Hi I have an application packaged as a war. I use log4j in the application and at deployment log4j.jar is in the war under WEB-INF/lib When I run the application the log4j classes are accessable but after the configurator runs the tomcat throws a class not found exception on :

RE: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread Robert_Wright
as i understand it, you write code as if you have one connection, calling .getConnection() and .close() where necessary. the "connection manager," minerva in my case, handles the pooling of connections, opening and closing them as necessary. the explicit call to .close() tells the connection man

Re: [JBoss-user] Message Driven Beans test problem

2001-05-21 Thread Scott M Stark
Every jar in lib/ext is automatically loaded. The fact that you have to insert two jars ahead of your existing CLASSPATH to get things to work indicates that you have an incompatible jar(s) in your CLASSPATH(like j2ee.jar) that is preventing the loading of class files from the corresponding JBoss

Re: [JBoss-user] Strange exception getting reference to my EJB on JBoss

2001-05-21 Thread Christophe GARCIA
Thanks, it was that Christophe:o) ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Hardware Sizing

2001-05-21 Thread toby cabot
> JBoss experts, > I am looking for any available hardware configuration/sizing > information to support a Jboss/Tomcat deployment in production. > Thanks in advance! > > Thomas Cong > Portal Software > [EMAIL PROTECTED] Tom, The bottom line is that there are way too many dependencies on your

RE: [JBoss-user] ejbLoad difference between Sun RI and JBOSS

2001-05-21 Thread Paul Austin
Jim, The ejbActivate method in the example sets the id attribute to the primary key from the context. This method is called by the container when it changes to entity that the bean is referencing, before it does this it changes the primary key value to the primary key of the entity the bean will

[JBoss-user] Multiple Remote EJB Requests Bombs JBoss

2001-05-21 Thread Bob Cober
We are using Tomcat 3.1.1 on one machine and JBoss 2.2.1 on another. When calling EJBs from a remote JSP page, everything works fine...until we quickly submit 10 or so refresh requests from the browser. At this point JBoss hangs and we cannot browse that JSP page. Other pages are still acce

Re: [JBoss-user] Jboss, tomcat and ssl

2001-05-21 Thread Rama Rao
Hi, You can follow the steps given in the attached document to enable ssl for embedded tomcat. Regards Rama Rao - Original Message - From: Jonathan Holloway <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 8:49 PM Subject: [JBoss-user] Jboss, tomcat and ssl > I don'

Re: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread danch (Dan Christopherson)
With a connection pool, 'closing' the connection merely indicates to the pool that you're done with it and that it can be returned to the pool (subject to transaction commit/rollback). -danch Brian D. Brown wrote: > I thought that was the whole point of connection pooling...ie. the pool > man

[JBoss-user] mySQL auto increment and CMP entity beans

2001-05-21 Thread Paul Austin
I am using jboss 2.2.1 to create a simple CMP entity bean that has two properties, id and name. In the database the id is an auto increment column. In the bean managed version of this bean I had a second sql (select ns.section_id from nh_section ns where ns.section_id is null) call to get th

[JBoss-user] ejbLoad difference between Sun RI and JBOSS

2001-05-21 Thread Jim Downing
Hi, We recently had a problem with a finder method that we thought was a really stupid error, but turned out not to be. The ejbLoad method of one of our BMP Entity beans was written using the Sun tutorial 'AccountEJB' bean as an example. This example doesn't call context.getPrimaryKey(), but our

[JBoss-user] multiple key

2001-05-21 Thread Belli Andrea
Hi, I've just downloaded the latest CVS version OF jboss. I've a question:There is a way to map a primary key over multiple tables in a db? Thanks for reply, Andrea ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net

Re: [JBoss-user] problem with authentication

2001-05-21 Thread Scott M Stark
This is a bug in the JAAS login config file class. It is not thread safe and when multiple login threads run at the same time it can produce the error your seeing. I thought I added a synchronization that would prevent this from happening. The workaround it to have a single thread force a load of

RE: [JBoss-user] Database connection pool hangs...

2001-05-21 Thread Paul Austin
To be totally safe on all drivers you should also close any result sets and statements as well has connections, I use the following code as a template for sql routines. This will make sure that everything is always closed. Paul Connection con = null; Statement stmt = null; ResultSet rs = null; t

Re: [JBoss-user] Message Driven Beans test problem

2001-05-21 Thread Darius Davidavicius
HI all again, if I adding line: set CLASSPATH=%JBOSS_HOME%\lib\ext\ejb2.0.jar;%JBOSS_HOME%\lib\ext\jms.jar;%CLASSPATH%;../lib/crimson.jar; in the run.cmd file everythink is ok. I think it is strange and not correct way of problem solving. And one more point: I have created test message driven

Re: [JBoss-user] ClassPathExtension mechanism does not seem to work...

2001-05-21 Thread Scott M Stark
It works fine for me. Are you using the bundled JBoss/Tomcat distribution? - Original Message - From: "Adam Lipscombe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 6:46 AM Subject: [JBoss-user] ClassPathExtension mechanism does not seem to work... > Hi All, >

RE: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread Brian D. Brown
I thought that was the whole point of connection pooling...ie. the pool manages the connections for you, opening and closing them as needed. Am I wrong in this assumption? As far as the second bean, where I establish the connections manually, yes, it was an oversight on my part not to close the

Re: [JBoss-user] Database connection pool hangs...

2001-05-21 Thread danch (Dan Christopherson)
You're probably not closing your connections. You should wrap all JDBC code in a try ... finally where you close all resulsets, statements, and connections (in that order) -danch Phan Anh Tran wrote: > I found the problem. I ran out of connections with blocking enabled on the > pool. > > An

Re: [JBoss-user] question about minerva connections pooling

2001-05-21 Thread jtoledo
ok. I found the problem. my bean was container- manged transactions(" Container" was in my ejb-jar.xml file, now I have (" Bean" ). And all works fine. But is very curious, with weblogic. Its work fine with container- manged transactions, and when ssesion bean ends the commit was automatic (I im

Re: [JBoss-user] Strange exception getting reference to my EJB on JBoss

2001-05-21 Thread danch (Dan Christopherson)
This is usually from running a client under jdk1.2.2 and the server under 1.3 Christophe GARCIA wrote: > Hi, > > > > I have the following exception doing a lookup on my EJB in the JNDI > context : > > javax.naming.CommunicationException [Root exception is > java.io.StreamCorruptedExcepti

Re: [JBoss-user] PortableRemoteObject

2001-05-21 Thread danch (Dan Christopherson)
It's for compatability with some IIOP based containers. If you don't do that, your code will not work on (for example) Borland Application Server (that was true last time I worked with that product) -danch K S Sreeram wrote: > Hi > > What exactly is the use of this object? what is it suppose

[JBoss-user] Jboss, tomcat and ssl

2001-05-21 Thread Jonathan Holloway
I don't know whether this is relevant to this group but ehre goes anyway. I'm having problems integrating ssl into tomcat as I've got it running as an embedded service with jboss. Does anybody know whether the configuration files stored in the tomcat directory are actually processed by jboss

Re: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread danch (Dan Christopherson)
I don't see anywhere where you close the connections. I'm surprised this isn't causing problems (hanging trying to get the connections from the pool. -danch Brian D. Brown wrote: > public String getName(int ext) > { > String returnVal = null; > try > { > Connection dbCon

RE: [JBoss-user] Jbuilder 4.0 Foundation & JBoss2.2.1 HowTo Guide

2001-05-21 Thread John Menke
John, I have JBoss2.2.1 installed with Catalina 4.0 beta 1 working and would like to debug with JBuilder. If I am not using JBoss with embedded tomcat can I still use JBuilder to debug? What changes do you think I will need to make to the setup? john > -Original Message- > From: [EMAI

RE: [JBoss-user] PortableRemoteObject

2001-05-21 Thread Bennett, Peter
Take a look at http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-ejb1-2.html -- snip EJB 1.1 requires that the javax.rmi.PortableRemoteObject.narrow() method be used to explicitly cast the home's remote reference to its appropriate type. The use of PortableRemoteObject is required to suppor

[JBoss-user] can't find message in archive

2001-05-21 Thread Alex Radka
I'm pretty sure I someone posted this earlier, but I can't find the message, and therefore the response. JBoss-2.2.1, Tomcat-3.2.1, MySql, Win2000. I'm using Basic Authentication, using a DB table, configured with JDBCRealm & JbossRealm Works fine until I redeploy the .ear file. It seems to de

[JBoss-user] problem with authentication

2001-05-21 Thread Alex Radka
Hi, I'm using JBoss-2.2.1 w/ the embedded Tomcat that comes with the release (3.2.1) on Win2000, and MySQL. I'm using Basic Authentication but to a DB instead of the prop files. My app uses frames with each frame calling a servlet which attaches to action classes which call stateless session be

[JBoss-user] PortableRemoteObject

2001-05-21 Thread K S Sreeram
Hi What exactly is the use of this object? what is it supposed to do? Direct type casting after doing a look up seems to work all the time. I've tested with JBoss and the Sun J2EE SDK. it works with both the servers.. so why is PortableRemoteObject.narrow required? KS

RE: [JBoss-user] Interesting test of JDBC pooling

2001-05-21 Thread Brian D. Brown
Be glad to. Here is the source for the session bean using connection pooling: package ejb; import java.rmi.*; import javax.ejb.*; import java.sql.*; import javax.naming.*; import javax.sql.DataSource; public class Person implements SessionBean { private SessionContext sessionContext; publi

[JBoss-user] Is it possible in jboss to implement clustering?

2001-05-21 Thread K S Sreeram
I would like to know if its possible to implement clustering of jboss machines to support redundancy and load balancing?.. KS ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] JBOSS 2.2.1 BUG !!!

2001-05-21 Thread Victor Langelo
Artur, What you're doing is prohibited by the spec. SimpleBeanHome.findByPrimaryKey must return SimpleBean not Base. Same goes for create method. Sound more like the J2EE RI has a bug. But then it wouldn't be the first :) --Victor Artur Jonak wrote: > Hi, > > There is a bug in JBOSS 2.2.1 >

Re: [JBoss-user] Hardware Sizing

2001-05-21 Thread Thomas Cong
Toby, We developed a web-based custom management system, where for each user session, there are 2 session beans and 2 or more entity beans. The max number of users is around 100,000, but we do not expect higher load than 1000-2000 concurrent sessions. The client wants to see the relation between

[JBoss-user] A problem with the list archive ??

2001-05-21 Thread Hermann RANGAMANA
Hi all, I always get the following error while performing search at the list archive : "htsearch detected an error. Please report this to the returned matches webmaster of this site. The error message is: Unable to read configuration file '/bigassraid/htdig//conf/10767.conf' What is the problem?

Re: [JBoss-user] Address in use

2001-05-21 Thread d cutter
thanks, found the culprit, turned it off, and got a *very* simple stateless session bean to deploy and even tested it :) >From: Sebastien Alborini <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: [JBoss-user] Address in use >Date: Sun, 20 May 2001 12:19:30 +

[JBoss-user] ClassPathExtension mechanism does not seem to work...

2001-05-21 Thread Adam Lipscombe
Hi All, Does anyone know how the "org.jboss.util.ClassPathExtension" mechanism works in jboss.conf? I added my libs there, and the server log reports that they have been loaded. However I get a ClassNotFoundException at runtime. The only way I can get JBoss/Tomcat to "see" the extra libs is to

RE: [JBoss-user] question about minerva connections pooling

2001-05-21 Thread HENRY, Bertrand
You should have a look on J2EE Developper's guide, chapters 3, 4 et 5 > -Message d'origine- > De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Date: lundi 21 mai 2001 14:22 > À:[EMAIL PROTECTED] > Objet:[JBoss-user] question about minerva connections pooling > > Dear jboss

[JBoss-user] Message Driven Beans test problem

2001-05-21 Thread Darius Davidavicius
Hi all, advice needed. I testing how the Mesage driven beans working and have the probems while deploying it. I have created test message driven bean according http://www.jboss.org/documentation/HTML/ch07s03.html description. When i deploying bean i getting exception: [Container factory] D

[JBoss-user] JBOSSMQ: Regarding Creation of Topics Dinamically on the Server.

2001-05-21 Thread Rameshbabu V. Pasupuleti
Hi all, I have downloaded the JBOSS 2.2.1 Application Server. I am trying to create Topics on the JMS server dynamically using the session.createTopic() method. When i tried to do so, i got the following exception. javax.jms.JMSException: Cannot get the topic from the provider at org.jb

  1   2   >