Displaying image files stored in a database

2001-02-12 Thread Paul Kofon
Hi, I'm developing an web-based Employee Directory for my company. I've got it working all right. My problem is that I'd like to store the image files in a database (presently I'm using Hypersonic) and be able to display them as needed for each employee. However, I haven't been able to that. I

Displaying image files stored in a database

2001-02-12 Thread Paul Kofon
Hi, I'm developing an web-based Employee Directory for my company using Servlets and JSPs. I've got it working all right. My problem is that I'd like to store the image files in a database (presently I'm using Hypersonic) and be able to display them as needed for each employee. However, I

Orion and SSL

2001-02-12 Thread Daniel Lopez
Hi, I've already browsed the list archive and I've seen that many people have had this problem but I didn't find a solution. So my problem is the typical "Error listening to SSLServerSocket: No available certificate corresponds to the SSL cipher suites which are enabled" I already imported the

multi language support

2001-02-12 Thread Christos Voyiagis
Hi to all. i use orion with hypersonicsql.. is there any way to support greek characters ? i need some entries in the database in greek.. the Database Manager displays them but orion doesnt.. any workarounds? Thanks...

RE: Displaying image files stored in a database

2001-02-12 Thread Mikael Eriksson
Hi, I guess you could write the URL to all images from the database as '/databaseimage/primary key'. For example: '/databaseimage/13'. Then you map a servlet to /databaseimage. This servlet cheks the request URI for the primary key, reads the file from the database and then sends it on the

Problems with servlet mapping

2001-02-12 Thread Dan Cramer
Okay, I have a web app that maps "/" to servlet X. According to the Servlet spec, this is supposed to make X the default servlet. Also, according to the spec, the container is supposed to do a recursive search for the longest matching path. Here's the problem, when requests come in for things

Re: multi language support

2001-02-12 Thread Johan Fredriksson
It is probably because the shell that runs orion does not support greek characters... Try that... Or test run it using a Windows server. If it still does not work, I'm out of ideas. We had a similar problem, displaying swedish characters on a webpage, and the problem was the shell running did

Unicode and Orion in Java-Client

2001-02-12 Thread Dirk Ohst
Hi, I want to connect to orion from a java-client using interbase and unicode data. The data in unicode-format are stored correctly in the database, I just tested it with a java client connecting directly to the database. But I get garbled data when using a simple client connecting to orion. I

Unicode and Orion in Java-Client

2001-02-12 Thread Dirk Ohst
Hi, I want to connect to orion from a java-client using interbase and unicode data. The data in unicode-format are stored correctly in the database, I just tested it with a java client connecting directly to the database. But I get garbled data when using a simple client connecting to orion. I

Internal error in http server

2001-02-12 Thread Henrik Skafsgaard Larsen
Running with orion 1.4.5 on a Sun Solaris I found the following message in the logfile: . . Internal error in http server ...nullpointer exception .. Anyone seen this before ? med venlig hilsen Henrik Skafsgaard Larsen

Using Session Variables

