orion and external jms

2001-06-26 Thread Karri Niemelä

Has someone managed to use external jms server with message driven beans?
I'm trying to combine orion with swiftmq.





Re: Anyone using TogetherSoft TCC with Orion?

2001-06-26 Thread BRICKER_JONATHAN_E

We are using TogetherJ with Orion. I'm not sure I can help you but for hot deployment we just make an .ear file and move it to the applications directory. Orion does the rest. All done in a make file. 

From our makefile:
### begin: rules for creating application jar.

DIST_DIR=$(APP_HOME)/dist
EJB_TMP_DIR=$(APP_HOME)/ejb_tmp



deploy:
cp $(APP_NAME).ear $(ORION_HOME)/applications

dist:  pre_dist ejb_jar war 
@echo -
@echo Creating $(APP_NAME) EAR ...
@cd $(DIST_DIR); \
$(JAR) cf ../$(APP_NAME).ear *;
@echo -
rm -rf $(DIST_DIR);

pre_dist:FORCE
@echo -
@echo Preparing EAR ...
@mkdir -p $(DIST_DIR)/META-INF;
@cp application.xml $(DIST_DIR)/META-INF;
@echo -

war:$(DIST_DIR)
@echo -
@echo Creating WEB Archive (WAR)...
@rm -rf web/WEB-INF/classes/com;
@cd web/WEB-INF/classes; \
cp -rf $(APP_HOME)/lib/* .;
@cp -rf web web_tmp; 
@cd web_tmp; \
find . -name CVS -prune -exec rm -rf {} \; 
@cd web_tmp; \
$(JAR) cf $(DIST_DIR)/$(APP_NAME).war *;
@rm -rf web_tmp;
@echo -

ejb_jar:$(DIST_DIR) ejb-jar.xml
@echo -
@echo Creating EJB JAR...
@mkdir -p $(EJB_TMP_DIR);
@cd $(EJB_TMP_DIR); \
cp -rf $(APP_HOME)/lib/* .;
@mkdir -p $(EJB_TMP_DIR)/META-INF;
@cp $(APP_HOME)/ejb-jar.xml $(EJB_TMP_DIR)/META-INF/;
@cd $(EJB_TMP_DIR); \
$(JAR) cf $(DIST_DIR)/$(APP_NAME)Ejb.jar *;
@rm -rf $(EJB_TMP_DIR);
@echo -


$(DIST_DIR):
mkdir -p $(DIST_DIR);

$(EJB_TMP_DIR):
mkdir -p $(EJB_TMP_DIR);

deploy_web:
cd web; \
rm -f *~; \
cp -rf * $(ORION_HOME)/applications/$(APP_NAME)/$(APP_NAME)

### end: rules for creating application jar.
Jonathan Bricker
Lilly Research Labs
Java ATG






Ronald F. Lens [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
06/25/01 02:09 PM
Please respond to Orion-Interest


To:Orion-Interest [EMAIL PROTECTED]
cc:
Subject:Anyone using TogetherSoft TCC with Orion?

Hi all,

Does anyone have any experience using TogetherSoft TCC v5 (or 4.x) with
orion? I'm still struggling to get the deployment tool to work with orion.
I got pretty close using the EJB 2.0 generic version in TogetherSoft but
it doesn't provide all the bells and whistles you'd like (like hot
deployment).

Any help would be greatly appreciated.
Ronald

-- 

A thinking computer, isn't that like a swimming ship?







SV: Anyone using TogetherSoft TCC with Orion?

2001-06-26 Thread Magnus Rydin



How do 
you model EJB 2.0 relations with Together?
WR

  -Ursprungligt meddelande-Från: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Skickat: den 26 juni 2001 
  05:31Till: Orion-InterestÄmne: Re: Anyone using 
  TogetherSoft TCC with Orion?We are using TogetherJ with Orion. I'm not sure I can help you 
  but for hot deployment we just make an .ear file and move it to the 
  applications directory. Orion does the rest. All done in a make 
  file.  From our 
  makefile: ### begin: rules for 
  creating application jar. DIST_DIR=$(APP_HOME)/dist EJB_TMP_DIR=$(APP_HOME)/ejb_tmp deploy:  
 cp $(APP_NAME).ear $(ORION_HOME)/applications 
  dist:  pre_dist ejb_jar war 
  @echo 
  "-" @echo "Creating $(APP_NAME) EAR ..." 
  @cd $(DIST_DIR); 
  \ $(JAR) 
  cf ../$(APP_NAME).ear *;   
@echo "-" rm -rf $(DIST_DIR); 
  pre_dist:FORCE 
  @echo 
  "-" @echo "Preparing EAR ..." @mkdir -p 
  $(DIST_DIR)/META-INF;   
@cp application.xml $(DIST_DIR)/META-INF; @echo 
  "-" war:$(DIST_DIR) @echo 
  "-" @echo "Creating WEB Archive 
  (WAR)..." 
  @rm -rf web/WEB-INF/classes/com; @cd web/WEB-INF/classes; \ cp -rf $(APP_HOME)/lib/* 
  .; @cp -rf 
  web web_tmp;
   @cd web_tmp; \   
find . -name CVS -prune -exec rm -rf {} \; @cd web_tmp; \ 
  $(JAR) cf 
  $(DIST_DIR)/$(APP_NAME).war *;  
 @rm -rf web_tmp; @echo 
  "-" ejb_jar:$(DIST_DIR) ejb-jar.xml 
  @echo 
  "-" @echo "Creating EJB JAR..." 
  @mkdir -p 
  $(EJB_TMP_DIR);
   @cd $(EJB_TMP_DIR); \  
 cp -rf $(APP_HOME)/lib/* .; @mkdir -p 
  $(EJB_TMP_DIR)/META-INF;   
@cp $(APP_HOME)/ejb-jar.xml $(EJB_TMP_DIR)/META-INF/; 
  @cd 
  $(EJB_TMP_DIR); \
   $(JAR) cf $(DIST_DIR)/$(APP_NAME)Ejb.jar *; @rm -rf 
  $(EJB_TMP_DIR);
   @echo "-" $(DIST_DIR): mkdir -p $(DIST_DIR); $(EJB_TMP_DIR): mkdir -p $(EJB_TMP_DIR); 
  deploy_web: cd web; \ rm -f *~; \ 
  cp -rf * 
  $(ORION_HOME)/applications/$(APP_NAME)/$(APP_NAME) ### end: rules for creating application jar. 
  Jonathan BrickerLilly Research 
  LabsJava ATG 
  


  
  "Ronald F. Lens" 
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 
06/25/01 02:09 PM Please respond to Orion-Interest 
  To:   
 Orion-Interest 
[EMAIL PROTECTED] cc:

 Subject:Anyone using TogetherSoft TCC 
with Orion?Hi all,Does anyone have any experience using TogetherSoft TCC 
  v5 (or 4.x) withorion? I'm still struggling to get the deployment tool to 
  work with orion.I got pretty close using the EJB 2.0 generic version in 
  TogetherSoft butit doesn't provide all the bells and whistles you'd like 
  (like hotdeployment).Any help would be greatly 
  appreciated.Ronald-- "A thinking computer, isn't that like 
  a swimming ship?"


Re: Anyone using TogetherSoft TCC with Orion?

2001-06-26 Thread Russ White



I also do similar, but I use ANT

For all the rest of you, TogetherJ is very worth checking out.


  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  
  To: Orion-Interest 
  Sent: Tuesday, June 26, 2001 8:31 
AM
  Subject: Re: Anyone using TogetherSoft 
  TCC with Orion?
  We are using TogetherJ with 
  Orion. I'm not sure I can help you but for hot deployment we just make 
  an .ear file and move it to the applications directory. Orion does the 
  rest. All done in a make file.  From our makefile: ### begin: rules for creating application jar. DIST_DIR=$(APP_HOME)/dist EJB_TMP_DIR=$(APP_HOME)/ejb_tmp 
  deploy: cp $(APP_NAME).ear 
  $(ORION_HOME)/applications dist: 
   pre_dist ejb_jar war  
 @echo "-" 
  @echo "Creating 
  $(APP_NAME) EAR ..."   
@cd $(DIST_DIR); \ $(JAR) cf ../$(APP_NAME).ear *; 
  @echo 
  "-" rm -rf $(DIST_DIR); pre_dist:FORCE 
  @echo 
  "-" @echo "Preparing EAR ..." @mkdir -p 
  $(DIST_DIR)/META-INF;   
@cp application.xml $(DIST_DIR)/META-INF; @echo 
  "-" war:$(DIST_DIR) @echo 
  "-" @echo "Creating WEB Archive 
  (WAR)..." 
  @rm -rf web/WEB-INF/classes/com; @cd web/WEB-INF/classes; \ cp -rf $(APP_HOME)/lib/* 
  .; @cp -rf 
  web web_tmp;
   @cd web_tmp; \   
find . -name CVS -prune -exec rm -rf {} \; @cd web_tmp; \ 
  $(JAR) cf 
  $(DIST_DIR)/$(APP_NAME).war *;  
 @rm -rf web_tmp; @echo 
  "-" ejb_jar:$(DIST_DIR) ejb-jar.xml 
  @echo 
  "-" @echo "Creating EJB JAR..." 
  @mkdir -p 
  $(EJB_TMP_DIR);
   @cd $(EJB_TMP_DIR); \  
 cp -rf $(APP_HOME)/lib/* .; @mkdir -p 
  $(EJB_TMP_DIR)/META-INF;   
@cp $(APP_HOME)/ejb-jar.xml $(EJB_TMP_DIR)/META-INF/; 
  @cd 
  $(EJB_TMP_DIR); \
   $(JAR) cf $(DIST_DIR)/$(APP_NAME)Ejb.jar *; @rm -rf 
  $(EJB_TMP_DIR);
   @echo "-" $(DIST_DIR): mkdir -p $(DIST_DIR); $(EJB_TMP_DIR): mkdir -p $(EJB_TMP_DIR); 
  deploy_web: cd web; \ rm -f *~; \ 
  cp -rf * 
  $(ORION_HOME)/applications/$(APP_NAME)/$(APP_NAME) ### end: rules for creating application jar. 
  Jonathan BrickerLilly Research 
  LabsJava ATG 
  


  
  "Ronald F. Lens" 
[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 
06/25/01 02:09 PM Please respond to Orion-Interest 
  To:   
 Orion-Interest 
[EMAIL PROTECTED] cc:

 Subject:Anyone using TogetherSoft TCC 
with Orion?Hi all,Does anyone have any experience using TogetherSoft TCC 
  v5 (or 4.x) withorion? I'm still struggling to get the deployment tool to 
  work with orion.I got pretty close using the EJB 2.0 generic version in 
  TogetherSoft butit doesn't provide all the bells and whistles you'd like 
  (like hotdeployment).Any help would be greatly 
  appreciated.Ronald-- "A thinking computer, isn't that like 
  a swimming ship?"


RE: Postgresql error: NullPointerException at getTables(DatabaseMetaData.java:1707)

2001-06-26 Thread Tim Drury




Sounds 
like a jdbc driver problem. Which version of postgres are 
you
running? Later versions (I run 7.1) include the jdbc source and it 
is
optionally compiled (see ./configure --help for options). Also 
checkat 
http://www.retep.org.uk/postgres/. 
Perhaps an older jdbc driver did not 
properly implement getTables()?

-tim


  -Original Message-From: Brent Usrey 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 25, 2001 12:12 
  AMTo: Orion-InterestSubject: Postgresql error: 
  NullPointerException at getTables(DatabaseMetaData.java:1707) 
  
  I'm having problem deploying the addressbook 
  example on Postgresql. 
  When Orion tries to build the table I get the 
  error below.
  It works fine if I build the table manually, or 
  if I run it on Hypersonic or Oracle.
  I have been through the article at http://www.orionsupport.com/articles/postgres.htmland 
  still can't get it to work.
  
  Any help is appreciated
  
  Brent
  
  
  Auto-deploying addressbook (New server version 
  detected)...Auto-deploying addressbook-ejb.jar (No previous deployment 
  found)... 
  java.lang.NullPointerException 
  at 
  org.postgresql.jdbc2.DatabaseMetaData.getTables(DatabaseMetaData.java:1707) 
  at com.evermind._au._jlb(Unknown 
  Source) at 
  com.evermind._px._jlb(Unknown 
  Source) at 
  com.evermind._px._bb(Unknown 
  Source) at 
  com.evermind._au._bb(Unknown 
  Source) at 
  com.evermind._dq._qzb(Unknown 
  Source) at 
  com.evermind._ck._qzb(Unknown 
  Source) at 
  com.evermind._ck._at(Unknown 
  Source) at 
  com.evermind.server.ApplicationServer._as(Unknown 
  Source) at 
  com.evermind.server.ApplicationServer._wl(Unknown 
  Source) at 
  com.evermind.server.ApplicationServer._at(Unknown 
  Source) at 
  com.evermind._in.run(Unknown 
  Source) at 
  java.lang.Thread.run(Thread.java:484) 
  at com.evermind._if.run(Unknown 
Source)


State propagation and jsp-beans

2001-06-26 Thread

Hi all.

Does anyone know if it is doable to get the state in a
jsp-bean or the bean itself (if implementing
serializable) propagated to the other JVM's in a
clustered envirionment.
I have the cluster up and working fine and session
state is replicated, but how about the beans???

Regards

//Mike

_
Do You Yahoo!?
[EMAIL PROTECTED] - skaffa en gratis mailadress på http://mail.yahoo.se




RE: orion and external jms

2001-06-26 Thread Robert Ren

Hi,
Recently we tried to integrate SonicMQ with Orion by using MDB, but failed.
The direct reason seems that the tag lookup-context location= doesn't
work, but I doubt Orion 1.5.2 dosen't support this feathure right now. So,
we have to back to ejb 1.1.
If you got any progress, please let us know.

Hope helpful!

Rob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Karri Niemelä
Sent: Tuesday, June 26, 2001 5:07 AM
To: Orion-Interest
Subject: orion and external jms


Has someone managed to use external jms server with message driven beans?
I'm trying to combine orion with swiftmq.







(my) problem locating a textfile from a Servlet

2001-06-26 Thread Regele, Manfred

Hi,

I wanted to port a (running) application from tomcat to orion. It seems
my coding is not proper/portable.

In my war-archive included (in WEB-INF subdirectory) are several
text config files (yes I know JNDI is a better way -but its lowest common
functionality) - and these files I want to access in my servlet code.

Following servlet code does not find these files running in orion while 
working fine with tomcat 3.2. 

For a beginner: whats the correct way to load such files ?




package de.adig.vbh.wc.controller;
...
public class UIMain extends HttpServlet {
...
file1 = getServletContext().getResource(WEB-INF/log4j.xml);

file2 =
getServletContext().getResource(WEB-INF/wc-config.xml);




== both files are null in orion, but found in tomcat.

files are in dir WEB-INF/ that is in a war-archive that is in an
ear-archive.
they got successfully unpacked by orion and can be seen in orionconsole

Manfred Regele 
ADIG Investment GmbH
22 MethodenTools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308
mailto:[EMAIL PROTECTED]
http://www.adig.de





MS SQL 7.0

2001-06-26 Thread APapada

Hi all:

This question is not specifically related to orion but I'm hoping that one
of you might be able to assist me in solving a critical problem.  Our
system uses a MSSQL database for security validation and user login.
Yesterday we found that the LDF grew to 256 mega-bytes and filled up the
hard drive of the server.  A decision was made to delete the LDF in the
hope that MSSQL would recreate the LDF and begin writing to it again.
Unfortunately this did not work so they attempted to copy the same LDF
back.  Now, the server won't start because it has labled our database as
suspect.  Is there anyway to solve this?  Please write back to me if anyone
has any ideas.

Thank You Sincerely,
Andrew Papada
IDSS





RE: clustering + ssl together

2001-06-26 Thread elephantwalker

Here are the hickups in the plan so far...see below.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
Sent: Monday, June 25, 2001 1:29 AM
To: Orion-Interest
Subject: RE: clustering + ssl together


Greg,

I am doing this now, so I will get back to the list when I am finished. This
is my working plan:

1. there are two loadbalancers instances, one for http and one for https.
These can be on the same machine or seperate machines.

hickup

At one level this works, but you have to set the minimumIsland/maximumIsland
so that each respective loadbalancer picks up either the https island or the
http island. However, https connections do not work. It could be because of
this blurb in the load-balancer.xml description:

secure - Whether or not to use SSL. The default is false. SSL is only used
when using session (not IP)
   based balancing and the backend and the site is using SSL. If you specify
the balancer to use SSL then
   the backend servers will not (the balancer converts to HTTP, ie contains
the SSL layer). Note that this
   puts the strain of decoding the SSL on the balancer.

I'm sorry, but does this say that we have the option of NOT using SSL for
the balancer, but using it for the backend? Or if we use SSL for the
balancer, SSL isn't used on the backend (and thus we have to strip all of
the SSL configuration from the backend)?

/hickup


2. the ports for your web-sites can be different from your loadbalancer(s)
port. This allows you to have the loadbalancer and an orion instance on the
same machine, for example. Or the ports can be the same, in which case the
loadbalancer(s) has to be on a different machine.

hickup

Since web-sites are load-balanced (not applications), its important that
each *web-site.xml which you use have its own island. This is done by
setting the cluster-island attribute in the web-site tag. See above for
reference to min/max island ids for the loadbalancer. The port bit seems to
work. That is, the http web-site had a port of 10180, and the http
loadbalancer listened on port 80. This was no problem. So if you want to
have the loadbalancer and web-site on the same ip address, you will need to
set the website port to something else so they don't conflict.

/hickup
3. the same rules apply for the loadbalancer as orion for unix machines. You
need to use some port forwarding, like ipchains, if you want to run the
loadbalancer on a user account which is not the superuser. This applies also
for the ssl port. (skip 3 if you are using m$ or don't care)
4. the ssl setup in the load-balancer.xml (see the ssl-config tag in the
load-balancer.xml documentation) is the same as the secure-web-site.xml, but
you will have to set the secure flag in the load-balancer tag. Obviously,
this means you will need a keystore for the loadbalancer, and a keystore for
the backend for total secure communication. I believe that the communication
to the backend is transparant to the user, so you can self certify that
connection, irregardless of what those guys at verisign say.
5. you can skip all of this and use apache for ssl (interesting, but slow).
This is what oracle advises, because they can't figure out orion, or they
have so much invested in the apache/oracle solution.

hickup

 This option is looking better and better.

/hickup

I'm testing this now, as soon as I get through the hickups, I will let the
list know.

regards,

the elephantwalker






-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Matthews
Sent: Sunday, June 24, 2001 3:02 PM
To: Orion-Interest
Subject: clustering + ssl together



dear all,

there has been a recent post on this but no solution posted.
i've got some more info on the problem.

can the developers of orion or anyone else let me know
if anyone has successfully set up an ssl orion cluster?

i can:
- set up clustering
- set up ssl

...but not both together.

some clues.

1. on orionserver.com there is doco for load-balancer.xml that
suggests loadbalancer.jar can be given SSL keystore information.
does this mean that a clustered SSL setup requires loadbalancer
to share the same keystore as each box in the cluster?

2. how do you set the web-site.xml for a clustered secure app.

you can't have both the loadbalancer + your secure app
both running on port 443 on the same box, so what do you
do?
i) run loadbalancer on another port?
ii) run your app on another port?
- the orion doco says that when your app needs to
  be made secure you should add a secure=true
  attribute to the web-site element of the web-site.xml
  plus remove the port attribute.

if someone has made this work i'd be grateful for any information,
or if you couldn't be bothered explaining how to do it, just maybe
forward me your server.xml, loadbalancer.xml, web-site.xml and
i'll work it out from that.

thanks.
greg.





RE: State propagation and jsp-beans

2001-06-26 Thread Claudio Cordova

Anything serializable in session will get replicated.

Claudio

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, June 26, 2001 7:15 AM
 To: Orion-Interest
 Subject: State propagation and jsp-beans


 Hi all.

 Does anyone know if it is doable to get the state in a
 jsp-bean or the bean itself (if implementing
 serializable) propagated to the other JVM's in a
 clustered envirionment.
 I have the cluster up and working fine and session
 state is replicated, but how about the beans???

 Regards

 //Mike

 _
 Do You Yahoo!?
 [EMAIL PROTECTED] - skaffa en gratis mailadress på http://mail.yahoo.se







JMS and Asynch messaging

2001-06-26 Thread Tim Rickard

I cant seem to get asynchronous messaging working. I have tried
setMessageListener from the receiver level and the session level and onMessage
has never gotten called in either case. I am using version 1.5.2  Does anyone
know if this works. Synchronous messaging is working fine.





Re: (my) problem locating a textfile from a Servlet

2001-06-26 Thread Tim Endres

Have you tried a leading slash?

file1 = getServletContext().getResource( /WEB-INF/log4j.xml );

What we do, is get the real path with:

 String realPath = this.getServletContext().getRealPath( /WEB-INF/dir );
 new File( realPath, fileName );

We do this because getResource() is so dependent on ClassLoaders.

tim.

 Hi,
 
 I wanted to port a (running) application from tomcat to orion. It seems
 my coding is not proper/portable.
 
 In my war-archive included (in WEB-INF subdirectory) are several
 text config files (yes I know JNDI is a better way -but its lowest common
 functionality) - and these files I want to access in my servlet code.
 
 Following servlet code does not find these files running in orion while 
 working fine with tomcat 3.2. 
 
 For a beginner: whats the correct way to load such files ?
 
 
 
 
 package de.adig.vbh.wc.controller;
 ...
 public class UIMain extends HttpServlet {
 ...
 file1 = getServletContext().getResource(WEB-INF/log4j.xml);
 
 file2 =
 getServletContext().getResource(WEB-INF/wc-config.xml);
 
 
 
 
 == both files are null in orion, but found in tomcat.
 
 files are in dir WEB-INF/ that is in a war-archive that is in an
 ear-archive.
 they got successfully unpacked by orion and can be seen in orionconsole
 
 Manfred Regele 
 ADIG Investment GmbH
 22 MethodenTools
 Richard-Reitzner-Allee 2
 85540 Haar
 Tel: 089/46268-308
 mailto:[EMAIL PROTECTED]
 http://www.adig.de
 
 





Cookies larger than 20k

2001-06-26 Thread Orion Developers

We're having problems passing cookies greater then 20k in size.  We get a 
http: 413 error, and the servlets seem to truncate over that limit.

Also, is there a version/bug fix list available to the public?  we are on 
1.4.5 and I am wondering about 1.5.2, and what issues have been addressed.

Finally, has ANYONE had any success getting ahold of Cadrion, the alleged 
'support partner' of Orion??


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





RE: MS SQL 7.0

2001-06-26 Thread Eduardo Estefano

I assume you backed it up before you started deleting some files.
Restore from your backup.

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, June 26, 2001 9:43 AM
To: Orion-Interest
Subject:MS SQL 7.0

Hi all:

This question is not specifically related to orion but I'm hoping that one
of you might be able to assist me in solving a critical problem.  Our
system uses a MSSQL database for security validation and user login.
Yesterday we found that the LDF grew to 256 mega-bytes and filled up the
hard drive of the server.  A decision was made to delete the LDF in the
hope that MSSQL would recreate the LDF and begin writing to it again.
Unfortunately this did not work so they attempted to copy the same LDF
back.  Now, the server won't start because it has labled our database as
suspect.  Is there anyway to solve this?  Please write back to me if anyone
has any ideas.

Thank You Sincerely,
Andrew Papada
IDSS





Re: Cookies larger than 20k

2001-06-26 Thread Ray Harrison

http://www.atlassian.com/ seems to be the latest support web site - seems like the 
same company.

--- Orion Developers [EMAIL PROTECTED] wrote:
 We're having problems passing cookies greater then 20k in size.  We get a 
 http: 413 error, and the servlets seem to truncate over that limit.
 
 Also, is there a version/bug fix list available to the public?  we are on 
 1.4.5 and I am wondering about 1.5.2, and what issues have been addressed.
 
 Finally, has ANYONE had any success getting ahold of Cadrion, the alleged 
 'support partner' of Orion??
 
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com
 
 


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




Re: clustering + ssl together

2001-06-26 Thread Greg Matthews


ew,

i was trying to run a single secure load balancer
with it's own load-balancer.xml.

loadbalancer did register the 2 orions i'd set up to appear
in the cluster, but after being able to see them appear on
the loadbalancer screen, i was still unable to access my
web app. the browser just sat there with the little IE
symbol spinning, but no joy.

all orions and the loadbalancer had their own keystore
setup using a test certificate generated from thawte.com

loadbalancer = secure and on port 443 (on box1)
orion1 = secure and on port 443 (on box2)
orion2 = secure and on port 8080 (on box1) !! but only in some experiments.

i also tried various other configurations of the loadbalancer
and cluster machines having secure on/off, etc. and
swapping the port numbers around, e.g. when loadbalancer
and orion2 were both running, they were both secure=true
but obviously only one can run on port 443 at one time, so
i made orion2 run on port 8080 while secure=true was set.

i also had a look at apache for how to setup SSL but it looks
like you've got to compile the mod in yourself for win32 so
i've given that a miss for the moment.

greg.

- Original Message -
From: elephantwalker [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 2:48 AM
Subject: RE: clustering + ssl together


 Here are the hickups in the plan so far...see below.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
 Sent: Monday, June 25, 2001 1:29 AM
 To: Orion-Interest
 Subject: RE: clustering + ssl together


 Greg,

 I am doing this now, so I will get back to the list when I am finished.
This
 is my working plan:

 1. there are two loadbalancers instances, one for http and one for https.
 These can be on the same machine or seperate machines.

 hickup

 At one level this works, but you have to set the
minimumIsland/maximumIsland
 so that each respective loadbalancer picks up either the https island or
the
 http island. However, https connections do not work. It could be because
of
 this blurb in the load-balancer.xml description:

 secure - Whether or not to use SSL. The default is false. SSL is only used
 when using session (not IP)
based balancing and the backend and the site is using SSL. If you
specify
 the balancer to use SSL then
the backend servers will not (the balancer converts to HTTP, ie
contains
 the SSL layer). Note that this
puts the strain of decoding the SSL on the balancer.

 I'm sorry, but does this say that we have the option of NOT using SSL for
 the balancer, but using it for the backend? Or if we use SSL for the
 balancer, SSL isn't used on the backend (and thus we have to strip all of
 the SSL configuration from the backend)?

 /hickup


 2. the ports for your web-sites can be different from your loadbalancer(s)
 port. This allows you to have the loadbalancer and an orion instance on
the
 same machine, for example. Or the ports can be the same, in which case the
 loadbalancer(s) has to be on a different machine.

 hickup

 Since web-sites are load-balanced (not applications), its important that
 each *web-site.xml which you use have its own island. This is done by
 setting the cluster-island attribute in the web-site tag. See above for
 reference to min/max island ids for the loadbalancer. The port bit seems
to
 work. That is, the http web-site had a port of 10180, and the http
 loadbalancer listened on port 80. This was no problem. So if you want to
 have the loadbalancer and web-site on the same ip address, you will need
to
 set the website port to something else so they don't conflict.

 /hickup
 3. the same rules apply for the loadbalancer as orion for unix machines.
You
 need to use some port forwarding, like ipchains, if you want to run the
 loadbalancer on a user account which is not the superuser. This applies
also
 for the ssl port. (skip 3 if you are using m$ or don't care)
 4. the ssl setup in the load-balancer.xml (see the ssl-config tag in the
 load-balancer.xml documentation) is the same as the secure-web-site.xml,
but
 you will have to set the secure flag in the load-balancer tag. Obviously,
 this means you will need a keystore for the loadbalancer, and a keystore
for
 the backend for total secure communication. I believe that the
communication
 to the backend is transparant to the user, so you can self certify that
 connection, irregardless of what those guys at verisign say.
 5. you can skip all of this and use apache for ssl (interesting, but
slow).
 This is what oracle advises, because they can't figure out orion, or they
 have so much invested in the apache/oracle solution.

 hickup

  This option is looking better and better.

 /hickup

 I'm testing this now, as soon as I get through the hickups, I will let the
 list know.

 regards,

 the elephantwalker






 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Matthews
 Sent: Sunday, June 24, 

Multiple destination with orion 1.4.8

2001-06-26 Thread Hasnul Hirudin

hi...
 There is two case that i would like to hear opinion
from you guys.I use EJB to pass all the data to
different machine and location.I am using orion 1.4.8
for all the location.

first case:

 one client sent data to destination named
ormi://machineA/A and forward all the data to 3
different machine named
ormi://machineB/B,ormi://machineC/C,ormi://machineD/D
concurrently.
Some thing happen went machineA try to forward all the
data to this 3 machine concurrently. MachineA give
exception java.lang.NullPointerException domain was
null.



seconds case:

one client sent data to destination named
ormi://machineA/A and forward all the data to 3
different machine named
ormi://machineB/A,ormi://machineC/A,ormi://machineD/A
concurrently.
But only machineB get all the data for machineC and
machineD. Therefore machineB get is 3 data. Suppose
every machine will get its own data.
I had change the port number and its still point to
same machine that its see first and give all the data
although it didn't give any exception went machineA
try to find ejb application in different machine.


Had anybody out there had same problem with me. I
would to hear from u guys.



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




RE: clustering + ssl together

2001-06-26 Thread elephantwalker

Greg,

I just tried something which ALMOST worked. I tried the secure loadbalancer
instance like this in the browser:

http://localhost:443/mysecuresite/login.

The secure loadbalancer showed a session id, and forwarded the request to
the secure island! Of course the site didn't do anything, since it was
looking for a handshake. It looks like the loadbalancer is just not doing
its bit...it is refusing all connections which are secure.

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Matthews
Sent: Tuesday, June 26, 2001 3:00 PM
To: Orion-Interest
Subject: Re: clustering + ssl together



ew,

i was trying to run a single secure load balancer
with it's own load-balancer.xml.

loadbalancer did register the 2 orions i'd set up to appear
in the cluster, but after being able to see them appear on
the loadbalancer screen, i was still unable to access my
web app. the browser just sat there with the little IE
symbol spinning, but no joy.

all orions and the loadbalancer had their own keystore
setup using a test certificate generated from thawte.com

loadbalancer = secure and on port 443 (on box1)
orion1 = secure and on port 443 (on box2)
orion2 = secure and on port 8080 (on box1) !! but only in some experiments.

i also tried various other configurations of the loadbalancer
and cluster machines having secure on/off, etc. and
swapping the port numbers around, e.g. when loadbalancer
and orion2 were both running, they were both secure=true
but obviously only one can run on port 443 at one time, so
i made orion2 run on port 8080 while secure=true was set.

i also had a look at apache for how to setup SSL but it looks
like you've got to compile the mod in yourself for win32 so
i've given that a miss for the moment.

greg.

- Original Message -
From: elephantwalker [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 2:48 AM
Subject: RE: clustering + ssl together


 Here are the hickups in the plan so far...see below.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
 Sent: Monday, June 25, 2001 1:29 AM
 To: Orion-Interest
 Subject: RE: clustering + ssl together


 Greg,

 I am doing this now, so I will get back to the list when I am finished.
This
 is my working plan:

 1. there are two loadbalancers instances, one for http and one for https.
 These can be on the same machine or seperate machines.

 hickup

 At one level this works, but you have to set the
minimumIsland/maximumIsland
 so that each respective loadbalancer picks up either the https island or
the
 http island. However, https connections do not work. It could be because
of
 this blurb in the load-balancer.xml description:

 secure - Whether or not to use SSL. The default is false. SSL is only used
 when using session (not IP)
based balancing and the backend and the site is using SSL. If you
specify
 the balancer to use SSL then
the backend servers will not (the balancer converts to HTTP, ie
contains
 the SSL layer). Note that this
puts the strain of decoding the SSL on the balancer.

 I'm sorry, but does this say that we have the option of NOT using SSL for
 the balancer, but using it for the backend? Or if we use SSL for the
 balancer, SSL isn't used on the backend (and thus we have to strip all of
 the SSL configuration from the backend)?

 /hickup


 2. the ports for your web-sites can be different from your loadbalancer(s)
 port. This allows you to have the loadbalancer and an orion instance on
the
 same machine, for example. Or the ports can be the same, in which case the
 loadbalancer(s) has to be on a different machine.

 hickup

 Since web-sites are load-balanced (not applications), its important that
 each *web-site.xml which you use have its own island. This is done by
 setting the cluster-island attribute in the web-site tag. See above for
 reference to min/max island ids for the loadbalancer. The port bit seems
to
 work. That is, the http web-site had a port of 10180, and the http
 loadbalancer listened on port 80. This was no problem. So if you want to
 have the loadbalancer and web-site on the same ip address, you will need
to
 set the website port to something else so they don't conflict.

 /hickup
 3. the same rules apply for the loadbalancer as orion for unix machines.
You
 need to use some port forwarding, like ipchains, if you want to run the
 loadbalancer on a user account which is not the superuser. This applies
also
 for the ssl port. (skip 3 if you are using m$ or don't care)
 4. the ssl setup in the load-balancer.xml (see the ssl-config tag in the
 load-balancer.xml documentation) is the same as the secure-web-site.xml,
but
 you will have to set the secure flag in the load-balancer tag. Obviously,
 this means you will need a keystore for the loadbalancer, and a keystore
for
 the backend for total secure communication. I believe that the

RE: clustering + ssl together

2001-06-26 Thread elephantwalker

Greg,

I just logged this as bug 525. The ssl loadbalancer just won't accept
connections with https://, but will accept connections with http://. Basic
problem with the code. Its not us. Karl and Magnus need to fix this.

regards,

the elephantwalker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
Sent: Tuesday, June 26, 2001 9:59 PM
To: Orion-Interest
Subject: RE: clustering + ssl together


Greg,

I just tried something which ALMOST worked. I tried the secure loadbalancer
instance like this in the browser:

http://localhost:443/mysecuresite/login.

The secure loadbalancer showed a session id, and forwarded the request to
the secure island! Of course the site didn't do anything, since it was
looking for a handshake. It looks like the loadbalancer is just not doing
its bit...it is refusing all connections which are secure.

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Matthews
Sent: Tuesday, June 26, 2001 3:00 PM
To: Orion-Interest
Subject: Re: clustering + ssl together



ew,

i was trying to run a single secure load balancer
with it's own load-balancer.xml.

loadbalancer did register the 2 orions i'd set up to appear
in the cluster, but after being able to see them appear on
the loadbalancer screen, i was still unable to access my
web app. the browser just sat there with the little IE
symbol spinning, but no joy.

all orions and the loadbalancer had their own keystore
setup using a test certificate generated from thawte.com

loadbalancer = secure and on port 443 (on box1)
orion1 = secure and on port 443 (on box2)
orion2 = secure and on port 8080 (on box1) !! but only in some experiments.

i also tried various other configurations of the loadbalancer
and cluster machines having secure on/off, etc. and
swapping the port numbers around, e.g. when loadbalancer
and orion2 were both running, they were both secure=true
but obviously only one can run on port 443 at one time, so
i made orion2 run on port 8080 while secure=true was set.

i also had a look at apache for how to setup SSL but it looks
like you've got to compile the mod in yourself for win32 so
i've given that a miss for the moment.

greg.

- Original Message -
From: elephantwalker [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 2:48 AM
Subject: RE: clustering + ssl together


 Here are the hickups in the plan so far...see below.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker
 Sent: Monday, June 25, 2001 1:29 AM
 To: Orion-Interest
 Subject: RE: clustering + ssl together


 Greg,

 I am doing this now, so I will get back to the list when I am finished.
This
 is my working plan:

 1. there are two loadbalancers instances, one for http and one for https.
 These can be on the same machine or seperate machines.

 hickup

 At one level this works, but you have to set the
minimumIsland/maximumIsland
 so that each respective loadbalancer picks up either the https island or
the
 http island. However, https connections do not work. It could be because
of
 this blurb in the load-balancer.xml description:

 secure - Whether or not to use SSL. The default is false. SSL is only used
 when using session (not IP)
based balancing and the backend and the site is using SSL. If you
specify
 the balancer to use SSL then
the backend servers will not (the balancer converts to HTTP, ie
contains
 the SSL layer). Note that this
puts the strain of decoding the SSL on the balancer.

 I'm sorry, but does this say that we have the option of NOT using SSL for
 the balancer, but using it for the backend? Or if we use SSL for the
 balancer, SSL isn't used on the backend (and thus we have to strip all of
 the SSL configuration from the backend)?

 /hickup


 2. the ports for your web-sites can be different from your loadbalancer(s)
 port. This allows you to have the loadbalancer and an orion instance on
the
 same machine, for example. Or the ports can be the same, in which case the
 loadbalancer(s) has to be on a different machine.

 hickup

 Since web-sites are load-balanced (not applications), its important that
 each *web-site.xml which you use have its own island. This is done by
 setting the cluster-island attribute in the web-site tag. See above for
 reference to min/max island ids for the loadbalancer. The port bit seems
to
 work. That is, the http web-site had a port of 10180, and the http
 loadbalancer listened on port 80. This was no problem. So if you want to
 have the loadbalancer and web-site on the same ip address, you will need
to
 set the website port to something else so they don't conflict.

 /hickup
 3. the same rules apply for the loadbalancer as orion for unix machines.
You
 need to use some port forwarding, like ipchains, if you want to run the
 loadbalancer on a user account which is not the superuser.