Re[2]: [JBoss-user] somewhat off topic - compressing database fields into classes

2003-03-06 Thread costin
Thank a lot! I`ll look into it. NT | From: costin [mailto:[EMAIL PROTECTED] NT | Subject: [JBoss-user] somewhat off topic - compressing database fields NT | into classes NT | NT | For ease, I was wondering if it wouldn`t be easier to make a class NT | (a.k.a JavaBean) to easily transport the

[JBoss-user] narrowing results in finders

2003-03-06 Thread Ionel Gardais
Hi, Is it possible to automatically narrow the results of a finder ? i.e : finder findByName(String name) on PersonBean is likely to return a single result each time so the signature can be com.test.interface.PersonneLocal findByName(java.lang.String name) But in the case it returns more than

Re: [JBoss-user] Re: update on automatic login

2003-03-06 Thread Simone Milani
I think what Tomcat does after a post to j_security_check is look inside the user session (private to the container - org.apache.catalina.Session) for an attribute containing the original page that the user was trying to access. If it cannot find it throws an error 400. What you can do is have a

RE: [JBoss-user] Can't deploy *-ds.xml file on JBoss 3.2.0 RC3

2003-03-06 Thread Egger Lothar
hi Craig just search for messagearchive for ConnectionManager on 3.2.0RC2 MySQL connector on 3.2.0RC2 that should explain some things. I had to change the folloing in my db-service.xml ** !-- attribute name=TransactionManagerjava:/TransactionManager/attribute -- depends

Re: [JBoss-user] narrowing results in finders

2003-03-06 Thread Alex Loubyansky
Thursday, March 06, 2003, 12:20:54 PM, Ionel Gardais wrote: IG Hi, IG Is it possible to automatically narrow the results of a finder ? IG i.e : finder findByName(String name) on PersonBean is likely to return a single result each time so the signature can be com.test.interface.PersonneLocal

Re: [JBoss-user] HiLo key generator

2003-03-06 Thread Jonathan . O'Connor
Pardon my ignorance, but what is a HiLo key generator? Many years ago, we used an incrementing number, but reversed the bits, so that the keys were well distributed. Is this the same thing? Should I have patented the idea :-) ? Too late I suppose! Ciao, Jonathan O'Connor Development Manager

Re: [JBoss-user] HiLo key generator

2003-03-06 Thread Simone Milani
This paper should give you the answer http://www.ambysoft.com/persistenceLayer.pdf Simone - Original Message - From: Jonathan.O'[EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 06, 2003 12:45 PM Subject: Re: [JBoss-user] HiLo key generator Pardon my ignorance, but what is

Re: [JBoss-user] HiLo key generator

2003-03-06 Thread Andreas Mecky
Hi Jonathan, I am sure that Bill Gates already tried to get the patent for this. Off topic: What about using the java.rmi.server.UID? It generates a unique-ID as string. We have used this in several projects and it worked well for us. But I know that developers loves their PKs as long or

Re: [JBoss-user] Re: update on automatic login

2003-03-06 Thread Ken Yee
Neal Sanche [EMAIL PROTECTED] writes: Well, I've not actually tried using a servlet to do a POST to the login page. In my old company, an applet was doing the POST, and the I've done posts from applets to upload files before too...just didn't think this would work for automatic login because

Re: [JBoss-user] narrowing results in finders

2003-03-06 Thread Dan Christopherson
Personally, I'd keep this particular signature as a collection - you can have valid data that might break the single-return interface. Of course, you might be dealing with such a small 'universe' of entities that you consider this unlikely, but such assumptions make me _very_ nervous. Perhaps

Re: [JBoss-user] Stateful Session Bean Cache (JBOSS3.2RC2)

2003-03-06 Thread Lennart Petersson
Either override in your ejb-jar's jboss.xml (think that is possible) or have a new configuration in standardjboss.xml with other min/max-values and reference that one in your jboss.xml (that works anyway). /L torsdagen den 6 mars 2003 kl 17.17 skrev Corbin, James: Hello, Is there a place to

