RE: Null values in Jsp page

2001-06-21 Thread Harley Rana
This is not a bug but a normal Java function. Try and print System.out.println() with a null string and the same will happen in any program. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marc SCHNEIDER Sent: Wednesday, June 20, 2001 8:49 AM

RE: Newbie - using EJB and databases

2001-06-21 Thread Manne Fagerlind
Does the location datasource offer pooling as well? In the documentation, I think it only says that the ejb-location datasource does. In my apps (no production apps, mind you) I have always used the ejb-location, even from the web tier. Works fine. Is there any reason for not using it? /Manne

Re: Support for MySQL

2001-06-21 Thread Brendan McKenna
Hi Nicolai, : Thank you for your suggestions everybody :) MySQL has always been very : limited (no subselect, foreign keys, transaction etc) but I had : positive experiences with it because of it's simplicity. : : Does PostgreSQL support transactions? Last time I used it was back in :

big text in string as object over the network:

2001-06-21 Thread Tobias Streckel
Hello, if I want to save a String(he is in a object which will save in a Oracle DB as a BLOB) I get by huge texts a Error: com.evermind.server.rmi.RMIConnectionException com.evermind.server.rmi.OrionRemoteException: Disconnected: Disconnected Have anyone a answer why it doesn't work? Thanks

AW: big text in string as object over the network:

2001-06-21 Thread Jens Stutte
This may be related to an old Java problem, that strings over 65535 characters or so could not be serialized. I don't know, by when if ever it was fixed by Sun, but try using StringBuffer instead. If this works, you found the problem... Regards, Jens Stutte -Ursprüngliche Nachricht-

JMS orion

2001-06-21 Thread kevin1
I have a project to do which depends heavily on message driven beans. It also needs to be as high performance as possible, as we are expecting a lot of traffic. I had planned on using the IBM JDK for this, but apparently it may have some problems with MDB. The application needs only

Orion handling only servlet/jsp requests

2001-06-21 Thread kevin1
My eventual production environment has Zeus web server as the primary web server. I'd like to forward all servlet requests to Orion. What changes in Orion's setup need to be made to either: 1. Have orion output to another web server 2. Have orion handle all servlet/jsp requests It seems to

Re: big text in string as object over the network:

2001-06-21 Thread Tobias Streckel
It dosn't work with a StringBuffer object. I will get the same error message, I think it was a connection problem - but I don't know what to do? Anyone a idea? -Ursprüngliche Nachricht- Von: Jens Stutte [EMAIL PROTECTED] An: Orion-Interest [EMAIL PROTECTED] Datum: Donnerstag, 21. Juni

Re: big text in string as object over the network: very strange?

2001-06-21 Thread Tobias Streckel
Very strange Okay, now I want to create a entity bean which have as attribute a object(this object have a only StringBuffer() object). The create method of the entity will be access from a session bean(in the same apps). The client have access on the session bean. If the session bean call

Transaction problem in EJB

2001-06-21 Thread aby
Hi everyone, I have a problem with transactions. My aim is to have two sql 'inserts' in one function. The function is covered by the 'Required' attribute in the xml file. The data source is used from the 'ejb-location'. If one insert fails , the container rolls back all the other database

Autocopy of deployment files

2001-06-21 Thread Juan Fuentes
Hi list, I have my orion-application.xml file located in META-INF. When orion deploys the application it copies the file in the correct directory inside application-deployments. But, where should I put the orion-ejb-jar.xml files? I put them in the META-INF directory inside the EJBs, but

RE: Transaction problem in EJB

2001-06-21 Thread Krishnamurthy, Balaji (MED)
Folks, I have a similar situation where, Iam trying to update two different datasources in a single transaction, but this doesn't work. What is the level of support for distributed transactions in Orion ? Thanks Balaji -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Aaarrrghhh!! CSS and Servlet again

2001-06-21 Thread john_haasbeek
To be safe, you really ought to use request.getContextPath() to prefix the absolute URL of your css file relative to your document root. When you deploy to a context like: http://myhost:myport/mycontext All of your paths are prefixed by /mycontext. But if you change your deployment

Re: Support for MySQL

2001-06-21 Thread Nicolai P Guba
BM == Brendan McKenna [EMAIL PROTECTED] writes: BM Hi Nicolai, : Thank you for your suggestions everybody :) MySQL BM has always been very : limited (no subselect, foreign keys, BM transaction etc) but I had : positive experiences with it BM because of it's simplicity. BM : BM : Does

RE: big text in string as object over the network:

2001-06-21 Thread Setlur, Atul (MED)
You need to select the row for update, then open a stream and write the string by opening an output stream. I am including a link to the Oracle documentation: http://oradoc.photo.net/ora81/DOC/java.815/a64685/oraext4.htm#1043272 Hope it helps. -Atul -Original Message- From: Tobias

