Xerces.jar

2001-06-05 Thread Eduardo Estefano

After upgrading to orion 1.5.1, orion would not find xerces.jar anymore in
the classpath.

I placed it in orion/lib - nothing
I placed it in the application lib - nothing
I placed it in the WEB-INF/lib - nothing

Then I decided to the check the orion.jar manifest, and noticed that
xerces.jar was not in the classpath anymore. I then updated the manifest so
that xerces.jar is in the classpath and now it finds the package.

I don't want this to be part of the deployment process. Is there an easier
way to make orion realize that xerces.jar should be in the classpath?

Shoud I not be using xerces.jar?

The file that orion complains about is:

java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory




Re: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread Eddie
Title: RE: modifying log levels through a management console



OK, 
In the meantime I found out what is 
wrong:
I am using apache as a proxy server, and therefore 
I do get the IP address of the server.
How can I overcome this ?? Such that 
getRemoteAddr() does return the client's IP address in my servlets.

Eddie



  - Original Message - 
  From: 
  Eddie 
  
  To: Orion-Interest 
  Sent: Tuesday, June 05, 2001 2:12 
PM
  Subject: getRemoteAddr()
  
  Hellu there,If I use 
  getRemoteAddr() to get the IP address of the client the makes 
  theservlet requests it return the IP address of the server ?? 
  (alsogetRemoteHost() returns the server name).Any idea how come 
  ??I am running jdk 1.3 and the servlets run on the application server 
  Orion 1.5.1 (OS: Linux redhat 7.0)
  (I can remember that a JSP on JSERv on apache 
  didn't had this problem, so I quess it's Orion .. not ??)
  Eddie


RE: Oracle 9ias Container for J2ee (oc4j)

2001-06-05 Thread elephantwalker

I have been giving the Oracle salesman hell for the last year about their
$1,000,000 offer ... since they did not include Orion in the speed test.

Now I know why!

Great job guys, you bagged the elephant!

Regards,

the elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy
Sent: Sunday, June 03, 2001 7:47 AM
To: Orion-Interest
Subject: Re: Oracle 9ias Container for J2ee (oc4j)


Congradulations, guys, on a job well done.  This means
that Orion is hitting the big time, and with some of
the big Oracle royality checks, they can hire a tech
writer to produce some first class documentation, and
extend the user base of Orion.  I really like to see
the small guys producing great products, like Orion,
Resin, and Jboss, get the recognition and glory they
deserve.
  Imagine BEA and Websphere as the big bad dragons,
dominating the J2EE lanscape, and the small knights,
like Orion, Resin, and Jboss, fighting the battle.
  But the announcement also doesn't supprise me.  Look
at the Apache foundation.  A couple of years ago, IBM
approached them with a funding proposal to produce a
Windows version that they could use in their Websphere
products.  With Apahche 2.0, Apache goes from a
process model to a process, thread model, and should
be declared stable for Windows.  Companies like IBM
and Oracle now embed Apache in their products, and
Apache gains from a greater cash influx.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/





Re: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread Marcel Schutte

Hi,

I don't know how it works, but in orion's changes.txt it says 'Added AJP13
support.' for version 1.4.8 . Unfortunately the docs don't mention it at
all.

As far as I know this is the protocol used by Tomcat to communicate with
Apache. Perhaps it solves your problem, leaving you with the problem of
getting AJP13 to work ofcourse :).

Marcel

- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 6:29 PM
Subject: Re: getRemoteAddr() - APACHE as proxy !!


OK,
In the meantime I found out what is wrong:
I am using apache as a proxy server, and therefore I do get the IP address
of the server.
How can I overcome this ?? Such that getRemoteAddr() does return the
client's IP address in my servlets.

Eddie


  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Tuesday, June 05, 2001 2:12 PM
  Subject: getRemoteAddr()


  Hellu there,

  If I use getRemoteAddr()  to get the IP address of the client the makes
