[JBoss-user] [jboss-seam] jboss-seam example 1.0.1 GA + JBoss 4.0.4 AS Patch1 ejb3 profile - examples broken.
Hello. Using the doc on the homepage i tried to setup the examples. I can deploy them, but login @booking example or register action at register example only ends in exceptions: javax.servlet.ServletException: Error calling action method of component with id _id0:_id6 javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJBossEclipseIDEToDoJBossSeamsBookingExample This documentation for JBoss IDE and Seam is also out of date ( using eclipse 3.2 ). Is there any documentation refering to jboss 4.0.4 and seam examples 1.0.1 which is up to date? Its a little bit annoying to read docs and ending up in exceptions instead of exspected results. Reading Chapter 1.2 of the Seam documentation didn't end in a positive result - only the mentioned exception above. What should i do at this point ( asking mailing list yeah ), if the examples mentioned in the documentation fails - its really hard to learn when the documentation is not in sync with the "real world". I took an up to date jboss installation and latest seam 1.0.1. Updated build.properties and used "ant deploy" in examples/registration directory - won't work like exspected - did i miss something? Is it broken? Something wrong with my setup? thx for help. kind regards Torsten - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [jboss-seam] jboss-seam example 1 .0.1 GA + JBoss 4.0.4 AS Patch1 ejb3 prof ile - examples broken.
Please read the getting started document. http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html All the examples work fine. If you find places where the doc is not up to date, please point us to those places so we can fix that. Also please use the specific forum instead of this mailing list. http://www.jboss.com/index.html?module=bb&op=viewforum&f=231 Thanks. On Monday 17 July 2006 16:28, Torsten Krah wrote: > Hello. > > Using the doc on the homepage i tried to setup the examples. > > I can deploy them, but login @booking example or register action at > register example only ends in exceptions: > > javax.servlet.ServletException: Error calling action method of component > with id _id0:_id6 > javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) > > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter. >java:96) > > http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJBossEclipseIDEToDoJBossSeamsBo >okingExample This documentation for JBoss IDE and Seam is also out of date ( > using eclipse 3.2 ). > > Is there any documentation refering to jboss 4.0.4 and seam examples 1.0.1 > which is up to date? Its a little bit annoying to read docs and ending up > in exceptions instead of exspected results. > > Reading Chapter 1.2 of the Seam documentation didn't end in a positive > result - only the mentioned exception above. > > What should i do at this point ( asking mailing list yeah ), if the > examples mentioned in the documentation fails - its really hard to learn > when the documentation is not in sync with the "real world". > > I took an up to date jboss installation and latest seam 1.0.1. > Updated build.properties and used "ant deploy" in examples/registration > directory - won't work like exspected - did i miss something? Is it broken? > Something wrong with my setup? > > thx for help. > > kind regards > > Torsten > > > > > > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ___ > JBoss-user mailing list > JBoss-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jboss-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [jboss-seam] jboss-seam example 1.0.1 GA + JBoss 4.0.4 AS Patch1 ejb3 profile - examples broken.
Am Montag, den 17.07.2006, 16:53 +0200 schrieb Thomas Heute: > Please read the getting started document. > > http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html Did read that - wont work, compile did fine, but click on the login button results only in an exception. Register a new user results in: exception javax.servlet.ServletException: /register.xhtml @67,80 value="#{register.verify}": $Proxy262 javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) So from my view they dont work fine - not out of the box as written at the link you posted. thx for help anyway, i'll try my luck at the forum. kind regards Torsten > > All the examples work fine. > > If you find places where the doc is not up to date, please point us to those > places so we can fix that. > > Also please use the specific forum instead of this mailing list. > http://www.jboss.com/index.html?module=bb&op=viewforum&f=231 > > Thanks. > > On Monday 17 July 2006 16:28, Torsten Krah wrote: > > Hello. > > > > Using the doc on the homepage i tried to setup the examples. > > > > I can deploy them, but login @booking example or register action at > > register example only ends in exceptions: > > > > javax.servlet.ServletException: Error calling action method of component > > with id _id0:_id6 > > javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) > > > > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter. > >java:96) > > > > http://wiki.jboss.org/wiki/Wiki.jsp?page=UseJBossEclipseIDEToDoJBossSeamsBo > >okingExample This documentation for JBoss IDE and Seam is also out of date ( > > using eclipse 3.2 ). > > > > Is there any documentation refering to jboss 4.0.4 and seam examples 1.0.1 > > which is up to date? Its a little bit annoying to read docs and ending up > > in exceptions instead of exspected results. > > > > Reading Chapter 1.2 of the Seam documentation didn't end in a positive > > result - only the mentioned exception above. > > > > What should i do at this point ( asking mailing list yeah ), if the > > examples mentioned in the documentation fails - its really hard to learn > > when the documentation is not in sync with the "real world". > > > > I took an up to date jboss installation and latest seam 1.0.1. > > Updated build.properties and used "ant deploy" in examples/registration > > directory - won't work like exspected - did i miss something? Is it broken? > > Something wrong with my setup? > > > > thx for help. > > > > kind regards > > > > Torsten > > > > > > > > > > > > > > > > - > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ___ > > JBoss-user mailing list > > JBoss-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jboss-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Authentication failed calling @Service from session bean @Po
Hi, In an EJB 3.0 application I have methods on a session bean that delegate calls to a POJO @Service. I have just started to apply security, starting with a UsersRolesLoginModule which seems to be working for the session bean calls from the client. I presume that if the authenticated user can call a method on the session bean, that the session bean can call a method on the @Service with identical @RolesAllowed, but I get a javax.ejb.EJBAccessException: Authentication failure. Method on session bean: @SecurityDomain("mydomain") @PermitAll public @Stateful class UserSessionBean implements UserSession { @EJB ServerLocal server; @PostConstruct public void initSession() { logger.info("UserSession @PostConstruct"); sessionID = server.registerUserSession(); } }; Error: 15:22:31,105 ERROR [STDERR] java.lang.RuntimeException: javax.ejb.EJBAccessException: Authentication failure 15:22:31,105 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:109) 15:22:31,105 ERROR [STDERR] at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:582) 15:22:31,105 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:108) 15:22:31,105 ERROR [STDERR] at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48) 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:207) 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:288) 15:22:31,106 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) 15:22:31,106 ERROR [STDERR] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) 15:22:31,106 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) 15:22:31,106 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) 15:22:31,106 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) 15:22:31,106 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) 15:22:31,106 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) 15:22:31,106 ERROR [STDERR] Caused by: javax.ejb.EJBAccessException: Authentication failure 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:68) 15:22:31,106 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:71) 15:22:31,106 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) 15:22:31,106 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) 15:22:31,106 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:199) 15:22:31,106 ERROR [STDERR] at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75) 15:22:31,106 ERROR [STDERR] at $Proxy246.registerUserSession(Unknown Source) 15:22:31,106 ERROR [STDERR] at org.myapplication.server.UserSessionBean.initSession(UserSessionBean.java:62) 15:22:31,106 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:22:31,107 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:22:31,107 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:22:31,107 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:22:31,107 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:159) 15:22:31,107 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:105) 15:22:31,107 ERROR [STDERR] ... 12 more 15:22:31,107 ERROR [STDERR] Caused by: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required 15:22:31,107 ERROR [STDERR] at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213) 15:22:31,107 ERROR [STDERR] at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152) 15:22:31,107 ERROR [STDERR] at su
Re: [JBoss-user] [jboss-seam] jboss-seam example 1.0.1 GA + JBoss 4.0.4 AS Patch1 ejb3 profile - examples broken.
Works now. I have to use jems installer + ejb3 profile. Using the patch1installer does not work. kind regards Torsten - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user