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; - nested throwable: (org.jboss.mq.SpyJMSException: 
Error retrieving preconfigured user dataloader; - nested throwable: 
(java.sql.SQLException: Table 'mydata.jms_users' doesn't exist))
  | 
  | org.jboss.mq.SpyJMSException: Cannot get a client ID; - nested throwable: 
(org.jboss.mq.SpyJMSException: Error retrieving preconfigured user dataloader; 
- nested throwable: (java.sql.SQLException: Table 'mydata.jms_users' doesn't 
exist)) at org.jboss.mq.Connection.askForAnID(Connection.java:1143) at 
org.jboss.mq.Connection.<init>(Connection.java:258) at 
org.jboss.mq.SpyConnection.<init>(SpyConnection.java:55) at 
org.jboss.mq.SpyConnectionFactory.createConnection(SpyConnectionFactory.java:108)
 at 
org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:141)
 at com.bunkersys.exchange.load.DataLoaderTest.setUp(DataLoaderTest.java:63)
  | 
  | Caused by: org.jboss.mq.SpyJMSException: Error retrieving preconfigured 
user myuser; - nested throwable: (java.sql.SQLException: Table 
'mydata.jms_users' doesn't exist) at 
org.jboss.mq.sm.jdbc.JDBCStateManager.getPreconfClientId(JDBCStateManager.java:365)
 at 
org.jboss.mq.sm.AbstractStateManager.checkUser(AbstractStateManager.java:234) 
at 
org.jboss.mq.server.JMSDestinationManager.checkUser(JMSDestinationManager.java:758)
 at 
org.jboss.mq.server.JMSServerInterceptorSupport.checkUser(JMSServerInterceptorSupport.java:274)
 at 
org.jboss.mq.server.TracingInterceptor.checkUser(TracingInterceptor.java:741) 
at org.jboss.mq.server.JMSServerInvoker.checkUser(JMSServerInvoker.java:274) at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:182)
 at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:358) 
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) at
  | 

This makes sense since I don't want to duplicate my user and role information 
in the database since I already have it in LDAP.  So this begs the question, 
should there be an LDAPStateManager?  All documentation I read says you can do 
this, see JBoss document from Chapter 6 - Security Manager below:

"You may be uncomfortable having to maintain your authentication and 
authorization information in an XML file. You can use any standard security 
store such as a database or LDAP server by simply updating the JAAS 
login-config.xml to provide the same username to password and user to role 
mappings as the DynamicStateManager . For example, to use a JDBC database, the 
following sample database tables and login-config.xml entry would work."

Or do I just need to create a JMS_USERS and JMS_ROLES table with nothing in it?

Thanks,
Mike

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875925#3875925

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875925


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to