the
  servlet requests it return the IP address of the server ?? (also
  getRemoteHost() returns the server name).

  Any idea how come ??
  I am running jdk 1.3 and the servlets run on the application server Orion
1.5.1
  (OS: Linux redhat 7.0)

  (I can remember that a JSP on JSERv on apache didn't had this problem, so
I quess it's Orion .. not ??)

  Eddie








JMX support on Orion

2001-06-05 Thread Setlur, Atul (MED)
Title: RE: modifying log levels through a management console




Hello Everyone,
I am trying to find out information 
about support for JMX on the Orion App Server. Is there any support for JMX? 
Does Orion provide aremote 
management console? What information is available for remote 
monitoring?
I would appreciate any information in 
this regard.
Thanks,
-Atul


RE: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread Andre Vanha

I've run into the same problem.  I don't think there is any way around this,
since the Apache module is a simple proxy.  
It would be necessary to improve the Apache plugin to send some extra
headers, and then have orion interpret them.
However without an open API through which to construct the HTTP requests
coming into orion, you would have to interpret these headers in your own
code.  
 
One possible avanue is Orion's load balancer.  I haven't had a chance to
test it, but does it suffer from the same problem?  
It may already have an API that allows it to pass through the original IP
address (and other info) to the actual server, which could be emulated by a
web server plugin.
 
Andre

-Original Message-
From: Eddie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:30 AM
To: Orion-Interest
Subject: Re: getRemoteAddr() - APACHE as proxy !!


OK, 
In the meantime I found out what is wrong:
I am using apache as a proxy server, and therefore I do get the IP address
of the server.
How can I overcome this ?? Such that getRemoteAddr() does return the
client's IP address in my servlets.
 
Eddie
 
 

- Original Message - 
From: Eddie mailto:[EMAIL PROTECTED]  
To: Orion-Interest mailto:[EMAIL PROTECTED]  
Sent: Tuesday, June 05, 2001 2:12 PM
Subject: getRemoteAddr()

Hellu there,

If I use getRemoteAddr()  to get the IP address of the client the makes the
servlet requests it return the IP address of the server ?? (also
getRemoteHost() returns the server name).

Any idea how come ??
I am running jdk 1.3 and the servlets run on the application server Orion
1.5.1 
(OS: Linux redhat 7.0)

(I can remember that a JSP on JSERv on apache didn't had this problem, so I
quess it's Orion .. not ??)

Eddie







Re: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread mascolino . mr


Oracle 9iAS uses Apache as the web server so prehaps this addition of AJP13
support was added because of Oracle's licensing.

m

Mark R Mascolino
Technology Missionary
The Procter  Gamble Co.
[EMAIL PROTECTED]



 Internet Mail Message  
 Received from host:



   

  Marcel Schutte 

  [EMAIL PROTECTED]To:  Orion-Interest 
[EMAIL PROTECTED] 
  Sent by:cc: (bcc: Mark 
Mascolino-MR/PGI) 
  [EMAIL PROTECTED]Subject: Re: getRemoteAddr() 
- APACHE as proxy !!
   

 06/05/01 01:52 PM 

  Please respond to Orion-Interest 

   

   





Hi,

I don't know how it works, but in orion's changes.txt it says 'Added AJP13
support.' for version 1.4.8 . Unfortunately the docs don't mention it at
all.

As far as I know this is the protocol used by Tomcat to communicate with
Apache. Perhaps it solves your problem, leaving you with the problem of
getting AJP13 to work ofcourse :).

Marcel

- Original Message -
From: Eddie [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 6:29 PM
Subject: Re: getRemoteAddr() - APACHE as proxy !!


OK,
In the meantime I found out what is wrong:
I am using apache as a proxy server, and therefore I do get the IP address
of the server.
How can I overcome this ?? Such that getRemoteAddr() does return the
client's IP address in my servlets.

Eddie


  - Original Message -
  From: Eddie
  To: Orion-Interest
  Sent: Tuesday, June 05, 2001 2:12 PM
  Subject: getRemoteAddr()


  Hellu there,

  If I use getRemoteAddr()  to get the IP address of the client the makes
the
  servlet requests it return the IP address of the server ?? (also
  getRemoteHost() returns the server name).

  Any idea how come ??
  I am running jdk 1.3 and the servlets run on the application server Orion
1.5.1
  (OS: Linux redhat 7.0)

  (I can remember that a JSP on JSERv on apache didn't had this problem, so
I quess it's Orion .. not ??)

  Eddie












RE: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread elephantwalker

Andre,

Sorry, but the loadbalancer.jar has the same problem. For example, the
access logs for the various orion servers only report the ip of the
loadbalancer...not very interesting.

Regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Andre Vanha
Sent: Tuesday, June 05, 2001 12:55 PM
To: Orion-Interest
Subject: RE: getRemoteAddr() - APACHE as proxy !!


I've run into the same problem.  I don't think there is any way around this,
since the Apache module is a simple proxy.
It would be necessary to improve the Apache plugin to send some extra
headers, and then have orion interpret them.
However without an open API through which to construct the HTTP requests
coming into orion, you would have to interpret these headers in your own
code.

One possible avanue is Orion's load balancer.  I haven't had a chance to
test it, but does it suffer from the same problem?
It may already have an API that allows it to pass through the original IP
address (and other info) to the actual server, which could be emulated by a
web server plugin.

Andre

-Original Message-
From: Eddie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 10:30 AM
To: Orion-Interest
Subject: Re: getRemoteAddr() - APACHE as proxy !!


OK,
In the meantime I found out what is wrong:
I am using apache as a proxy server, and therefore I do get the IP address
of the server.
How can I overcome this ?? Such that getRemoteAddr() does return the
client's IP address in my servlets.

Eddie



- Original Message -
From: Eddie mailto:[EMAIL PROTECTED]
To: Orion-Interest mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 2:12 PM
Subject: getRemoteAddr()

Hellu there,

If I use getRemoteAddr()  to get the IP address of the client the makes the
servlet requests it return the IP address of the server ?? (also
getRemoteHost() returns the server name).

Any idea how come ??
I am running jdk 1.3 and the servlets run on the application server Orion
1.5.1
(OS: Linux redhat 7.0)

(I can remember that a JSP on JSERv on apache didn't had this problem, so I
quess it's Orion .. not ??)

Eddie









Orion Console - Global Application - Resource

2001-06-05 Thread Mustafa Cayci

Hi, 

I have a data-sources.xml that configured to talk to
Oracle with certain username.  However, when I am in
Console/Global Application/Resources to list tables, I
am getting  the list of tables for every schema in
database.  Shouldn't I only see my schema which I
defined in data-sources.xml?

Thanks,
Mustafa

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




Tag library TEI difference

2001-06-05 Thread Wendell Nichols

I have a small tag library application which I have successfully
deployed on Jrun and Tomcat.  The tei class describes a field like this:

  public VariableInfo[] getVariableInfo(TagData data) {
 return new VariableInfo []
{
   new VariableInfo(eCTSResult,
String,
true,
VariableInfo.NESTED),
   new VariableInfo(EndMsg,
String,
true,
VariableInfo.NESTED),
   new VariableInfo(ReturnMsg,
String,
true,
VariableInfo.NESTED)
};
  }

When this app is deployed on orion I get the error:
Bean 'String' not found.

In order to make this work I had to change  String to
java.lang.String

I've also noticed some pretty inconsistent results using
auto-redeployment.  It works sometimes, an other times it takes an error
opening the ear file.  In these cases I have to recycle the server.

Wendell Nichols
Amdahl Software Ltd.
A Fujitsu Company





RE: Xerces.jar

2001-06-05 Thread Mike Cannon-Brookes

 java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory

This file is in Xalan.jar not Xerces.jar ?

Orion no longer needs Xerces, it uses JAXP and Crimson instead. You should
code to the JAXP API anyway, not to Xerces specific APIs - for portability.

-mike





Re: Xerces.jar

2001-06-05 Thread Kesav Kumar

If you want your xerces.jar to be picked from your classpath keep xerces.jar
in jre\lib\ext directory.

- Original Message -
From: Eduardo Estefano [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Tuesday, June 05, 2001 8:46 AM
Subject: Xerces.jar


 After upgrading to orion 1.5.1, orion would not find xerces.jar anymore in
 the classpath.

 I placed it in orion/lib - nothing
 I placed it in the application lib - nothing
 I placed it in the WEB-INF/lib - nothing

 Then I decided to the check the orion.jar manifest, and noticed that
 xerces.jar was not in the classpath anymore. I then updated the manifest
so
 that xerces.jar is in the classpath and now it finds the package.

 I don't want this to be part of the deployment process. Is there an easier
 way to make orion realize that xerces.jar should be in the classpath?

 Shoud I not be using xerces.jar?

 The file that orion complains about is:

 java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory





Re: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread Daniel López

Well,

I have some partially good news: There is a way around that using
Apache. I'm also using it as a proxy, to concentrate all the services on
the standard HTTP port while keeping different Orion instances running,
and as some of our security requirements take into account the IP from
the client, so  I run onto the same problem. I queried the mod_proxy
list and I got a patch that includes, as an extra HTTP header, the
client original IP. This solves the problem for our own custom
authentication, as we check first if this header is available or not, if
it is, then we check the IP agains this value.
The problem here would be if you use some authentication mechanism that
you cannot modify so it checks for this extra header.
Here it is, the URL I was given and from where you can download the
patch: http://develooper.com/code/mpaf/
I hope this helps,
D.


elephantwalker wrote:
 
 Andre,
 
 Sorry, but the loadbalancer.jar has the same problem. For example, the
 access logs for the various orion servers only report the ip of the
 loadbalancer...not very interesting.
 
 Regards,
 
 the elephantwalker
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Andre Vanha
 Sent: Tuesday, June 05, 2001 12:55 PM
 To: Orion-Interest
 Subject: RE: getRemoteAddr() - APACHE as proxy !!
 
 I've run into the same problem.  I don't think there is any way around this,
 since the Apache module is a simple proxy.
 It would be necessary to improve the Apache plugin to send some extra
 headers, and then have orion interpret them.
 However without an open API through which to construct the HTTP requests
 coming into orion, you would have to interpret these headers in your own
 code.
 
 One possible avanue is Orion's load balancer.  I haven't had a chance to
 test it, but does it suffer from the same problem?
 It may already have an API that allows it to pass through the original IP
 address (and other info) to the actual server, which could be emulated by a
 web server plugin.
 
 Andre
 
 -Original Message-
 From: Eddie [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 05, 2001 10:30 AM
 To: Orion-Interest
 Subject: Re: getRemoteAddr() - APACHE as proxy !!
 
 OK,
 In the meantime I found out what is wrong:
 I am using apache as a proxy server, and therefore I do get the IP address
 of the server.
 How can I overcome this ?? Such that getRemoteAddr() does return the
 client's IP address in my servlets.
 
 Eddie
 
 - Original Message -
 From: Eddie mailto:[EMAIL PROTECTED]
 To: Orion-Interest mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 05, 2001 2:12 PM
 Subject: getRemoteAddr()
 
 Hellu there,
 
 If I use getRemoteAddr()  to get the IP address of the client the makes the
 servlet requests it return the IP address of the server ?? (also
 getRemoteHost() returns the server name).
 
 Any idea how come ??
 I am running jdk 1.3 and the servlets run on the application server Orion
 1.5.1
 (OS: Linux redhat 7.0)
 
 (I can remember that a JSP on JSERv on apache didn't had this problem, so I
 quess it's Orion .. not ??)
 
 Eddie