[JBoss-user] [Clustering/JBoss] - Re: HTTP session replication performance report

2005-09-04 Thread nekop
Hi Brian, anonymous wrote : Are all the details of the test configuration on the JBento site (e.g. the JMeter setup)? It is not available yet, i'll add details by this weekend. I'm looking forward to TreeCacheAop, Buddy replication and Optimistic locking. I believe those makes a big performan

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - java.lang.IllegalAccessException when invoking java.sql.Resu

2005-09-04 Thread ziakhan
Hi, I am migrating my appplication to Jboss 4.0.2 from 3.2.6. I started getting this exception when invoking java.sql.ResultSet.getBlob(java.lang.String) method on 4.0.2, it worked fine on 3.2.6. Does anyone know why this is happening? I tried both Oracle and MySQL databases and i get the e

[JBoss-user] [EJB/JBoss] - Re: Cyclic SessionBean creation : JBOSS 4.0.2

2005-09-04 Thread frank_montoya
I also have 2 stateless session beans creating instances of each other. In case of Chetan, it occurs in setSessionContext() and in my case, it occurs in ejbCreate(), but for both of us it worked with release 4.0.0 and not any more with 4.0.2. (http://www.jboss.com/index.html?module=bb&op=viewtop

[JBoss-user] [Installation, Configuration & Deployment] - Re: performance problem with JBoss running as Windows Servic

2005-09-04 Thread umeshs79
Increase the memory using -Xmx256M with JBossService.exe and see if it is still slow. Rgards, Umesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892987#3892987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892987

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Session Invalidate + isUserInRole Issue

2005-09-04 Thread hoth256
Hello this is a duplicate posting of http://www.jboss.com/index.html?module=bb&op=viewtopic&t=67511 (my apologies for the duplicate - but I believe this forum is more apporpriate). Background I'm using j_security_check for form based auth. using a custom login module. Problem: Upon logging

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with PrincipalRoles=null; for create method..

2005-09-04 Thread sivatil
Im using Jboss 3.2.7 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892977#3892977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892977 --- SF.Net email is Sponsore

[JBoss-user] [Management, JMX/JBoss] - jmx-console: db authentication doesn't work

2005-09-04 Thread elkner
I want to use a DatabaseServerLoginModule instead of the UsersRolesLoginModule for jmx-console authentication. However, this doesn't seem to work (UsersRolesLoginModule does the job, but not DatabaseServerLoginModule). the relevant part of my login-config.xml: | |

[JBoss-user] [Installation, Configuration & Deployment] - Re: Need to specify class name in environment or system prop

2005-09-04 Thread andrewi
i'm using eclipse "run as java app". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892975#3892975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892975 --- SF.Net e

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-04 Thread treespace
I have a question regarding the reentrancy of the create call on EJB home objects and whether a context lookup is reentrant if its use is restricted to a lookup. It is safe to assume a multi-threaded J2EE application although that might be redundant. View the original post : http://www.

[JBoss-user] [Beginners Corner] - Tutorial wont run

2005-09-04 Thread andrewi
hi i'm trying to get anything working and to date nothing does. So i decided to go back to scratch and download the stateless tutorial and it compiles, deploys and after having to add some external libs i now get the following message. Exception in thread "main" java.lang.NoClassDefFoundError:

[JBoss-user] [Installation, Configuration & Deployment] - subdomain/hosts

2005-09-04 Thread nayabingi
Is it possible to configure jboss for multiple hosts so I can run multiple applications with different domain names as in test.mydomain.com and www.mydomain.com. Kinda like a virtual host in Apache and a host in the Tomcat server.xml file. Thank you View the original post : http://www.jbo

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started Guide - release 3

2005-09-04 Thread pdemeur
The current version is now Getting Started Guide Release 4 The current J2EE 1.4 Tutorial is update 5. I have tried to get release 4 to work with update 2, 4, and 5 to no avail. I have followed the Getting Started Release 4 guide exactly, and get the same deploy error cited on this forum else

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-04 Thread darranl
The architecture of the application affects what the problem is that needs to be solved and the suitability of different solutions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892966#3892966 Reply to the post : http://www.jboss.com/index.html?module=bb&

[JBoss-user] [Security & JAAS/JBoss] - Re: LoginContext retrieving

2005-09-04 Thread hoth256
Hello all, I think I might need to get a handle to the LoginContext to logout as well... Background I'm using j_security_check for form based auth. using a custom login module. Problem: Upon logging in using the custom login module, things work as expected - however, upon logging out by invalid

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-04 Thread treespace
I wanted to know whether contexts and home interfaces were reentrant independent of any specific application. Scott indicated neither is (being undefined is just as good as not being reentrant if portability is an issue). I am interested in what alternatives exist outside of a lookup/create c

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-04 Thread darranl
What is your application that is accessing the JNDI contexts and the home interfaces? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892961#3892961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892961 --

[JBoss-user] [JNDI/Naming/Network] - Re: Any advice

2005-09-04 Thread darranl
Update the jars that are referenced by the client so that they are the ones from the version of JBoss you are using. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892962#3892962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[JBoss-user] [JNDI/Naming/Network] - Any advice

2005-09-04 Thread urswag
Who has any good advice for me? The result of the statement InitialContext ic = new InitialContext(prop); is: 23:30:18,023 INFO [STDOUT] javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream c

[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke bank on Jboss-4.0.2

2005-09-04 Thread pdemeur
I get same error using version 4 and 5 of the j2ee tutorial and the current jbossj2ee-src.zip included in startguide4.0 (the current download). Using version 2, I don't get past the compile step. Were you able to get this to work? View the original post : http://www.jboss.com/index.html?mod

[JBoss-user] [JBossCache] - Re: How do I configure JBossCache in JBoss-4.0.2?

2005-09-04 Thread muanis
Forget me, I've mispelled the jndi name ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892958#3892958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892958 --- S

[JBoss-user] [JBossCache] - Re: How do I configure JBossCache in JBoss-4.0.2?

2005-09-04 Thread muanis
I'm having a similar problem, I managed to configure the cache with tree-service.xml in deploy dir. It's appears in the load as: 17:41:44,165 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=10.1.1.4;mcast_port=45577;mcast_recv_buf_si

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0 documentation

2005-09-04 Thread pdemeur
Doing the JBOSS getting started Duke's Bank exercise - I have tried j2ee-1_4-doc-tutorial_5.zip, j2ee-1_4-doc-tutorial_4.zip, and j2ee-1_4-doc-tutorial_2.zip with /jbossj2ee-src.zip (from the startguide40.zip downloaded from http://www.jboss.org/products/jbossas/docs ( the JBoss Application Se

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-04 Thread treespace
That is frustrating because more than one article exists showing cached JNDI contexts and home objects. Based on your information we need to create the context and perform the home lookup every time we need to make EJB calls. Can you confirm that? Are there more efficient yet still portable and

[JBoss-user] [Security & JAAS/JBoss] - Re: Users don't log out

2005-09-04 Thread deepglance
hi there, what about the other way around, logging out a user when his authentication info cache is flushed ! i'm using the database login module. if we have an admin that changes the roles of the users and this change should take place immediately. example: to change the roles of user (x): 1.

[JBoss-user] [EJB/JBoss] - Re: Home Interface and Context Thread Safety

2005-09-04 Thread [EMAIL PROTECTED]
The thread safety semantics of the home interface proxies is not defined in the spec, so its an implementation detail. The Context javadoc is very clear that it is not thread safe: anonymous wrote : | A Context instance is not guaranteed to be synchronized against concurrent access by multi

[JBoss-user] [EJB/JBoss] - Home Interface and Context Thread Safety

2005-09-04 Thread treespace
Are EJB home interfaces thread-safe such that we could create it once and use it simultaneously from any number of threads? Google doesn't seem to know the answer to this. There is a mountain of ambiguous and contradictory information on the topic. Regarding the Context for looking up the hom

[JBoss-user] [Security & JAAS/JBoss] - Re: Why Tomcat Session Timeout for JBossSX?

2005-09-04 Thread [EMAIL PROTECTED]
This is the expected behavior. You do not have an arbitrarily long period to reply with valid login credentials before the session that was created in the context of the login page is invalidated and you must restart the login process. View the original post : http://www.jboss.com/index.html?mo

[JBoss-user] [Security & JAAS/JBoss] - Re: DBLoginModule and corresponding tables

2005-09-04 Thread [EMAIL PROTECTED]
Re-read the sql query for the roles for the custom UserRoles table. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892949#3892949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892949 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Multiple logins cause SRP sessions to accummulate in SRP

2005-09-04 Thread [EMAIL PROTECTED]
The JaasSecurityManagerService would need a flushExpired(String domain) op to clear the sessions, or an alternate SRPServerListener implementation that flushed the principal on the closedUserSession(SRPSessionKey) event. View the original post : http://www.jboss.com/index.html?module=bb&op=view

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss does not use keyPassword for KeyRepository

2005-09-04 Thread [EMAIL PROTECTED]
Correct. Currently there is no configuration down to a key level. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892946#3892946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892946 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: LoginModule accessing EJB

2005-09-04 Thread [EMAIL PROTECTED]
The two security-domain settings are not in the same server and therefore are really not the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892944#3892944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892944 -

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Issues rolesQuery with a hashed username from Datab

2005-09-04 Thread [EMAIL PROTECTED]
Most detailed security logging requires trace level configuration. http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ | | | | Other than that, get a debugger and the source. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892942#3892942 Rep

[JBoss-user] [Security & JAAS/JBoss] - Re: Configuring two ways authentication when using JBoss + S

2005-09-04 Thread [EMAIL PROTECTED]
>From the testsuite/src/resources/jrmp/service-inf/jboss-service.xml | | 0 | org.jboss.security.ssl.RMISSLClientSocketFactory | | | ${jboss.bind.address} | java:/jaas/rmi-ssl | true | true | | | Vi

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem when users do not logout

2005-09-04 Thread [EMAIL PROTECTED]
Your login form needs to detect that there is already a authenticated user and simply not display the login form. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892945#3892945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Security & JAAS/JBoss] - Re: Is there a way to list currently logged-in users from an

2005-09-04 Thread [EMAIL PROTECTED]
See http://wiki.jboss.org/wiki/Wiki.jsp?page=JaasSecurityManagerService View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3892943#3892943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3892943 -

[JBoss-user] [Security & JAAS/JBoss] - Re: Flushing JAAS for Principal

2005-09-04 Thread [EMAIL PROTECTED]
Your hashCode method is broken. Reasonable implementations are: |public boolean equals(Object another) |{ | if (!(another instanceof Principal)) | return false; | String anotherName = ((Principal) another).getName(); | boolean equals = false; |