[JBoss-user] Security question on Webapps

2001-09-26 Thread Gerry Duhig
Hi!   I have configured a webapp to be deployed by the embedded Tomcat and use the JBoss security system to protect it. It works but there is a flaw I overlooked.   The webapp is a login servlet and a number of html and jsp pages.   I designed it so that JBoss protects all the pages and the

[JBoss-user] Performance...

2001-09-26 Thread Jarecsni János
Hi, we developed an antiquarian bookstore using Sun's RI (and taking the Petstore as the basis for the architecture of our system - more or less successfully :-) Albeit I kept on telling my boss not to go into production with Sun RI, we did last week. Ads appeared, and so on. And to turn to the s

RE: [JBoss-user] JSP compilation error (JBoss+Tomcat)

2001-09-26 Thread Weir, John
Each classloader has its own space, so I guess there is a loader problem. Ive had similar problems using the URL Class loader. Basically need to ensure that all the classes are available in each class loader HTH J -Original Message- From: Adison [mailto:[EMAIL PROTECTED]] Sent: 26 Septe

Re: [JBoss-user] Endless loop in Transaction Interceptor

2001-09-26 Thread Ole Husgaard
Hi, No, the TxInterceptorCMT.invokeNext in line 133 is purely local, as all interceptor chain stuff. It simply calls the next interceptor in the chain. In this interceptor chain configuration that is the EntityInstanceInterceptor. But from within your bean code, you do a remote call to yourself.

Re: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread Edson Carlos Ericksson Richter
If you want all last names from all records, you should think about what records I'm working on, not what fields I want to, lets say, display. So, a findAll() will get all records. After, you can get each remote interface from the list, and do your "getLastName()" for each. Thats so simple, no n

Re: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread David Jencks
EJBs are kind of a hard way to learn java ;-)... I like Richard Monson-Haefels EJB book ok although its getting kind of old. I prefer to do all db access from some kind of ejb for architectural layering reasons, so your presentation (jsp) and flow control (probably a servlet) don't get mixed up w

RE: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread Graham . Forte
Thats exactly what I want to do (just a query) I guess I dont have a good understanding of EJBs yet(or Java in general) this is not a good induction into java programing!! So I need to execute a query in a JSP or Jbean to fill my box?! THANKS! -Original Message- From: David Jencks [mailt

Re: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread Fred Loney
Query should be LNAME IS NOT NULL since SQL != C. Result collection holds EBs. A simple non-EB query is often easier to do with a non-EJB JDBC query. Fred Loney Spirited Software, Inc. www.spiritedsw.com - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wedne

Re: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread David Jencks
u if you only want the last name ... you need an entity bean with only the last name in it?? You will have big problems if 2 people have the last name, usually last name is not a very good candidate key. I think maybe what you want to do here is not get a collection of entity beans, but to ju

Re: [JBoss-user] Error connected to InstanceDB

2001-09-26 Thread SHANDRILA PRASAD
Hi Kenneth Thanks for your response. I was browsing the net to get the list of open DB. I found in http://openuss.sourceforge.net/openuss/links.html an article with this information. Java database open source InstantDB 100% Java database and of course open source! (Relational). storedObjects: ope

RE: [JBoss-user] Custom finders in Jaws

2001-09-26 Thread Herve Tchepannou
Title: RE: [JBoss-user] Custom finders in Jaws You cant do that with finders. You can't use a finder to return only one field. A finder returns you either 1 entity bean or a collection of entity beans. If u want to extract the last names, call findAll() and then traverse the returned collecti

[JBoss-user] Custom finders in Jaws

2001-09-26 Thread Graham . Forte
Howdy, How can I declare a findByLName() in jaws, I tried this.Like the docs chpt 6 ClassBean ... findByLName LNAME!=null //What I want is for the collection to contain all lastNames from all records(I guess I need a wildcard here so It will return all) //Similar to a findAll() except retu

[JBoss-user] HOW??

2001-09-26 Thread Frank Marx
Hi, how can I unsubscribe to this list. I tried two times no "unsubscribe" as a subject of a mail but it didn't work at all :-(. Frank ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Error connected to InstanceDB

2001-09-26 Thread Kenneth Bowen
Shandrila V.Janardhan writes: > Then we wanted to use an opensource Database. In this process I downloaded > InstanceDB from Lutris site. InstantDB is not open source. > [Configuration] java.lang.NoClassDefFoundError: > javax/transaction/xa/XAException Maybe you need to download the Java T

RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Herve Tchepannou
Title: RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0 the 1st apache release of the xml framework was xerces.jar -Original Message- From: Philip Van Bogaert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 1:03 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Tomcat 4.0 &

[JBoss-user] Error connected to InstanceDB

2001-09-26 Thread Shandrila V.Janardhan
Hi I have been using JBoss to deploy an application in J2EE with Oracle as backend. The application established connections to InstanceDB and Oracle. Every thing was working fine. Then we wanted to use an opensource Database. In this process I downloaded InstanceDB from Lutris site. I created t

Re: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Philip Van Bogaert
You could reverse the question, Why use xerces when you got jaxp and crimson? Tbone - Original Message - From: "Nicolai P Guba" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 6:01 PM Subject: Re: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0 Herve Tchepannou <[E

Re: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Nicolai P Guba
Herve Tchepannou <[EMAIL PROTECTED]> writes: > actually, Im comfuse with crimson? what the purpose of that jar > when xerces does  the job? It's a choice of XML parser implementation. JAXP is a generic interface whereas crimson is the driver implementation. Xerces does both in one go. The on

RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Saint-Martin Cecile
We use Xerces classes for parsing but the release of Tomcat uses crimson.jar and jaxp.jar. I don't know why they don't use xerces.jar. You should ask this to jakarta team that developped it. SAINT-MARTIN Cecile [EMAIL PROTECTED] actually, Im comfuse with crimson? what the purpose of that jar whe

RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Sacha Labourey
Please Nicolai... make an effort... deadline is approaching quickly > my 0.02 DM.- your 0.02 ? ;))) ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Herve Tchepannou
Title: RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0 actually, Im comfuse with crimson? what the purpose of that jar when xerces does  the job? -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 10:23 AM To: [EMAIL PROTECTED] Subject: R

