SQL Error: Connection is broken

2000-11-21 Thread m . c . jansen
Hi, I am having a problem with connecting the sample applications (e.g. ATM and Addressbook) to SQL Server . When I deploy the sample applications (e.g. atm-ejb.jar) I get the following error message: "SQL error: Connection is broken: Connection refused: no further information". I did the

RE: Instantiate more than one session bean

2000-11-21 Thread Juan Lorandi (Chile)
that's valid... but be careful... some servlet engines are known to 'reuse' the same instance of a servlet many times -Original Message- From: Storm Linux User [mailto:[EMAIL PROTECTED]] Sent: Lunes, 20 de Noviembre de 2000 17:54 To: Orion-Interest Subject: Instantiate more than one

Having problems displaying pdf files.

2000-11-21 Thread Gopalani, Manoj CAR
Hi, I have some pdf content on the server. But somehow the pdf content is rarely displayed in the browser. I am not sure if this something to do with how Orion is serving Pdf files or what? I have manually typed the URL for the pdf file, even then I do not see the content. I am hosting Orion

RE: Instantiate more than one session bean

2000-11-21 Thread Robert Krueger
At 10:57 21.11.00 , you wrote: that's valid... but be careful... some servlet engines are known to 'reuse' the same instance of a servlet many times why would that matter? if he associates the session beans with the httpsession there is no problem, no matter what type of reuse policy the

RE: Having problems displaying pdf files.

2000-11-21 Thread Russ White
What browser are you using? Some browsers (IE5 for instance) do not correctly read MIME types. In some cases this can be solved by simply putting .pdf (or whatever) at the and of the servlet(or whatever) is producing your PDF document. This clues the browser in to what you are producing. This is

ejb/jdbc sample

2000-11-21 Thread John Hogan
can anyone provide a few pointers on getting the ejb.product sample going. I'm having a bit of difficulty with the db password. It looks like the default is sa with no password (below). TIA. John Hogan D:\orion\demo\ejb\productjava - classpath ..\..\..\orion.jar;..\..\..\ejb.jar;..

RE: Instantiate more than one session bean

2000-11-21 Thread Gerald Gutierrez
Would implementing SingleThreadModel "fix" this? At 10:57 AM 11/21/2000 -0300, you wrote: that's valid... but be careful... some servlet engines are known to 'reuse' the same instance of a servlet many times -Original Message- From: Storm Linux User [mailto:[EMAIL PROTECTED]] Sent:

Virtual-directory vs. document-root

2000-11-21 Thread Drew Kidder
Heya folxgot another question for y'all... I've got a site on a server, let's call it drew.serv1.com. I use absolute links to images there (i.e., img src="/images/mygif.jpg"). So the main page could be accessed by http://drew.serv1.com/main/index.jsp and everything works groovy. Now,

server.xml fails -validateXML

2000-11-21 Thread Hani Suleiman
I'm trying to ensure that my EJB 2.0 ejb-jar.xml files validate according to the appropriate dtd, so I tried to run orion with the -validateXML option. However, this gets as far as server.xml before spiting out the following error: Error initializing server: Fatal error at line 59 in

RE: Having problems displaying pdf files.

2000-11-21 Thread Gopalani, Manoj CAR
This problem is both with Netscape or IE and the problem is inconsistent. At times it displays the pdf file at times it won't. I am using javascript to open a new window FDwnld = window.open( fileName , "FileOpen", "alwaysraised,menubar,resizable,width=500" ); I am passing the fileName as

RE: server.xml fails -validateXML

2000-11-21 Thread Tim Drury
I got the same error and couldn't figure it out. In mine, the line number that was flagged with an error is greater than the number of lines in my server.xml. -tim -Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 21, 2000 12:22 PM To:

Re: Multi-App user Management

2000-11-21 Thread Hitesh Jasani
Juan, Is there a special reason you have user information stored in principals.xml and not in a database? Moving that information into a database will allow seamless access by multiple applications. The EJBUserManager and DataSourceUserManager are meant for this very purpose. Hitesh Juan

Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Matthew TorreAlto
I am trying to deploy a servlet with Orion. The servlet runs fine in JBuilder. It even runs in Orion if I stick it in the default web application directory. But I want to do it right and use the ear, war files. (or do I) When I run Orion it seems to pick it up the ear and war file okay. Orion

-- Arved -- Can you please help me with servlet authentication?

2000-11-21 Thread Tim Endres
Arved, Please excuse me for calling you out on this one, but you are the only one on the mailing list who claims to have succeeded in doing what I want. The documentation (surprise) is meaningless, and the mailing list archive is failing me. I have a servlet in a web-app that is deployed

