[jboss-user] [JBoss Seam] - Conversor error in examples/secutiry
rengar
do-not-reply at jboss.com
Tue Oct 17 08:47:07 EDT 2006
Jboss-jems-installer-1.2.0-BETA2 -> JBoss-EJB3
Jboss-seam-1.0.1GA
I install examples-security change datasource to mysql datasource. the deployment is ok.
But in login page said : "username" conversion error
I put login name : demo password : demo
In log don't show errors.
In database mysql create in Roles table:
one column user_username and other USERNAME.
CREATE TABLE `Role` (
`roleId` int(11) NOT NULL,
`role` varchar(255) default NULL,
`user_username` varchar(255) default NULL,
`USERNAME` varchar(255) default NULL,
PRIMARY KEY (`roleId`),
KEY `FK26F496CCD1BE70` (`user_username`),
KEY `FK26F496C9CE647C` (`USERNAME`),
CONSTRAINT `FK26F496C9CE647C` FOREIGN KEY (`USERNAME`) REFERENCES `Users` (`username`),
CONSTRAINT `FK26F496CCD1BE70` FOREIGN KEY (`user_username`) REFERENCES `Users` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
I fill two columns with demo, demo and shane, shane.
But don't work.
Any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978773#3978773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978773
More information about the jboss-user
mailing list