Re: [JBoss-user] Possible Bug with Minerva XADataSourceImpl and Opta's XDataSource

2001-08-06 Thread Kevin Meldorf (NBK)
Thanks Toby. I am using CMP, so I'm not too sure what I would be doing strange in my code. Here is the method that exhibits the problem -- This is in a session bean that then hooks up to the appropriate entity beans to do the create. Kevin public TravelerType addTraveler(TravelerType t, int

Re: [JBoss-user] Possible Bug with Minerva XADataSourceImpl and O pta's XDataSource

2001-08-06 Thread Kevin Meldorf (NBK)
whoops...you are right the name of that method is now returnPk(). Here is the code for that method. It is an entity bean with one business method returnPk(). /** returnPk() is an atomic transaction that will get the nextId * update the pktable and then return the id to the caller. */

[JBoss-user] Possible Bug with Minerva XADataSourceImpl and Opta's XDataSource

2001-08-03 Thread Kevin Meldorf (NBK)
There seems to be a problem when declaring a method with the RequiresNew transaction attribute. I have tested this with both Minerva's org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl and Opta's com.inet.tds.XDataSource -- in fact, Opta's was *really* not working, but they have recently

RE: [JBoss-user] Possible Bug with Minerva XADataSourceImpl and Opta's XDataSource

2001-08-03 Thread Kevin Meldorf (NBK)
According to the spec here is the def of a RequiresNew Transaction attribute: ...The container always executes a method that is assigned the RequiresNew Transaction in a new transaction context. This means that the container starts a new transaction before it executes the method, and it commits

RE: [JBoss-user] Primitive Types in Entity beans

2001-07-18 Thread Kevin Meldorf (NBK)
In entity beans the primary key must be an object all other fields may be of primitive type. If you are having issues with non-primary key fields that are primitives, check you standardjaws.xml or your jaws.xml to make sure that they are mapping correctly to your database. Kevin Meldorf Systems

[JBoss-user] Transaction issue with Requires new -- User error, Jboss, inet opta Jdbc Driver, or all of the above?

2001-07-17 Thread Kevin Meldorf (NBK)
I am using a primary key generator as an entity bean that has the following transaction defined in my ejb-jar.xml: assembly-descriptor container-transaction method ejb-namePkTable/ejb-name method-namegetNextId/method-name /method

[JBoss-user] Finder Exception not being thrown with a findBy that returns a Collection

2001-07-16 Thread Kevin Meldorf (NBK)
When I do a findBy that will return a collection in CMP, no FinderException is thrown, if no entities are found. Is this part of the EJB spec or is this a bug? I am using jboss 2.2 with MS SQL Server 2000 on Windows 2000 using the Opta 2000 inet driver Thanks, Kevin Meldorf Systems Analyst

[JBoss-user] Possible bug in jboss -- TxCapsule

2001-06-25 Thread Kevin Meldorf (NBK)
PROTECTED]] Sent: Friday, June 22, 2001 9:37 AM To: Kevin Meldorf (NBK); '[EMAIL PROTECTED]' Cc: Frank Thiemonge (NBK) Subject: AW: Possible bug in jboss? Hello, The problem is that the class org.jboss.tm.TxCapsule has a status of Status.STATUS_ACTIVE after creating with new. The minerva driver

[JBoss-user] Possible bug in jboss