Is location attribute always necessary in orion-ejb-jar.xml for properlookup operation?

2001-06-21 Thread Alex Paransky
Every time I deploy a bean, I seem to have to go into orion-ejb-jar and update every new ejb-ref-name with the location attribute indicating where on the naming tree the home can be found. If I don't do this, I get all kind of lookup errors. Is there a solution to this, or is this normal? -AP_

RE: big text in string as object over the network:

2001-06-21 Thread Smith Jason
Is there some sort of connection time out stuff on the Oracle server? Is there something on the Oracle server that kills connections after X seconds? Can you save another binary object of the same size as your String to the BLOB field? There is an inactivity timeout variable in the Orion

Re: Distributed Transactions

2001-06-21 Thread Paolo Ramasso
hi Atul as far as i know orion is not able to manage trasactions with multiple DB or multiple containers (till version 1.5.0). ciao Paolo Setlur, Atul (MED) wrote: Hello Everyone, Does Orion support distributed transactions i.e., the ability to update multiple databases from a single method

Re: Autocopy of deployment files

2001-06-21 Thread Jeff Hubbach
Juan, Prior to 1.4.8 (I'm pretty sure on this, but it might be 1.5.2), the orion-ejb-jar.xml files are deployed from an orion subdirectory of the jar file. ie: ejb-jar.xml - META-INF - ejb-jar.xml - orion - orion-ejb-jar.xml - your package heirarchy - your class files

RE: big text in string as object over the network: very strange?

2001-06-21 Thread Metla, Suri
Are there any Data types in Java to access the Long and CLOB columns of the Oracle Database? The first bottleneck comes with the JDBC driver to map the Database columns of these types (BLOBS, CLOBS). Regards, Suri -Original Message- From: Tobias Streckel [mailto:[EMAIL PROTECTED]]

RE: Autocopy of deployment files

2001-06-21 Thread chris . chang
Changes to 1.4.8 Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/ directory from the orion/ directory for consistency. solution: 1) upgrade 2) create orion directory in META-INF -Original Message- From: Juan Fuentes [mailto:[EMAIL

Problems specifying persistence directory in 1.5.2

2001-06-21 Thread sam
In moving from 1.4.5 to 1.5.2, we are no longer able to successfully specify directory location forapplication state persistence (see error below). Version 1.5.2 looks for a directory named "persistence" inthe application directory, ignoring any path attribute value, relative or absolute

RE: big text in string as object over the network:

2001-06-21 Thread Eduardo Estefano
We also had a similar problem and so far have not found any fix. I think the error is in the oracle driver but I'm not sure. Strings less than 4000 chars can be converted to binary and saved using a stmt.setBinaryStream() Strings over 4000 chars do not get saved. -Original Message-

Re: Aaarrrghhh!! CSS and Servlet again

2001-06-21 Thread Robert Koberg
To be safe, you really ought to use request.getContextPath() to prefix the absolute URL of your css file relative to your document root. why (just curious)? what is different if just use: link rel=stylesheet type=text/css href=/blah.css title=blah The above is more generic (you don't need

arbitrary servlet directory

2001-06-21 Thread Salvatore Sferrazza
i'm sure many of you are familiar with configuring apache so that when a user on the box creates a public_html directory in their home dir, it will automatically show up and get served by apache. is there something similar that can be configured in orion, ideally what i would like is a structure

JMS from standalone client

2001-06-21 Thread Tim Rickard
What would be the steps for connecting to and using JMS from a stand alone rmi client rather than an application client. I havent been able to get a factory and queue from jndi without going thru the application-client xml.

Re: Aaarrrghhh!! CSS and Servlet again

2001-06-21 Thread john_haasbeek
In a typical web application server, there can be applications deployed to several contexts within the container. Each context is differentiated using a URL prefix, e.g.: http://myhost/webstore http://myhost/benefits-admin Webstore and benefits-admin represent different Servlet contexts

Java Pet Store demo

2001-06-21 Thread Emilio Suarez
Hi, Has anybody installed the Java Pet Store demo in Orion? and if so, what database did you use. I tried installing it using cloudscape and keep getting the error that the user id is already loged in: Error: The User ID you selected is already in use. Please go back to the previous

Re: Java Pet Store demo

2001-06-21 Thread Ray Harrison
It (petstore version 1.1.2) works just fine with Sap DB. A couple of quick issues that had to do with Sap DB but no other known problems. If you are using a petstore version prior to 1.1.2 then you will have problems with the security adapter that Sun uses and will have to make adjustments to

Re: Orion handling only servlet/jsp requests

2001-06-21 Thread SCOTT FARQUHAR
There is an article on orionsupport http://www.orionsupport.com That deals with using another web server with orion. The FAQ from orion also deals with this: http://www.orionserver.com [EMAIL PROTECTED] 06/21/01 10:53pm My eventual production environment has Zeus web server as the