hello,
What is the quickest way of extending DataSourceUserMangaer to
store encrypted passwords instead of plain text ones into
database?
with best regards,
Taavi
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
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
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
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
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
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
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:
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
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() ){
10 matches
Mail list logo