[JBoss Portal] - Re: UserImpl needs to implement serializable??
by neumann347
Resolved the problem and just for completeness am posting the cause.
This was a user error. (Surprise!)
There were 2 problems:
1) I was using the wrong method for my search. I was using query.setParameter with a list as on object. It works a lot better with using query.setParameterList. This fixed the original exception, but caused another exception to be thrown having to do with the RoleImpl.
2) In my query I was sending in a set of org.jboss.portal.identity.Role objects as the parameter to my query. Since my hibernate configuration didnt have any references to Role interfaces (implemented by RoleImpl) , it didnt know what to do with them. Once I changed the parameters from a set of Roles to a set of Strings (All I really wanted was the names of the roles anyway) everything cleared up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977651#3977651
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977651
19 years, 7 months
[Installation, Configuration & Deployment] - Some friendly advice
by redsea
In the past few weeks I have been evaluating application servers. Within a minutes time I can start tomcat, sun app server or jboss server. One of the qualities that I am looking for in a serve is a "write once drop anywhere" kind of quality. By this I mean, if I write a web app(let say) using netbeans and follow the j2ee standards, then I should be able to drop that app in any app server and EXPECT it to run.
Now, I have spent more time on jboss because I like some of its design features. However, the more I get into it the more I am beginning to think that jboss has the wrong "philosophy" for us.
Please read this link http://jira.jboss.com/jira/browse/JBAS-2593
The originator of that report had the right idea. It should be as easy as dropping a war file into the deploy directory. However, looking at the two responses I realize that jboss has the wrong focus. If the focus was on their clients that report would not be a dont fix.
Theres a lot I like about jboss, but I want to focus on standards, and not on jboss proprietary enhancements.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977643#3977643
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977643
19 years, 7 months