Re: Apache NameVirtualHost and Orion with reverse proxying
Turns out the actual problem was a missing trailing slash; adding that fixed the problem. ProxyPass / http://mydomain.com:8080/ ProxyPassReverse / http://mydomain.com:8080/ Gregory Stickley wrote: Try taking out the http:// -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Arun K Viswanathan Sent: Saturday, June 23, 2001 6:47 PM To: Orion-Interest Subject: Apache NameVirtualHost and Orion with reverse proxying I am trying setup Apache as the front-end to Orion as described at OrionSupport.com (http://www.orionsupport.com/articles/apachefrontend.html). Since I want to use name based virtual hosting, I am using the NameVirtualHost directive of Apache. Apache is listening on port 80 and Orion on 8080. In httpd.conf, I have: ... LoadModule proxy_module ... ... NameVirtualHost aaa.bbb.ccc.ddd# IP address of my server VirtualHost aaa.bbb.ccc.ddd ServerName orion.mydomain.com IfModule mod_proxy.c ProxyVia On ProxyPass / http://mydomain.com:8080 ProxyPassReverse / http://mydomain.com:8080 /IfModule /VirtualHost With this configuration, if I access http://mydomain.com:8080, Orion is up and running and all the default JSP examples work fine (http://mydomain.com:8080/examples/jsp) When I access http://orion.mydomain.com, the default Orion page comes up without any problem. But I can no longer access the JSPs http://orion.mydomain.com/examples/jsp give me a 400 Bad Request page Bad Request: Your browser sent a request that this server could not understand. I'm not sure if this is a browser issue since this failed with both NS and IE. Any suggestions on how I can resolve this? Thanks! Arun _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Arun
servlet as rmi client
I'm trying to use a servlet running in Orion's servlet container as an RMI client (connecting to a remote object registered with in the standard rmiregistry (Sun Java SDK 1.3)) but keep getting the following error: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve) I've tried starting orion with the -p flag, pointing to my security policy file. On a related matter, how could I use orion's ormi rmi registry instead? Thanks. M
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: Features of CMP
Try this: http://www.c2.com/cgi/wiki?OrionServerSpecSupport Please update it as well. Jeff -Original Message- From: Stefan Marx [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 4:47 AM To: Orion-Interest Subject: Features of CMP Hi, Is there any List available which features ar implemented in Orion 1.5.2. I have some special interest in the implementation of the EJB QL (Chapter 11 in the EJB2.0 Spec). Thanks Stefan
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)