Re: server.xml fails -validateXML

2000-11-21 Thread Gerald Gutierrez
I tried the option once, and it gave me errors about ejb-jar.xml (or some other XML) files at a certain line number, and that line number doesn't even exist. I then tried a freshly unzipped version of Orion, followed the instructions exactly to deploy the News application, and ran java -jar

Re: ejb/jdbc sample

2000-11-21 Thread KirkYarina
Update $ORION_DIR/demo/ejb/product/jndi.properties to match your admin password. At 10:45 AM 11/21/00 -0500, you wrote: can anyone provide a few pointers on getting the ejb.product sample going. I'm having a bit of difficulty with the db password. It looks like the default is sa with no

Re: server.xml fails -validateXML

2000-11-21 Thread Hani Suleiman
I filed this in bugzilla, bug id is 201. On Tue, 21 Nov 2000, Gerald Gutierrez wrote: I tried the option once, and it gave me errors about ejb-jar.xml (or some other XML) files at a certain line number, and that line number doesn't even exist. I then tried a freshly unzipped version of

RE: Instantiate more than one session bean

2000-11-21 Thread Juan Lorandi (Chile)
perhaps you would be straining both the apps servers the island LAN if you should use the httpsession object... for small apps, he shouldn't have any problems with httpsession, and it's what I would use. But many times I've seen programmers thinking servlet containers behave one-way, when they

RE: -- Arved -- Can you please help me with servlet authentication?

2000-11-21 Thread Arved Sandstrom
Although we have a single servlet front-end, and do programmatic usermanagement (including login), the actual user manager and role manager stuff all happens down in EJB-land (in a session bean being referenced from the servlet). So we do not use JNDI properties at all for authentication, except

What's wrong with this principals.xml?

2000-11-21 Thread Gerald Gutierrez
What's wrong with the principals.xml and orion-application.xml files below? - ?xml version="1.0"? !DOCTYPE principals PUBLIC "//Evermind - Orion Principals//" "http://www.orionserver.com/dtds/principals.dtd"

Loadbalancer Error (do not execute)

2000-11-21 Thread Storm Linux User
Hi.. I'm trying to make a cluster with Orion 1.4 / GNU/Linux / IBM JDK1.3 . Without clustering, my site is working, but when I try to execute the load balancer as said in the clustering how to, I receive this message: storm:/usr/local/orion# /usr/local/jdk/bin/java -jar loadbalancer.jar

RE: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Juan Lorandi (Chile)
and WEB-INF/web.xml is there? is it correct? -Original Message- From: Matthew TorreAlto [mailto:[EMAIL PROTECTED]] Sent: Martes, 21 de Noviembre de 2000 16:19 To: Orion-Interest Subject: Deploying a servlet ear, war: help an oroin newbie I am trying to deploy a servlet with Orion. The

RE: Multi-App user Management

2000-11-21 Thread Juan Lorandi (Chile)
neither of these implementations does fully implement the UserManager interface plus, I can edit the xml file anytime with any simple text editor -Original Message- From: Hitesh Jasani [mailto:[EMAIL PROTECTED]] Sent: Martes, 21 de Noviembre de 2000 16:17 To: Orion-Interest Subject: Re:

RE: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Juan Lorandi (Chile)
sorry, I meant, web-app in default-web-site -Original Message- From: Matthew TorreAlto [mailto:[EMAIL PROTECTED]] Sent: Martes, 21 de Noviembre de 2000 16:19 To: Orion-Interest Subject: Deploying a servlet ear, war: help an oroin newbie I am trying to deploy a servlet with Orion. The

Re: -- Arved -- Can you please help me with servlet authentication?

2000-11-21 Thread Christian Sell
Incidentally, the location of jndi.properties, and how it works, is dictated by Java (I think starting with JDK 1.2, but it could have been 1.3). If there exists a jndi.properties in your classpath, it will get read. So this behaviour is entirely independent of J2EE. this might also have to

URGENT!!!:Problems using RMI to the Orion Server.

2000-11-21 Thread J Davis
I am Re-posting This with an Urgent call because I have not heard anything and this is an important issue that will decide wether or not we can use the Orion server in prodUction. We updated to 1.4.0 to see if that would fix the problem but it still exists. The connection never leaves the

OpenBSD

2000-11-21 Thread Mathias Bogaert
Hello, Has anyone got Orion running on OpenBSD(www.openbsd.org), or any other BSD unix? TIA Mathias Bogaert

