[Security & JAAS/JBoss] - Stylesheet problem in Login Form
by yj4jboss
Hi All,
I am trying to have JAAS configured for a basic application using SEAM, Hibernate, Ajax and Facelet....
As recommended by folks from the SEAM forum, i implemented the login form using an html form within a pre defined template. This template is correctly rendered when used with other pages but i cannot figure out why the CSS is being commented out in the login form only.
This is the source as displayed by IE:
|
| <?xml version="1.0" encoding="utf-8"?>
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
| <html xmlns="http://www.w3.org/1999/xhtml">
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
| <title></title>
|
| <style type="text/css" media="all"><!--
|
| @import "style/default/screen.css";
| @import "style/default/financialstatementprogress.css";
| @import "style/default/overviewInfo.css";
| @import "style/default/questionnaireheader.css";
| @import "style/default/groupHierarchy.css";
| @import "style/default/groupAndQuestions.css";
|
| --></style>
|
| </head>
|
| <body id="pgMainMenu">
|
| <div id="document">
| <div id="header"><span>Banner Goes Here</span></div>
|
|
| <div id="container">
|
| <div class="formContainer">
|
| <form action="j_security_check" method="post">
| <label for="j_username">Username</label>
| <input type="text" name="j_username" />
| <br />
|
| <label for="j_password">Password</label>
| <input type="password" name="j_password" />
|
| <br />
| <input type="submit" value="Login" id="Submit" />
| </form>
|
|
| </div>
| </div>
|
| <div id="footer">
| <hr />
| Footer Goes here ....
|
| </div>
|
| </div>
|
|
|
| </body>
| </html>
|
|
This is my login.xhtml:
|
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:si="http://sourceforge.net/projects/easysi"
| xmlns:t="http://myfaces.apache.org/tomahawk">
|
| <head>
| <f:loadBundle basename="messages" var="msgs" />
| <title></title>
|
|
|
| </head>
|
| <body>
|
| <ui:composition template="/template.xhtml">
|
| <ui:define name="topnav">
| <!--Navigation bar is not displayed in login page -->
| </ui:define>
|
| <ui:define name="container">
|
| <div class="formContainer">
|
| <form action="j_security_check" method="post">
| <label for="j_username">#{msgs.Username}</label>
| <input type="text" name="j_username" />
| <br />
|
| <label for="j_password">#{msgs['Password']}</label>
| <input type="password" name="j_password" />
|
| <br />
| <input type="submit" value="#{msgs['LoginButton']}" id="Submit" />
| </form>
|
|
| </div>
|
| </ui:define>
|
|
| </ui:composition>
| </body>
| </html>
|
|
|
An my template.xhtml is as follows:
| <?xml version="1.0" encoding="utf-8"?>
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core">
| <head>
| <f:loadBundle basename="messages" var="msgs" />
| <f:loadBundle basename="settings" var="settings" />
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
| <title></title>
|
| <style type="text/css" media="all">
| @import "style/default/screen.css";
| </style>
|
| </head>
|
| <body id="pgMainMenu">
|
| <f:loadBundle basename="messages" var="msg"/>
|
| <div id="document">
| <ui:insert name="banner">
| <div id="header"><span>#{msg.BannerText}</span></div>
|
| </ui:insert>
|
|
| <ui:insert name="topnav">
| <div id="nav">
| <ui:include src="/menu.xhtml" />
| </div>
| </ui:insert>
|
|
| <div id="container">
| <ui:insert name="container">
| Content goes here ...
| </ui:insert>
| </div>
|
| <div id="footer">
| <ui:insert name="footer">
| <hr/>
| #{msg.FooterText}
| </ui:insert>
|
| </div>
|
| </div>
|
|
|
| </body>
| </html>
|
|
|
In my web.xml, i had the following configs to specify the login form i want to use:
| <login-config>
| <auth-method>FORM</auth-method>
| <form-login-config>
| <form-login-page>/login.seam</form-login-page>
| <form-error-page>/login_errors.html</form-error-page>
| </form-login-config>
| </login-config>
|
|
Is there any missing configs or is there something missing for the CSS to be correctly rendered ??
Thnx for the help.
Regards,
Jankee Yogesh
http://www.m-itc.net
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985694#3985694
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985694
19Â years, 7Â months
[JBoss Seam] - Re: JSF Form Authentication using JAAS DatabaseServerLoginMo
by yj4jboss
Ok the resource bundle and JAAS is working perfectly ...... The only problem is that the page is rendered without any styles being displayed although the template used is correctly rendered with other pages !! When i looked at the source in my browser i found that the stylesheet imports have been commented as shown below:
This is the source as displayed by IE:
|
| <?xml version="1.0" encoding="utf-8"?>
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
| <html xmlns="http://www.w3.org/1999/xhtml">
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
| <title></title>
|
| <style type="text/css" media="all"><!--
|
| @import "style/default/screen.css";
| @import "style/default/financialstatementprogress.css";
| @import "style/default/overviewInfo.css";
| @import "style/default/questionnaireheader.css";
| @import "style/default/groupHierarchy.css";
| @import "style/default/groupAndQuestions.css";
|
| --></style>
|
| </head>
|
| <body id="pgMainMenu">
|
| <div id="document">
| <div id="header"><span>Banner Goes Here</span></div>
|
|
| <div id="container">
|
| <div class="formContainer">
|
| <form action="j_security_check" method="post">
| <label for="j_username">Username</label>
| <input type="text" name="j_username" />
| <br />
|
| <label for="j_password">Password</label>
| <input type="password" name="j_password" />
|
| <br />
| <input type="submit" value="Login" id="Submit" />
| </form>
|
|
| </div>
| </div>
|
| <div id="footer">
| <hr />
| Footer Goes here ....
|
| </div>
|
| </div>
|
|
|
| </body>
| </html>
|
|
This is my login.xhtml:
|
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:s="http://jboss.com/products/seam/taglib"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:f="http://java.sun.com/jsf/core"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:si="http://sourceforge.net/projects/easysi"
| xmlns:t="http://myfaces.apache.org/tomahawk">
|
| <head>
| <f:loadBundle basename="messages" var="msgs" />
| <title></title>
|
|
|
| </head>
|
| <body>
|
| <ui:composition template="/template.xhtml">
|
| <ui:define name="topnav">
| <!--Navigation bar is not displayed in login page -->
| </ui:define>
|
| <ui:define name="container">
|
| <div class="formContainer">
|
| <form action="j_security_check" method="post">
| <label for="j_username">#{msgs.Username}</label>
| <input type="text" name="j_username" />
| <br />
|
| <label for="j_password">#{msgs['Password']}</label>
| <input type="password" name="j_password" />
|
| <br />
| <input type="submit" value="#{msgs['LoginButton']}" id="Submit" />
| </form>
|
|
| </div>
|
| </ui:define>
|
|
| </ui:composition>
| </body>
| </html>
|
|
|
An my template.xhtml is as follows:
| <?xml version="1.0" encoding="utf-8"?>
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| <html xmlns="http://www.w3.org/1999/xhtml"
| xmlns:ui="http://java.sun.com/jsf/facelets"
| xmlns:h="http://java.sun.com/jsf/html"
| xmlns:f="http://java.sun.com/jsf/core">
| <head>
| <f:loadBundle basename="messages" var="msgs" />
| <f:loadBundle basename="settings" var="settings" />
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
| <title></title>
|
| <style type="text/css" media="all">
| @import "style/default/screen.css";
| </style>
|
| </head>
|
| <body id="pgMainMenu">
|
| <f:loadBundle basename="messages" var="msg"/>
|
| <div id="document">
| <ui:insert name="banner">
| <div id="header"><span>#{msg.BannerText}</span></div>
|
| </ui:insert>
|
|
| <ui:insert name="topnav">
| <div id="nav">
| <ui:include src="/menu.xhtml" />
| </div>
| </ui:insert>
|
|
| <div id="container">
| <ui:insert name="container">
| Content goes here ...
| </ui:insert>
| </div>
|
| <div id="footer">
| <ui:insert name="footer">
| <hr/>
| #{msg.FooterText}
| </ui:insert>
|
| </div>
|
| </div>
|
|
|
| </body>
| </html>
|
|
|
In my web.xml, i had the following configs to specify the login form i want to use:
| <login-config>
| <auth-method>FORM</auth-method>
| <form-login-config>
| <form-login-page>/login.seam</form-login-page>
| <form-error-page>/login_errors.html</form-error-page>
| </form-login-config>
| </login-config>
|
|
Is there any missing configs or is there something missing for the CSS to be correctly rendered ??
Regards,
Jankee Yogesh
http://www.m-itc.net
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985693#3985693
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985693
19Â years, 7Â months
[Clustering/JBoss] - Re: Is it possible to execute Petstore demo in cluster mode?
by mp123
Hello,
Thanks once again for ur quick response.
"azhurakousky" wrote : 1. What was the reason for moving jndi.properties file from "conf" to "lib" directory?
I assumed that the application needs jndi.properties for looking up the JNDI Name. So, I thought the application will look on to the 'lib' directory for that file.
anonymous wrote : 2. Is node1 and node2 joined in JBoss Cluster or they are just two independent nodes under RoundRobin controll of mod_jk? Seem to me you do not have JBoss Cluster estalished and node1 and node2 are independent nodes where only node1 running JBossMQ. Is that correct?
Node 1 and Node 2 are joined in JBoss Cluster only. It detects automatically the another node if the other one also started up. Same configurations done on both nodes.
anonymous wrote : 3. Node1 and node2 derived from "all" configuration or "default"?
Yes. I have created node1 and node2 from 'all' configuration of JBoss 4.0.4.GA only and I'm working on Unix.
node1 => working in one server machine <node1 - ip addr>
node2 => working in another server machine <node2- ip addr>
anonymous wrote : With default JBoss behavior when running in the cluster you wouldn't even have to specify provider url, since JGroups auto-discovery is enabled by default and your "Master" (the one that running JBossMQ singleton) node would be discovered before NameNotFound exception is thrown.
|
As specified earlier, the queue bounds on one node say node1, and when the order confirmed and when we hit the Submit button, it should send mail to the customer. Till this, it looks only node1. But, what happens is, it checks the queue/mail in the another node (node2) where the queue not bound.
Please tell me, how to enable the Auto-discovery of JGroups to avoid NameNotFound exception?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985683#3985683
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985683
19Â years, 7Â months
[JBoss Seam] - ClassCastException with ArrayList when implementing SelectOn
by forumer
JBoss-4.0.4.CR2 and Seam 1.0.1.GA
I am trying to implement my first SelectOneMenu.
I'd appreciate any help in figuring out why I am getting this ClassCastException. This is happening in the framework soon after method is completed.
I am using a ModelConverter which is registered in faces-config.xml. The exception happens immediately after the "allModelsM" method.
xhtml snippet is:
| <h:selectOneMenu id="modelSelect" value="#{fleetManagerAdmin.selectedModel}"
| converter="ModelConverter">
| <f:selectItems value="#{allModelsSI}" />
| </h:selectOneMenu>
|
|
relevant parts of Backing bean, a StatefulSessionBean are:
| @Stateful
| @Scope(ScopeType.SESSION)
| @Name("fleetManagerAdmin")
|
| public class FleetManagerAdminBean implements FleetManagerAdmin
| .
| .
| @In(required=false)
| public Model selectedModel;
| public Model getSelectedModel(){return selectedModel;}
| public void setSelectedModel(Model item){this.selectedModel = item;}
|
| @Out(required=false)
| private SelectItem[] allModelsSI;
| public SelectItem[] getAllModelsSI(){return allModelsSI;}
| public void setAllModelsSI(SelectItem[] allModelsSI){this.allModelsSI = allModelsSI;}
| .
| .
| .
|
| @Factory("allModelsSI")
| public void allModelsM()
| {
| log.debug(">>>allModelsM..");
| allModels = em.createNamedQuery("findAllModels").getResultList();
| SelectItem[] allModelsSI= new SelectItem[allModels.size()];
| int i=0;
| for(Model m: allModels)
| {
| log.debug("allModelsM() model="+m);
| allModelsSI[i++] = new SelectItem(m);
| }
| log.debug("<<<allModelsM()");
| }
| .
| .
| .
|
|
Beginning part of stack-trace (quite long) is:
| 19:01:48,802 DEBUG [FleetManagerAdminBean] >>>allModelsM..
| 19:01:48,802 DEBUG [FleetManagerAdminBean] >>>allModelsM..
| 19:01:48,812 DEBUG [FleetManagerAdminBean] allModelsM() model=777-200
| 19:01:48,812 DEBUG [FleetManagerAdminBean] allModelsM() model=777-200
| 19:01:48,822 DEBUG [FleetManagerAdminBean] allModelsM() model=777-200ER
| 19:01:48,822 DEBUG [FleetManagerAdminBean] allModelsM() model=777-200ER
| 19:01:48,822 DEBUG [FleetManagerAdminBean] allModelsM() model=777-200LR
| 19:01:48,822 DEBUG [FleetManagerAdminBean] allModelsM() model=777-200LR
| 19:01:48,822 DEBUG [FleetManagerAdminBean] allModelsM() model=777-300
| 19:01:48,822 DEBUG [FleetManagerAdminBean] allModelsM() model=777-300
| 19:01:48,832 DEBUG [FleetManagerAdminBean] allModelsM() model=777-300ER
| 19:01:48,832 DEBUG [FleetManagerAdminBean] allModelsM() model=777-300ER
| 19:01:48,832 DEBUG [FleetManagerAdminBean] <<<allModelsM()
| 19:01:48,832 DEBUG [FleetManagerAdminBean] <<<allModelsM()
| 19:01:48,832 DEBUG [RemoveInterceptor] Stateful component was removed: fleetManagerAdmin
| 19:01:48,842 ERROR [STDERR] javax.ejb.EJBException: java.lang.ClassCastException: java.util.ArrayList
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:167)
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:100)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 19:01:48,842 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
| 19:01:48,842 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| 19:01:48,842 ERROR [STDERR] at $Proxy186.allModelsM(Unknown Source)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,842 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1293)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1260)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
| 19:01:48,842 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
| 19:01:48,842 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
| 19:01:48,842 ERROR [STDERR] at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,842 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:277)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:133)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:78)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:67)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| 19:01:48,842 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
| 19:01:48,842 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
| 19:01:48,842 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 19:01:48,842 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 19:01:48,842 ERROR [STDERR] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
| 19:01:48,842 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
| 19:01:48,842 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 19:01:48,842 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 19:01:48,842 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 19:01:48,842 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 19:01:48,842 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 19:01:48,842 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 19:01:48,842 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 19:01:48,842 ERROR [STDERR] Caused by: java.lang.ClassCastException: java.util.ArrayList
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.databinding.DataModelBinder.isDirty(DataModelBinder.java:19)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.outjectDataModelList(Component.java:973)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.outjectDataModels(Component.java:937)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.Component.outject(Component.java:857)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:41)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,842 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,842 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 19:01:48,842 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,842 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,852 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 19:01:48,852 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,852 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,852 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,852 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73)
| 19:01:48,852 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45)
| 19:01:48,852 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 19:01:48,852 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 19:01:48,852 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 19:01:48,852 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 19:01:48,852 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| 19:01:48,852 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| 19:01:48,852 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,852 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| 19:01:48,852 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,852 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| 19:01:48,852 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,852 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| 19:01:48,852 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
| 19:01:48,852 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| 19:01:48,852 ERROR [STDERR] ... 78 more
| 19:01:48,852 DEBUG [SeamVariableResolver] resolving name: msgs
| 19:01:48,852 DEBUG [Contexts] found in event context: msgs
| 19:01:48,852 DEBUG [SeamVariableResolver] resolved name to seam component
| 19:01:48,852 DEBUG [SeamVariableResolver] resolving name: allCids
| 19:01:48,852 DEBUG [Component] instantiating Seam component: fleetManagerAdmin
| 19:01:48,852 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.j
| np.interfaces}
| 19:01:48,862 DEBUG [Contexts] found in conversation context: facesMessages
| 19:01:48,862 DEBUG [Component] selected row: null
| 19:01:48,862 DEBUG [RemoveInterceptor] Stateful component was removed: fleetManagerAdmin
| 19:01:48,862 ERROR [STDERR] javax.ejb.EJBException: java.lang.ClassCastException: java.util.ArrayList
| 19:01:48,862 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985682#3985682
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985682
19Â years, 7Â months