RE: findByPrimaryKey problem, Oracle char(10) space padding

2000-11-08 Thread Kurt Hoyt
If you were writing the SQL yourself, you would have to pad string constants yourself when testing for equality against a char field. I'd recommend switching to varchar2(10) instead. varchar2 isn't blank-padded. Kurt in Atlanta >-Original Message- >From: John Pletka [mailto:[EMAIL PROTEC

RE: There has GOTTA be a BETTER way !!!!

2000-11-07 Thread Kurt Hoyt
If you take a look at all the code that Orion (and any other EJB server product) "writes" for you when you deploy your beans, and all the code that exists in the server to manage those beans, you'd see that the way EJBs work REDUCE the amount of code you have to write. EJBs are an immature techno

Running multiple application instances with Orion

2000-10-31 Thread Kurt Hoyt
f the orionsupport.com folks are listening, you have my permission to add this to your site (just be sure to give credit where due). Kurt in Atlanta Title: Running Multiple Application Instances with Orion Running Multiple Application Instances with Orion Kurt Hoyt ([EMAIL PROTECTED]) This doc

RE: calling native code from ejb

2000-10-25 Thread Kurt Hoyt
Actually, its the first. You are not allowed to call native code from an EJB. From the EJB Spec 1.1, Section 18.1.2, Programming Restrictions (page 274): * The enterprise bean must not attempt to load a native library. Kurt in Atlanta >-Original Message- >From: Duffey, Kevin [mailto:[EM

RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt
October 25, 2000 2:00 PM >To: Orion-Interest >Subject: RE: Ok. I feel dumb. Data Sources and MS SQL. > > >Has MS removed the ODBC-JDBC bridge in Win 2K? > > >>From: Kurt Hoyt <[EMAIL PROTECTED]> >>Reply-To: Orion-Interest <[EMAIL PROTECTED]> >>

RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt
binarys grow >using ADO, so must be a bug in the german product (SprintA 2000) > >HTH (before it's too late), > > >Rifle > > >-Original Message- >From: Kurt Hoyt [mailto:[EMAIL PROTECTED]] >Sent: Miércoles, 25 de Octubre de 2000 10:06 >To: Orion-Intere

RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Kurt Hoyt
I hate to be the bearer of bad news, but you'll have to spring for a type 4 JDBC driver. We bought the one from Inet Software called "Sprinta 2000". The price was reasonable and it performs comparably with the best of them. That's how we got Orion and SQL Server 7 and Win2K to work together. Kurt

RE: EJB Help..

2000-10-19 Thread Kurt Hoyt
Title: RE: EJB Help.. I use ant. Check jakarta.apache.org for it. When I change a file with JBuilder or TextPad, I run ant in a console window. It builds the jar file and moves it to the right place for orion to pick it up. Kurt in Atlanta >-Original Message- >From: Duffey, Kevin [m

RE: URL Pathing

2000-10-16 Thread Kurt Hoyt
Title: RE: URL Pathing Yes, stuff the information about the root of your system somewhere so you can change it easily across your JSPs. Apparently, this is a hazy part of the servlet/JSP spec(s) that vendors have chosen to implement differently. Kurt in Atlanta >-Original Message- >

RE: Client application

2000-10-06 Thread Kurt Hoyt
Title: RE: Client application I've gotten that same error, usually the first time I run a client program. I run it again, and it works fine with no NamingException. Very strange. Kurt in Atlanta >-Original Message- >From: Daniel C. DiCesare [mailto:[EMAIL PROTECTED]] >Sent: Friday,

RE: BLOBs

2000-10-04 Thread Kurt Hoyt
Title: RE: BLOBs you have to make your own orion-ejb-jar.xml file in that case and tell orion to make a table of your dependent class: http://www.orionserver.com/dtds/orion-ejb-jar.dtd">                  

RE: Detail logging? Is it possible (System.error.println - where do i t go to in Orion)

2000-09-12 Thread Kurt Hoyt
System.err.println should print messages out to the shell or DOS window that you used to run the orion.jar file. You could redirect that output to a file if you want to save it: java -jar orion.jar > orion.out Kurt in Atlanta >-Original Message- >From: Richard Landon [mailto:[EMAIL PROT

RE: OR mapping of table joins for CMP

2000-09-12 Thread Kurt Hoyt
Get Richard Monson-Haefel's book "Enterprise Java Beans". It explains things pretty well. The whole point of CMP is that you don't know (or aren't supposed to know or care) how the EJB server stores your EJBs in the database. The folks who wrote the EJB server are supposed to have studied O/R map

RE: Orion Difficulities....

2000-09-09 Thread Kurt Hoyt
Amen. I've spent the last six months evaluating EJB servers, including Weblogic, PowerTier, WebSphere, Secant's Extreme Server, GemStone, SilverStream, Inprise Application Server, Jonas, JBoss, and Orion. We've settled on Orion. In my mind WebLogic was one of the worst of the lot. I could never g

RE: I nee help Please Please

2000-09-08 Thread Kurt Hoyt
http://www.orionserver.com/docs/application-creation-howto.html Kurt in Atlanta >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Friday, September 08, 2000 4:48 PM >To: Orion-Interest >Subject: I nee help Please Please > > >I'm getting mad because I don't kn

RE: IllegalArgumentException

2000-09-08 Thread Kurt Hoyt
Check your code and make sure the ejbCreate functions have a return type of com.netitbe.ishop.business.item2.ejb.ItemPk. And make sure that the argument type for findByPrimaryKey in the home interface is com.netitbe.ishop.business.item2.ejb.ItemPk. When I got that error, it was because the return

Inheritance

2000-09-01 Thread Kurt Hoyt
I know the EJB 1.1 and 2.0 specs avoid (finesse?) the issue of bean inheritance, but has anyone tried doing anything that mimics inheritance using Orion? If so, can you share how you accomplished it? I have an object model that uses inheritance. I started with a trial version of PowerTier from Pe

URLs in web apps

2000-08-31 Thread Kurt Hoyt
I've noticed an inconsistency in how URLs are used within the servlet engine in Orion. Perhaps I've never had to deal with this since this is the first servlet engine I've used that supports .war files, server.xml, web.xml files, etc. I have a web app that is deployed like this: server.xml conta

Finding EJBs from JSPs

2000-08-26 Thread Kurt Hoyt
I'm trying to use EJBs from one application (I'll call "A") in a different (web) application (I'll call "B"). Both applications are deployed. Application A has four EJB classes (that I'll call A1, A2, A3, A4). I have tags in B's web.xml that give JNDI names (like ejb/A1) to the EJBs in A. I have

Deploying without a .war file

2000-08-25 Thread Kurt Hoyt
I'd like to develop my web app without having to package everything up into a .war file or .ear file first. Is this possible with Orion? My reading of the docs seems to imply that it isn't. Also, can the various applications "talk" to each other? Can one web app, for example, use EJBs from anothe

Problem creating entities narrowed down

2000-08-17 Thread Kurt Hoyt
I've figured out part of my problem (at least I have a workaround): My entity contains three Date fields. If those fields are not given an explicit value (something other than null), then the ejbCreate fails. Here is a partial stack trace: Nested exception is: java.sql.SQLException: [Microsoft][

Trouble creating entity

2000-08-17 Thread Kurt Hoyt
My environment: * Windows 2000 Professional * Orion 1.2.0 * JDK 1.2.2 * SQL Server 7.0 I've created a simple server with one entity. It deploys just fine and creates its table. I've gone through the fun of figuring out the jndi.properties and application-client.xml stuff needed to get