Re: [JBoss-user] narrowing results in finders

2003-03-06 Thread Lennart Petersson
You will have a FinderException if the sql-query gets more than one hit and you defined the finder as a single-finder. /L torsdagen den 6 mars 2003 kl 17.30 skrev Dan Christopherson: Personally, I'd keep this particular signature as a collection - you can have valid data that might break the

[JBoss-user] Velocity, Servlets, and Local EJBs

2003-03-06 Thread MNewcomb
I want to use Velocity. I would like my Servlet to simply place my Local EJBs inside of the Velocity template's context and then the template call methods on the EJB. That's the simplest way, but I know that each call to getXXX() would most likely require a new transaction. So, is it better to

Re: [JBoss-user] Velocity, Servlets, and Local EJBs

2003-03-06 Thread Dain Sundstrom
TransactionServletFilter: on entry start a transaction and on exit commit it. -dain On Thursday, March 6, 2003, at 11:46 AM, [EMAIL PROTECTED] wrote: I want to use Velocity. I would like my Servlet to simply place my Local EJBs inside of the Velocity template's context and then the template

Re[2]: [JBoss-user] Velocity, Servlets, and Local EJBs

2003-03-06 Thread julien viet
I commited such a filter for nukes, for the same usage. In cvs /nukes/nukes/src/main/org/jboss/nukes/servlet/TransactionFilter.java In fact you have to wrap local calls in a transaction unless you don't want to iterate on cmr collections. If you have ideas on the same topic, please share them.

[JBoss-user] jBoss 4.0 Build problem

2003-03-06 Thread Sasidharan, Manoj
Hello All, I am trying to build yesterday's night snapshot of JBoss 4.0 source code and getting the following error: Thanks in advance for your help. rgds MS configure-modules: Overriding previous definition of reference to jboss.naming.classpath _default:compile-classes: [depend] Deleted

Re: [JBoss-user] Re: update on automatic login

2003-03-06 Thread Ken Yee
Simone Milani [EMAIL PROTECTED] writes: I think what Tomcat does after a post to j_security_check is look inside theser session (private to the container - org.apache.catalina.Session) for anttribute containing the original page that the user was trying to access. If it cannot find it

[JBoss-user] Hooking mysql to latest Jboss/Tomcat Distro? FAQ's?

2003-03-06 Thread Mike
Hello gang Can someone point me to the FAQ's? Im trying to find out the necessary steps to use mysql instead of hypersonic database. Basically what do I need to remove hdb and add mysql. Ive googled but find tons of howto's that are out of date. Anyway, if one of you could give me a push

[JBoss-user] CMP Entity Bean commit-option problem

2003-03-06 Thread Mike Lecza
JBoss 3.0.4/ Postgres 7.3 I have a servlet that updates a table via this bean. I hit the servlet and the row is created just fine. An external application (not using beans) remove the record from the db. I then hit the servlet again - this time when the code does the create() method I get

Re: [JBoss-user] Problem with XAConnectionFactory in JBoss 3.2.0 RC2

2003-03-06 Thread David Stoleson
I am having the exact same problem, except: JBoss 3.2.0RC3 RedHat 7.3 Java 1.4.1 Anyone know anything about this? -dave On Wednesday, February 19, 2003, at 06:40 PM, Hunter Hillegas wrote: Just put 3.2.0RC2 up on our test server (Apple Xserve, Apple Java 1.3.1) and when deploying an MDB

Re: [JBoss-user] Hooking mysql to latest Jboss/Tomcat Distro? FAQ's?

2003-03-06 Thread Stephen Coy
Did you look here: http://prdownloads.sourceforge.net/jboss/QuickStart-30x.pdf ? Other documentation info is available at http://www.jboss.org/docs/ Steve Coy On Friday, March 7, 2003, at 06:09 AM, Mike wrote: Hello gang Can someone point me to the FAQ's? Im trying to find out the

[JBoss-user] JBoss 3.0.4 / CMP - BaseConnectionManager2 throws IllegalArgumentExceptionon reconnect

