[JBoss-user] [Installation & Configuration] - Re: Newbie needs help

2004-08-16 Thread pnevado
Have a look at the following doc. You will need to register to have free access. http://docs.jboss.org/admin-devel/Chap1.html#0_pgfId-915907 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845275#3845275 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [Security & JAAS/JBoss] - Re: Roles dependent on username and a company.

2004-07-14 Thread pnevado
I have a problem similar to yours and I resolved it just modifying the query used for getting roles in the login-config.xml/DatabaseServerLoginModule. | select id_servicio, 'Roles' from bd.registro where id_usuario=? AND id_website=1 AND (fecha_fin >= NOW() OR fecha_fin IS NULL) | View

[JBoss-user] [Security & JAAS/JBoss] - Re: Security Jaas

2004-07-13 Thread pnevado
It is difficult to help you with as little information as you provide. Have a look at the relevant .xml descriptors involved . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841846#3841846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Installation & Configuration] - Re: how could i configue tomcat users

2004-06-28 Thread pnevado
I depends of your security realm (database, file, LDAP server,..). Have a look at the Getting Started Document, the last chapter about configuring security realms. I hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840227#3840227 Reply to the p

[JBoss-user] [Security & JAAS/JBoss] - Re: No UserRoles issue

2004-06-25 Thread pnevado
You may find it useful to have a look to the source code of the class org.jboss.security.auth.spi.DatabaseServerLoginModule. There you will find the degrees of freedom you have as to tables and columns. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840001#38

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule SQL failure: Column Index out

2004-06-25 Thread pnevado
Thanks. It works now, just adding the code you suggested. Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839966#3839966 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839966 -

[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule SQL failure: Column Index out of r

2004-06-23 Thread pnevado
I am afraid that this is not a clever question, but I have not found yet an answer. With MySql 4.0.18, jdbc driver version 3.0.14 and JBoss 3.2.4, I get the followin excepcion: java.sql.SQLException: Column Index out of range ( 2 > 1). | at com.mysql.jdbc.ResultSet.getString(ResultSet.java:

[JBoss-user] [Beginners Corner] - Re: Problem configuring JBoss with PostgreSQL

2004-06-19 Thread pnevado
Try to change the reference to mysqlDS to your datasource in the hsqldb-jdbc-state-service.xml: | | | | | | | | | jboss.jca:service=LocalTxCM,name=mysqlDS | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Installation & Configuration] - Re: Debug messages in Log

2004-06-18 Thread pnevado
I added this line to the to the in the log4j.xml file. It worked for me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839229#3839229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839229 --

[JBoss-user] [Beginners Corner] - Re: Converting from Hypersonic to MYSQL

2004-06-18 Thread pnevado
In case you may find it useful, here it is my configuration with MySql: it works with JBoss 3.2.4 and MySql 4.0.18: | | | | | | | | | | | java:/mysqlDS | mySQL | | | | mysqlDS | jdbc:

[JBoss-user] [Installation & Configuration] - Re: How to setup FORM based Authentication for Tomcat intege

2004-06-15 Thread pnevado
Have a look to the Getting Started Guide. It is all there. You can, for example, define your own users/roles file for authentication. I hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838849#3838849 Reply to the post : http://www.jboss.org/in

[JBoss-user] [Installation & Configuration] - Re: Can I change HTTP port?

2004-06-15 Thread pnevado
I am not sure about your question. Have a look to the server.xml document in the tomcat.sar folder of the deploy dir of your JBoss server. Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838815#3838815 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [EJB/JBoss] - Re: EJBs in WebApp

2004-06-11 Thread pnevado
Yes, the references have to be stated in the web.xml deployment descriptor. Have a look at the servlet specification; it contains all the details. Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838483#3838483 Reply to the post : http://www.jboss.or