RE: Apache NameVirtualHost and Orion with reverse proxying
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 ServerName orion.mydomain.com ProxyVia On ProxyPass / http://mydomain.com:8080 ProxyPassReverse / http://mydomain.com:8080 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
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 ServerName orion.mydomain.com ProxyVia On ProxyPass / http://mydomain.com:8080 ProxyPassReverse / http://mydomain.com:8080 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
xml/xslt exception
Hi list, Recently, I've upgraded orion to version 1.5.2. I don't recall what my previous version was, but I think it was 1.5.0. In 1.5.0 I used cocoon as xslt processor to output html pages based on xml. Worked great, yet at some point (because I had some trouble with cocoon), I decided to work with the xml/xslt processor that comes with orion. So, in the server config I added the following entries under : xsl com.evermind.servlet.XSLServlet defaultContentType text/html and: xsl /*.xml I restarted the server, and behold, the following error appears when I try to access a random xml file (doesn't matter which, or how simple/complicated it is): 500 Internal Server Error java.lang.NegativeArraySizeException: at com.evermind[Orion/1.5.2 (build 10460)].servlet.XSLServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source) I don't know what else to add as clues, except that I use IBM's Java2EE-1.3 JDK. Anyone have an idea on what is going on? Something I forgot to configure? Regards, Ferdinand O. Tempel http://www.moosecrossing.org Wanna talk? irc://irc.linuxboxen.org To look into the eyes of a wolf is to look into your own soul. Hope you like what you see. (Aldo Leopold)
Re: Problem connecting to Ms Sql Server 2000
That's not a problem with your entity bean - that's a problem with your choice of JDBC drivers. The JdbcOdbc can't handle multiple threads. Solution: get a better driver. On Sat, 23 Jun 2001, Sergei Batiuk wrote: > Hey people, > > I am having trouble connecting to MS SQL 2000 from my entity bean. I have an > ODBC data source set up for the database, and connect to it using > sun.jdbc.odbc.JdbcOdbc driver. I get the following: > java.rmi.RemoteException: java.sql.SQLException: [Microsoft][ODBC SQL Server > Driver]Connection is busy with results for another hstmt > at > Manager_StatelessSessionBeanWrapper0.getNewsItemsCount(Manager_StatelessSess > ionBeanWrapper0.java:209) > at /n/news-all.jsp._jspService(/n/news-all.jsp.java:78) (JSP page line 27) > at com.orionserver.http.OrionHttpJspPage.service(JAX) > at com.evermind.server.http.HttpApplication.xj(JAX) > at com.evermind.server.http.JSPServlet.service(JAX) > at com.evermind.server.http.d3.sw(JAX) > at com.evermind.server.http.d3.include(JAX) > at com.evermind.server.http.EvermindPageContext.include(JAX) > at /n/index.jsp._jspService(/n/index.jsp.java:182) > at com.orionserver.http.OrionHttpJspPage.service(JAX) > at com.evermind.server.http.HttpApplication.xj(JAX) > at com.evermind.server.http.JSPServlet.service(JAX) > at com.evermind.server.http.d3.sw(JAX) > at com.evermind.server.http.d3.su(JAX) > at com.evermind.server.http.ef.s1(JAX) > at com.evermind.server.http.ef.do(JAX) > at com.evermind.util.f.run(JAX) > > What is going on? > Best regards, > Sergei. > > > --- Joseph B. Ottinger [EMAIL PROTECTED] http://adjacency.org/ IT Consultant