[JBoss Portal] - hibernate.ByteArrayBlob ArrayIndexOutOfBoundsException
by AndrewBoyd
Hi All,
I'm trying to install but I'm getting the following exception when I startup:
| 17:48:09,078 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@17ebc89[state=NORMAL mc=org.jboss.resource.adapter
| .jdbc.local.LocalManagedConnection@1711c2c handles=1 lastUse=1156283289031 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@f0bca1 context=org.jbo
| ss.resource.connectionmanager.InternalManagedConnectionPool@f00513 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@1dd5c52 txSync=null]
| java.lang.ArrayIndexOutOfBoundsException
| at java.lang.System.arraycopy(Native Method)
| at org.jboss.portal.jems.hibernate.ByteArrayBlob.getBytes(ByteArrayBlob.java:74)
| at com.mysql.jdbc.PreparedStatement.setBlob(PreparedStatement.java:2069)
|
I'm using jboss-portal-2.4.0-CR3 and MySql 5.0.24
Any suggestions?
Thanks,
Andrew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966820#3966820
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966820
19 years, 8 months
[JBoss Seam] - Re: Application Permissions
by petemuir
Well somewhere along the line you need to map the user to a permission (e.g. Peter is allowed to view the credit card details of all users). So we group the permission information somehow (e.g. credit-card-viewers are allowed to list the users of the system), this is the JAAS role. Then we think about users 'business roles' (e.g. Sales & Accounts, both of whom are allowed to view credit card details). Finally we assign users to business roles (e.g. Peter is the sales director so is a member of Sales and of Management Team).
So, each user can be a member of a number of business roles. Each business role has an associated set of permissions (a permission can be assigned to multiple business roles), and permissions map directly to JAAS roles. The rest is SQL :)
But I'm not sure I understand your requirement. Have you got an ER diagram that describes the relationship between Users, Groups and Roles?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966815#3966815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966815
19 years, 8 months