Fwd: file upload

2001-07-12 Thread Christoph Sturm

resending cos it didnt appear on the list for 24 hours :)

This is a forwarded message
From: Christoph Sturm [EMAIL PROTECTED]
To: orion-Interest [EMAIL PROTECTED]
Date: Tuesday, July 10, 2001, 3:27:46 PM
Subject: file upload

===8==Original message text===
Hello orion-Interest,

  I want to stream a uploaded file to the ejb server and save it in a
  cmp bean. The problem is that a FileInputStream is not serializable.
  Whats the best way to handle this?

-- 
Best regards,
 Christoph  mailto:[EMAIL PROTECTED]





Re: Fwd: file upload

2001-07-12 Thread Nick Newman

Hi Christoph,

Sending a file to the server is a specialized little job.  The Orion server 
supplies some orion-specific classes to help (see www.orionsupport.com and 
search for 'upload').  Alternatively, I have written some generic J2EE code 
for the same task, and you are welcome to have that - just drop me a 
line.  (The orionsupport guys said they'd post it on their website, but so 
far it's not there.)

Nick,
SCIENTECH Inc

At 04:09 PM 7/12/01 +0200, you wrote:
resending cos it didnt appear on the list for 24 hours :)

This is a forwarded message
From: Christoph Sturm [EMAIL PROTECTED]
To: orion-Interest [EMAIL PROTECTED]
Date: Tuesday, July 10, 2001, 3:27:46 PM
Subject: file upload

===8==Original message text===
Hello orion-Interest,

   I want to stream a uploaded file to the ejb server and save it in a
   cmp bean. The problem is that a FileInputStream is not serializable.
   Whats the best way to handle this?

--
Best regards,
  Christoph  mailto:[EMAIL PROTECTED]





RE: Apache and Orion

2001-07-12 Thread Gurinder Randhawa




I am running an orion cluster behind a  load balancer and Apache at the
front end on same machine, its on a test
system so theirs no real load. We are using Oracles 9i Application Server.

We use Apache for oracle reports and SSL and of course serving up static
content etc.
The problem is with mod_proxy which is just plain slow.

Oracle is coming out with a ojp protocol which is based on ajp13 which will
solve my problems,
but until then (late october) I wanted to use Orion but it just doesn't
integrate well with apache.

Any suggestions ? No i haven't tried the tunnelServlet, I will look into
that.

I was just wondering if anyone else has this kind of setup. Note we are
using
Oracle's OC4J (which is essentially orion). They bought Orion and popped it
into their next release
of application server.

Regards

Gurinder






elephantwalker [EMAIL PROTECTED] on 07/10/2001 08:45:30 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  RE: Apache and Orion




Have you tried using the tunnelServlet to pass all static requests to
Apache? Its a little bass-ackwards, but orion could be faster than apache
in this respect.

Also, are you running orion, the loadbalancer,  and apache on the same
machine? This could be just a load issue.

