RE: [JBoss-user] CMP2.0 and auto increment PK

2002-04-03 Thread Andrew
Is JBoss using jdbc3.0 key-gen features of jdk14? Thanks. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] CMP in EJB2.0 with Postgres

2002-04-03 Thread Allan Kamau
Thanks so much McAuley, this seems like it will solve my issues. Allan. --- "McAuley, Tim" <[EMAIL PROTECTED]> wrote: > No problem. > > The following is for JBoss beta (not beta 2, current > CVS version) > > Notice the classpath setup. > > Place this file in $JBOSS_HOME\deploy. > Add jdbc7.1

RE: [JBoss-user] CMP in EJB2.0 with Postgres

2002-04-03 Thread Allan Kamau
Marius, Thanks.One last question, how will my jboss.xml look like. And what name will I use to refer to the datasource. Allan. --- Marius Kotsbak <[EMAIL PROTECTED]> wrote: > jboss-service.xml: (maybe you could call it > postgres-service.xml also) > > > > > > > > > >code="org.jbos

Re: [JBoss-user] Jboss3.0.0beta re-deployment problem

2002-04-03 Thread Achilleus Mantzios
Yes David, as soon as possible i will try the CVS version, but currently we are in trouble with our new big box that is about to run Jboss on it, so it may take 1-2 weeks or so. Thanx for your reply. -- Achilleus Mantzios S/W Engineer IT dept Dynacom Tankers Mngmt tel:+30-10-8981112 fax:

RE: [JBoss-user] Transaction control in JBOSS 2.4.4

2002-04-03 Thread Alex Loubyansky
I guess, you forgot to add Required in container-transaction. Do "the piece of code" belongs to a method that marked as Required too? alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Christine > Sent: Thursday, April 04, 2002 4:48 AM > To:

RE: [JBoss-user] CMP2.0 and auto increment PK

2002-04-03 Thread Alex Loubyansky
AutoNumber classes are in the org.jboss.autonumber package. But there is no JBossUtilAutoNumber bean. As I guess, the AutoNumberFactory should be used for autonumber generation. The counter service, as it flows out from the source, is "A service offering accumulator style counters to help in dia

RE: [JBoss-user] accessing EJBs from ASP

2002-04-03 Thread Paul McLachlan
Dan Adler also has a thing called an RMI moniker and to quote from his home page http://users.rcn.com/danadler/javacom/index.html "Enterprise Java Beans It's also trivial to modify the RmiMoniker to act as an EJB Moniker that binds to the javax.ejb.EJBHome interface by using a JNDI lookup instea

Re: [JBoss-user] Jboss3.0.0beta re-deployment problem.

2002-04-03 Thread David Jencks
There were some deployment problems with jboss3 beta that may have been fixed. I haven't seen this exact problem before. Could you try with the cvs version and if there is still a problem help us out by creating a minimal example that demonstrates the problem? Perhaps it could go in the testsuit

Re: [JBoss-user] New/Changed JCA connection factory

2002-04-03 Thread John Moore
Trust me, I didn't miss the 3.X reference. I just don't have a sense of the production readiness of 3.0, specifically in relation to the TC4 container. We're only using the Naming, ConnectionFactory and EmbeddedTomat, everything else is gone. This is an upgrade to a production site with les

Re: [JBoss-user] Book over JSP, Servlet, RMI and EJB

2002-04-03 Thread Guy Rouillier
I like Java Server Programming, published by Wrox. Covers all the topics you mention. - Original Message - From: "jaime1" <[EMAIL PROTECTED]> To: "Jboss-User" <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 9:16 AM Subject: [JBoss-user] Book over JSP, Servlet, RMI and EJB > People

Re: [JBoss-user] New/Changed JCA connection factory

2002-04-03 Thread David Jencks
This one had html too. Maybe m$ thinks plain text means html + plain text;-) I originally assumed you wanted to do this programatically, not easily;-) Actually I recommend switching to jboss 3;-). There you can deploy xml snippets for each connection factory at any time. A long time ago I post

RE: [JBoss-user] New/Changed JCA connection factory

2002-04-03 Thread John Moore
Title: RE: [JBoss-user] New/Changed JCA connection factory David, We know how to do it using low level calls to the mbeans, I was trying to see if I can hand over the process of creating/modifying these to a technical support person who can use the HTML interface.  If I can get away from a n

Re: [JBoss-user] New/Changed JCA connection factory