2001-06-21 Thread Kevin Meldorf (NBK)
I have been working with Volker Berlin at inetsoftware to get the opta2000 XDataSource to work with jboss 2.2. Whenever, I tried to use the inet's XDataSource vs. minerva's XADataSource I would get the following error: [UserEntityBean] XAException: tx=XidImpl [FormatId=257,

[JBoss-user] RE: Custom finders with JBoss and SQL Server ??

2001-05-04 Thread Kevin Meldorf (NBK)
I am using custom finders with MS SQL Server 2000 using the the Inet Opta jdbc driver. For a custom finder with cmp you just need to include the finder in your home stub and then define it in your jaws file: Here's an example: home stub: // more finders Enumeration findByPoItemNumber

[JBoss-user] RE: opta2000 jdbc driver

2001-05-04 Thread Kevin Meldorf (NBK)
I'm using the opta i-net jdbc driver with SQL server 2000 and Win2000 and I have not seen these errors when using transaction requirements. Shoot me an email and let's see if we can chase this one down. Kevin Kevin Meldorf Systems Analyst WorldTravel BTI 400 Skokie Blvd Northbrook, IL

[JBoss-user] Passing structures to an ejb

2001-05-03 Thread Kevin Meldorf (NBK)
I am working on an application where I am trying to pass a non ejb ojbect to an EJB. I have a session bean that I am trying to pass the following "structure" to my session bean. import java.util.*;import java.io.*; /** This is basically a file of structs that we will use in the Po app

[JBoss-user] FW: Passing structures to an ejb

2001-05-03 Thread Kevin Meldorf (NBK)
Please ignore my last post...I see that overriding a method with a blank method really messes things up for object serialization... :-) Kevin -Original Message-From: Kevin Meldorf (NBK) Sent: Wednesday, May 02, 2001 3:55 PMTo: '[EMAIL PROTECTED]'Subject: Passing structures

[JBoss-user] NT service from jboss-contrib

2001-04-16 Thread Kevin Meldorf (NBK)
Hello, I am trying to use the NT service from the contrib section, but I keep on getting the following error in the log: JbossTomcat java.c: ServiceStart(): Cannot create JVM Failed to start service Does anyone have a working version of this NT service and if you do, can you post your working

[JBoss-user] RE: NT Service wrapper

2001-04-16 Thread Kevin Meldorf (NBK)
=Jboss_Tomcat service.name=Jboss_Tomcat stop.port=1984 debug=yes log.path=c:\jboss-tomcat-2.1-beta\jboss-2.1\bin\javants.log Thanks, Kevin -Original Message- From: Heitzso [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 3:43 PM To: Kevin Meldorf (NBK); [EMAIL PROTECTED] Subject: NT

[JBoss-user] RE: JBOSS NT SERVICE

2001-04-05 Thread Kevin Meldorf (NBK)
I have set up Jboss as an NT service, but it ain't pretty... You need to go out and get the srvany binary http://www.href.com/pub/Helpful/SrvAny/ Here you will find the docs and tools that will help you to set up anything as an NT service. You must let the service participate with the desktop

[JBoss-user] Isolation levels in EJB

2001-04-04 Thread Kevin Meldorf (NBK)
How are Transaction Isolation Levels handled in jboss? Is it possible to set them (TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ, etc.) in a deployment descriptor? I can't seem to find information on this anywhere and any help would be greatly appreciated. Thanks in advance, Kevin

FW: [JBoss-user] Transaction Isolation Level

2001-03-30 Thread Kevin Meldorf (NBK)
Yo Marc! If you're still browsing the list, could you field this one for me??? Thanks Kevin -Original Message- From: Kevin Meldorf (NBK) [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 2:06 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Transaction Isolation Level How

[JBoss-user] Transaction Isolation Level

2001-03-29 Thread Kevin Meldorf (NBK)
How are Transaction Isolation Levels handled in jboss? Weblogic seems to use a proprietary method in their weblogic-ejb-jar file. If jboss does have a control over Transaction Isolation Levels, where and how do you declare them. Thanks, Kevin Kevin Meldorf Systems Analyst WorldTravel BTI 400

RE: [JBoss-user] Client class files dont compile on linux

2001-03-28 Thread Kevin Meldorf (NBK)
oh classpath and compiling problems: Many a day spent pulling out my hair... 1. compile the client at the root of your package directory. if your files are in com.whatever.foo, make sure that your client sits above "com" and also make sure that you have an import for your class files.