Re: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Nicolai P Guba
"Saint-Martin Cecile" <[EMAIL PROTECTED]> writes: > Sorry, I have found what is the problem. JBoss was using Apache > Xerces for parser and tomcat was using Jaxp. I delete jaxp.jar and > crimson.jar directory and it's OK. Hmmm, I wonder why bother with crimson.jar and jaxp.jar when xerces got

RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Saint-Martin Cecile
Sorry, I have found what is the problem. JBoss was using Apache Xerces for parser and tomcat was using Jaxp. I delete jaxp.jar and crimson.jar directory and it's OK. SAINT-MARTIN Cecile [EMAIL PROTECTED] > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la par

RE: [JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Sacha Labourey
Does your class has a *constructor* with no arguments? (not a *create* method with no argument) > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de > Saint-Martin Cecile > Envoyé : mercredi, 26 septembre 2001 15:33 > À : [EMAIL PROTECTED] > Objet : [JB

[JBoss-user] Tomcat 4.0 & JBoss 2.4.0

2001-09-26 Thread Saint-Martin Cecile
Hi, I have a problem when trying to migrate from tomcat 3.3 to tomcat 4.0 with JBoss 2.4.0. A servlet call a session stateless EJB, the lookup is OK, but when I invoke the create method on the home object, I have this exception : java.lang.reflect.UndeclaredThrowableException: java.io.InvalidCla

[JBoss-user] Endless loop in Transaction Interceptor

2001-09-26 Thread Lutz Hilken
Hi, when calling a Bean (CMP) and passing a reference to itself, a call to a property getter results in an endless loop in the transaction interceptor. See the following: Client calls: bean.changeMyOrt (bean); Beans method is: public void changeMyOrt (MyBean l) throws RemoteException

Re: [JBoss-user] Any available performance benchmarks embedded vs. standalone Tomc at ?

2001-09-26 Thread Frank Froese
Not a benchmark, but some experiences: we once have had serious trouble running our application on an embedded stack under load. Sorry, we don't know exactly what happens. It was just that the whole VM crashed after a while when it got under pressure. Since we run Tomcat and JBoss in separate VMs

RE: [JBoss-user] SMTP with authentification

2001-09-26 Thread Douglas Liu
Title: Thanks for your information. :D   regards. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dragos HaiducSent: Tuesday, September 25, 2001 8:58 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] SMTP with authentification

Re: [JBoss-user] (no subject)

2001-09-26 Thread Nicolai P Guba
Herve Tchepannou <[EMAIL PROTECTED]> writes: > - For devellopement purpose, Im using HypersonicSQL > - For production, PostgreSQL is a good choice I second that opinion. PostgreSQL natively supports transactions and has a very elegant locking mechanism. Make sure you compile the JDBC driver yo

Re: [JBoss-user] JBoss and MySql Problems

2001-09-26 Thread Nicolai P Guba
"Daniel Ferrante" <[EMAIL PROTECTED]> writes: > Thanks Nicolai - I've strongly debated dropping the Entity Bean > stuff entirely. I believe I've found a work around to buy me some > time by setting GCEnabled to true and GCMxIdleTime to 1. It > cleans all the loose connections up. This defi

Re: [JBoss-user] Error running jboss on Solaris.

2001-09-26 Thread John LYC
Ok.. i'll try it out and report it if it works.. thanks guys john - Original Message - From: "Tobias Frech" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 2:30 PM Subject: Re: [JBoss-user] Error running jboss on Solaris. > It could be that your shell does

Re: [JBoss-user] Error running jboss on Solaris.

2001-09-26 Thread John LYC
thanks =) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 9:19 PM Subject: RE: [JBoss-user] Error running jboss on Solaris. > I had the same problem I still have the thread on paper. > Dan Bratton writes: > edit your 'run_with_tomc