2002-04-03 Thread David Jencks
please lose the html. Its pretty easy to instruct the jmx server to start and configure a ConnectionFactoryLoader mbean in code. There's a 3.0 testcase that does this (in jmx somewhere). I think the "save" button saves to jboss-auto.jcml in 2.4.x, which is fortunately ignored (it created endle

[JBoss-user] Transaction control in JBOSS 2.4.4

2002-04-03 Thread Christine
Hi, everyone, I realized that my previous questions regarding bug in JBoss2.4.4 maybe too long to read. After today's work, I got some smaller test case, which may be easy to describ. could anyone do take a look and help me to understand the transaction control in JBOSS 2.4.4 a little bit more? i

RE: [JBoss-user] Jboss server can't be stopped

2002-04-03 Thread Alex Loubyansky
Hello!   Have you tried to modify that method and pass theManager.getUniqueID() instead of the remote interface as the parameter to setManager()?   alex     -Original Message-From: Christine [mailto:[EMAIL PROTECTED]]Sent: Monday, April 01, 2002 9:33 PMTo: [EMAIL PROTECTED]Cc: JBoss

Re: [JBoss-user] One bean, many datasources

2002-04-03 Thread David Jencks
I suggest you use an idea Dain suggested to me, write a customized jca-jdbc wrapper that maps Subject to db url. (He suggested mapping subject to schema/catalog, however the same idea ought to work here.) If you want to combine result sets from several distinct databases I suggest you use a db tha

RE: [JBoss-user] MySQL service

2002-04-03 Thread Eric Jain
> You might need to put the classpath element referring to > jbosscx.jar/sar/whatever back in so the classes are sure to be available > for the mbean. I'm trying to find a different solution for this. Thanks; certainly a better solution than renaming to a-mysql-service.sar, which also solved the

[JBoss-user] JBoss 3.0 SSL Newbie Question

2002-04-03 Thread Stephen Davidson
Greetings. Ok, I have checked the JBoss Book (jboss.cml is the file to modify, not used in 3.0) Searched the web. Checked the jboss.org site. Searched the docs. I have been unable to find out how to configure SSL for JBoss 3.0 WebServer (Jetty)? I am trying to configure for Browsers to connect

[JBoss-user] One bean, many datasources

2002-04-03 Thread Simpson, Mike W
Will JBoss3 allow me to specify multiple datasources for a single CMP bean?  My app supports an asp model where I have physically separate databases, each with identical schema, and users are bound to one database at logon.  It seems like a waste of resources to uniquely name instances of ev

Re: [JBoss-user] MySQL service

2002-04-03 Thread David Jencks
You might need to put the classpath element referring to jbosscx.jar/sar/whatever back in so the classes are sure to be available for the mbean. I'm trying to find a different solution for this. david jencks On 2002.03.27 09:36:29 -0500 Eric Jain wrote: > Sometimes my mysql-service.sar doesn't

[JBoss-user] RE: Jboss3.x beta docs... where are they? (never mind, I found em)