Re: Current Hypersonic SQL web page

2000-11-21 Thread Mathias Bogaert
check http://www.hypersonicsql.com/ Mathias Bogaert - Original Message - From: "Kemp Randy-W18971" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, November 17, 2000 4:44 PM Subject: Current Hypersonic SQL web page I can't find the Hypersonic SQL link at

RE: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Matt Krevs
Christian/anyone else I noticed your servlet mapping is servlet-mapping servlet-nameEmployeeForm/servlet-name url-pattern//url-pattern /servlet-mapping What effect does specifying '/' as the url-pattern have? Specifically what effect does it have on the action string in a HTML

RE: -- Arved -- Can you please help me with servlet authentication?

2000-11-21 Thread Tim Endres
Hi Arved, Although we have a single servlet front-end, and do programmatic usermanagement (including login), the actual user manager and role manager stuff all happens down in EJB-land (in a session bean being referenced from the servlet). So we do not use JNDI properties at all for

EJB2.0 help

2000-11-21 Thread Saphari.com - www.saphari.com
I am trying to learn EJB 2.0 with orion and am having some problems getting a 1:1 dependant object to load. I have traced it done to the dependant object, because if i deploy the bean without the dependant object it deploys fine. but when i try to deploy with the dependant object i get this

EJB 2.0

2000-11-21 Thread Saphari.com - www.saphari.com
What part of the EJB 2.0 spec has been implemented in orion as of 1.4.4. for example is EQL, Select Methods, Home methods, Dependant Object working? does anyone know where i can find the full list of features. i really want to start developing 2.0 compliant beans, but can't if i don't know

error page

2000-11-21 Thread Jim
Is there a setting or is it possible to set up custome error pages on Orion? Thanks, Jim

Re: custom finder duplication

2000-11-21 Thread Adam Cassar
Thanks for you help, I ended up just copying the autogenerated finders and just modified the query On Mon, Nov 20, 2000 at 03:33:00PM +0100, Robert Krueger wrote: At 00:07 21.11.00 , you wrote: 'lo all i'm having a wierd problem with custom finders with orion 1.3.8 and later: a) custom

RE: error page

2000-11-21 Thread Matt Krevs
Yes you can have custom error pages Have a look in the JSP examples that come with orion http://localhost/examples/jsp/error/error.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Sent: Wednesday, 22 November 2000 12:04 PM To: Orion-Interest

I can't run news demo App in Orion 1.4.0 (post2)

2000-11-21 Thread ³¯§Ê¹Å
Hello: When I strat Orion 1.4.0 I get those error message: SQL error: File input/output error: ./database/defaultdb.properties Warning: Error creating table: File input/output error: ./database/defaultdb.properties DataSourceConnection was not closed, check your code! So I can't run news demo

Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Mateo Torrealto
Matt Krevs et al, WRT I noticed your servlet mapping is servlet-mapping servlet-nameEmployeeForm/servlet-name url-pattern//url-pattern /servlet-mapping That is a good question. I blindly copied it from the orion-primer example. I read about it in the specification before, but

Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Mateo Torrealto
Matt Krevs et al, WRT I noticed your servlet mapping is servlet-mapping servlet-nameEmployeeForm/servlet-name url-pattern//url-pattern /servlet-mapping That is a good question. I blindly copied it from the orion-primer example. I read about it in the specification before, but

Christian Sell et al.... Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Mateo Torrealto
Christian Sell et al, Thank you for your help. WRT "aside its always useful to describe WHAT error you are getting /aside" Good point. I had a brain brownout. The only error I got was from the browser. The error was HTTP 500 - Internal server error when I posted to form

Juan Lorandi RE: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Mateo Torrealto
Juan Lorandi et al, Thanks for your help. WRT "and WEB-INF/web.xml is there? is it correct?" I believe the directory structure is correct. It is as follows (listed with tree utility /F /A options) \---WEB-INF | web.xml | \---classes \---com

Secure SSL and Non-Encrypted Pages

2000-11-21 Thread Mark
I am building that requires SSL pages as well as non encrypted pages to coexist within the same application. I have successfully created a fully SSL enabled site and a fully non-encrypted site but they are unable to work with each other (ie. the same application). Does anyone have any ideas as to

Re: Deploying a servlet ear, war: help an oroin newbie

2000-11-21 Thread Christian Sell
Matt, good question, indeed. In fact I copied the wrong example. The one you are asking about makes the EmployeeForm servlet the default servlet for this web-app (but ONLY for this web-app. "/" stands for the root of the web-app). That means it takes the place of the usual "index.html" file and