From: Conrad H. <co...@cg...> - 2011-09-14 16:05:18
|
Thank you very much. Everything worked as advertised and our web service works fine now. Conrad On 8/31/11 4:20 PM, Wilfred Li wrote: > Hi, Conrad, > > Please let us know if this helps. > > Here is a link that may help. > http://rocce.ucsd.edu/roll-documentation/opal/5.0/remove-portnum.html > > The instruction below is rocks specific, > > > Removing Port 8080 from Opal URL > > 1. Go to opal installation dir, in etc/opal.properties, remove 8080 > from url, then "ant install" > 2. In /etc/httpd/conf/httpd.conf, comment out "AddHandler type-map var" > 3. Modify worker.properties, like below > 4. Modify /etc/httpd/conf.d/rocks.conf, like below > 5. service httpd restart > 6. restart tomcat > > > [root@rocce conf]# cat workers.properties > #workers.java_home=/usr/java/jdk1.5 > #ps=/ > > # Define 1 real worker using ajp13 > worker.list=worker1 > # Set properties for worker1 (ajp13) > worker.worker1.type=ajp13 > worker.worker1.host=localhost > worker.worker1.port=8009 > > > #rocks.conf, add these two lines right above<Directory... > JkMount /opal* worker1 > JkMount /app* worker1 > > > Best regards, > > Wilfred > > > 2011/8/31 Conrad Huang <co...@cg... <mailto:co...@cg...>> > > Thank you for the information. > > We do use our apache server to serve up other data as well, so I'd like > to configure the Opal server to return an opal-specific URL. Is > changing "tomcat.url" in etc/opal.properties and updating the > installation sufficient to do that? I was always a little wary of > changing that URL because I do not know whether it will affect just the > returned URLs (pointing to results) or will also require changes to the > Tomcat/Apache configuration files to match. Right now, we use the > default configuration where the returned URLs look like > http://_server_:8080/appXXXXXXXXXX and the request URLs look like > http://_server_/opal2/services/_service_. I'd really like to keep the > request URLs unchanged because we distribute an application that has > those URLs hard-wired into code. > > Thanks. > > Conrad > > On 8/30/11 11:52 PM, Olivier Sallou wrote: > > > > > > ----- Mail original ----- > >> De: "Conrad Huang"<co...@cg... <mailto:co...@cg...>> > >> À: opa...@li... > <mailto:opa...@li...> > >> Envoyé: Mardi 30 Août 2011 21:31:47 > >> Objet: [Opaltoolkit-users] Making Opal return port 80 URLs > >> Hi, > >> > >> We have been using Opal 2.2 for a while and everything is > working fine > >> with Apache 2 and Tomcat 5.0.30. Our Opal installation currently > >> returns URLs that look like > >> "http://_server_name_:8080/app1314720091064/". Recently, we > found that > >> one of our users had a problem because his firewall blocked port > 8080. > >> Is there some way we can configure Opal and Apache to use port 80 > >> URLs? > > > > > > hi, > > you can configure Apache as a proxy (using module mod_proxy) > > There is directive proxy_pass (and reverse). > > However if your apache is used for other usages than opal, you > should configure your Opal server to be something like > "http://_server_name_:8080/opal/..." and on apache apply the proxy > to /opal. > > > > Olivier > > > >> Thanks. > >> > >> Conrad > >> > >> > ------------------------------------------------------------------------------ > >> Special Offer -- Download ArcSight Logger for FREE! > >> Finally, a world-class log management solution at an even better > >> price-free! And you'll get a free "Love Thy Logs" t-shirt when you > >> download Logger. Secure your free ArcSight Logger TODAY! > >> http://p.sf.net/sfu/arcsisghtdev2dev > >> _______________________________________________ > >> Opaltoolkit-users mailing list > >> Opa...@li... > <mailto:Opa...@li...> > >> https://lists.sourceforge.net/lists/listinfo/opaltoolkit-users > > > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Opaltoolkit-users mailing list > Opa...@li... > <mailto:Opa...@li...> > https://lists.sourceforge.net/lists/listinfo/opaltoolkit-users > > |