Re: [EJB][1.5.1] ShowStopper on CMP deploying

2001-06-18 Thread Mikko Kurki-Suonio
On Mon, 18 Jun 2001, Steffen Stundzig wrote: This error occured because 'Order' is a reserved word in SQL. One feasible solution could be to rename the bean or to specify an alternative column name. But I think it would be better to put the table names and the column names in 'quotas'. Or

OT: Re: Linux

2001-05-20 Thread Mikko Kurki-Suonio
On Fri, 18 May 2001, Theo van Niekerk wrote: Orion on Linux uses Linuxes file system that is case-sensitive as the HTTP spec requires. Orion on Windows does not respect the case-sensitive requirement of the URI. Not strictly true. The file part of a URL is case sensitive in the regard that

Re: Taglib bug?

2001-05-15 Thread Mikko Kurki-Suonio
On Mon, 14 May 2001, Joseph B. Ottinger wrote: As one who's done quite a bit with taglibs on Orion, I've never seen this kind of behavior at all. Ever. Any version. (Bugs with it, sure - but that was related to tag instantiation and not location.) More information? Samples? Here's a

Taglib bug?

2001-05-14 Thread Mikko Kurki-Suonio
I TRIED looking in Bugzilla first, but couldn't find anything... I have a JSP page referring to several taglibs. However, Orion seems to 'lock' the taglib reference to the first encountered JAR and therefore refuses to find subsequent tags in other taglib jars. I'm using 1.4.0 -- has this been

Re: EJB Passivation problem

2001-04-26 Thread Mikko Kurki-Suonio
On Thu, 26 Apr 2001, Hani Suleiman wrote: Run orion with more memory allocated. In the end the server can only do so much with huge volumes of data. That's what the DB is supposed to be there for... We've encountered this very same problem. It seemed to ease some if you killed all the

Re: I know it does NOT work... but does it ???

2001-02-25 Thread Mikko Kurki-Suonio
On Sat, 24 Feb 2001, Randahl Fink Isaksen wrote: I know bidirectional N-M relationships are said not to work... but does unidirectional N-M relationships work on Orion? - On which version? Well, I don't quite see what you mean by unidirectional N-M. If you can't trace the link backwards,

Re: VARCHAR values are always the length of the field

2001-02-16 Thread Mikko Kurki-Suonio
On Wed, 14 Feb 2001, Edson Carlos Ericksson Richter wrote: But, how can I configure some Strings to VARCHAR(25) and others to VARCHAR(100) in the ejb-jar.xml??? Basically, you can't. BUT: You can hand-create the appropriate tables with the appropriate column types before deployment (or,

Re: MIME-types [off topic]

2001-02-15 Thread Mikko Kurki-Suonio
On Thu, 15 Feb 2001, Konstantin Polyzois wrote: I am developing an app where there will be some xml-files generated. I want the user to save these to his hard drive. The problem is that Internet Exploder always displays xml. Is there some MIME type or some trick to make Exploder pop up a

RE: Which version is stable

2001-01-30 Thread Mikko Kurki-Suonio
On Tue, 30 Jan 2001, Juan Lorandi (Chile) wrote: You're correct... ;) Well, I had to switch back (yet again) to 1.4.0. because 1.4.5. seems to think ServletRequest isn't serializable...

Re: Getting the home interface of another EJB from within an EJB

2001-01-18 Thread Mikko Kurki-Suonio
On Thu, 18 Jan 2001, Peter Pontbriand wrote: As I understand it, using the following example EJB-REF in an EJB's deployment descriptor should make a home interface available through the described EJB's JNDI ENC: ejb-ref

Re: CMP to Precreated DB

2001-01-16 Thread Mikko Kurki-Suonio
Hi, On Mon, 15 Jan 2001, Carl B. Fyffe wrote: Can you map a CMP Bean to a database that already exists? Or must it create the tables for you? I bet the answer is in the deployment descriptor, but I can't seem to find it. Help please. Others have told you about the auto-generate tables

Re: Netscape and Referer...

2001-01-16 Thread Mikko Kurki-Suonio
On Tue, 16 Jan 2001, Christian Meunier wrote: In my app im using referes a lot and that works perfectly under IE. The request.getHeader("Referer") returns what it should be. However , under netscape, request.getHeader("Referer") always returns the NULL value. The browser is under no

Re: URLEncoder help pls!

2001-01-12 Thread Mikko Kurki-Suonio
On Fri, 12 Jan 2001, LouisVoo wrote: I also try like this URL url = new URL(URLEncoder.encode(_url)); but it also failed. Anyone know how to solve my problem? Try this: URL url = new URL("http://foo.com/xyzzy?"+URLEncoder.encode("id=324")); In other words, you should encode ONLY the

Re: JSP syntax checker

2001-01-10 Thread Mikko Kurki-Suonio
On Wed, 10 Jan 2001, Heiko Gottschling wrote: This sounds interesting... does this work for an entire EAR, too? Yes. How can you cause Orion to re-deploy the application in this case? Using an EAR, Orion always notices when the EAR file is updated, how is it with unpackaged

Re: What is the latest and greates Orion Server?

2000-12-22 Thread Mikko Kurki-Suonio
On Fri, 22 Dec 2000, Christian Sell wrote: java -jar autoupdate.jar. Dont know about stable My 2 cents: I switched BACK to 1.4.0 because 1.4.4 started giving spurious errors and crashing. //Mikko