Lastly, orion is generally faster than apache at serving up static content.
There are very good reasons for using apache for static content, though,
that have nothing to do with speed. (For example, you have one ssl cert for
apache, and you don't want to pay for another one for orion.).

regards,

the elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
Randhawa
Sent: Tuesday, July 10, 2001 7:36 PM
To: Orion-Interest
Subject: Apache and Orion






Is anyone using Apache as a front end to Orion. I find that using mod_proxy
  to forward web application requests

is quite slow compared to using tomcat. Does anyone know if there is
  something else i can use beside mod_proxy

for Apache to serve static pages and orion to serve my web applications ?



I do need to use Apache as a front end server.

I am also using a loadbalancer and a cluster for my orion setup behind
  apache.



Any help would be much appreciated



Gurinder
















Re: Fwd: file upload

2001-07-12 Thread Joseph B. Ottinger

Nick, can you resend that to me?

On Thu, 12 Jul 2001, Nick Newman wrote:

 Hi Christoph,
 
 Sending a file to the server is a specialized little job.  The Orion server 
 supplies some orion-specific classes to help (see www.orionsupport.com and 
 search for 'upload').  Alternatively, I have written some generic J2EE code 
 for the same task, and you are welcome to have that - just drop me a 
 line.  (The orionsupport guys said they'd post it on their website, but so 
 far it's not there.)
 
 Nick,
 SCIENTECH Inc
 
 At 04:09 PM 7/12/01 +0200, you wrote:
 resending cos it didnt appear on the list for 24 hours :)
 
 This is a forwarded message
 From: Christoph Sturm [EMAIL PROTECTED]
 To: orion-Interest [EMAIL PROTECTED]
 Date: Tuesday, July 10, 2001, 3:27:46 PM
 Subject: file upload
 
 ===8==Original message text===
 Hello orion-Interest,
 
I want to stream a uploaded file to the ejb server and save it in a
cmp bean. The problem is that a FileInputStream is not serializable.
Whats the best way to handle this?
 
 --
 Best regards,
   Christoph  mailto:[EMAIL PROTECTED]
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant





FW: 1.5.2 stripping trailing slash on all URL's

2001-07-12 Thread Jason Coward



I'm reposting, hoping someone has a clue what is going 
on... ??? Please help if you can...

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Jason 
  CowardSent: Monday, July 09, 2001 5:35 PMTo: 
  Orion-InterestSubject: 1.5.2 stripping trailing slash on all 
  URL's
  I'm 
  curious as to why in Orion 1.5.2, the trailing slashes of all request URI's 
  are being removed automatically by the servlet container? Not sure if it 
  is the redirect or forward method implementations that are doing it, but it 
  has broken some code that expects trailing slashes on the requests (it's an 
  open-source DAV server implementation). I'm not necessarily reporting 
  this as a bug, just curious if someone can enlighten me as to what changed and 
  why this might have changed in this version; it wasn't happening 
  before.
  
  Thanks,
  
  Jason


Re: Fwd: file upload

2001-07-12 Thread Nick Newman

Hi Joe,

Here it is.  (I hope you didn't mind my subtle hint.   I know you're 
busy!  ;-)

I think that what's in the zip is a good starting point for most uses, but 
if you think I should add something before you want to show it, let me know 
and I'll see what I can do.

Thanks!
Nick


At 01:18 PM 7/12/01 -0500, you wrote:
Nick, can you resend that to me?

On Thu, 12 Jul 2001, Nick Newman wrote:

  Hi Christoph,
 
  Sending a file to the server is a specialized little job.  The Orion 
 server
  supplies some orion-specific classes to help (see www.orionsupport.com and
  search for 'upload').  Alternatively, I have written some generic J2EE 
 code
  for the same task, and you are welcome to have that - just drop me a
  line.  (The orionsupport guys said they'd post it on their website, but so
  far it's not there.)
 
  Nick,
  SCIENTECH Inc
 
  At 04:09 PM 7/12/01 +0200, you wrote:
  resending cos it didnt appear on the list for 24 hours :)
  
  This is a forwarded message
  From: Christoph Sturm [EMAIL PROTECTED]
  To: orion-Interest [EMAIL PROTECTED]
  Date: Tuesday, July 10, 2001, 3:27:46 PM
  Subject: file upload
  
  ===8==Original message text===
  Hello orion-Interest,
  
 I want to stream a uploaded file to the ejb server and save it in a
 cmp bean. The problem is that a FileInputStream is not serializable.
 Whats the best way to handle this?
  
  --
  Best regards,
Christoph  mailto:[EMAIL PROTECTED]
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://adjacency.org/ IT Consultant

 UploadServlet.zip


session-tracking without cookies

2001-07-12 Thread Martin Ortuzar
Title: session-tracking without cookies






My understanding is that the default behaviour of Orion is to use url-rewriting to keep track of sessions when cookies on a browser are disabled. I have not been able to see this functionality work. I've tried turning off cookies on a browser, however urls are not automatically modified as I though they would be, so the user loses the session on every access. 

I have tried adding a 
session-tracking autoencode-absolute-urls=true autoencode-urls=true / 
tag to the global-web-application.xml file, and also in the orion-web.xml file fo the application but still with not results. 

Are there any settings that could be preventing this functionality from working?


Thanks in advance.


- martin





Re: Apache and Orion

2001-07-12 Thread Michael J. Cannon

So why use Apache?

The Orionserver will serve up static http pages...I've looked and tehre are
no issues I can see that Orion won't handle with regards the content 9i and
the v.11/12 Oracle Apps...

This is not meant as a criticism or flame...it's for my info, as I also
support Oracle and have no prob running w/ just the OrionServer (w/ out
Apache).  Of course, all my apps are written to run that way.  What does
Apache do for Oracle that Orion can't do better?

Michael J. Cannon
[EMAIL PROTECTED]
- Original Message -
From: Gurinder Randhawa [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, July 12, 2001 12:10 PM
Subject: RE: Apache and Orion





 I am running an orion cluster behind a  load balancer and Apache at the
 front end on same machine, its on a test
 system so theirs no real load. We are using Oracles 9i Application Server.

 We use Apache for oracle reports and SSL and of course serving up static
 content etc.
 The problem is with mod_proxy which is just plain slow.

 Oracle is coming out with a ojp protocol which is based on ajp13 which
will
 solve my problems,
 but until then (late october) I wanted to use Orion but it just doesn't
 integrate well with apache.

 Any suggestions ? No i haven't tried the tunnelServlet, I will look into
 that.

 I was just wondering if anyone else has this kind of setup. Note we are
 using
 Oracle's OC4J (which is essentially orion). They bought Orion and popped
it
 into their next release
 of application server.

 Regards

 Gurinder






 elephantwalker [EMAIL PROTECTED] on 07/10/2001 08:45:30 PM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  RE: Apache and Orion




 Have you tried using the tunnelServlet to pass all static requests to
 Apache? Its a little bass-ackwards, but orion could be faster than
apache
 in this respect.

 Also, are you running orion, the loadbalancer,  and apache on the same
 machine? This could be just a load issue.

 Lastly, orion is generally faster than apache at serving up static
content.
 There are very good reasons for using apache for static content, though,
 that have nothing to do with speed. (For example, you have one ssl cert
for
 apache, and you don't want to pay for another one for orion.).

 regards,

 the elephantwalker

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
 Randhawa
 Sent: Tuesday, July 10, 2001 7:36 PM
 To: Orion-Interest
 Subject: Apache and Orion






 Is anyone using Apache as a front end to Orion. I find that using
mod_proxy
   to forward web application requests

 is quite slow compared to using tomcat. Does anyone know if there is
   something else i can use beside mod_proxy

 for Apache to serve static pages and orion to serve my web applications ?



 I do need to use Apache as a front end server.

 I am also using a loadbalancer and a cluster for my orion setup behind
   apache.



 Any help would be much appreciated



 Gurinder


















A little off topic: HTTPS and cookies in Java

2001-07-12 Thread Joe Fair

I'm about to start a project that I will need to
access a web site that will send me cookies for
security.  I'm trying to automate the access, and I
was wondering if anyone had used some software to
handle the cookies comming in and going out?
Thanks,
Joe

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




RE: Apache and Orion

2001-07-12 Thread elephantwalker

a resend...

-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 11:15 AM
To: Orion-Interest
Subject: RE: Apache and Orion


One radical suggestion...

1. orion serves up static content much faster than Apache. Drop Apache
altogether. I know that Oracle doesn't recommend this, but that's because
they have a vested interest in their other solution.
2. Use an ssl accelerator card. For example, sonicwall has an excellent
card. The loadbalancer from Orion doesn't yet support ssl (docs say it does,
but they are wrong).
3. If you must use apache, use the tunneling survlet.

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
Randhawa
Sent: Thursday, July 12, 2001 10:10 AM
To: Orion-Interest
Subject: RE: Apache and Orion





I am running an orion cluster behind a  load balancer and Apache at the
front end on same machine, its on a test
system so theirs no real load. We are using Oracles 9i Application Server.

We use Apache for oracle reports and SSL and of course serving up static
content etc.
The problem is with mod_proxy which is just plain slow.

Oracle is coming out with a ojp protocol which is based on ajp13 which will
solve my problems,
but until then (late october) I wanted to use Orion but it just doesn't
integrate well with apache.

Any suggestions ? No i haven't tried the tunnelServlet, I will look into
that.

I was just wondering if anyone else has this kind of setup. Note we are
using
Oracle's OC4J (which is essentially orion). They bought Orion and popped it
into their next release
of application server.

Regards

Gurinder






elephantwalker [EMAIL PROTECTED] on 07/10/2001 08:45:30 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  RE: Apache and Orion




Have you tried using the tunnelServlet to pass all static requests to
Apache? Its a little bass-ackwards, but orion could be faster than apache
in this respect.

Also, are you running orion, the loadbalancer,  and apache on the same
machine? This could be just a load issue.

Lastly, orion is generally faster than apache at serving up static content.
There are very good reasons for using apache for static content, though,
that have nothing to do with speed. (For example, you have one ssl cert for
apache, and you don't want to pay for another one for orion.).

regards,

the elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
Randhawa
Sent: Tuesday, July 10, 2001 7:36 PM
To: Orion-Interest
Subject: Apache and Orion






Is anyone using Apache as a front end to Orion. I find that using mod_proxy
  to forward web application requests

is quite slow compared to using tomcat. Does anyone know if there is
  something else i can use beside mod_proxy

for Apache to serve static pages and orion to serve my web applications ?



I do need to use Apache as a front end server.

I am also using a loadbalancer and a cluster for my orion setup behind
  apache.



Any help would be much appreciated



Gurinder

















Re: A little off topic: HTTPS and cookies in Java

2001-07-12 Thread tim courtney

if its a java applet or application
then have a look at
http://www.innovation.ch/java/HTTPClient/
it has a cookie handler  is very easy to use

Joe Fair wrote:
 
 I'm about to start a project that I will need to
 access a web site that will send me cookies for
 security.  I'm trying to automate the access, and I
 was wondering if anyone had used some software to
 handle the cookies comming in and going out?
 Thanks,
 Joe
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail
 http://personal.mail.yahoo.com/




RE: A little off topic: HTTPS and cookies in Java

2001-07-12 Thread Simon Evans

you could try httpunit. it is automated unit testing of web pages and it
handles cookies. it is also open source.
http://httpunit.sourceforge.net/

-Original Message-
From: Joe Fair [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 3:29 PM
To: Orion-Interest
Subject: A little off topic: HTTPS and cookies in Java


I'm about to start a project that I will need to
access a web site that will send me cookies for
security.  I'm trying to automate the access, and I
was wondering if anyone had used some software to
handle the cookies comming in and going out?
Thanks,
Joe

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




UNSUSCRIBE

2001-07-12 Thread Carlo Diaz