You are not logged in.
I have a problem with the Activate user email button.
The activateUser script is as follows
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<security>
<activateaccount>
<email>
<subject>${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailSubject']}</subject>
<text>${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailSalutation']} ${user.getFirstname()} ${user.getLastname()}, 

${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailIntro']}

${url}

${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailAccount']}

${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailUsername']} ${user.getUsername()}
${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailPassword']} ${password}

${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailEnd']}

</text>
</email>
</activateaccount>
</security>
</configuration>
The error message from the log file is as follow
INFO: Intercepted NonFatalException
com.google.gwt.user.server.rpc.UnexpectedException:
Service method 'public abstract void net.datenwerke.rs.passwordpolicy.client.activateuser.rpc.ActivateUserRpcService.activateAccount(
net.datenwerke.security.client.usermanager.dto.UserDto,boolean)
throws net.datenwerke.gxtdto.client.servercommunication.exceptions.ExpectedException'
threw an unexpected exception: java.lang.NoSuchMethodError:
javax.el.ELResolver.invoke(Ljavax/el/ELContext;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object;
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)
at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)
at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
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:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
How do I solve this problem. Any ideas?
Last edited by electron36 (2015-06-11 13:07:08)
Offline
I have a problem with the Activate user email button.
The activateUser script is as follows
<?xml version="1.0" encoding="UTF-8"?> <configuration> <security> <activateaccount> <email> <subject>${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailSubject']}</subject> <text>${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailSalutation']} ${user.getFirstname()} ${user.getLastname()}, 
 
 ${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailIntro']} 
 ${url}
 
 ${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailAccount']} 
 ${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailUsername']} ${user.getUsername()}
 ${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailPassword']} ${password}
 
 ${msgs['net.datenwerke.rs.passwordpolicy.service.locale.PasswordPolicyMessages']['activateEmailEnd']} 
 </text> </email> </activateaccount> </security> </configuration>
The error message from the log file is as follow
INFO: Intercepted NonFatalException com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void net.datenwerke.rs.passwordpolicy.client.activateuser.rpc.ActivateUserRpcService.activateAccount( net.datenwerke.security.client.usermanager.dto.UserDto,boolean) throws net.datenwerke.gxtdto.client.servercommunication.exceptions.ExpectedException' threw an unexpected exception: java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/ELContext;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110) at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:643) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110) at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38) at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89) at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) 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:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
How do I solve this problem. Any ideas?
Offline
Hi,
the message suggests that one of the expressions ("${}") cannot be properly evaluated. From what I see the expressions do, however, seem ok. Two ways to check this. First, was there anything you changed which triggered this error? If so, start there and decrease the complexity of the configuration. If not, you might want to have a look at the logs. There should be more information there as to what exactly caused this error. This can for example be caused if you have multiple versions of juel deployed for some reason. Also see this thread here (https://github.com/beckchr/juel/issues/70) and this forum thread https://translate.google.com/translate? … %3Fid%3D75.
Hope this helps
-Arno
Offline