Re: Orion and JSP
Well, you haven't said what Orion is telling you, but typically the first thing you do is follow the installation instructions, every step of them, which includes copying tools.jar to $ORION. That's alkl you have to do. One wonders why the three steps are as complicated as they are. - Joseph B. Ottinger [EMAIL PROTECTED] http://enigmastation.comIT Consultant On Mon, 13 May 2002, Krishnan, Sri wrote: Hi, I am trying to use jsp s with Orion. Can anyone let me know how do I get the JSP compiled and displayed on the web browser ?. I know that OC4J compiles the JSP, just could not figure out how to get the orion do that. Thanks alot for your help Sri
Re: Orion and JSP
It's simple if you have Orion running successfully. 1. In you orion's config directory you need to set up a web-app. Usually you use default-web-site.xml to do this. For instance add a line like: web-app application=bank name=/home/user/dev/pages root=/online-banking / This holds your JSPs. 2. Then you can set up an application in your server.xml where all of your java classes go, (you may not need this just to get JSP's to work-I'm not sure): application name=bank path=/home/user/dev/com / 3. In the location you set up for your web-app in default-web-site.xml you need to put a WEB-INF directory that has a file called web.xml. It doesn't have to be very complicated: ?xml version=1.0? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app display-nameOnline Banking Application/display-name descriptionOnline Banking Application/description welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list /web-app 4. Finally, you must have a META-INF directory where you specified your application in step 2, and it has to have a file called application.xml: ?xml version=1.0? !DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN http://java.sun.com/j2ee/dtds/application_1_2.dtd; application display-nameOnline Banking Application/display-name module web web-uri/home/user/dev/pages/web-uri context-root//context-root /web /module 5. Then just use your Orion default URL + the Root you specified earlier in step 1 in the form http://host_name:port_number/online-banking (if you use default port 80 then don't put the : and port number): http://banking_server.com:8080/online-banking it should load the index.jsp you specified in web.xml as a default home page! Now just add pages, and change the URL to include a new page: http://banking_server.com:8080/online-banking/CheckingAccount.jsp It should load that new page. Good luck, Corey Krishnan, Sri wrote: Hi, I am trying to use jsp s with Orion. Can anyone let me know how do I get the JSP compiled and displayed on the web browser ?. I know that OC4J compiles the JSP, just could not figure out how to get the orion do that. Thanks alot for your help Sri -- Corey J. Graham - Software Developer Keystroke Technology Solutions 1511 3rd Ave. Suite 700, Seattle, Wa 98101 (206) 576-4557
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
I get a 400 Bad Request on my Orion installation: Win2k sun jdk 1.3 Orion 1.4.5 Has the bug been fixed between orion 1.4.1 and 1.4.5, Karl/Magnus/anyone!? /Manne -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: 02 May 2001 04:21 To: Orion-Interest Subject: RE: Orion-based JSP bug -- The Case of the Exhibiting %00 Thanks. We are trying, but are running into other non-related issues (if I remember correctly, they have to do with internationalization). --Rex | -Original Message- | From: Hani Suleiman [mailto:[EMAIL PROTECTED]] | Sent: Monday, April 30, 2001 11:18 AM | To: Orion-Interest | Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00 | | | This bug was reported and fixed a long time ago, you should upgrade! | | On Mon, 30 Apr 2001, Rex McFarlin wrote: | | Can anyone help us solve a perplexing JSP bug? We have been | unsuccessful. | | If a %00 is attached to the end of a URL (as in, | http://localhost:8008/dcr/index.jsp%00 | http://localhost:8008/dcr/index.jsp%00 ) to a JSP page | that is being | served by Orion server, the user receives, not the rendered | HTML page that | he or she might be expecting, but a textual output of the | raw JSP code for | that page. | | We have found this to be true with the following configuration: | Orion 1.4.1 | Win2K | JDK1.3 | | Thank you, | | Rex McFarlin | [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | | | |
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
The error for which this mail was originally posted has been fixed. --- Manne Fagerlind [EMAIL PROTECTED] wrote: I get a 400 Bad Request on my Orion installation: Win2k sun jdk 1.3 Orion 1.4.5 Has the bug been fixed between orion 1.4.1 and 1.4.5, Karl/Magnus/anyone!? /Manne -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: 02 May 2001 04:21 To: Orion-Interest Subject: RE: Orion-based JSP bug -- The Case of the Exhibiting %00 Thanks. We are trying, but are running into other non-related issues (if I remember correctly, they have to do with internationalization). --Rex | -Original Message- | From: Hani Suleiman [mailto:[EMAIL PROTECTED]] | Sent: Monday, April 30, 2001 11:18 AM | To: Orion-Interest | Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00 | | | This bug was reported and fixed a long time ago, you should upgrade! | | On Mon, 30 Apr 2001, Rex McFarlin wrote: | | Can anyone help us solve a perplexing JSP bug? We have been | unsuccessful. | | If a %00 is attached to the end of a URL (as in, | http://localhost:8008/dcr/index.jsp%00 | http://localhost:8008/dcr/index.jsp%00 ) to a JSP page | that is being | served by Orion server, the user receives, not the rendered | HTML page that | he or she might be expecting, but a textual output of the | raw JSP code for | that page. | | We have found this to be true with the following configuration: | Orion 1.4.1 | Win2K | JDK1.3 | | Thank you, | | Rex McFarlin | [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | | | | __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0 -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:28 AM To: Orion-Interest Subject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Re: Orion-based JSP bug -- The Case of the Exhibiting %00
I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this is a critical problem! On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote: I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0 -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:28 AM To: Orion-Interest Subject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
Re: Orion-based JSP bug -- The Case of the Exhibiting %00
Joseph, This IS fixed, and as was already posted to the list, just use a more recent version of Orion. I run 1.4.5 and can't duplicate this problem. Jeff. Joseph B. Ottinger wrote: I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this is a critical problem! On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote: I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0 -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:28 AM To: Orion-Interest Subject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
Heh... I think that Joseph was joking. A particullar clue off is the fact that he's one of the orionsupport people. :) But of course sarcasm does carry well in email... -Original Message- From: Jeff Hubbach [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 3:26 PM To: Orion-Interest Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00 Joseph, This IS fixed, and as was already posted to the list, just use a more recent version of Orion. I run 1.4.5 and can't duplicate this problem. Jeff. Joseph B. Ottinger wrote: I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this is a critical problem! On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote: I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0 -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:28 AM To: Orion-Interest Subject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
Joseph, Don't worry...your sarcasm isn't lost on all of us. :) Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Hubbach Sent: Tuesday, May 01, 2001 5:26 PM To: Orion-Interest Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00 Joseph, This IS fixed, and as was already posted to the list, just use a more recent version of Orion. I run 1.4.5 and can't duplicate this problem. Jeff. Joseph B. Ottinger wrote: I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this is a critical problem! On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote: I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0 -Original Message- From: Rex McFarlin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 30, 2001 10:28 AM To: Orion-Interest Subject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
Thanks for the reply. I wonder if it is related to Windows in some manner. Clearly, Linux is a superior operating system. *wink* We are trying to upgrade to a later version of Orion. I posted this issue in Orion's Bugzilla and got a response back that it was an old bug related to versions earlier than 1.4.5 (probably). We are having some other issues not related to this, so don't know if it works, yet. Rex | -Original Message- | From: Jeff Hubbach [mailto:[EMAIL PROTECTED]] | Sent: Monday, April 30, 2001 1:34 PM | To: Orion-Interest | Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00 | | | Rex, | | I just tried to duplicate your situation, both with zeroes (yielded a | 400 Bad Request) and capital o's (yielded a 404 Not Found). | I'm running | Orion 1.4.5 on Red Hat 6.2 with Sun's JDK 1.3. | | Jeff Hubbach. | | Rex McFarlin wrote: | | Can anyone help us solve a perplexing JSP bug? We have been | unsuccessful.If a %00 is attached to the end of a URL (as in, | http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being | served by Orion server, the user receives, not the rendered | HTML page | that he or she might be expecting, but a textual output of | the raw JSP | code for that page. We have found this to be true with the following | configuration:Orion 1.4.1Win2KJDK1.3Thank you,Rex | [EMAIL PROTECTED] | | -- | Jeff Hubbach | Internet Developer | New Media Designs, Inc. | www.nmd.com | | | |
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
Thanks. We are trying, but are running into other non-related issues (if I remember correctly, they have to do with internationalization). --Rex | -Original Message- | From: Hani Suleiman [mailto:[EMAIL PROTECTED]] | Sent: Monday, April 30, 2001 11:18 AM | To: Orion-Interest | Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00 | | | This bug was reported and fixed a long time ago, you should upgrade! | | On Mon, 30 Apr 2001, Rex McFarlin wrote: | | Can anyone help us solve a perplexing JSP bug? We have been | unsuccessful. | | If a %00 is attached to the end of a URL (as in, | http://localhost:8008/dcr/index.jsp%00 | http://localhost:8008/dcr/index.jsp%00 ) to a JSP page | that is being | served by Orion server, the user receives, not the rendered | HTML page that | he or she might be expecting, but a textual output of the | raw JSP code for | that page. | | We have found this to be true with the following configuration: | Orion 1.4.1 | Win2K | JDK1.3 | | Thank you, | | Rex McFarlin | [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | | | |
Re: Orion-based JSP bug -- The Case of the Exhibiting %00
This bug was reported and fixed a long time ago, you should upgrade! On Mon, 30 Apr 2001, Rex McFarlin wrote: Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
Doesn't happen for me on Orion 1.4.8, Jdk1.3, Redhat Linux 7.1 -Original Message-From: Rex McFarlin [mailto:[EMAIL PROTECTED]]Sent: Monday, April 30, 2001 8:28 AMTo: Orion-InterestSubject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a "%00" is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED]
Re: Orion-based JSP bug -- The Case of the Exhibiting %00
Rex, I just tried to duplicate your situation, both with zeroes (yielded a 400 Bad Request) and capital o's (yielded a 404 Not Found). I'm running Orion 1.4.5 on Red Hat 6.2 with Sun's JDK 1.3. Jeff Hubbach. Rex McFarlin wrote: Can anyone help us solve a perplexing JSP bug? We have been unsuccessful.If a %00 is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration:Orion 1.4.1Win2KJDK1.3Thank you,Rex [EMAIL PROTECTED] -- Jeff Hubbach Internet Developer New Media Designs, Inc. www.nmd.com
RE: Orion-based JSP bug -- The Case of the Exhibiting %00
Orion1.4.7 jdk1.3 winNT 400 Bad Request Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information -Original Message-From: Rex McFarlin [mailto:[EMAIL PROTECTED]]Sent: Monday, April 30, 2001 8:28 AMTo: Orion-InterestSubject: Orion-based JSP bug -- The Case of the Exhibiting %00 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful. If a "%00" is attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00) to a JSP page that is being served by Orion server, the user receives, not the rendered HTML page that he or she might be expecting, but a textual output of the raw JSP code for that page. We have found this to be true with the following configuration: Orion 1.4.1 Win2K JDK1.3 Thank you, Rex McFarlin [EMAIL PROTECTED]