Questions about commits and orion datasource connection pooling....
Hello, I have some jsp's that are using orion's connection pooling. When a jsp page opens the db connection (oracle) through the connection pool, is it dedicated to that particular jsp page? Another jsp couldn't issue a commit or rollback and somehome impact another jsp's transactions, correct? In other words, orion simply pre-opens the connection and then hands it off to the jsp/bean/whatever for it's exclusive use. Correct? When it is done with the connection, it goes back to the pool right? Thanks, Keith
Re: How do you tell orion not to autocommit?
But I am using connection pooling I tried this and it does not seem to work... is it something I have to set with the connection pool? Thanks, Keith - Original Message - From: Juan Pablo Lorandi [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 12:22 PM Subject: RE: How do you tell orion not to autocommit? Excerpt from the API docs for method java.sql.Connection.setAutoCommit(boolean autoCommit) follows setAutoCommit public void setAutoCommit(boolean autoCommit) throws SQLException Sets this connection's auto-commit mode. If a connection is in auto-commit mode, then all its SQL statements will be executed and committed as individual transactions. Otherwise, its SQL statements are grouped into transactions that are terminated by a call to either the method commit or the method rollback. By default, new connections are in auto-commit mode. The commit occurs when the statement completes or the next execute occurs, whichever comes first. In the case of statements returning a ResultSet, the statement completes when the last row of the ResultSet has been retrieved or the ResultSet has been closed. In advanced cases, a single statement may return multiple results as well as output parameter values. In these cases the commit occurs when all results and output parameter values have been retrieved. Parameters: autoCommit - true enables auto-commit; false disables auto-commit. Throws: SQLException - if a database access error occurs HTH, Juan Pablo Lorandi Chief Software Architect Code Foundry Ltd. [EMAIL PROTECTED] Barberstown, Straffan, Co. Kildare, Ireland. Tel: +353-1-6012050 Fax: +353-1-6012051 Mobile: +353-86-2157900 www.codefoundry.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Keith Kwiatek Sent: Wednesday, April 17, 2002 12:17 PM To: Orion-Interest Subject: How do you tell orion not to autocommit? Hello, I am running orion with a datasource and some jsp's with some jdbc beans. When I insert/update/delete it seems to be set to autocommit. How do I tell orion not to autocommit? Thanks, Keith
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/
FRUSTRATION: Session keeps timing out despite setting session-timeout. WHY?
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: web.xml session-timeout parameter doesn't extend session, WHY?
Thanks. yes, I had already set shared=true session still times out after 5 or 10 minutes. Any other ideas? Keith - Original Message - From: Todd McGrath [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Thursday, May 31, 2001 4:22 PM Subject: RE: web.xml session-timeout parameter doesn't extend session, WHY? I'm not sure if this is still the case with orion, but I needed to set web-app to shared=true in the secure-web-site.xml site: web-app application=company name=company-web root=/ shared=true / This resolved session-timeout issues I was having. Todd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Keith Kwiatek Sent: Thursday, May 31, 2001 6:18 PM To: Orion-Interest Subject: web.xml session-timeout parameter doesn't extend session, WHY? I am running http and https. My web.xml session-timeout parameter doesn't seem to extend session, It keeps timing out in just 5 or ten minutes. WHY? ANY ideas? THis is what is in my web.xml file. session-config session-timeout60/session-timeout /session-config
How do you start Orion from solaris /etc/rc3.d ?
Hello, Anyone have an example of a solaris /etc/rc3.d script for starting orion? Thanks! Keith
web.xml session-timeout parameter doesn't extend session, WHY?
I am running http and https. My web.xml session-timeout parameter doesn't seem to extend session, It keeps timing out in just 5 or ten minutes. WHY? ANY ideas? THis is what is in my web.xml file. session-config session-timeout60/session-timeout /session-config
Is Orion free for government use (non-commercial use)?
I read orion is free for non-commerical use... would this include government agencies? Keith
How do you adjust session expiration?
Hello, I hava a JSP application that seems to time out after 10 or 15 minutes I tried to edit the web.xml file with the timeout tag set to a large number, but it gave me really strange results -the bottom line is that I can't seem to keep the session open Anyone have some wisdom they can part with? Keith
How do you tell if Orion is connection pooling?
Hello, I followed the orionsupport.com instructions on how to configure Orion for connection pool seems to work, but how do you verify Orion is pooling? I checked the logs. Keith
How do you get a 128 bit certificate installed on Orion?
Hello, I followed the instructions on orion site for getting ssl up and working, but it seems that the thawte certificate was only signed using a 40 bit key How/where do I get it signed (for free) with a 128 certificate? Also, is there a config parameter on orion that manadates 128 browsers be used when connecting with orion, or do you simply use a 128 bit certificate (which won't work with 40 bit browsers?) Thanks, Keith
Re: Orion JSP form validation and redisplay...
Thanks, I have found some traces of Orion taglibs, but nothing so far that handles forms anything in them that you have found that handles forms? OR are people using Orion and Struts successfully? Keith - Original Message - From: "Suominen, Joni" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 10:31 PM Subject: RE: Orion JSP form validation and redisplay... From: Keith Kwiatek [mailto:[EMAIL PROTECTED]] Does orion have anything that helps with capturing the values of a form, and then if validation fails, --allowing you to re-display the form with the submitted values? Hi Keith! Jakarta Struts has a nice framework to do this. It implements a Model-View-Controller design pattern on top of JSPs and servlets. Please check out http://jakarta.apache.org/struts/ Joni
Help: Cant find resource for base name forms
Hello, I am getting "Cant find resource for base name forms" what is this indicating? What should I look at? Thanks, Keith
Re: Orion JSP form validation and redisplay...
Thanks, I have found some traces of Orion taglibs, but nothing so far that handles forms anything in them that you have found that handles forms? OR are people using Orion and Struts successfully? Keith They are, as it turns out; I also have a form taglib (which is very similar to Struts' form taglib, although they are unrelated) available at http://cupid.suninternet.com/~joeo/Form.html . Thanks for helping the newbie! It looks pretty good but how/where do you do validation on the data? Keith
Re: Orion JSP form validation and redisplay...
Thanks I understand that your taglib doesn't do validation, but do you have any examples how how I would take the form data, validate it, and then use your taglib to redisplay the selected values? I emphasize the part about "redisplaying selected values". Keith - Original Message - From: "Joseph B. Ottinger" [EMAIL PROTECTED] To: "Keith Kwiatek" [EMAIL PROTECTED] Cc: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 8:51 AM Subject: Re: Orion JSP form validation and redisplay... My form taglib doesn't do anything except present it for use. Validation is up to the client, following my personal conviction that presenting architecture is fine and good as long as everybody wants to use it - and not everyone wants to use it. :) Thus, the scope of the form taglib that *I* wrote is limited. On Wed, 13 Dec 2000, Keith Kwiatek wrote: Thanks, I have found some traces of Orion taglibs, but nothing so far that handles forms anything in them that you have found that handles forms? OR are people using Orion and Struts successfully? Keith They are, as it turns out; I also have a form taglib (which is very similar to Struts' form taglib, although they are unrelated) available at http://cupid.suninternet.com/~joeo/Form.html . Thanks for helping the newbie! It looks pretty good but how/where do you do validation on the data? Keith --- Joseph B. Ottinger [EMAIL PROTECTED] http://epesh.com/ IT Consultant
Orion JSP form validation and redisplay...
Hello, Does orion have anything that helps with capturing the values of a form, and then if validation fails, --allowing you to re-display the form with the submitted values? Keith
How do you get Orion to serve up 128 vs. 40 bit encryption?
Hello, I am using JSSE with Keytool. I followed the Orion ssl guide (http://www.orionsupport.com/articles/ssl-howto.html) but when I use netscape browsers it says that it is only 40 bit encryption.. . IE doesn't say anything... How do I get 128 encryption (or higher) ??? Keith
Can orion ssl bind to non-default port (443)?
Hello, I have an apache web server running openssl, and when I try to launch orion with ssl , it says that is can not bind to the port because it is in use. Can I specify another port other than 443? Thanks, Keith
What is the best way to select for update ?
Hello, Just wondering how/if orion/ejb makes it possible for a web client to "select data for update" in such a way that another web client will receive a notice if it trys to fetch the same data (possibly for update) I know that orion/ejb handles short term transactions, but what about where a client hold data (that another client may want to access) for long periods of time, --how do you handle this via orion/ejb? Thanks, Keith
Does Orion automagically pool jsp database connections?
I have a jsp page that make a jdbc database connection How do I tell Orion/JSP to used pooled connections? Thanks! Keith
Are EJB's very scalable, how does Orion compare?
Hello, Anyone have any real life stories of EJB scability? How well does orion scale in relation to other ejb servers (Jonas, ejboss, websphere, etc)... Keith
There has GOTTA be a BETTER way !!!!
Hello, EJB's are great if you like tripling the amount of code you have to write How is everyone building their web apps with hand coded programs, or using automagic tools? It sure seems like there should be some sort of tool that you can just point at database tables, and have it build the jsp or ejb entity bean. AND shouldn't there be a tool that you can just drop the bean on an html template thus allowing visual access to the bean fields? You can't access ejb's directly from a jsp page (like a normal bean) can you? Any tools that will automagically wrap an ejb in a bean for presentation in a JSP? Am I off base here, or are ejb's a lot more work? How can people talk about how EJB's "speed development time"?!? Keith
Re: There has GOTTA be a BETTER way !!!!
Does anyone know if jdeveloper (which is based on Jbuilder) has the same functionality? Keith - Original Message - From: Cory Adams [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Tuesday, November 07, 2000 9:34 AM Subject: Re: There has GOTTA be a BETTER way JBuilder 4 Enterprise allows you do build Entity CMP beans this way. You can connect to a datasource and then select tables and keys for your beans. It's wild. I'm still getting used to it. Can anybody else with more experience using this tool give us a little insight? Thanks, Cory At 10:34 AM 11/7/03 -0500, Keith Kwiatek wrote: Hello, EJB's are great if you like tripling the amount of code you have to write How is everyone building their web apps with hand coded programs, or using automagic tools? It sure seems like there should be some sort of tool that you can just point at database tables, and have it build the jsp or ejb entity bean. AND shouldn't there be a tool that you can just drop the bean on an html template thus allowing visual access to the bean fields? You can't access ejb's directly from a jsp page (like a normal bean) can you? Any tools that will automagically wrap an ejb in a bean for presentation in a JSP? Am I off base here, or are ejb's a lot more work? How can people talk about how EJB's "speed development time"?!? Keith
Re: rumors
Probably not... but you know sooner or later someone is going to buy Orion... and the product price will NOT remain anywhere near $1500 OR be "free" to non-commercial projects !! I like Orion, but for projects on a budget, I think it is safer and less costly to maybe go with http://www.ejboss.org/ or http://www.evidian.com/jonas/index.htm. These are dedicated "open source" ejb servers hh if only Orion would open source. Admittedly, I don't know how the above ejb servers compare to orion. I know they don't have servlets/jsp... but then there is the open source free resin... Keith - Original Message - From: Frank Kettenbeil [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Friday, October 27, 2000 4:51 AM Subject: rumors is this a rumor or a joke ? just found it on bugzilla of Orionserver.com... as a headline "BEA Closes Acquisition of Orion - The transaction is valued at approximately DM 582 million (US$283 million). "
Does Orion have a database access ejb/bean creation tool?
Hello Does Orion have a tool that will allow you to generate code for a a ejb/bean by simply pointing it at a set of database tables? Anything out there that will do it? Keith
Servlet problems....
Hello, I loaded a new servlet of mine into the "classes" directory this new servlet needed a jar file, which I put into the ./orion/lib directory (as well in the ./orion and ./classes) ... all seemed to be fine. The servlet worked great for a long time. BUT I then I started to get the errors below. I am pretty sure I didn't touch a thing configuration wise. All I had been doing was recompiling my servlet code. Now it seems it can' t find the jar file??!!! The other example servlets still run fine. Any ideas? 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java, Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled Code) at java.awt.Font.init(Font.java, Compiled Code) at javachart.chart.Gc.clinit(Gc.java:74) at javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.BarChart.init(BarChart.java, Compiled Code) at javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at MagicServlet.doGet(MagicServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET: 500 Internal Server Error java.lang.NoClassDefFoundError: javachart/chart/Gc at javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.PieChart.init(PieChart.java, Compiled Code) at javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at m.doGet(m.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code)
Orion can't find my jar file for my servlet....!
Hello, I loaded a new servlet of mine into the "classes" directory this new servlet needed a jar file, which I put into the ./orion/lib directory (as well in the ./orion and ./classes) ... all seemed to be fine. The servlet worked great for a long time. BUT I then I started to get the errors below. I am pretty sure I didn't touch a thing configuration wise. All I had been doing was recompiling my servlet code. Now it seems it can' t find the jar file??!!! The other example servlets still run fine. Any ideas? 500 Internal Server Error java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:61) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java, Compiled Code) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment .java, Compiled Code) at java.awt.Font.initializeFont(Font.java, Compiled Code) at java.awt.Font.init(Font.java, Compiled Code) at javachart.chart.Gc.clinit(Gc.java:74) at javachart.chart.Plotarea.init(Plotarea.java, Compiled Code) at javachart.chart.BarChart.initChart(BarChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.BarChart.init(BarChart.java, Compiled Code) at javachart.servlet.columnApp.localInit(columnApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at MagicServlet.doGet(MagicServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code ON THE SUBSEQUENT REQUEST TO THE SERVLET I GET: 500 Internal Server Error java.lang.NoClassDefFoundError: javachart/chart/Gc at javachart.chart.PieChart.initChart(PieChart.java, Compiled Code) at javachart.chart.Chart.init(Chart.java, Compiled Code) at javachart.chart.PieChart.init(PieChart.java, Compiled Code) at javachart.servlet.pieApp.localInit(pieApp.java, Compiled Code) at javachart.servlet.Bean.buildChart(Bean.java, Compiled Code) at javachart.servlet.Bean.generate(Bean.java, Compiled Code) at javachart.servlet.Bean.getFileName(Bean.java, Compiled Code) at m.doGet(m.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at com.evermind.server.http.d1.si(JAX, Compiled Code) at com.evermind.server.http.d1.forward(JAX, Compiled Code) at com.evermind.server.http.ed.sp(JAX, Compiled Code) at com.evermind.server.http.ed.so(JAX, Compiled Code) at com.evermind.util.f.run(JAX, Compiled Code)
Where are step-by-steps for servlet configuration and deployment?
Hello, Can anyone point me to the doc's or readme that explains how to configure a brand new servlet directory and deploy the servlet code? Thanks, Keith
Tieing http session to db connection in orion?!?
* some people say, it's best practice to put 1 connection into 1 user's http session and use it for all requests of that user This only works if you don't have a lot of users concurrently, say a small intranet application, that doesn't care scalibility. The reason is database connection can't be serialized for sure and connection in http session can't be replicated across your web server farm. Hence each user in a session requires to use the same machine in your web farm. This could be terrible if you intend to serve thousands of users concurrently. Secondly database licensing is an issue. Some database vendors charge you by concurrent opened connection. If your site has a thousand users concurrently, you will need to purchase a thousand licenses (That is the thing scares me most). Agreed with replier..you would NEVER want to do this. If you are not careful you can lose the connections which will ultimately crash the database and/or the web server. VERY bad design. Hello, With regards to the discussion above, and the "tieing of an http session to a single (or multiple) database connections", a lot of people downed this idea, BUT... I actually consider the "one http/db connection" to be a good way for small/medium intranet type applications to use the "transaction managment" of the database (ie oracle's "select for update", two phase commit). OTHERWISE, HOW would you handle the transaction management ?! If you use database connection pooling in an http sessionless environment, how do you handle the dirty read/write situation? What do you do if an http request fetches data for "update", but by the time the update is accomplished, the data has already changed (please don't tell me you you've coded a "check timestamp" for database rows!)? Or does everyone use optimistic locking? OR is this where the powers of EJB state + transaction managment comes in? Thanks, Keith
Orion SSL? How?
Hello, I saw the brief FAQ on how to set up Orion SSL... http://www.orionserver.com/docs/ssl-howto.html but I also saw alot of problems people posted trying to get it work... What is the current state of instructions for getting Orion SSL to work? What is the non-brief version of the SSL installation instructions? Is it 128 bit encryption? Any pointers from experienced people? Thanks, Keith