2002-04-03 Thread Todd Marshall
> -Original Message- > From: Todd Marshall [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 7:11 PM > To: Jboss-User > Subject: Jboss3.x beta docs... where are they? > > > hey all- >been looking up and down the net for decent > installation/configuration docs for JB3.x b

RE: [JBoss-user] DB2 Pool don't reuse open connections

2002-04-03 Thread Herve Tchepannou
Title: RE: [JBoss-user] DB2 Pool don't reuse open connections Make sure that you ALWAS close your connection in the 'finally' clause!!! Ex: void foo() {     Connection cnn = null;     try     {         // USE THE CONNECTION HERE         DataSouce ds = ( DataSource

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread David Ward
Dain Sundstrom wrote: > ... > I'll see what I can do. I have the feeling that you don't have much > experience with databases (I could be wrong here), because of the > foreign-key comment. In a one-to-many relationship only one side will > have a foreign key. For example in the parent-child

[JBoss-user] Catalina Context Path setting

2002-04-03 Thread Lex
I understand that 2.4.4 + Catalina doesn't support parsing the server.xml file. I am trying to setup a Context path that would normally be in the server.xml. From what I have read I am thinking I should be able to do this in the jboss.jcml. I took a shot at getting it to work (cuz I don't see

Re: [JBoss-user] DB2 Pool don't reuse open connections

2002-04-03 Thread Dan Christopherson
Are you calling 'close' on your Statement and Connection objects after use? This should be done in a 'finally' clause to ensure that it will happen regardless of any errors. Note that this doesn't actually close the connection; it just notifies the pool that you're through with it. -danch Mar

Re: [JBoss-user] Problem with CMP2.0 example

2002-04-03 Thread Dain Sundstrom
There is a bug in that ejb-ql spec. I found several bugs, but I don't have an update yet. Just take a close look at the ejbql and it should be apparent what the bug is. -dain Paul McLachlan wrote: > I made the change involving read-ahead and load-groups tags > > but I still get the followi

[JBoss-user] Catalina Context Path setting

2002-04-03 Thread Lex
I understand that 2.4.4 + Catalina doesn't support parsing the server.xml file. I am trying to setup a Context path that would normally be in the server.xml. From what I have read I am thinking I should be able to do this in the jboss.jcml. I took a shot at getting it to work (cuz I don't see

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Andrew Scherpbier
Dain Sundstrom wrote: > > Uh, no. This sounds like a hack. You should be able to have a > one-to-many self-relationship. For example in a person bean you should > be able to have, literally, a parent-child relationship with the > following abstract accessors. > >public abstract Person ge

Re: [JBoss-user] Can't fine ejbPostCreate?

2002-04-03 Thread Dain Sundstrom
Does the post create exactly match the ejbCreate? Double check. Triple check. This works for everyone else. -dain Hunter Hillegas wrote: > I just updated my CVS tree and tried to deploy some EBJs. > > I got this message: > > java.lang.NoSuchMethodException: Can't find ejb[Post]Create in >

Re: [JBoss-user] Help with EJBQL and CMP Collection fields

2002-04-03 Thread Dain Sundstrom
You can't do this. Entity beans are mapped to a database and databases don't really have an understand of java types. If you want to, do this type of query you will have to create a color entity and a one-to-many relationship between person and color. -dain Leon Doud wrote: > Looks like I'

RE: [JBoss-user] DB2 Pool don't reuse open connections

2002-04-03 Thread Lucas McGregor
Are you releasing the connection the pool when you are done? // LOOK UP THE DATA SOURCE InitialContext initCtx = new InitialContext(); DataSource ds = (DataSource)initCtx.lookup(getJndiName()); // GET A CONNECTION FROM THE DATASOURCE // THUS GET A CONNECTION FROM THE POOL Connection con = ds.get

Re: [JBoss-user] CMP2.0 and auto increment PK

2002-04-03 Thread Dain Sundstrom
It is still there, but it was moved to varia or something like that. I don't really follow this util, so I can't give much help beyond that. -dain Ricardo Trindade wrote: > Hi, > > I'm trying to configure auto-increment PK with jboss 3.0. > > I was trying to use the JBossUtilAut

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Dain Sundstrom
David Ward wrote: > Dain, > > First, thanks for the continued help on this topic; I appreciate it very > much. > > Second, can you show me a mock up of how you think the ejb-jar.xml and > jbosscmp-jdbc.xml should look to handle this in a single relationship? I > tried for hours and couldn't

RE: [JBoss-user] remove-table, mysql and jboss 3.0beta

2002-04-03 Thread Ricardo Trindade
I'm using mysql 3.23 -Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 3 de Abril de 2002 18:55 To: Ricardo Trindade Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] remove-table, mysql and jboss 3.0beta Are you on Oracle? If so, table names must be

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Dain Sundstrom
> (Please let me know if I'm speaking out my ass (again...)) > I seem to recall someone mentioning that hypersql allows two columns in > a table to have the same name. This is not normally allowed in SQL > databases, right? > If your test case only tests against hypersql, then it will probably

RE: [JBoss-user] remove-table, mysql and jboss 3.0beta

2002-04-03 Thread Alex Loubyansky
Yes. For me, under windows2000, it doesn't work too. alex > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Ricardo Trindade > Sent: Wednesday, April 03, 2002 7:12 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] remove-table, mysql and jboss

Re: [JBoss-user] remove-table, mysql and jboss 3.0beta

2002-04-03 Thread Dain Sundstrom
Are you on Oracle? If so, table names must be specified in all caps. The driver is case sensitive, but the database is not. -dain Ricardo Trindade wrote: > Hi, > > In my jboss 3.0beta, the true doesn't work. > Everything else I specify in jbosscmp-jdbc.xml appears to work, including >

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread David Ward
Dain, First, thanks for the continued help on this topic; I appreciate it very much. Second, can you show me a mock up of how you think the ejb-jar.xml and jbosscmp-jdbc.xml should look to handle this in a single relationship? I tried for hours and couldn't get it to work in a single bidirect

[JBoss-user] DB2 Pool don't reuse open connections

2002-04-03 Thread Martin Cabrera
Hi; I have a DB2 pool defined in my jboss.jcml file. Every time I use the pool from my ejbs jboss opens a new connection and don´t reuse the actual connections. When jboss reachs the max size of the pool it hangs. Any ideas? I append the pool definition at the end of this mail. Thanks in advan

[JBoss-user] CMP2.0 and auto increment PK

2002-04-03 Thread Ricardo Trindade
Hi, I'm trying to configure auto-increment PK with jboss 3.0. I was trying to use the JBossUtilAutoNumber bean, as sugested in a post, but get an Exception saying that jboss can't find it. Does it still exist in 3.0 ? I also noticed a CounterService MBean. Can i

Re: [JBoss-user] remove-table, mysql and jboss 3.0beta

2002-04-03 Thread David Ward
remove-table *used* to work for me from jboss3beta pulled from cvs a few weeks ago (against hypersonic db), but then I updated my cvs copy last week and it doesn't work for me anymore. David -- Ricardo Trindade wrote: > Hi, > > In my jboss 3.0beta, the true doesn't work. > Everything e

RE: [JBoss-user] CMP in EJB2.0 with Postgres

2002-04-03 Thread Marius Kotsbak
jboss-service.xml: (maybe you could call it postgres-service.xml also) ConnectionURL=jdbc:postgresql://localhost/connect UserName=user Password=pw DriverClass=org.postgresql.Driver connect/ConnectDS java:/TransactionManager jboss

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread David Ward
Dain, I think we're miscommunicating. What you suggested in your Person example is exactly what I was suggesting, with one (I think typo) difference: I think when you typed this: public abstract Person getParent(); public abstract void setParent(Parent parent); You meant to type thi

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Dain Sundstrom
David Ward wrote: > Dain, > > I think we're miscommunicating. What you suggested in your Person > example is exactly what I was suggesting, with one (I think typo) > difference: > > I think when you typed this: > public abstract Person getParent(); > public abstract void setParent(Pa

[JBoss-user] remove-table, mysql and jboss 3.0beta

2002-04-03 Thread Ricardo Trindade
Hi, In my jboss 3.0beta, the true doesn't work. Everything else I specify in jbosscmp-jdbc.xml appears to work, including Is this happening to anyone else ? thanks Ricado ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.s

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Dain Sundstrom
David Ward wrote: > 1) Note to Peter - you can't have a message bean involved in a cmr > relationship (only entities can participate in cmr's), so I'm a bit > confused by your first statement. I think he has an entity named Message. > 2) I started this thread, and though I think I found th

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Dain Sundstrom
Peter Shillan wrote: > Putting in a here may make the relationship OK but if I do > this, I have no way of creating a Message bean as it requires a Message > bean to be there as it's parent. I'm not sure what you are trying to do here, but it sounds like you want a not null foreign-key or

