Erro:
15:41:45,295 ERROR [BaseXMLFilter] Exception in the filter chain
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at br.com.lpc.ganymede.util.IE9CompatibilityFixServlet.doFilter(IE9CompatibilityFixServlet.java:26)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at br.com.lpc.ganymede.util.HibernateSessionfilter.doFilter(HibernateSessionfilter.java:23)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.StackOverflowError
at java.lang.reflect.InvocationTargetException.<init>(Unknown Source)
at sun.reflect.GeneratedMethodAccessor637.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1132)
at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:126)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:83)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:83)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:83)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:83)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:174)
at org.ajax4jsf.javascript.ScriptUtils.writeScriptToStream(ScriptUtils.java:83)
Causa: Tentar passar um objeto no actionparam
<a4j:actionparam id="deleteContainer" value="#{con}" name="delteteCont"/>
Solução: Passar apenas o id
<a4j:actionparam id="deleteContainer" value="#{con.id}" name="delteteCont"/>
sexta-feira, 17 de fevereiro de 2012
sexta-feira, 3 de fevereiro de 2012
Cannot convert onload of type class java.lang.String to class org.richfaces.component.JQueryTiming
No Jsf 1.2/Richfaces 3.3 você poderia fazer dessa forma:
<h:inputText id="dataVencimento" >
<rich:jQuery selector="#dataVencimento" query="mask('99/99/9999')" timing="onload" />
</h:inputText>
No Jsf 2.0/Richfaces 4.1 o rich:query não pode ficar dentro do h:inputText e o timing mudou:
<h:inputText id="dataVencimento" />
<rich:jQuery selector="#dataVencimento" query="mask('99/99/9999')" timing="domready" />
<h:inputText id="dataVencimento" >
<rich:jQuery selector="#dataVencimento" query="mask('99/99/9999')" timing="onload" />
</h:inputText>
No Jsf 2.0/Richfaces 4.1 o rich:query não pode ficar dentro do h:inputText e o timing mudou:
<h:inputText id="dataVencimento" />
<rich:jQuery selector="#dataVencimento" query="mask('99/99/9999')" timing="domready" />
quarta-feira, 1 de fevereiro de 2012
Windows 7 / Vista ingressar em domínio Windows 2008
É necessário as seguintes alterações no registro do windows 7 / Vista:
Utilize o regedit.exe e faça as seguintes modificações no registro do Windows. (Adicione o que faltar ou altere se já existir)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters
DWORD32 - DomainCompatibilityMode = 1
DWORD32 - DNSNameResolutionRequired = 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters
DWORD32 - RequireSignOnSeal = 0
DWORD32 - RequireStrongKey = 0
Tente entrar no domínio após efetuar as alterações. Não é necessário reiniciar o Windows após as alterações no regedit!
Utilize o regedit.exe e faça as seguintes modificações no registro do Windows. (Adicione o que faltar ou altere se já existir)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Parameters
DWORD32 - DomainCompatibilityMode = 1
DWORD32 - DNSNameResolutionRequired = 0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon\Parameters
DWORD32 - RequireSignOnSeal = 0
DWORD32 - RequireStrongKey = 0
Tente entrar no domínio após efetuar as alterações. Não é necessário reiniciar o Windows após as alterações no regedit!
Assinar:
Postagens (Atom)