2003-03-06 Thread Mark Brodziak
Under JBoss 3.0.4 / Tomcat 4.1.12; I have a suite of CMP entity beans communicating with an Oracle 9i data source via a LocalTxConnectionManager. Occasionally, I encounter the following exception trace on the server (at which time, a finder method incorrectly reports that a given entity does

[JBoss-user] XA Datasource Oracle Problem (3.0.4)

2003-03-06 Thread Brian Wallis
I'm running a 3.0.4 system with an XA datasource configuration copied from the oracle-xa-service.xml example. My code is: InitialContext ic = new InitialContext(); DataSource ds = ic.lookup(java:/XAExtensionDS); Connection con = ds.getConnection(); ds is of type JDBCDataSource which is

Re: [JBoss-user] Hooking mysql to latest Jboss/Tomcat Distro? FAQ's?

2003-03-06 Thread Neal Sanche
On Thursday 06 March 2003 02:09 pm, Mike wrote: Can someone point me to the FAQ's? Im trying to find out the necessary steps to use mysql instead of hypersonic database. Basically what do I need to remove hdb and add mysql. Ive googled but find tons of howto's that are out of date. Anyway,

[JBoss-user] JBoss 3.0.4 / CMP - BaseConnectionManager2 throws IllegalArgumentException on reconnect

2003-03-06 Thread Mark Brodziak
(Apologies for my email client removing the original message) Under JBoss 3.0.4 / Tomcat 4.1.12; I have a suite of CMP entity beans communicating with an Oracle 9i data source via a LocalTxConnectionManager. Occasionally, I encounter the following exception trace on the server (at which time, a

RE: [JBoss-user] XA Datasource Oracle Problem (3.0.4)

2003-03-06 Thread Igor Fedorenko
-Original Message- From: Brian Wallis [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 8:53 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] XA Datasource Oracle Problem (3.0.4) I'm running a 3.0.4 system with an XA datasource configuration copied from the

[JBoss-user] AllDocs subscription updated?

2003-03-06 Thread Brian Wallis
I just downloaded the updated version of the alldocs subscription and found that it still has JbossBook_304.zip. Shouldn't it include JBossBook_305.zip? thanks, brian wallis... --- This SF.net email is sponsored by: Etnus, makers of

[JBoss-user] Re: AllDocs subscription updated

2003-03-06 Thread Brian Wallis
On Fri, 7 Mar 2003 16:17, Brian Wallis wrote: I just downloaded the updated version of the alldocs subscription and found that it still has JbossBook_304.zip. Shouldn't it include JBossBook_305.zip? My fault. Found the new ones. thanks, brian wallis...

[JBoss-user] AOP?

2003-03-06 Thread Rahul Ganjoo
Can anyone point me to a good resource on AOP...fundamentals n stuff?? TIA, Rahul. --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and

Re: [JBoss-user] XA Datasource Oracle Problem (3.0.4)

2003-03-06 Thread Brian Wallis
On Fri, 7 Mar 2003 15:49, Igor Fedorenko wrote: No, it should not. Container is supposed to take care of XA stuff and give java.sql.Connection to EJBs. I'm trying to co-ordinate a transaction between a JDBC operation to read rows from a table and a JMS topic publish that publishes the data to

Re: [JBoss-user] Different behaviour when using two JVMs?

2003-03-06 Thread Andrew Carpenter
On Fri, 2003-02-07 at 17:10, Andrew Carpenter wrote: [EMAIL PROTECTED] 7/02/03 14:03:58 Example 2 runs because of serialization isolating the changes made to the class identity due to redeployment. You either have to redeploy both or isolate the apps from each other using serialization via

AW: [JBoss-user] AOP?

2003-03-06 Thread Kristian Kohler
There is an article called JBoss Aspect Oriented Programming on the jboss web site. http://www.jboss.org/developers/projects/jboss/aop.jsp Hope that helps.. Kristian -- Orientation in Objects GmbH http://www.oio.de -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL