How do you integrate JAAS with orion security?

2001-06-08 Thread Harley Rana

I have been looking into the JAAS security for building a more flexible
security framework.
The main problem I have is how to use the jaas api with the security
features in Orion.
For example if you implement a custom LoginModule, how does it add a
principal to the Orion web container, or how does jaas register a user for
method permissions in an EJB?

Is there a way to integrate with the Orion security model with jaas?
Thanks for your help!






clustering and key generation

2001-06-08 Thread Greg Matthews



dear all,

if there any way to get all machines in a cluster 
to lookup a stateless session bean (KeyGeneratorBean) on *one* of the machines 
in the cluster only.

i've given it a try but can't seem to find a way to 
get machine B to use machine A's KeyGeneratorBean, even though machine B builds 
a new InitialContext with the 4 environment parameters, e.g. 
principal/credentials/url/factory when doing a lookup for KeyBean.

thanks,
greg.


UNSUNSCRIBE

2001-06-08 Thread Raul Rivas Rodriguez



UNSUNSCRIBE




UNSUNSCRIBE

2001-06-08 Thread Karin Keur

UNSUNSCRIBE




Re: getRemoteAddr() - APACHE as proxy !! HMMMMM

2001-06-08 Thread Daniel López

Hi Eddie,

It works for me because I'm not replacing the original address. As I
have my own authentication routines, I check the X-FORWARDED-FOR header
when it is available, else the usual one. So I never tried to do what
you are trying to do, hence I can't help you much, I'm sorry about that.
On the other hand, you might try to get in touch with the author of the
module, Ask Bjoern Hansen([EMAIL PROTECTED]). He was the one who kindly
pointed me to the URL I gave you and he was quite helpful.
But if you are trying to do what I think, you might have run out of
luck. If you change the original IP inside Apache with mod_perl, or any
other module, this doesn't mean that the Orion server will use it when
creating the request object. Orion has its own way of constructing the
request and it probably uses the IP of the originating call to it, the
proxy in this case. To be able to change the way the request is
constructed, you should have access to the orion source, as somebody
else pointed out, or you might ask the Ironflare guys to add this
feature. From the Java point of view, somebody has to read the
X-FORWARDED-FOR header IN THE ORION SIDE and take into account, because
from the Apache side, you cannot influence the way the Java requests are
built on the orion side. If you could modify the request somehow, this
would be a nice job for a JSDK2.3 filter.
Good luck,
D.

Eddie wrote:
 
 Daniel,
 
 Thanks for you solutionit almost works... ;)
 
 I installed the module and indeed I do get the X-FORWARDED-FOR name as
 header with the client's ip address.
 ---
 HEADER NAME: X-FORWARDED-FOR
 HEADER value: 10.0.0.62
 
 
 I only have problem using a perl handler to replace the ip address that java
 reads (in the header) with the above header (Until now I only did simple
 things with mod_perl).
 
 I tried it like the example in the source code of the mod_proxy_add_forward
 suggested: including a subroutine in the startup.pl script and calling it
 with an PerlPostReadRequestHandler..
 Hoewer this doesn't work. I tried some other stuff but... no luck..
 Can you tell me who you did this ?? what did you put in you httpd.conf ?,
 what script did you use ? and where did you put it ?
 
 Thanks,
 Eddie
 
 - Original Message -
 From: Daniel López [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Wednesday, June 06, 2001 7:49 AM
 Subject: Re: getRemoteAddr() - APACHE as proxy !!
 
  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 

Re: getRemoteAddr() - APACHE as proxy !! HMMMMM

2001-06-08 Thread Eddie

Thanks Daniel,

I understand you point, and will do it the same way you do.

Eddie.

- Original Message -
From: Daniel López [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 8:05 AM
Subject: Re: getRemoteAddr() - APACHE as proxy !! HM


 Hi Eddie,

 It works for me because I'm not replacing the original address. As I
 have my own authentication routines, I check the X-FORWARDED-FOR header
 when it is available, else the usual one. So I never tried to do what
 you are trying to do, hence I can't help you much, I'm sorry about that.
 On the other hand, you might try to get in touch with the author of the
 module, Ask Bjoern Hansen([EMAIL PROTECTED]). He was the one who kindly
 pointed me to the URL I gave you and he was quite helpful.
 But if you are trying to do what I think, you might have run out of
 luck. If you change the original IP inside Apache with mod_perl, or any
 other module, this doesn't mean that the Orion server will use it when
 creating the request object. Orion has its own way of constructing the
 request and it probably uses the IP of the originating call to it, the
 proxy in this case. To be able to change the way the request is
 constructed, you should have access to the orion source, as somebody
 else pointed out, or you might ask the Ironflare guys to add this
 feature. From the Java point of view, somebody has to read the
 X-FORWARDED-FOR header IN THE ORION SIDE and take into account, because
 from the Apache side, you cannot influence the way the Java requests are
 built on the orion side. If you could modify the request somehow, this
 would be a nice job for a JSDK2.3 filter.
 Good luck,
 D.

 Eddie wrote:
 
  Daniel,
 
  Thanks for you solutionit almost works... ;)
 
  I installed the module and indeed I do get the X-FORWARDED-FOR name as
  header with the client's ip address.
  ---
  HEADER NAME: X-FORWARDED-FOR
  HEADER value: 10.0.0.62
  
 
  I only have problem using a perl handler to replace the ip address that
java
  reads (in the header) with the above header (Until now I only did simple
  things with mod_perl).
 
  I tried it like the example in the source code of the
mod_proxy_add_forward
  suggested: including a subroutine in the startup.pl script and calling
it
  with an PerlPostReadRequestHandler..
  Hoewer this doesn't work. I tried some other stuff but... no luck..
  Can you tell me who you did this ?? what did you put in you httpd.conf
?,
  what script did you use ? and where did you put it ?
 
  Thanks,
  Eddie
 
  - Original Message -
  From: Daniel López [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, June 06, 2001 7:49 AM
  Subject: Re: getRemoteAddr() - APACHE as proxy !!
 
   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 

RE: JDOM and orion 1.5.2

2001-06-08 Thread Tommy Eriksson
Title: RE: JDOM and orion 1.5.2



This 
was the way to go, I had to rewrite some of my code but now everything works 
fine. Thanks

/Tommy

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Kesav 
  KumarSent: den 7 juni 2001 18:33To: 
  Orion-InterestSubject: RE: JDOM and orion 
1.5.2
  I think you might be using old version of JDOM. Update 
  your JDOM with latest beta6 or what ever. Now JDOM is also a JAXP 
  complince. JDOM uses JAXP for searching parsers.
  Kesav Kumar Software Engineer 
  Voquette, Inc. 650 356 3740 
  mailto:[EMAIL PROTECTED] 
  http://www.voquette.com Voquette...Delivering Sound Information 
  -Original Message- From: Tommy 
  Eriksson [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, June 07, 2001 12:29 AM To: Orion-Interest Subject: JDOM and orion 
  1.5.2 
  Hi, 
  I have a problem that is driving me crazy. 
  I have been using orion 1.3.8 and jdom for some time now and 
  it works fine (except that it sometimes hangs for a 
  while). When I updated orion to 1.5.2 I got the a 
  problem with JDOM complaining about SAX Parser not found. I think this is because JDOM uses xerces and orion have changed from 
  xerces to crimson. I have tride moving xerces.jar to 
  {jre}\lib\ext, but then orion won't even start. So I 
  think that orion reqiuires crimson to be the first XML 
  Parser in the class path and JDOM requires xerces to be the first XML 
  Parser in the class path. 
  So my questions are: 
  1) Has anyone got JDOM to work with orion 1.5.2? 
  2) Does anyone have any Idea on how to get JDOM to work with 
  orion 1.5.2? 
  The exception I get when trying to use JDOM: -- org.jdom.JDOMException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: SAX2 driver class 
  org.apache.xerces.parsers.SAXParser not found 
   at 
  org.jdom.input.SAXBuilder.build(SAXBuilder.java:231) 
   at 
  org.jdom.input.SAXBuilder.build(SAXBuilder.java:323) 
   at 
  knut.protocol.KSPParser.parse(KSPParser.java:46)  ... Root cause: 
  java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser 
   at 
  org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:1 
  18)  
  at org.jdom.input.SAXBuilder.build(SAXBuilder.java:167) 
   at 
  org.jdom.input.SAXBuilder.build(SAXBuilder.java:323) 
   at 
  knut.protocol.KSPParser.parse(KSPParser.java:46)  ... 
  /Tommy 


Orion 1.5.2 and JSP @page errorPage

2001-06-08 Thread michael . kaufman

Our JSPs use the @page errorPage mechanism. This worked fine on Orion 1.4.5,
and still works fine on J2EE reference implementation. But on Orion 1.5.2 we
get 404 page not found instead of our error page.

I know there's also an error page mechanism in web.xml, but we haven't
specified anything there, and the JSP 1.1 errata clarifies that the @page
takes precedence over web.xml anyway.

Anyone else hit this? Is it a bug?

Thanks,
Mike

p.s. Loved the news about Oracle... I think Orion's the best J2EE server I've
seen but our infrastructure guys have Oracle wherever possible strategy. Now
instead of having to do difficult evaluation of Oracle solution and fight my
own case about how poor it is, I've been able to just move our J2EE code
across and show it all running fine on Oracle's recommended J2EE solution.
Magic.

   
   
   
   
   
   
   
   
   
   
  


***
NIG
The National Insurance 
Guarantee Corporation PLC

Reg. Office :
Crown House
145 City Road
London
EC1V 1LP

Registered in England  Wales No : 42133
***
Legal disclaimer :
This message is confidential and for use by the addressee only.  If the
message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message
from your computer.

NIG does not accept responsibility for changes made to this message
after it was sent.





UNSUNSCRIBE

2001-06-08 Thread KishoreBabu.tanety

UNSUNSCRIBE




RE: configuration of web tier (JNDI)

2001-06-08 Thread Harley Rana

Hi Denis, I'm not sure why you are using tomcat, the example I made was
using orion.
If you want to change the page that process the form on LoginPage.jsp just
change the url in the action setting of the form.
Are you getting any errors? Is so what are the details?







Dynamic finders

2001-06-08 Thread Stefan Paun



 Does anybody have a solution for implementing a finder that takes some
parameters, but searches taking into account only the ones that are not
null?
 Basically, this would be used to support a search page in which the user
can choose to fill or not some fields of the search criteria.
 I know that probably the best way to do this is using a Session Bean and
JDBC, but is there a way to implement it using CMP Entity finders (in
EJB1.1)?

Thanks,
Stefan





SV: Dynamic finders

2001-06-08 Thread Magnus Rydin
Title: SV: Dynamic finders





something like
.. ($1 is null OR $1=$field) AND ...


 -Ursprungligt meddelande-
 Från: Stefan Paun [mailto:[EMAIL PROTECTED]]
 Skickat: den 8 juni 2001 07:16
 Till: Orion-Interest
 Ämne: Dynamic finders
 
 
 
 
 Does anybody have a solution for implementing a finder that 
 takes some
 parameters, but searches taking into account only the ones 
 that are not
 null?
 Basically, this would be used to support a search page in 
 which the user
 can choose to fill or not some fields of the search criteria.
 I know that probably the best way to do this is using a 
 Session Bean and
 JDBC, but is there a way to implement it using CMP Entity finders (in
 EJB1.1)?
 
 Thanks,
 Stefan
 
 





Re: Oracle deal

2001-06-08 Thread Paul Kofon

I knew all along that this would happen, I just wasn't sure which one of the 
big companies it would be. As far as I was concerned (and I definitely am 
wrong sometimes) the guys at Orion thought: Hey we've got a good product, 
everyone who lives on the J2EE planet knows that  already. Have a deal with 
one of the big guys and sell them this wonderful technology that has been 
tested thoroughly for free by those very enthusiastic Java geeks!
Now this is the scary part: Make Orion unusable by providing partial 
implementations for the new stuff in J2EE while providing little or no 
support. And since everyone knows Orion has been packaged under another 
brand name by some big guy with plenty of resources, they can go to him! 
That way, we at Ironflare are making money, the big guy is making money and 
everyone is using Orion!
Well, it probably didn't happen like that, but what gave me concern the most 
was the fact that the guys at Orion suddenly became unreachable at a time 
and then later came out with a story that they had to reorganise and create 
a real company - Ironflare. I guess this company was created for the sole 
purpose of dealing with those big guys who, as it turned out, were 
interested in licensing or purchasing Orion.
Well, that said, I bear Ironflare no grudge, on the contrary, I'm proud of 
them and think very highly of them! They're free to do whatever they choose 
to do and that includes making money and having strange or capitalistic 
bed fellows like
Or(ion)acle. However, I can't help but wonder which version Oracle got - 
1.4.5, 1.5.2 or 2.0!

Paul

PS I must add that I'm happy because one of our clients had insisted on 
using Oracle 9iAS. The project is meant to commence in July. I and the guys 
at my company had our fears since we knew Oracle wasn't the best J2EE 
platform. But now they've got Orion.


From: Reid Hartenbower [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Oracle deal
Date: Thu, 7 Jun 2001 11:36:23 -0700

This is my fear as well, and why I am surprised by the generally favorable
reactions to this deal.
What will it mean for Orion, and specifically the licensing. Will 
everything
still be free, or will Oracle turn Orion into another WebLogic?
It feels a little like Microsoft just absorbed my favorite development
environment.

- Original Message -
From: Keith Kwiatek [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 11:15 AM
Subject: Re: Oracle deal


  I hope this orion + oracle deal is the same as the borland jbuilder +
oracle
  jdeveloper deal. Oracle licensed Jbuilder technology, but Borland  
was
  still free to take Jbuilder in any direction they wanted, AND oracle was
  free to take Jdeveloper in any direction they wanted. The end result 
is
  that Jdeveloper is way behind the curve because Oracle always buys
  technology for which they do not have the ability to maintain. 
MEANWHILE,
  Jbuilder is doing great and getting better and better
 
  I guess the question is Just what kinda  deal did Ironflare work out 
with
  Oracle? Did Ironflare get wrapped into a straight-jacket for a few short
  term buck$ ?
 
  Keith
 
 
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Wednesday, June 06, 2001 5:29 PM
  Subject: Re: Oracle deal
 
 
  
   What I am interested in is what are the future implications for Orion?
   We are about to purchase a license for Orion, but if development on
Orion
   isn't going to be the main focus, where does that leave customers?
  
  
   Julian Doherty
   Information Systems Analyst
   Education Review Office
  
  
  
  
   Phillip Ross
   [EMAIL PROTECTED] To:
  Orion-Interest [EMAIL PROTECTED]
   Sent by:  cc:
   owner-orion-interest@orionSubject: Re:
  Oracle deal
   server.com
  
  
   06/07/01 08:07 AM
   Please respond to
   Orion-Interest
  
  
  
  
  
  
   I've been told Oracle's oc4j is orion 1.5.0.  And I've also been told
that
   it's
   confidental as to how/when/if ironflare will continue to push newer
builds
   of
   orion to Oracle or what.
  
   - Phillip
  
   --- Bryan Young [EMAIL PROTECTED] wrote:
I just read about Orion being used as the base code for their 9i app
   server.
Does anyone know the specifics of the deal?  Specifically I wanted 
to
   know
what version of Orion they are using, and if there would be any
benefit
   to
future versions of Orion.
   
  
  
   __
   Do You Yahoo!?
   Get personalized email addresses from Yahoo! Mail - only $35
   a year!  http://personal.mail.yahoo.com/
  
  
  
  
  
  
 
 





RE: simplifying EAR deployment

2001-06-08 Thread Tim Drury




Greg,

put 
the 3rd party jars in $EAR_ROOT/lib then edit your 
orion-application.xml
file 
(in $EAR_ROOT/META-INF or $EAR_ROOT/orion for slightly older 
versions
of 
orion) adding: library path="./lib" /. If you don't have 
orion-application.xml,
deploy 
your app once and grab the auto-generated copy from 
orion/application-deployment/yourapp. put the copy in your source 
tree, edit it, 
and 
add it to your ear for subsequent deployments.

-tim
efnet 
#java joeblowgt

  -Original Message-From: Greg Matthews 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 8:44 
  PMTo: Orion-InterestSubject: simplifying EAR 
  deployment
  dear all,
  
  is there any way to have 3rd party jar files 
  included in an EAR then deployed into the orion\lib directory.
  
  i'm trying to minimise the number of steps our 
  clients have to perform when installing our app.
  
  thanks,
  greg


RE: Access Log Format with Cookies

2001-06-08 Thread Stephen Hellman
Title: RE: Access Log Format with Cookies





Can someone else confirm or deny this? ... because this is a little troublesome that orion might not be able to be configured to work with a major software package like WebTrends for accurate analysis, which, I guess, is why more people use the multi-tiered server solution instead of the way we use orion serving both as the app server and the web server.

Is anybody else using Orion and performing site traffic analysis? What are you using? If you are using WebTrends, what have you done to get it to accurately track unique visitors?

Maybe I can persuade Magnus and Karl to add this access log format directive for cookies. I bake a mean chocolate chip cookie. We'll swap.

stephen
[EMAIL PROTECTED]


-Original Message-
From: Marcel Schutte [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 3:43 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Re: Access Log Format with Cookies



There is no way to get a listing of all cookies in your log. You will have
to specify their names the way you did.


There are actually two more format vars available:
$header:header-name is similar to the $cookie var for headers
$mime shows the request mime type


Marcel


- Original Message -
From: Stephen M Hellman [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 6:01 PM
Subject: Access Log Format with Cookies



 I am in need of formatting our access log files in a
 similar vein to the ways Apache does for WebTrends
 analysis specifically with regard to recording cookie
 information.
 In Apache, I would add the tag, \%{Cookie}i\ , to
 the LogFormat for use with a CustomLog directive.

 In Orion, I know that in the web-site.xml file, I can
 add the directive
 $cookie:CookieID1
 to the access-log format to write a single cookie
 value to the access log.

 Unfortunately, this does not satisfy WebTrends needs.
 I need a cookie directive for the access log format
 that displays all the cookies as key-value pairs (ie.
 CookieID1=CookieValue1) similar to Apache, which also
 displays a - when no cookies are found.
 Our access-log format as been
 format=$ip - - [$time] quot;$requestquot; $status
 $size quot;$refererquot;
 quot;$agentquot;
 quot;COOKIE_ID1=$cookie:COOKIE_ID1quot;

 Hardcoding the COOKIE_ID1= in the access log format
 is no longer a viable option.

 Does anyone know the access log directive I am looking
 for or where I can find it or if it exists?

 stephen m hellman
 [EMAIL PROTECTED]

 PS - Sorry if this is posted twice. I sent it
 yesterday morning from my work email account, and the
 message still hasn't been posted to the list.

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






How do i cache a JSP on the proxy?

2001-06-08 Thread Eduard Witteveen

Hello,

I want to cache a jsp page on the proxy (apache).

My current setup is that i have apache running on port 80, with following config:
VirtualHost 145.58.67.8
ServerName eduard.omroep.nl
ServerAlias eduard
ErrorLog /var/proxy/logs/errors
CustomLog /var/proxy/logs/access common

ProxyPass / http://localhost:8080/
CacheRoot /tmp/proxy
/VirtualHost

Furthermore the orionserver is running on port 8080, and has the following 'special' 
settings: 
frontend host=eduard.omroep.nl port=80 /

For the testing purposes i have the following jsp page:
%@ page session=false %
%! int counter = 0; %
%!
// return a time back, which is +15 seconds..
public long getLastModified(HttpServletRequest request) {
System.out.println(in last modified);
// return 15 seconds..
return System.currentTimeMillis() * (15 * 1000) ;
}
%

%
long seconds = 15;
long now = System.currentTimeMillis();
long expires = now + (seconds * 1000);

response.setDateHeader(Expires, expires);
System.out.println(in source.. + now + - +  expires);
%
html
body
pThis page was generated on time:%= now %br /
Will expire at:%= expires %br /
Expire time in seconds:%= seconds %br /
Count:%= counter++ %/p
/body
/html

Everytime i request the page, the counter is increased, but this is not what i want. I 
want to increased at an maximum of 1 time in the 15 seconds.
Can somebody help me how to accomplish this, or possible otherways to cache the jsp 
pages on the front proxy? 

greatings,

-- 
Eduard Witteveen Systeem Ontwikkelaar
NOS Internet,  Mediacentrum Kamer 203
+31(0)356773059 http://www.omroep.nl/

Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal




Re: FRUSTRATION: Session keeps timing out despite setting session-timeout. WHY?

2001-06-08 Thread Nick Newman

Just grabbing at straws here, but perhaps there's a typo in the docs and 
the units are actually seconds, not minutes.  Worth a try?

Nick

At 02:11 PM 6/7/01 -0700, you wrote:


  Hello,

  I have a http and https orion jsp application for which I want the session
  timeout to be a lot longer than the default 5 or 10 minutes BUT the
  session keeps timing out. I also have shared=true in the
secure-web-site.xml
  and default-web-app.xml  files.

  I set my web.xml file with:

  web-site
  session-config
 session-timeout 1000 /session-timeout
  /session-config
  /web-site

  Any and all help is appreciated!

Keith







Re: No subject

2001-06-08 Thread Chris Thielen

I had a similar problem. See my bugzilla report at
http://bugzilla.orionserver.com/bugzilla/show_bug.cgi?id=424
A workaround might be to use javac (not tools.jar) as an external compiler.

Regards,
Chris Thielen

- Original Message -
From: James Hill [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 2:34 PM


 I have a really odd problem with jikes/orion (1.5.2 orion, 1.14 jikes).  I
 have a particular JSP page that will give the following error:
 Error parsing JSP page /hunting/today/article.jsp
 Error creating jsp-page instance: java.lang.VerifyError: (class:
 __jspPage0_hunting_today_article_jsp, method: _jspService signature:

(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo
 nse;)V) Accessing value from uninitialized register 24

 It only gives me this error if have jikes turned on and I have development
 mode (orion-web.xml) turned off.

 Any other combination seems to work fine (but slower).

 Thanks!

 James Hill








ejb-container pool-size

2001-06-08 Thread Morten Friisgaard
Title: SV: Dynamic finders




I have a little problem.
I cannot figure out, howto set the ejb-container pool-size.
My beansare managed byBMP.
When the number of used instances increases, I run out of connections to my 
oracle database, and the systems halts; 
It would be very helpful, if anyone could tell me how to set the pool-size 
for the ejb-container (When the ejb-containers pool-size expires, the 
ejb-container will invoke the ejbPassivate method, witch will release the 
connection to the database)
-Wavetech 
- Equity through Relation Technology | www.wavetech.dkMorten Friisgaard | [EMAIL PROTECTED] | Software 
Developer


Re: NT Security Integration?

2001-06-08 Thread Gordon Reynolds \(Cyonara\)

No, but I hope someone has. I can tell you this much, it'll require 2
things: first writing
native code to access the NT authentication system (I've seen an article on
this sometime
in the last year in one of my many Java magazines), then writing your own
UserManager
to access the native code.

Regards,

Gordon.

- Original Message -
From: Joe Fair [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 10:17 AM
Subject: NT Security Integration?


 Has anyone has integrated Orion user security with NT
 login security?  It sounds like the sort of thing that
 is either really easy or really tough.
 Any leads?
 Thanks,
 Joe

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







RE: Oracle deal

2001-06-08 Thread Metla, Suri

Hi all,

  I am running Oracle's oc4j  ( i.e. Orion 1.5.0.) on Solaris BOX having 1G
RAM, 12 CPU's box. We are now testing the Orion Server for the Scalability
and Load test. We are running the Simple Jsp , for a duration of one day
Using the Load runner with 50 user concurrency. 

The server Crashes after 3Hrs of test run giving the error.

Warning: Error reading transaction-log file
(/app/ias1022/j2ee/home/persistence/transaction.state) for recovery:
premature end of file

Forced or abrubt (crash etc) server shutdown detected, starting recovery
process...

Recovery completed, 0 connections committed and 0 rolled back..

Any one know about this behavior of Orion. 

Is this OC4J is scalable?.

Is any one running the 24-7 sites using this Orion Application Server?.

 

Thanks In advance.

Regards,

Suri

 

-Original Message-
From: Darren Gibbons [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 6:41 PM
To: Orion-Interest
Subject: Re: Oracle deal


I agree fully.  This is good for Orion, for Oracle, and us as
developers.

The indication that I've been getting at JavaOne is that this deal is
similar to the JBuilder deal -- Oracle licenses the source code, and
goes off and forks it, adding their own value-add features.  Orion is
free to keep on doing what they do best, albeit with a (hopefully very
large) deposit to their bank account.

At some point in the future, Oracle may license Orion again (just like
Oracle recently licensed the latest JBuilder for their next release of
JDeveloper), but they don't have to.

The bottom line is that rather than recommending JRun on the low-end for
clients, and BEA on the high-end, I'll be able to recommend Orion *or*
Oracle, and know that I'm getting a high-quality product either way.

Oracle's licensing is a huge validation for Orion, not just for
technical reasons (I think everyone on the list knows it's a good
product), but also in terms of mindshare and comfort level of those who
sign the cheques.


Code and be happy.


Darren.

PS IronFlare has hired another developer, and Magnus has some good things
coming in terms of management tools and J2EE 1.3 integration.  Now is when
things really start to get interesting...



On Thu, Jun 07, 2001 at 02:41:51PM -0700, Robert S. Sfeir wrote:
 Why can't everyone just enjoy and bask in the moment?  It seems that every

 time something happens on this list, we all have to start whyning!  If 
 things suck later, just change to different app server if you're unhappy 
 with the results.  This just means that:
 1- Orion kicks butt
 2- Oracle's App Server was shameful and they saw the power of Orion
 3- IronFlare has more money to work with, and perhaps add more support 
 folks or more designer to go faster and better.
 
 It's not like we never have, and never will have another choice for an app

 server.  This move justifies my pitch to clients now, and soon I many not 
 even tell them Orion, I will say the Oracle App Server if the client is a 
 bit gun-shy on using something other than Weblogic.
 
 Just my opinion.
 R
 
 
 Robert S. Sfeir
 Director of Software Development
 PERCEPTICON corporation,
   in Joint Venture With JTransit
 San Francisco, CA 94123
 pw - http://www.percepticon.com/
 jw - http://jtransit.com
 e- [EMAIL PROTECTED]
 
 

-- 

Darren Gibbons[EMAIL PROTECTED]
OpenRoad Communications   ph: 604.681.0516
Internet Application Development fax: 604.681.0916
Vancouver, B.C. http://www.openroad.ca  




Orion Server and MS Access!

2001-06-08 Thread Rajiv R





Hi ...

IsOrion server compatible with MS Access 
database..?

thanx in advance



With Regards,Rajiv. RSystems 
Engineer,Wipro Technologies, ITPL, BangalorePh:91-80-8410470-479 
Extn:6422[EMAIL PROTECTED]http://www.rajspace.org_Wipro 
TechnologiesThe World's First SEI-CMM Level 5 Software Services 
Company_´¯`·. 
.·´¯`:'·. •`·. .·´• 
.·' `:--·´ 
`·--:´ `·. ' ' 
.·´ ;`·-·´; 



load balancing servers and ejbs

2001-06-08 Thread Eduardo Estefano

We are having problems when working with two app servers behind a load
balancer. One user will make changes to ejbs in one server and the other
server will not know that the ejb has changed. 

There are also some objects that are cached in one of the server. When this
cache gets changed, the two servers will need to update their cache.

How to solve this?

Thanks.




RE: How do i cache a JSP on the proxy?

2001-06-08 Thread Kesav Kumar
Title: RE: How do i cache a JSP on the proxy?





I think your getLastModified() logic is not proper. You are sending lastmodified time as current time*15 which means the lastmodification time is newer the proxy thinks that this page got changed. Try this logic 

public long getLastModified()
{
 File file = new File(getServletContext().getRealPath(jspfilename.jsp));
 return file.lastModified();
}




Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information



-Original Message-
From: Eduard Witteveen [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 7:23 AM
To: Orion-Interest
Subject: How do i cache a JSP on the proxy?



Hello,


I want to cache a jsp page on the proxy (apache).


My current setup is that i have apache running on port 80, with following config:
 VirtualHost 145.58.67.8
  ServerName eduard.omroep.nl
  ServerAlias eduard
  ErrorLog /var/proxy/logs/errors
  CustomLog /var/proxy/logs/access common


  ProxyPass / http://localhost:8080/
  CacheRoot /tmp/proxy
 /VirtualHost


Furthermore the orionserver is running on port 8080, and has the following 'special' settings: 
 frontend host=eduard.omroep.nl port=80 /


For the testing purposes i have the following jsp page:
 %@ page session=false %
 %! int counter = 0; %
 %!
  // return a time back, which is +15 seconds..
  public long getLastModified(HttpServletRequest request) {
  System.out.println(in last modified);
  // return 15 seconds..
  return System.currentTimeMillis() * (15 * 1000) ;
  }
 %


 %
   long seconds = 15;
   long now = System.currentTimeMillis();
   long expires = now + (seconds * 1000);


   response.setDateHeader(Expires, expires);
  System.out.println(in source.. + now + - + expires);
 %
 html
 body
 pThis page was generated on time:%= now %br /
 Will expire at:%= expires %br /
 Expire time in seconds:%= seconds %br /
 Count:%= counter++ %/p
 /body
 /html


Everytime i request the page, the counter is increased, but this is not what i want. I want to increased at an maximum of 1 time in the 15 seconds.

Can somebody help me how to accomplish this, or possible otherways to cache the jsp pages on the front proxy? 


greatings,


-- 
Eduard Witteveen Systeem Ontwikkelaar
NOS Internet, Mediacentrum Kamer 203
+31(0)356773059 http://www.omroep.nl/


Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal





Re: How do i cache a JSP on the proxy?

2001-06-08 Thread Eduard Witteveen

Kesav Kumar [EMAIL PROTECTED] wrote:
 I think your getLastModified() logic is not proper.  You are sending
 lastmodified time as current time*15 which means the lastmodification time
 is newer the proxy thinks that this page got changed.  Try this logic 
Your correct, i made a terrible misunderstanding, but i can see in the logs that this 
method is never called, so this isnt a sollution to my problem.
-- 
Eduard Witteveen Systeem Ontwikkelaar
NOS Internet,  Mediacentrum Kamer 203
+31(0)356773059 http://www.omroep.nl/

Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal




Re: NT Security Integration?

2001-06-08 Thread Ray Harrison

Not NT per se - but I use JNDI/LDAP (or active directory) on Windows 2000 Server as my
authentication system. No problems at all. Basically I've got a JNDI ldap utils class 
which is
pretty stright forward - then a simple user manager that sits on that - plugged it into
orion-application.xml and it works just fine. 

--- Gordon Reynolds (Cyonara) [EMAIL PROTECTED] wrote:
 No, but I hope someone has. I can tell you this much, it'll require 2
 things: first writing
 native code to access the NT authentication system (I've seen an article on
 this sometime
 in the last year in one of my many Java magazines), then writing your own
 UserManager
 to access the native code.
 
 Regards,
 
 Gordon.
 
 - Original Message -
 From: Joe Fair [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Thursday, June 07, 2001 10:17 AM
 Subject: NT Security Integration?
 
 
  Has anyone has integrated Orion user security with NT
  login security?  It sounds like the sort of thing that
  is either really easy or really tough.
  Any leads?
  Thanks,
  Joe
 
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail - only $35
  a year!  http://personal.mail.yahoo.com/
 
 
 
 


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




Re: FRUSTRATION: Session keeps timing out despite setting session-timeout. WHY?

2001-06-08 Thread Alejandro Revilla

   session-config
  session-timeout 1000 /session-timeout
   /session-config

I'm wild guessing here but try removing those blanks, may be
Orion is getting a NumberFormatException.
(try to Long.parseLong ( 1000 ) and you'll get it)

--Alejandro Revilla
http://www.jpos.org





java.lang.OutOfMemoryError;

2001-06-08 Thread Puthezhath, Rajeev (TWII Boston)

Hi ,

We get java.lang.OutOfMemoryError; on production server frequetly.I
know this problem was discussed in this list before. I implemented all the
sugestions in this mailing list but still the error keeps on coming .I would
like to know the following

1) As an answer to the above mentioned problem I saw a sugestion in
this mailing list to limit the # of instances by adding max-instances
attribute to orion-ejb-jar.xml which would force orion to passivate less
used beans.I downloaded orion 1.5.2 and set the same.But observed that
passivation is never called. Is there a way to make sure that orion
passivates beans  which are not used .

2) Some people have mentioned increasing the memory. Has any body
tried this solution and i would like to know whether the problem got
solved.How can I increase the memory ?

3)Has anybody solved this problem ?

Any sugestions

Thanks in advance

Regards

Rajeev




automated response

2001-06-08 Thread Axel Grossmann

Ich bin bis ca. 17.06.01 wg. Urlaub nicht per Email erreichbar.




Re: NT Security Integration?

2001-06-08 Thread Paul Kofon

HI Ray,
Please could you say more about authentication with Active Directory 
(Windows 2000). I need some hints 'cause I would like to implement that sort 
of thing.

Regards,

Paul


From: Ray Harrison [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: NT Security Integration?
Date: Fri, 8 Jun 2001 11:03:04 -0700 (PDT)

Not NT per se - but I use JNDI/LDAP (or active directory) on Windows 2000 
Server as my
authentication system. No problems at all. Basically I've got a JNDI ldap 
utils class which is
pretty stright forward - then a simple user manager that sits on that - 
plugged it into
orion-application.xml and it works just fine.

--- Gordon Reynolds (Cyonara) [EMAIL PROTECTED] wrote:
  No, but I hope someone has. I can tell you this much, it'll require 2
  things: first writing
  native code to access the NT authentication system (I've seen an article 
on
  this sometime
  in the last year in one of my many Java magazines), then writing your 
own
  UserManager
  to access the native code.
 
  Regards,
 
  Gordon.
 
  - Original Message -
  From: Joe Fair [EMAIL PROTECTED]
  To: Orion-Interest [EMAIL PROTECTED]
  Sent: Thursday, June 07, 2001 10:17 AM
  Subject: NT Security Integration?
 
 
   Has anyone has integrated Orion user security with NT
   login security?  It sounds like the sort of thing that
   is either really easy or really tough.
   Any leads?
   Thanks,
   Joe
  
   __
   Do You Yahoo!?
   Get personalized email addresses from Yahoo! Mail - only $35
   a year!  http://personal.mail.yahoo.com/
  
  
 
 


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


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





Re: How do i cache a JSP on the proxy?

2001-06-08 Thread Stan Ng

This is slightly off-topic, but you may want to look into OpenSymphony's
OSCache module.  It provides a variety of caching options for JSP and it's
been working great for us here.


- Original Message -
From: Eduard Witteveen [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 7:22 AM
Subject: How do i cache a JSP on the proxy?


 Hello,

 I want to cache a jsp page on the proxy (apache).

 My current setup is that i have apache running on port 80, with following
config:
 VirtualHost 145.58.67.8
 ServerName eduard.omroep.nl
 ServerAlias eduard
 ErrorLog /var/proxy/logs/errors
 CustomLog /var/proxy/logs/access common

 ProxyPass / http://localhost:8080/
 CacheRoot /tmp/proxy
 /VirtualHost

 Furthermore the orionserver is running on port 8080, and has the following
'special' settings:
 frontend host=eduard.omroep.nl port=80 /

 For the testing purposes i have the following jsp page:
 %@ page session=false %
 %! int counter = 0; %
 %!
 // return a time back, which is +15 seconds..
 public long getLastModified(HttpServletRequest request) {
 System.out.println(in last modified);
 // return 15 seconds..
 return System.currentTimeMillis() * (15 * 1000) ;
 }
 %

 %
 long seconds = 15;
 long now = System.currentTimeMillis();
 long expires = now + (seconds * 1000);

 response.setDateHeader(Expires, expires);
 System.out.println(in source.. + now + - +  expires);
 %
 html
 body
 pThis page was generated on time:%= now %br /
 Will expire at:%= expires %br /
 Expire time in seconds:%= seconds %br /
 Count:%= counter++ %/p
 /body
 /html

 Everytime i request the page, the counter is increased, but this is not
what i want. I want to increased at an maximum of 1 time in the 15 seconds.
 Can somebody help me how to accomplish this, or possible otherways to
cache the jsp pages on the front proxy?

 greatings,

 --
 Eduard Witteveen Systeem Ontwikkelaar
 NOS Internet,  Mediacentrum Kamer 203
 +31(0)356773059 http://www.omroep.nl/

 Sed quis custodiet ipsos custodes? : The sixth Satire from Juvenal





RE: Orion Server and MS Access!

2001-06-08 Thread Kesav Kumar



Should 
be. If you have jdbc-odbc bridge and your odbc is setup properly for the 
access then orion doesn't have any problem in talking with that. You have 
to remember that MSAccess doesn't support many JDBC2.0 features. Go 
through the JDBC-ODBC bridge docs from javasoft.

Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] 
http://www.voquette.com Voquette...Delivering Sound Information 


  -Original Message-From: Rajiv R 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 8:49 
  PMTo: Orion-InterestSubject: Orion Server and MS 
  Access!
  
  
  Hi ...
  
  IsOrion server compatible with MS Access 
  database..?
  
  thanx in advance
  
  
  
  With Regards,Rajiv. RSystems 
  Engineer,Wipro Technologies, ITPL, BangalorePh:91-80-8410470-479 
  Extn:6422[EMAIL PROTECTED]http://www.rajspace.org_Wipro 
  TechnologiesThe World's First SEI-CMM Level 5 Software Services 
  Company_´¯`·. 
  .·´¯`:'·. *`·. .·´* 
  .·' `:--·´ 
  `·--:´ `·. ' ' 
  .·´ ;`·-·´; 
  


RE: java.lang.OutOfMemoryError;

2001-06-08 Thread Juan Lorandi (Chile)

inline

 -Original Message-
 From: Puthezhath, Rajeev (TWII Boston) [mailto:[EMAIL PROTECTED]]
 Sent: Viernes, 08 de Junio de 2001 14:42
 To: Orion-Interest
 Subject: java.lang.OutOfMemoryError; 
 
 
 Hi ,
 
   We get java.lang.OutOfMemoryError; on production server 
 frequetly.I
 know this problem was discussed in this list before. I 
 implemented all the
 sugestions in this mailing list but still the error keeps on 
 coming .I would
 like to know the following
 
   1) As an answer to the above mentioned problem I saw a 
 sugestion in
 this mailing list to limit the # of instances by adding max-instances
 attribute to orion-ejb-jar.xml which would force orion to 
 passivate less
 used beans.I downloaded orion 1.5.2 and set the same.But observed that
 passivation is never called. Is there a way to make sure that orion
 passivates beans  which are not used .
 
   2) Some people have mentioned increasing the memory. 
 Has any body
 tried this solution and i would like to know whether the problem got
 solved.How can I increase the memory ?


first, by hardware (buy some chips), secondly, by specifying a
minimun/maximun heap size of the JVM when you invoke it
these are the ones I use (W2K, Sun's JVM 1.3.0)

-Xms128m (minimun heap size 128 MB)
-Xmx320m (maximun heap size 320 MB)


 
   3)Has anybody solved this problem ?

No. There´s always a limit to the amount of memory available on any given
system ;-)
Let's hope that(buggy orion code) gets fixed soon- don't forget to cast your
vote on Bugzilla, that is, if vote casting is finally enabled

 
 Any sugestions
 
 Thanks in advance
 
 Regards
 
 Rajeev
 




Virtual Hosts - Newbie question

2001-06-08 Thread G T

I followed the steps given in OrionSupport.com to set up virtual hosts but I 
am still not able to run it successfully.
On typing www.example1.com it refuses to look into my server, instead it 
tries to go to internet

Here are the following changes I made
1. Created the application as mentioned under the application directory 
(create the necessary dir structure, index.html and web.xml)
2. Created example1-web-site.xml and example1-web-site.xml and cutnpaste the 
stuff given in the document

web-site host=localhost port=80 display-name=Example 1 
virtual-hosts=www.example1.com

!-- The default web-app for this site, bound to the root --
default-web-app application=default name=example1 /

access-log path=../log/example1-web-access.log /

/web-site

3. Added the foll to application.xml

  web-module id=example1 path=../applications/example1 /
  web-module id=example2 path=../applications/example2 /
4. Added the foll to server.xml

  web-site path=./example1-web-site.xml /
  web-site path=./example2-web-site.xml /

Have I missed out something
On typing www.example1.com I get (There was no response. The server could be 
down or not responding)

Thanks
GT
_
Get your FREE download of MSN Explorer at http://explorer.msn.com





RE: java.lang.OutOfMemoryError;

2001-06-08 Thread Puthezhath, Rajeev (TWII Boston)

Sorry.I didnt get what you meant.could you please explain

Thanks
Rajeev

-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 08, 2001 4:26 PM
To: Orion-Interest
Subject: RE: java.lang.OutOfMemoryError; 


inline

 -Original Message-
 From: Puthezhath, Rajeev (TWII Boston) [mailto:[EMAIL PROTECTED]]
 Sent: Viernes, 08 de Junio de 2001 14:42
 To: Orion-Interest
 Subject: java.lang.OutOfMemoryError; 
 
 
 Hi ,
 
   We get java.lang.OutOfMemoryError; on production server 
 frequetly.I
 know this problem was discussed in this list before. I 
 implemented all the
 sugestions in this mailing list but still the error keeps on 
 coming .I would
 like to know the following
 
   1) As an answer to the above mentioned problem I saw a 
 sugestion in
 this mailing list to limit the # of instances by adding max-instances
 attribute to orion-ejb-jar.xml which would force orion to 
 passivate less
 used beans.I downloaded orion 1.5.2 and set the same.But observed that
 passivation is never called. Is there a way to make sure that orion
 passivates beans  which are not used .
 
   2) Some people have mentioned increasing the memory. 
 Has any body
 tried this solution and i would like to know whether the problem got
 solved.How can I increase the memory ?


first, by hardware (buy some chips), secondly, by specifying a
minimun/maximun heap size of the JVM when you invoke it
these are the ones I use (W2K, Sun's JVM 1.3.0)

-Xms128m (minimun heap size 128 MB)
-Xmx320m (maximun heap size 320 MB)


 
   3)Has anybody solved this problem ?

No. There´s always a limit to the amount of memory available on any given
system ;-)
Let's hope that(buggy orion code) gets fixed soon- don't forget to cast your
vote on Bugzilla, that is, if vote casting is finally enabled

 
 Any sugestions
 
 Thanks in advance
 
 Regards
 
 Rajeev
 




Re: NT Security Integration?

2001-06-08 Thread Ray Harrison

Hi Paul -
You can work with Active Directory just like regular old LDAP - binding on port 389 
and all of
that. I am not forcing it to do very much - just authenticate against users that I add 
myself so
nothing sophisticated! Using JNDI to wrap all of that is pretty straight forward. I 
would recomend
a quick look at java.sun.com and search on LDAP or look for the JNDI tutorial - they 
show how to
do authentication and searching. I have a simple JNDI-LDAP utilities file that 
authenticates a
user, a user/password, and a user/group. If I have time later I will send some 
snippets of code...
It is much easier than it might sound! Take a look at the java site above - or search 
on something
like www.theserverside.com...maybe something there...If you have some specific 
questions perhaps I
can answer them

Cheers
Ray



--- Paul Kofon [EMAIL PROTECTED] wrote:
 HI Ray,
 Please could you say more about authentication with Active Directory 
 (Windows 2000). I need some hints 'cause I would like to implement that sort 
 of thing.
 
 Regards,
 
 Paul
 
 
 From: Ray Harrison [EMAIL PROTECTED]
 Reply-To: Orion-Interest [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Subject: Re: NT Security Integration?
 Date: Fri, 8 Jun 2001 11:03:04 -0700 (PDT)
 
 Not NT per se - but I use JNDI/LDAP (or active directory) on Windows 2000 
 Server as my
 authentication system. No problems at all. Basically I've got a JNDI ldap 
 utils class which is
 pretty stright forward - then a simple user manager that sits on that - 
 plugged it into
 orion-application.xml and it works just fine.
 
 --- Gordon Reynolds (Cyonara) [EMAIL PROTECTED] wrote:
   No, but I hope someone has. I can tell you this much, it'll require 2
   things: first writing
   native code to access the NT authentication system (I've seen an article 
 on
   this sometime
   in the last year in one of my many Java magazines), then writing your 
 own
   UserManager
   to access the native code.
  
   Regards,
  
   Gordon.
  
   - Original Message -
   From: Joe Fair [EMAIL PROTECTED]
   To: Orion-Interest [EMAIL PROTECTED]
   Sent: Thursday, June 07, 2001 10:17 AM
   Subject: NT Security Integration?
  
  
Has anyone has integrated Orion user security with NT
login security?  It sounds like the sort of thing that
is either really easy or really tough.
Any leads?
Thanks,
Joe
   
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/
   
   
  
  
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/
 
 
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 


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




Re: Virtual Hosts - Newbie question

2001-06-08 Thread Lance Lavandowska

just to eliminate the obvious: have you made sure that
http://www.example1.com is pointing to your box?
(trying pinging to be certain).

Otherwise, your xml files look good.

Lance Lavandowska
www.Brainopolis.com

- Original Message -
From: G T [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 3:47 PM
Subject: Virtual Hosts - Newbie question


 I followed the steps given in OrionSupport.com to set up virtual hosts but
I
 am still not able to run it successfully.
 On typing www.example1.com it refuses to look into my server, instead it
 tries to go to internet






Orion Server and MS Access!

2001-06-08 Thread Rajiv R








Hi ...

IsOrion server compatible with MS Access 
database..?

thanx in advance



With Regards,Rajiv. RSystems 
Engineer,Wipro Technologies, ITPL, BangalorePh:91-80-8410470-479 
Extn:6422[EMAIL PROTECTED]http://www.rajspace.org_Wipro 
TechnologiesThe World's First SEI-CMM Level 5 Software Services 
Company_´¯`·. 
.·´¯`:'·. •`·. .·´• 
.·' `:--·´ 
`·--:´ `·. ' ' 
.·´ ;`·-·´; 



RE: Orion Server and MS Access!

2001-06-08 Thread elephantwalker



the 
odbc bridge is a little "challenged"; ie, it doesn't work most of the time, and 
I would suggest using this little nogginware bridge...there is a free 30 
or 60 day trial, and it is inexpensive:

http://www.nogginware.com/

Regards,

the 
elephantwalker

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Kesav 
  KumarSent: Friday, June 08, 2001 1:04 PMTo: 
  Orion-InterestSubject: RE: Orion Server and MS 
  Access!
  Should be. If you have jdbc-odbc bridge and your odbc is setup 
  properly for the access then orion doesn't have any problem in talking with 
  that. You have to remember that MSAccess doesn't support many JDBC2.0 
  features. Go through the JDBC-ODBC bridge docs from 
  javasoft.
  
  Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] 
  http://www.voquette.com 
  Voquette...Delivering Sound 
  Information 
  
-Original Message-From: Rajiv R 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, June 07, 2001 8:49 
PMTo: Orion-InterestSubject: Orion Server and MS 
Access!


Hi ...

IsOrion server compatible with MS Access 
database..?

thanx in advance



With Regards,Rajiv. RSystems 
Engineer,Wipro Technologies, ITPL, 
BangalorePh:91-80-8410470-479 Extn:6422[EMAIL PROTECTED]http://www.rajspace.org_Wipro 
TechnologiesThe World's First SEI-CMM Level 5 Software Services 
Company_´¯`·. 
.·´¯`:'·. *`·. .·´* 
.·' `:--·´ 
`·--:´ `·. ' ' 
.·´ ;`·-·´; 



Re: Virtual Hosts - Newbie question

2001-06-08 Thread G T

I'm not able to ping either of the 2. How do I make it point to it.
I am able to ping local host. And I am able to run all the applications part 
of the default-web-app. Is there any thing else that needs to be done to 
point www.example1.com to my box


- Original Message -
just to eliminate the obvious: have you made sure that
http://www.example1.com is pointing to your box?
(trying pinging to be certain).

Otherwise, your xml files look good.

Lance Lavandowska
www.Brainopolis.com

- Original Message -
From: G T [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 3:47 PM
Subject: Virtual Hosts - Newbie question


I followed the steps given in OrionSupport.com to set up virtual hosts but
I
am still not able to run it successfully.
On typing www.example1.com it refuses to look into my server, instead it
tries to go to internet




_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Re: Virtual Hosts - Newbie question

2001-06-08 Thread Boris Erukhimov

You need to set up your own little DNS.
I assume you're on NT otherwise as a UNIX user you'd sure knew how to do
it.
If so 

1. Open a file  \WINNT\system32\drivers\etc\Hosts
2. Below the line 
127.0.0.1   localhost

   Add a line
127.0.0.1   www.example1.com

3. Reboot

That should do it
~be

That should do it
G T wrote:
 
 I'm not able to ping either of the 2. How do I make it point to it.
 I am able to ping local host. And I am able to run all the applications part
 of the default-web-app. Is there any thing else that needs to be done to
 point www.example1.com to my box
 
 - Original Message -
 just to eliminate the obvious: have you made sure that
 http://www.example1.com is pointing to your box?
 (trying pinging to be certain).
 
 Otherwise, your xml files look good.
 
 Lance Lavandowska
 www.Brainopolis.com
 
 - Original Message -
 From: G T [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Friday, June 08, 2001 3:47 PM
 Subject: Virtual Hosts - Newbie question
 
 I followed the steps given in OrionSupport.com to set up virtual hosts but
 I
 am still not able to run it successfully.
 On typing www.example1.com it refuses to look into my server, instead it
 tries to go to internet
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com




RE: Oracle deal

2001-06-08 Thread Mike Cannon-Brookes

I've never seen behaviour like this, and yes I run a few 24x7 sites on
Orion.

My boxes are usually dual P3-866's, each with 1 gig RAM, running RedHat and
Sun JDK 1.3.

-mike

Mike Cannon-Brookes - Founder, Core Developer
OpenSymphony - http://www.opensymphony.com
The Open Source J2EE Component Project

Latest News
- Cache in on faster, more reliable JSPs
http://www.javaworld.com/javaworld/jw-05-2001/jw-0504-cache.html



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Metla, Suri
 Sent: Saturday, June 09, 2001 1:49 AM
 To: Orion-Interest
 Cc: '[EMAIL PROTECTED]'
 Subject: RE: Oracle deal


 Hi all,

   I am running Oracle's oc4j  ( i.e. Orion 1.5.0.) on Solaris BOX
 having 1G
 RAM, 12 CPU's box. We are now testing the Orion Server for the Scalability
 and Load test. We are running the Simple Jsp , for a duration of one day
 Using the Load runner with 50 user concurrency.

 The server Crashes after 3Hrs of test run giving the error.

 Warning: Error reading transaction-log file
 (/app/ias1022/j2ee/home/persistence/transaction.state) for recovery:
 premature end of file

 Forced or abrubt (crash etc) server shutdown detected, starting recovery
 process...

 Recovery completed, 0 connections committed and 0 rolled back..

 Any one know about this behavior of Orion.

 Is this OC4J is scalable?.

 Is any one running the 24-7 sites using this Orion Application Server?.



 Thanks In advance.

 Regards,

 Suri



 -Original Message-
 From: Darren Gibbons [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 07, 2001 6:41 PM
 To: Orion-Interest
 Subject: Re: Oracle deal


 I agree fully.  This is good for Orion, for Oracle, and us as
 developers.

 The indication that I've been getting at JavaOne is that this deal is
 similar to the JBuilder deal -- Oracle licenses the source code, and
 goes off and forks it, adding their own value-add features.  Orion is
 free to keep on doing what they do best, albeit with a (hopefully very
 large) deposit to their bank account.

 At some point in the future, Oracle may license Orion again (just like
 Oracle recently licensed the latest JBuilder for their next release of
 JDeveloper), but they don't have to.

 The bottom line is that rather than recommending JRun on the low-end for
 clients, and BEA on the high-end, I'll be able to recommend Orion *or*
 Oracle, and know that I'm getting a high-quality product either way.

 Oracle's licensing is a huge validation for Orion, not just for
 technical reasons (I think everyone on the list knows it's a good
 product), but also in terms of mindshare and comfort level of those who
 sign the cheques.


 Code and be happy.


 Darren.

 PS IronFlare has hired another developer, and Magnus has some good things
 coming in terms of management tools and J2EE 1.3 integration.  Now is when
 things really start to get interesting...



 On Thu, Jun 07, 2001 at 02:41:51PM -0700, Robert S. Sfeir wrote:
  Why can't everyone just enjoy and bask in the moment?  It seems
 that every

  time something happens on this list, we all have to start whyning!  If
  things suck later, just change to different app server if
 you're unhappy
  with the results.  This just means that:
  1- Orion kicks butt
  2- Oracle's App Server was shameful and they saw the power of Orion
  3- IronFlare has more money to work with, and perhaps add more support
  folks or more designer to go faster and better.
 
  It's not like we never have, and never will have another choice
 for an app

  server.  This move justifies my pitch to clients now, and soon
 I many not
  even tell them Orion, I will say the Oracle App Server if the
 client is a
  bit gun-shy on using something other than Weblogic.
 
  Just my opinion.
  R
 
 
  Robert S. Sfeir
  Director of Software Development
  PERCEPTICON corporation,
  in Joint Venture With JTransit
  San Francisco, CA 94123
  pw - http://www.percepticon.com/
  jw - http://jtransit.com
  e- [EMAIL PROTECTED]
 
 

 --

 Darren Gibbons[EMAIL PROTECTED]
 OpenRoad Communications   ph: 604.681.0516
 Internet Application Development fax: 604.681.0916
 Vancouver, B.C. http://www.openroad.ca







Re: Virtual Hosts - Newbie question

2001-06-08 Thread Lance Lavandowska

On NT you shouldn't need to reboot to take advantage of changes to Hosts
(I never have had to).  If you are on another Windows platform (such as
2000) look for a file named hosts.sam.  On older windows there are
actually more than one hosts file, and we've never been able to
establish exactly which one you need to change (we just change them all),
and they do require a reboot more often than not.

- Original Message -
From: Boris Erukhimov [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 3:08 PM
Subject: Re: Virtual Hosts - Newbie question


 You need to set up your own little DNS.
 I assume you're on NT otherwise as a UNIX user you'd sure knew how to do
 it.
 If so

 1. Open a file  \WINNT\system32\drivers\etc\Hosts
 2. Below the line
127.0.0.1   localhost

Add a line
127.0.0.1   www.example1.com

 3. Reboot

 That should do it
 ~be






RE: Orion Server and MS Access!

2001-06-08 Thread Gregory T Stickley









Ive
tested orion with ms access using the jdbcodbc bridge driver. You have to set ms access up as an odbc
datasource first.



email signature goes here



-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Rajiv R
Sent: Thursday, June 07, 2001
10:49 PM
To: Orion-Interest
Subject: Orion Server and MS
Access!







Hi
...



IsOrion
server compatible with MS Access database..?



thanx
in advance







With
Regards,
Rajiv. R
Systems Engineer,
Wipro Technologies, ITPL, Bangalore
Ph:91-80-8410470-479 Extn:6422
[EMAIL PROTECTED]
http://www.rajspace.org
_
Wipro Technologies
The World's First SEI-CMM Level 5 Software Services Company
_
´¯`·. .·´¯`:
'·. `·. .·´ .·'
 `:--·´ `·--:´
 `·. ' ' .·´
 ;`·-·´; 








Collection of Entity Beans mapping

2001-06-08 Thread YF

Hi all,

I am currently stuck with mapping for a collection of
entity beans. Orion either refused my mapping or
mapped the field as if it's a serialize object. I
would really appreciate if someone can show me an
example.

Thanks a lot.

=
-
http://vietlibrary.cjb.net
-

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




Re: clustering and key generation

2001-06-08 Thread Greg Matthews

hi,

i had a read and i'm still stuck.

my question specifically is about why the InitialContext i create
for referencing a KeyGeneratorBean on another box doesn't work.

machines A, B, C, and D each have the same app deployed,
which has many beans. Each box should use it's own beans,
except KeyGeneratorBean.

I want to tell *all* boxes to use the KeyGeneratorBean on machine A.

I do this by creating a new InitialContext that is used only when getting
a home interface to KeyGeneratorBean, by calling the InitialContext(
Hashtable)
constructor, where Hashtable contains

java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.security.principal=principal
java.naming.security.credentials=credentials
java.naming.provider.url=ormi://machineA/myApp

this works when i run a standalone dos program to get a reference to
KeyGeneratorBean on machineA, so why doesn't it work when
the same code is run from inside an EJB on machineB?

any help much appreciated,
greg.
- Original Message -
From: Jason Smith [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 2:04 PM
Subject: RE: clustering and key generation


 These posts in the archive may help you (although they target Orion web
 server-Orion ejb server configuration instead of a cluster).

 http://www.mail-archive.com/orion-interest@orionserver.com/msg12704.html
 http://www.mail-archive.com/orion-interest@orionserver.com/msg11905.html

 -jason

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Matthews
 Sent: Thursday, June 07, 2001 10:19 PM
 To: Orion-Interest
 Subject: clustering and key generation


 dear all,

 if there any way to get all machines in a cluster to lookup a stateless
 session bean (KeyGeneratorBean) on *one* of the machines in the cluster
 only.

 i've given it a try but can't seem to find a way to get machine B to use
 machine A's KeyGeneratorBean, even though machine B builds a new
 InitialContext with the 4 environment parameters, e.g.
 principal/credentials/url/factory when doing a lookup for KeyBean.

 thanks,
 greg.