extending DataSourceUserMangaer

2001-04-16 Thread Taavi Tiirik
hello, What is the quickest way of extending DataSourceUserMangaer to store encrypted passwords instead of plain text ones into database? with best regards, Taavi

DataSourceUserManager article at www.orionsupport.com has an error for oracle users

2001-04-16 Thread Taavi Tiirik
There is an article about setting up DataSourceUserManager at http://www.orionsupport.com/articles/datasourceusermanager.html If you use oracle and happen to copy/paste something from this page then please do not do the same mistake I did. This example uses column name 'group' which is not

RE: sharing class files between applications

2001-04-15 Thread Taavi Tiirik
I know this is not the solution you're looking for, but what I do is simply define all my packages in /com/domainName/package(s)/classes. Then in the /WEB-INF/classes directory for each application, I simply make a symbolic link ( ln -s /com com). Thanks, Geoffrey. I stick for the same

platform independent jsp code. how?

2001-04-13 Thread Taavi Tiirik
Hello, I have still problems getting orion to work with unicode characters. Here is a jsp page that behaves differently on different platforms. Could you please help me to find a way to make it platform independent. I know that unicode is not something most of you should pay attention to right

sharing class files between applications

2001-04-12 Thread Taavi Tiirik
Hello, Is there a way to specify classpath for a web application so that instead of having all servlets and other class files int WEB-INF/classes I could share them between different web applications. And yes, I still want to use development=true option and have the class files compiled

www.orionsupport.com

2001-04-12 Thread Taavi Tiirik
I haven't been able to use www.orionsupport.com from this corner of world for some time now. Is it just me or is it bigger? It does respond to ping though but http server seems to have problems. Can anybody pour some light... thanks, Taavi

RE: request.getParameter() not working under solaris?

2001-04-11 Thread Taavi Tiirik
probably you have to mention the char-set. I am not sure how you do this Specifying char-set does not help. At least, when I add meta tag like this: head meta http-equiv="Content-Type" content="text/html; charset=utf-8" /head It does not really matter what charset I use. Whenever I ask

RE: request.getParameter() not working under solaris?

2001-04-11 Thread Taavi Tiirik
I had the same problem when loading data from the database ( swedish language ). They got messed up on the way. So the resolution in my case was to make sure that the shell running orion supported swedish chars. Got it working. The solution was to specify environment variable LANG:

RE: Connection Pooling

2001-03-27 Thread Taavi Tiirik
Have you tried adding following attributes to your data-source definition: min-connections=... max-connections=... Take a look at http://www.orionserver.com/docs/data-sources.xml.html regards, Taavi How to specify min number of connections and max number of connections in

RE: problem running oracle with orion: 'oracle.jdbc.driver.OracleDriver' not found!

2001-03-25 Thread Taavi Tiirik
Try following code in your .jsp file: InitialContext ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("jdbc/Oracle"); Connection conn = ds.getConnection(); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT * FROM dual"); while( rs.next() ){