Re: When CMP fails...

2000-12-15 Thread Mikko Kurki-Suonio
On Fri, 15 Dec 2000, Randahl Fink Isaksen wrote: Contradicting my expectations it seems Orion does NOT detect my changes to ejb-jar.xml. Orion does this kind of thing on occasion (don't know why). Wipe the appropriate application-deployment directory (as in "rm -rf") to force redeployment.

Re: When CMP fails... problem solved, or...

2000-12-15 Thread Mikko Kurki-Suonio
On Fri, 15 Dec 2000, Randahl Fink Isaksen wrote: Thanks to Mikko Kurki-Suonio I have now solved the problem. Not only should I wipe the deployed application, it turns out that I needed to alter the defaultdb.script aswell. Originally it contained the line (That's HyperSonic -specific

OT: Language and the list

2000-12-14 Thread Mikko Kurki-Suonio
On Wed, 13 Dec 2000, Gary Shea wrote: What amazes me is that all these non-American/English folks speak English as well as they do. FLAMEBAIT It naturally follows from not living under a regime of cultural imperialism ;-) "If English was good enough for Jesus Christ, it's good enough for

Re: Standard Err stream

2000-12-14 Thread Mikko Kurki-Suonio
On Thu, 14 Dec 2000, Seung Bang wrote: Where does 'System.err.println()' print? Try these switches: -out [file] - specifies a file to route standard output to -err [file] - specifies a file to route error output to //Mikko

Re: DB2

2000-12-10 Thread Mikko Kurki-Suonio
On Thu, 7 Dec 2000, Cosmin P wrote: I have DB2 ver 7.1 and orion 1.3.8. Does anyone have an example of a DB2 Database schema? This is what I cooked up to test DB2. Seems to work ok, except for a couple of points: - No JDBC driver for DB2 that I'm aware of supports blobs (Which is why

RE: OFFTOPIC: Making a page expired

2000-11-27 Thread Mikko Kurki-Suonio
On Tue, 28 Nov 2000, Matt Krevs wrote: Doesnt orion allow you to have custom error pages for each generic HTTP error condition? (eg 404, 501 etc) Does the "this page has expired" condition fall into this category? No, that "error" is entirely browser-generated. You might be able to override

Re: how to use servlet-mapping

2000-11-23 Thread Mikko Kurki-Suonio
On Thu, 23 Nov 2000, Edmund Cheung wrote: servlet-mapping ? Based on the following setting, the program always calls the UserManagerController. servlet-mapping servlet-nameUserManagerController/servlet-name url-pattern//url-pattern /servlet-mapping You've given both

ejbStore() not called ?!?

2000-11-20 Thread Mikko Kurki-Suonio
Hi, I'm having trouble with the following strange feature: I have data in a field (let's say A) I wish to "pack" into another field (B) for DB storage. These are, by nature, read-only objects, i.e. once created their values do not change. I've written a ejbStore() method that translates the

Re: Database schema ignored?

2000-11-16 Thread Mikko Kurki-Suonio
m column name length. (But my docset is out of date... I could be wrong) //Mikko Kurki-Suonio Neus Lab Inc

Re: CMP Mapping of String type for Sybase

2000-11-06 Thread Mikko Kurki-Suonio
On Mon, 6 Nov 2000, David Ekholm wrote: I wonder why the Java String type is mapped to a char(255) for Sybase in $ORION/config/database-schemas ? The real reason? I recently did a little testing for various databases with Orion. The results were... baffling. NONE of the published database

Re: Orion w/ postgresql

2000-11-01 Thread Mikko Kurki-Suonio
On Wed, 1 Nov 2000, Seung Bang wrote: Thanks very much for your tips. I tried as you guys instructed, and the same errors were produced. My postgresql jdbc driver is now the brand new 7.0.2 driver, and the '/usr/local/orion/config/database-schemas/postgresql.xml' file has null="" section

Re: What database are you using??

2000-10-01 Thread Mikko Kurki-Suonio
On Fri, 29 Sep 2000, Jim Archer wrote: I'm currious to know what database products people are using with Orion, open source or commerical. Also, please include any comments about problems if you have had any, or anything thats really great. Actually, we're right now in the process of

Orion Support

2000-09-28 Thread Mikko Kurki-Suonio
Hi, Does anyone know what's up with www.orionsupport.com? I try to access the site and all I get is: "Thanks for visiting. I thought I had something to say, but I was wrong. "

Data type mapping

2000-09-28 Thread Mikko Kurki-Suonio
Hi, How does Orion handle mapping java data types to database types? Specifically, I'm having trouble mapping "long", with Solid and InterBase. I've tried "decimal(20,0)" "binary(64)" and even just "integer" as the corresponding database type, but neither database digests these without

Re: Orion Support

2000-09-28 Thread Mikko Kurki-Suonio
On Thu, 28 Sep 2000, Karl Avedal wrote: We're not the ones running orionsupport.com but we will get back with any news on it to the list. I'm aware of that, but it looks like that this is either a) a stupid joke/cracker b) the person running orionsupport has decided to call it quits,

Hashtable mapping

2000-09-27 Thread Mikko Kurki-Suonio
on it starts spewing out Invalid cast from java.util.Hashtable to com.evermind.server.ejb.ORMap. and similar errors. //Mikko Kurki-Suonio Neus Lab Inc.