Re: [JBoss-user] Book over JSP, Servlet, RMI and EJB

2002-04-03 Thread David Ward
As much as I think books on the topic *can* be useful, I usually find them to go too much into painstakingly redundant examples (who needs a 400 page book on JSP's?!). I personally suggest you download and carefully read the specs from java.sun.com. They include everthying you can depend on f

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Peter Shillan
On Wed, 03 Apr 2002 09:12:40 -0500 "David Ward" <[EMAIL PROTECTED]> wrote: > 1) Note to Peter - you can't have a message bean involved in a cmr > relationship (only entities can participate in cmr's), so I'm a bit > confused by your first statement. I call it a message bean because my entity b

[JBoss-user] RE: accessing EJBs from ASP

2002-04-03 Thread Craig Johannsen
Instructions to create the J2eeRiServices for Sun J2EE CAS COM-bridge may be found at: http://laurent.etiemble.free.fr/combridge/index.html There is a binary as well that one can download: http://laurent.etiemble.free.fr/combridge/combridge_30.html This includes the source files. Haven't tried it

[JBoss-user] Book over JSP, Servlet, RMI and EJB

2002-04-03 Thread jaime1
People i need to buy book over JSP, Servlet, RMI and EJB, anybody could recommend some book for i start to study about J2EE regards Jaime ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread David Ward
1) Note to Peter - you can't have a message bean involved in a cmr relationship (only entities can participate in cmr's), so I'm a bit confused by your first statement. 2) I started this thread, and though I think I found the right way to do it a while ago, I've negleted to share what I've l

