[jboss-user] [Security JAAS/JBoss] - Re: Invoke secured EJB from standalone Tomcat

2008-10-08 Thread craig1980
Hi. Sorry for beeing late in answering you. Yes you got the right configuration. I solved it. How it works. Well...like when you are wrong in parking a car.restart form beginning. I have restarted from beginning by being carefully in configuring all the servers (both the stand alone tomcat

[jboss-user] [Security JAAS/JBoss] - Re: Invoke secured EJB from standalone Tomcat

2008-10-03 Thread craig1980
Hi. Thnx for the reply. My web application is on a stand alone Tomcat not in JBoss AS. So i need to configure Tomcat for the login module. I must understand what i'm missing. Any suggestion? Thanx. Angelo. View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: Invoke secured EJB from standalone Tomcat

2008-10-02 Thread craig1980
Hi. First of all thnx for you help. I'm trying to understand what happens. I have created a simple Java class who calls my secured EJB; i have added under my class-path all the client jars needed (jbossall-client.jar) and i creted my jaas.config file in this way: | danetworkflow { |

[jboss-user] [Security JAAS/JBoss] - Invoke secured EJB from standalone Tomcat

2008-09-30 Thread craig1980
Hi all. I have this envronment: | Jboss 4.0.5GA on a server with IP address xxx.xxx.xxx.xxx | Tomcat 5.5 on a server with IP address xxx.xxx.xxx.yyy | Liferay 5.1.1 on tomcat | EJBs 2.0 | | | I need to invoke EJB's from a portlet deploied in tomcat. These EJBs are secured; that

[jboss-user] [Security JAAS/JBoss] - Re: Invoke secured EJB from standalone Tomcat

2008-09-30 Thread craig1980
Hi. I have tried by using this environment for my JNDI Lookup (for now i have used fixed credentials but it's more important the result forme): | java.naming.provider.url=jnp://xxx.xxx.xxx.xxx:1099, | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, |

[jboss-user] [JBoss Seam] - Upgrading from h3.1 to h3.2 : select count ClassCastExceptio

2007-02-07 Thread craig1980
Hi everybody. I have an application developed under JBoss 4.0.1; in this AS there is hibernate3.1; i have used this version of hibernate for acceding to my DB; i have done a select count by using this sintax: | protected Query getQueryCount(BaseFilter filter) throws ValidateException,

[jboss-user] [JBoss Seam] - multiple hibernate session

2007-01-29 Thread craig1980
Hi all, I hava an application where a part of the DB is dynamic, that is, tables are created at runtime. I want use hibernate for db access, how can I solve this situation ? Since all tables are equals (only name change). I thought to use several sessionFactory, using multiple Configuration.