[JBoss-user] CMP Deployment with

2002-07-27 Thread Brian Topping
Hi, Is there any way to trigger a user script after is complete? I'm thinking this would be good for early testing purposes, I'd like to add a superuser entry to the generated users tables after they are deployed. This would be ideal for Ant to do, but Ant can't tell when the deployer is done w

Re: [JBoss-user] HELP : JBoss 3.0.x isn't loggingANYRuntimeExceptions!!

2002-07-27 Thread Craig O'Shannessy
Hi Dain, I did post a server log at some point, but it seems to have been dropped in one of the replies. Here it is again. Note that I only get this log after adding to log4j.xml (as suggested by Scott), without this addition, NOTHING is logged on the server. As you can see from the

Re: [JBoss-user] HELP : JBoss 3.0.x isn't loggingANYRuntimeExceptions!!

2002-07-27 Thread Dain Sundstrom
The EJB spec is very specific on how exceptions (Chapter 18) should be wrapped and logged. RuntimeExceptions are considered system exceptions and should be logged on the server and wrapped in an EJBException if the client is local or a RemoteException if the client is local. That said, there

Re: [JBoss-user] How to separate related ejb in diferents ears

2002-07-27 Thread Dain Sundstrom
Emerson Cargnin - SICREDI Serviços wrote: > Let's say i have two modules, one treats with accounts of banks and > other takes care of payments. But I have one ejb of accounts module with > a cmr to the other ejb of payments module. How to make this > relationship happen in two diferents ear's?

Re: [JBoss-user] Re: [Xdoclet-user] CMR and value objects

2002-07-27 Thread Dain Sundstrom
I think this is a cool idea. I have seen a similar setup in ADO.NET. They pass an xml spec to the server that tells the server how deep to load the data. The other cool part of the MS implementation is it then allowed an xml diff to be sent back to update the object, which saves on wire time

Re: [JBoss-user] Howto handle Alternate keys in EJB 2.0 CMP

2002-07-27 Thread Dain Sundstrom
What is an Alternate key? -dain Asif R. Ahmed wrote: > All: > > Has anybody an Idea how to handle the Alternate keys elegantly as the > Primary Keys are handles in ejb2.0. > > What is an elegant solution to handle alternate keys in ejb2.0 using > cmp. When I set a CMP field which represent

Re: [JBoss-user] Deleting all records

2002-07-27 Thread Dain Sundstrom
I don't think you can change the commit option of a running entity. -dain Boris Tamarkin wrote: > In this case can we change commit option on the fly in run time. > I.E. before command "delete all" make commit option "B", at the end > change back to "A"? > Otherwise it makes option "A" not usab

Re: [JBoss-user] Type mappings

2002-07-27 Thread Dain Sundstrom
This is a good idea. The problem is with type mapping overrides. The type mapping configuration is only a guide and each column can be overridden. I have been thinking about this for a while (months), because I want to setup the JBoss teatsuire to run on every available database. My curren

[JBoss-user] Re: [JBoss-dev] SQLException: [Microsoft][ODBC SQL Server Driver]Optionalfeature not implemented

2002-07-27 Thread Dain Sundstrom
I suggest you use the Microsoft SQL Server JDBC drivers instead of the JDBC-ODBC bridge. -dain Seth Sites wrote: > You need to use java.sql.Timestamp instead of java.sql.Date > > -Seth > > --On Saturday, July 27, 2002 12:04 AM +0530 Narayan Singh > <[EMAIL PROTECTED]> wrote: > >> Dear all,

Re: [JBoss-user] Running several jboss instances on the same mach ine

2002-07-27 Thread Scott M Stark
Yes, cvs head is 3.1 Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "LaBanca, Rick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 27, 2002 3:27 PM Subject: RE: [JBoss-user] Running severa

RE: [JBoss-user] Running several jboss instances on the same mach ine

2002-07-27 Thread LaBanca, Rick
I don't see 3.1 on sourceforge, will the latest cvs snapshot get me that? rick -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 27, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Running several jboss instances on the same mach ine T

Re: [JBoss-user] FireBird & JBoss

2002-07-27 Thread David Jencks
When will I learn to be neater and not leave junk lying around??? I didn't implement the server and port attributes in the mcf. You have to specify them so: server/port:/path/to/mydb.gdb which is undeniably unusual nonstandard and confusing syntax, but matches the native C connection string fo

[JBoss-user] FireBird & JBoss

2002-07-27 Thread Stephen Davidson
Greetings. I am trying to set up a Firebird database. It is not on the same box as I am developing on. When I try to uncomment the Server Block in the firebird-service.xml file, I get the attached error. Please help? -Steve <===Begin Excerpt from firebird-service.xml===>

Re: [JBoss-user] JBoss in a multi developers environment

2002-07-27 Thread Daniel Bruce Lynes
On Wednesday 22 May 2002 14:07, Emerson Cargnin - MSA wrote: > no, i'm working in defining an developing environment for a froup of about > 40 developers, so we can't afford bying a big machine for each one : ) For a large application with a small uptime, JBoss 2.4.4 only takes up about 96MB's

Re: [JBoss-user] Type mappings

2002-07-27 Thread David Jencks
I think the type mapping should be an mbean. It's kind of data only, but thus pretty simple. david jencks On 2002.07.24 13:11:50 -0400 JD Brennan wrote: > What I'd really like would be a way to put > the type mappings in the -service.xml file > that defines my pool. That way I don't need > t

Re: [JBoss-user] Running several jboss instances on the same mach ine

2002-07-27 Thread David Jencks
This is implemented in 3.1 with the ServerBinding mbean. Look in varia. david jencks On 2002.07.24 10:03:06 -0400 "LaBanca, Rick" wrote: > > I found you can change the jetty port on the command line by passing in > -Djetty.port. > > But there are several other ports for different services als

[JBoss-user] Tx Error: XAER_NOTA

2002-07-27 Thread Burkhard Vogel
Hi, we are having a problem with a really old application we had to switch databases. It runs on JBoss 2.2.2 (whooo) and does its job perfectly. However a change of DB from M$ SQL to Oracle suddendly produces errors like these: 26.07.2002 00.37 [Timer] XAException: tx=XidImpl [FormatId=257, Globa

RE: [JBoss-user] Jboss 3 with ORACLE 8.0.5+

2002-07-27 Thread Saroj Kumar
Hi Igor, Thanks for the detailed info. I am using JBOSS 3 and it does not have any oracle-xa-service.xml in jca dir. Is it a must to move to 3.0.1RC1? I checked out the Bug Details as well. It seems to me that I need to comment out a for loop in TxCapsule.java //for (int i = 0; i < resourceCou

[JBoss-user] Re: [JBoss-dev] SQLException: [Microsoft][ODBC SQL ServerDriver]Optional feature not implemented

2002-07-27 Thread Seth Sites
You need to use java.sql.Timestamp instead of java.sql.Date -Seth --On Saturday, July 27, 2002 12:04 AM +0530 Narayan Singh <[EMAIL PROTECTED]> wrote: > Dear all, > This is my first mail to the group. I have an entity EJB which uses > CMP. One of the CMP fields is of java.sql.Date typ

[JBoss-user] SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented

2002-07-27 Thread Narayan Singh
Dear all, This is my first mail to the group. I have an entity EJB which uses CMP. One of the CMP fields is of java.sql.Date type.I am using MS SQL 2000 server as database server. I created a table in which the corresponding mapping column is of type DATETIME.I am using JBOSS2.2 and JDB