I have JBoss 4.0.3.
I have a logged in user and I wish to add roles to them on the fly (say the
user registers for additional services). I'm using the
DatabaseServerLoginModule and I update my corresponding UserRoles table to add
in the new roles but I don't want to have my user logout and
Has anybody been able to get an autologin feature to work? I'm using FORM
based authenication and I have a couple of problems.
First, I can only supply a j_username and j_password field in my form that
posts to j_security_check. If I include any other fields (like a checkbox for
autologin
Hi I'm using JBoss 4.0.3SP1 and I have an entity bean that stores its data in 2
tables that are joined by an id. My class looks like:
| @Entity(access=AccessType.PROPERTY)
| @Table(name=users1)
| @SecondaryTable(name=users2,
| [EMAIL PROTECTED](name=id,
|
mjdinsmore, were you ever able to solve this? I have the same situation where
the passwords are stored in the database encrypted and there isn't a way to
decrypt them. I basically just want to compare the encrypted input password
with the encrypted password stored in the database. Did you
Got it, you have to specify the hashStorePassword to false and hashUserPassword
to true.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3919842#3919842
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919842
Hi I'm using JBoss 4.0.3SP1 (installed using installer and selecting the EJB3
configuration) and I am unable to figure out how to get an EJB3 EntityManager
injected into my code.
persistence.xml:
| entity-manager
| namemyEM/name
|
Thanks for the reply. So what are my choices? Do I have to create an
InitialContext and look up the EntityManager via JNDI?
I tried and I get an InjectedEntityManager back which throws an exception if I
try and get the Transaction from it. If I don't begin a transaction I get an
I don't know, do I want an ExtendedEntityManager to do this?
Basically, what is the perferred way to obtaining an EntityManager in a POJO
running within JBoss?
Doing:
| InitialContext ctx = new InitialContext();
| EntityManager em = (EntityManager)
I'm experiencing the same problem. I'm running JBoss 3.2.7 on a Fedora Core 3
Linux box. I also have JBoss started up as a service. I send both kill -3 or
kill -QUIT to the JBoss process id and nothing happens.
Anybody have any idea what's up with that?
View the original post :
Hi, I'm using JBoss 3.2.7 on Linux and when I boot up a server.log file is
created and about the time its done loading JBoss, the file is truncated and
its size is zero. What is up with that? I lose all of the log messages.
Interesting if I let it run a while and return I have a bunch of
I'm having trouble connect to the default DLQ when my users and roles are
defined in an LDAP server. What am I missing here?
In my LDAP server I have the following guest user and role (the unencrypted
password value is 'guest'):
# Temporary guest role and user.
dn:
Turning tracing on and switching the unauthenticatedIdentity from guest to
another user in the system I see this:
| ...
| 2005-05-23 15:27:21,467 TRACE [org.jboss.mq.security.SecurityManager]
Checking authorize on subjectInfo: SubjectInfo {subject=Subject:
| Principal: myuser
|
Hi, I have 2 JBoss instances running. One is hosting my topic and JMS stuff.
The other is trying to publish a message to that topic. If I set it up so that
there is a durable subscription on that topic then I get the following error on
my TopicSession.commit() call:
| Caused by:
Ok, I've gotten further but not quite far enough. I was populating users in an
LDIF and I didn't have the format correct for specifying encrypted base64
encoded passwords. Changed it to:
| userPassword: blahblahblah
|
Where blahblahblah is an encrypted base64 encoded password. All
Seems like I'm picking this apart. Ok, got it to start up without any errors.
Had a misprint in a jboss-service.xml file. However still there is a problem.
Since I'm using the JDBCStateManager when i try to actually use the topic, I
get the following error:
| Cannot get a client ID; -
Does anybody know if this can be done?
I'm looking around and it looks like I would need a LDAPStateManager that would
know how to retrieve the information contained in the JMS_USERS, JMS_ROLES, and
JMS_SUBSCRIPTIONS tables (when comparing to the JDBCStateManager).
Is that true? It would be
Hi, I want to (in my MDB) to set some properties on incoming messages. It
appears that all messages are read only. So after making them writable by
copying the properties, clearing the properties, then resetting the original
properties plus the properties that I want to set. After that if
Is it possible to find the MBeanServer running inside JBoss's VM from a Java process
running outside JBoss's VM? I would like my unit tests to be able to lookup MBeans
and invoke methods on them but when I try to find the MBeanServer (by calling
findMBeanServer(null)) I get an empty list.
So is my findings correct??? You cannot specify people in an LDAP server like cn=Bob
Smith,ou=People,... when using the LDAPLoginModule provided by JBoss? All people must
be specified as uid=bsmith,ou=People,...???
Basically, I would like to specify people in my LDAP server as cn=Bob
Thanks for the reply. If I'm reading it right does it mean that I cannot specify each
person's DN using the common name (cn=...) but rather the username (uid=...)?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3849474#3849474
Reply to the post :
Consider the following LDIF file:
| ...
|
| dn: ou=Roles,o=MyOrg,dc=MyComp,dc=com
| ou: Roles
| objectClass: top
| objectClass: organizationalUnit
|
| dn: ou=People,o=MyOrg,dc=MyComp,dc=com
| ou: People
| objectclass: top
| objectclass: organizationalUnit
|
| #
Hi, I was wondering if anybody knows how to setup an alias to do this. I did the
following, which works if I deploy a simple standalone WAR file:
httpd.conf (apache):
# Alias jsp to the JBoss's JSPs web archive.
Alias /myjsps C:/jboss-3.2.5/server/default/deploy/simple.war
This works so I can
I have a Topic that defined some security roles for accessing like:
...
...
In my code I want to be able to call:
connectionFactory.createTopicConnection() [without any username/password arguments]
to
I get the following exception:
2004-07-08 15:51:49,103 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Initialization
failed DLQHandler
javax.jms.JMSException: Error creating the dlq connection: XAConnectionFactory not
bound
at
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820724#3820724
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820724
So if I wanted a 'newer' 4.0 release I would have to get a nightly snapshot of HEAD?
So that means I have
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820729#3820729
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820729
Didn't know I was getting an error, when I start up I get an MBeanException:
Incomplete Deployment listing
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820743#3820743
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820743
Actually, I get the MBeanException: Incomplete Deployment listing without deploying
any of my code.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820430#3820430
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820430
I'm having a problem configuring MySQL with JBoss 4.0. The same configuration that
works for JBoss 3.2.3
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820455#3820455
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820455
Ok, I've gotten a little farther. I'm trying to get the JBoss JDO example to work
with JBoss 4.0 against
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3820459#3820459
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3820459
From looking at the JBoss source code (for 4.0 DR2), the actual SQLException that is
raised in the
30 matches
Mail list logo