[JBoss-user] Is it a bug in JBoss-2.4.4?

2002-04-03 Thread Christine
Hi, Every JBoss User I have a piece of code which works in both WebSphere4.0 and WebLogic6.1, although it is awkward. Now I am trying to port it to JBoss-2.4.4_Tomcat-4.0.1 on Windows2000, the code works for the first time I executed it after I restart the server. If I tried to execute the code o

RE: [JBoss-user] JBuilder and JBoss 3.0 Beta

2002-04-03 Thread Georg Schmid
It is in jmx-rmi-connector-client.jar in $JBOSS_HOME/client. HTH. Georg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul McLachlan Sent: Wednesday, April 03, 2002 03:17 To: Chris Perren; jboss-user Subject: RE: [JBoss-user] JBuilder and JBoss 3.0

[JBoss-user] ÊÖ»ú×îµÍ¼Û£¬·þÎñË͵½¼Ò¡£

2002-04-03 Thread friend
ÄúºÃ£º ÎÒ·¢ÏÖÁËÒ»¸öÂôÊÖ»úµÄÍøÕ¾£¬¼Û¸ñ¾ªÈ˵ıãÒË£¬ºóÀ´Á˽⵽´ËÍøÕ¾ÊǹúÄÚÒ»¼Ò±È½Ï´óµÄÊÖ»úÅú·¢É̽¨ÉèµÄÍøÕ¾£¬ºÜ¶àÍøÓÑͨ¹ý´ËÍøÕ¾Âòµ½Á˳ÆÐÄÈçÒâµÄÊÖ»ú£¬È«²¿ÊÖ»ú¶¼ÊÇÕýÆ·Ðлõ£¬ÊÛºó·þÎñºÜºÃ¡£ÍøÕ¾ÄÚÈÝÒ²ºÜ·á¸»£¬¼¸ºõ°üÀ¨ÁËÊÖ»úµÄ·½·½ÃæÃ棬¶ÔÄú¿Ï¶¨ÓаïÖú£¬ÌرðÍÆ¼ö¸øÄã¡£ÍøÖ·Îª£º http://www.139shop.com/asp/me

RE: [JBoss-user] CMP in EJB2.0 with Postgres

2002-04-03 Thread Allan Kamau
McAuley, Kindly send me the postgresql-service.xml for jboss-3.0.0beta together with details of where to place this file and the postgres-jdbc.jar file and finally an extract of the jboss.xml file. Thanks, Allan Kamau. --- Marius Kotsbak <[EMAIL PROTECTED]> wrote: > I have used the same file sin

[JBoss-user] New/Changed JCA connection factory

2002-04-03 Thread John Moore
Title: New/Changed JCA connection factory Is it possible to change properties related to a JCA connection factory and have them take effect without restarting jboss? I am using JBoss 2.4.4 with Embedded Tomcat 3.2.3 and would like to be able to modify connections to databases using the JMX in

RE: [JBoss-user] JBuilder and JBoss 3.0 Beta

2002-04-03 Thread Paul McLachlan
I'm no help but I'm having the same problem -Original Message-From: Chris Perren [mailto:[EMAIL PROTECTED]]Sent: Friday, 29 March 2002 7:40 PMTo: jboss-userSubject: [JBoss-user] JBuilder and JBoss 3.0 Beta I am trying to run JBoss 3.0 Beta through Jbuilder but unfortuna

[JBoss-user] Jboss3.x beta docs... where are they?

2002-04-03 Thread Todd Marshall
hey all- been looking up and down the net for decent installation/configuration docs for JB3.x beta... cant' find any... where do they live? -T -- Todd C. Marshall Technical Consultant 214-395-4502 ___ JBoss-user mailing list [

Re: [JBoss-user] Re: parent/child cmp2 relationship - please help!

2002-04-03 Thread Peter Shillan
Hi there, Putting in a here may make the relationship OK but if I do this, I have no way of creating a Message bean as it requires a Message bean to be there as it's parent. So this leads me to the question again: is it possible to have an Entity Bean that can be in a relationship with its o