2001-02-12 Thread Øystein Walle
Hi. I'm having some difficulty using session variables. Here's a short abridgement of my code in evaluate.jsp: HttpSession thisSession = request.getSession(true); ... while(enum.hasMoreElements()){ intValue = fncFunction(...); switch(value){ case -1:

RE: Any news from Orion yet??

2001-02-12 Thread Kemp Randy-W18971
Weblogic (and the high priced products like Websphere) are great, if you want to pay the price. They come with nice tools like front end gui's, good documentation, paid support, etc. But if you look for the opinions of developers who have used these products, and compared them to Orion,

Orion

2001-02-12 Thread waheed_rahuman
hi all Can anybody send me some ejb tutorials bye then waheed _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

RE: The best way to get the context path

2001-02-12 Thread Luong, Tony S322
in your jsp, try application.getRealPath(). -Original Message- From: Randahl Fink Isaksen [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 6:32 AM To: Orion-Interest Subject: The best way to get the context path Petr Podsednik wrote: img

Re: Problems with a finder method in a cmp

2001-02-12 Thread Geoff Marshall
Please don't laugh at me, but what IS a 'finder method in a CMP'?? Just a simple explanation or a pointer to more info, please... -- -Geoff Marshall, Director of Development ... t e r r a s c o p e (415) 951-4944 54 Mint

Error page

2001-02-12 Thread Johan Fredriksson
I included an error-page option in my web.xml, but whenever I force an error I get a strange response... HTTP/1.1 500 Internal Server ErrorDate: Mon, 12 Feb 2001 15:41:28 GMTServer: Orion/1.4.5Transfer-Encoding: chunkedConnection: CloseContent-Type: application/octet-stream 0 My browser

Re: Displaying image files stored in a database

2001-02-12 Thread nickm
Hi: How about creating an object that first deletes the image file referenced in the database then deletes the record itself? Stefan

Re: Displaying image files stored in a database

2001-02-12 Thread nickm
Hi: How about creating an object that first deletes the image file referenced in the database then deletes the record itself? Stefan

Re: R: Why is Netscape slower with Orion?

2001-02-12 Thread nickm
Netscape has been the bane of developers for years. I doubt that it will get better with version 6. How about Opera?

Re: R: Why is Netscape slower with Orion?

2001-02-12 Thread nickm
Netscape has been the bane of developers for years. I doubt that it will get better with version 6. How about Opera?

Re: R: Why is Netscape slower with Orion?

2001-02-12 Thread nickm
Netscape has been the bane of developers for years. I doubt that it will get better with version 6. How about Opera?

Re: Any news from Orion yet??

2001-02-12 Thread Andrew Whalley
1 Orion -- This product is ready now, but I haven't seen anyone from this list run a Sears store on it. http://www.printpotato.co.uk/ is ran on orion, and is a fair sized application. Unfortunately tw2 who are developing it have just gone out of buisness.

Re: Displaying image files stored in a database

2001-02-12 Thread nickm
Hi: How about creating an object that first deletes the image file referenced in the database then deletes the record itself? Stefan

Installing application.

2001-02-12 Thread nickm
Hi: I have been trying to install an application using orion and I am having a terrible time of it. With what information I can find I have installed the application in the application direcotry of orion and set the refrence in the server.xml file but I get this error when starting up

Re: Orion

2001-02-12 Thread Ray Harrison
Waheed - look at www.jollem.com, www.orionsupport.com. Also buy Richard Monson-Haefel's book - "Enterprise Java Beans" Look around the net - you will find a lot of stuff... Ray --- waheed_rahuman [EMAIL PROTECTED] wrote: hi all Can anybody send me some ejb tutorials bye then waheed

RE: Using Session Variables

2001-02-12 Thread Duffey, Kevin
If this is in a JSP page, you don't need to get the session from the request. Go to the java.sun.com site, select APIs, select Java Server Pages and print yourself out the JSP Syntax Card. It tells you what you can use in JSP. There is a session variable already defined for you. Also, there is

RE: Problems with a finder method in a cmp

2001-02-12 Thread Russ White
Read O'Reilly - Enterprise JavaBeans 2nd ed. It will clear up a lot of your questions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Geoff Marshall Sent: Monday, February 12, 2001 10:31 AM To: Orion-Interest Subject: Re: Problems with a finder method

RE: Internal error in http server

2001-02-12 Thread Dan Cramer
Yes. Somewhere in your Servlet code you are getting a null pointer exception. Check your log file. Hope this helps, Dan Cramer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Henrik Skafsgaard Larsen Sent: Monday, February 12, 2001 3:41 AM To:

Re: Displaying image files stored in a database

2001-02-12 Thread Huibert Aalbers
Hi, I have recently done what you are looking for using (not surprisingly if you take a look at my e-mail) an Informix database. I stored the images as blobs in the database and used a singleton class (called through a JSP custom tag) to retrieve the images to the file system and manage a cache

RE: Problems with a finder method in a cmp

2001-02-12 Thread KirkYarina
Suppose you had a widget CMP entity bean, with a handedness field, and wanted to get all the left handed widgets. You'd use a finder method, findByHandedness("left"), to return a collection of left handed widgets. Orion makes this easy; just define it and go. See

Re: Installing application.

2001-02-12 Thread Ray Harrison
Hi - Go check out www.orionsupport.com and www.jollem.com (orion primer example) That should get you started Ray --- [EMAIL PROTECTED] wrote: Hi: I have been trying to install an application using orion and I am having a terrible time of it. With what information I can find I have

JNDI Lookup from Applet

2001-02-12 Thread John McManus
Does anyone have a simple example of an Applet doing a JNDI lookup of a bean? We are not using servlets, but a Swing Applet client contacting the beans directly and I'm getting the following exception: javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.DocumentBuilderFactoryImpl

RE: JNDI Lookup from Applet

2001-02-12 Thread Torgeir . Lerkerod
Hi, The simpel answer is everything. You need the include orion.jar and all it friends. I know this is a pain in the neck as it adds around 3mb to the application and hurts us a lot her. (Thats the one of the reasons why I am sitting her at the moment porting xml files to be valis so the

RE: JNDI Lookup from Applet

2001-02-12 Thread Torgeir . Lerkerod
Hi, Commenting on myself. I forgot to add the client side code Just remeber you can only make a context once from a client. Then you must reuse that one to get the ejb-instances. Her it is initialisation: java.util.Hashtable env = new java.util.Hashtable();

RE: Does Orion support PNG formatted images

2001-02-12 Thread Knudsen, Joe
Tim, it wasn't any problem with Orion it was in my building of the war file a wasn't copying the PNG files into the war. My build only looked for GIF or JPG file extensions. Simple build error. Thanks, Joe Knudsen Optical Solutions Network Management Developer Email: [EMAIL PROTECTED] Phone:

OT: Excellent new EJB 2.0 CMP book available

2001-02-12 Thread Jim Archer
I apologize that this is off topic, but its probably of interest to everyone here. For anyone interestred in EJB 2.0, there is a great book available at: http://www.mvcsoft.com Its included in their persistence manager product. BTW, that persistence manager is a complete implementation of

RE: Orion

2001-02-12 Thread Kemp Randy-W18971
Easy way is to go to a good search engine like www.northernlight.com and look for "EJB Tutorial". -Original Message- From: waheed_rahuman To: Orion-Interest Sent: 2/12/01 7:08 AM Subject: Orion hi all Can anybody send me some ejb tutorials bye then waheed

Fault Tolerance in orion server's JMS service

2001-02-12 Thread Songbo Zheng
Hi, Does anyone has the idea about fault tolerance in Orion application server's JMS service. And how to set it up. 1) One JMS client how to talk to more than two orion application servers' JMS service at the same time. 2) How to setup and register more than two orion server's JMS services

Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-12 Thread Duffey, Kevin
Hi, When I use the xsl:include.. directive, it appears to look in server root dir, and not the web-app root its deployed in. I am not quite sure if this is something to do with Orion, or if all servers operate in this manner and therefore its an error of the XSLT technology. Or..perhaps its an

RE: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-12 Thread Matt Krevs
Yes, we had this problem. I think its an XSL thing rather than an Orion thing. We are using Xalan and call XsltInputSource.setSystemId() to set the root directory for transformations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin Sent:

Servlet Chaining?

2001-02-12 Thread Dan Cramer
More random stuff from Orion. I put a statement in my servlet: resp.setContentType("text/html"); All of a sudden I start getting this error: 500 Internal Server Error Failed to initialize chaining servlet for contenttype text/xml () I don't want any chaining, and haven't set any up. How do I

Re: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-12 Thread Tim Endres
If you read the xalan source, you will see that this is a problem with xalan. The method that determines the location of the included file is written to be file-system and URL based. If has no concept of calling a method like "getRealPath()" to get a path relative to your webapp. The code is a

RE: Why xsl:include seems to try to find files in /Orion folder and n ot web-app root?

2001-02-12 Thread Victor A. Salaman
Orion should just replace Xalan for Saxon anyways... and use TraX instead of a propietary interface to Xalan... Xalan is Apache's excuse for having a XSLT processors, besides being one of the slowest in the crowd... -- Victor -Original Message- From: Tim Endres [mailto:[EMAIL

RE: Why xsl:include seems to try to find files in /Orion folder and not web-app root?

2001-02-12 Thread Dan Cramer
When you run Orion, are you starting it from /Orion? Try starting it from a different directory, and see if that changes where saxon searches for includes. My guess, is that it's just looking in the working directory by default. Look through the saxon doc's to see if you can set a property to

Re: Displaying image files stored in a database

2001-02-12 Thread Vinh Chu Xuan
Hi, I have the same problem with Oracle Database Server 8.1.6 Please send me some information if you have any ideal I would very much appreciate your ideal. Thanks Best regards, Vinh Chu Xuan Software RD Department Vietnam Data Communication Company http://home.vnn.vn/vdc/index_e.html 1E Trung

SV: Installing application.

2001-02-12 Thread Magnus Rydin
Are you sure that youreference your application correctly? In your text, you say that you have put your application in the application directory, but the error message looks like you have made a reference (in server.xml) to the path "C:/orion/addressbook2". Is that it? WR

SV: Displaying image files stored in a database

2001-02-12 Thread Magnus Rydin
Title: SV: Displaying image files stored in a database Did you see the answer given by Mikael Eriksson on this topic? WR -Ursprungligt meddelande- Från: Vinh Chu Xuan [mailto:[EMAIL PROTECTED]] Skickat: den 12 februari 2001 22:32 Till: Orion-Interest Ämne: Re: Displaying

Re: Installing application.

2001-02-12 Thread Johan Fredriksson
Try using relative paths instead. - Original Message - From: [EMAIL PROTECTED] To: Orion-Interest Sent: Monday, February 12, 2001 5:51 PM Subject: Installing application. Hi: I have been trying to install an application using orion and I am having a