You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
(1159) |
Apr
(2137) |
May
(2414) |
Jun
(3068) |
Jul
(2160) |
Aug
(1232) |
Sep
(881) |
Oct
(682) |
Nov
(577) |
Dec
(311) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(619) |
Feb
(563) |
Mar
(594) |
Apr
(694) |
May
(1004) |
Jun
(2251) |
Jul
(1258) |
Aug
(1309) |
Sep
(1246) |
Oct
(1084) |
Nov
(934) |
Dec
(823) |
2003 |
Jan
(1102) |
Feb
(1115) |
Mar
(1138) |
Apr
(1369) |
May
(1356) |
Jun
(1119) |
Jul
(1074) |
Aug
(1062) |
Sep
(918) |
Oct
(834) |
Nov
(707) |
Dec
(716) |
2004 |
Jan
(571) |
Feb
(2397) |
Mar
(3637) |
Apr
(3718) |
May
(3095) |
Jun
(3054) |
Jul
(2532) |
Aug
(2092) |
Sep
(2217) |
Oct
(2336) |
Nov
(2406) |
Dec
(2315) |
2005 |
Jan
(2624) |
Feb
(2540) |
Mar
(2489) |
Apr
(2549) |
May
(2468) |
Jun
(2531) |
Jul
(2500) |
Aug
(2422) |
Sep
(2124) |
Oct
(2692) |
Nov
(2487) |
Dec
(4165) |
2006 |
Jan
(4721) |
Feb
(5016) |
Mar
(5630) |
Apr
(4747) |
May
(6193) |
Jun
(5074) |
Jul
(1734) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <Pap...@gm...> - 2006-08-07 01:21:25
|
Hello, I've got a problem accessing a Stateless SessionBean via a Servlet. A SLSB (Source: http://pastebin.ca/118516 ) is bound to JNDI "vfmcontroller/VFMController" and in the Deployment-Descriptor (Source: http://pastebin.ca/118520 ) I've configured it to be accessible by IIOP, since I've got to access it from a C#-Client (IIOP.Net). In a very simple Servlet (Source: http://pastebin.ca/118535 ) I try to create a new InitialContext and looks up this SLSB. Starting JBoss and deploying my EAR works fine without any logged errors and I can access my SLSB from my C#-Client. (Nevertheless I still can't access it thru a Standalone-Java-Client...) But calling my Servlet generates a "java.lang.Error: POA: not configured!" in my service()-Method, which I catch and log (See http://pastebin.ca/118532 for StackTrace). My JBoss Logs state "[listener] Address already in use: JVM_Bind", "org.jacorb.orb.iiop.IIOPListener$Acceptor.createServerSocket(IIOPListener.java:466)" and "Unable to activate POA" (See http://pastebin.ca/118529 for StackTrace). As far as I can read out of the sourcecode, IIOPListener fails to look up the RootPOA (due to "Address already in use" ?) If I got it right, this Port might correspond to "OAPort" in jacorb.properties, but changing did not have any effect. Nevertheless, netstat tells me that all JBoss-relevant Ports (8080, 8083, 1098, 1099, 3528) are just used by the one and single java-Process (JBoss). Environment: - JBoss 4.0.4GA "ou-of-the-box", the only thing I've changed was that I've dropped "jnp-context" from the "the "invoker-proxy-binding" in file "conf/standardjboss.xml". - JDK 1.5.0 (build 1.5.0_06-b05) - Windows XP SP 2 What makes me wonder is that I (almost) haven't changed any configuraion of JBoss .. !? I simply have no idea why this error shows up and how to fix it, I just want to access my EJBs thru my Web-App !? QUELLTEXTE / LOGS: ================== SLSB VFMController.java & VFMControllerBean.java: http://pastebin.ca/118516 Servlet Test.java: http://pastebin.ca/118535 JBoss EJB-Deployment-Descriptor jboss.xml: http://pastebin.ca/118520 JBoss Logfile (Console): http://pastebin.ca/118529 (Hint: Debug-Level is set to DEBUG) Caught Exception in Servlet "Test": http://pastebin.ca/118532 See JBoss Forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88053 Thanks in advance, One_Special_User -- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail |
From: Fairoz S. <fer...@ya...> - 2006-07-25 04:38:23
|
this is an issue in jboss classloader go to the deploy folder. inside \jbossweb-tomcat55.sar\META-INF\jboss-service.xml file you'll find. <attribute name="Java2ClassLoadingCompliance">false</attribute> <attribute name="UseJBossWebLoader">false</attribute> edit this tags to true. another possibility, is your deployed ejb(class files) and class inside the classes folder of war is a different output from different compilation. this happens because you may be implementing seializble and while compiling it generates some id that is diffrent evertime you compile. so compile the ejb's and remove the old ones abd copy the class files to required place and run your struts program ----- Original Message ---- From: jbo...@li... To: jbo...@li... Sent: Tuesday, July 25, 2006 12:42:24 AM Subject: JBoss-user Digest, Vol 2, Issue 184 Send JBoss-user mailing list submissions to jbo...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jboss-user or, via email, send a message with subject or body 'help' to jbo...@li... You can reach the person managing the list at jbo...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of JBoss-user digest..." Today's Topics: 1. JBoss 4.x error: GenericEJBInterceptor (Anand Kulkarni) 2. jBPM (jPDL) pageflow - use without jboss, ejb3 (Torsten Krah) ---------------------------------------------------------------------- Message: 1 Date: Mon, 24 Jul 2006 00:19:38 -0700 (PDT) From: Anand Kulkarni <kul...@ya...> Subject: [JBoss-user] JBoss 4.x error: GenericEJBInterceptor To: jbo...@li... Message-ID: <200...@we...> Content-Type: text/plain; charset=iso-8859-1 Hi, I am working on JBoss server with struts and EJB. I am presently using JBoss4.x.. I deploy my struts and EJB application in the same JBoss server. If I try to invoke stateless EJB from struts action class then it gives me the following error: ////////////////////////////////////////////////////// 22:50:23,718 INFO [STDOUT] ctx = javax.naming.InitialContext@1643e4b 22:50:23,906 INFO [STDOUT] ERROR [http-0.0.0.0-8080-1] (Log4JLogger.java:119) - Servlet.service() for servlet action threw exception java.io.InvalidClassException: org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 3844706474734439975, loc al class serialVersionUID = 4582256576523491346 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519) ////////////////////////////////////////////////////// The code works perfectly in JBoss 3.0.8 but for JBoss 4.x it gives the above errors. Can somebody tell me how to invoke EJB from web application using JBoss 4.x app server ? Waiting for the early reply. Thanks. regards, Anand __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------ Message: 2 Date: Mon, 24 Jul 2006 16:31:06 +0200 From: Torsten Krah <tk...@fa...> Subject: [JBoss-user] jBPM (jPDL) pageflow - use without jboss, ejb3 To: jbo...@li... Message-ID: <1153751466.14843.20.camel@web.mittelerde.home> Content-Type: text/plain Can i use the pageflow from jBPM ( instead the one of JSF navigation ) without jboss application server and without ejb3? Are hibernate and tomcat 5 enough? If yes, how to configure it to make it work? Looking at the Guide for jBPM 3.1, the "pageflow" section 4.5.3 is empty, any hints or suggestions? thx for help. kind regards ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ _______________________________________________ JBoss-user mailing list JBo...@li... https://lists.sourceforge.net/lists/listinfo/jboss-user End of JBoss-user Digest, Vol 2, Issue 184 ****************************************** |
From: Torsten K. <tk...@fa...> - 2006-07-24 14:30:53
|
Can i use the pageflow from jBPM ( instead the one of JSF navigation ) without jboss application server and without ejb3? Are hibernate and tomcat 5 enough? If yes, how to configure it to make it work? Looking at the Guide for jBPM 3.1, the "pageflow" section 4.5.3 is empty, any hints or suggestions? thx for help. kind regards |
From: Anand K. <kul...@ya...> - 2006-07-24 07:19:48
|
Hi, I am working on JBoss server with struts and EJB. I am presently using JBoss4.x.. I deploy my struts and EJB application in the same JBoss server. If I try to invoke stateless EJB from struts action class then it gives me the following error: ////////////////////////////////////////////////////// 22:50:23,718 INFO [STDOUT] ctx = javax.naming.InitialContext@1643e4b 22:50:23,906 INFO [STDOUT] ERROR [http-0.0.0.0-8080-1] (Log4JLogger.java:119) - Servlet.service() for servlet action threw exception java.io.InvalidClassException: org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: stream classdesc serialVersionUID = 3844706474734439975, loc al class serialVersionUID = 4582256576523491346 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519) ////////////////////////////////////////////////////// The code works perfectly in JBoss 3.0.8 but for JBoss 4.x it gives the above errors. Can somebody tell me how to invoke EJB from web application using JBoss 4.x app server ? Waiting for the early reply. Thanks. regards, Anand __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: bozmoz <do-...@jb...> - 2006-07-19 18:52:19
|
I solved my problem by using FormAuthValve. All I need is j_password, so FormAuthValve works fine. <Context> | <Valve className="org.jboss.web.tomcat.security.FormAuthValve" | includePassword="true"/> | </Context> | View the original post : http://staging.jboss.com/index.html?module=bb&op=viewtopic&p=3890829#3890829 Reply to the post : http://staging.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3890829 |
From: bozmoz <do-...@jb...> - 2006-07-18 23:58:38
|
Well, it didn't "stop working", it actually never worked. It was just coincidence that made me think it worked. I found this bug ... http://jira.jboss.com/jira/browse/JBAS-3286 It says that at least before 4.0.4 sp 1 the ExtendedFormAuthenticator does not work if the first attempt to login is good. To try it our, I made a new user... name = "aaaa" pwd = "password" Then restarted and tried to login with... name = "aaaa" pwd = "pppppppp" It failed as expected. Then I used... name = "aaaa" pwd = "password" It passed as expected. But what I got for j_password was "pppppppp"! The one I didn't login with! ... Ouch! I'd love to know if this works with any version of JBoss. From the bug report it looks like JBossAS-4.0.5.CR1 has a fix. Has anyone seen it work well? In what version(s)? Also, are there any other options? Does anyone know if Acegi supports getting the password after login? Many thanks! ,boz View the original post : http://staging.jboss.com/index.html?module=bb&op=viewtopic&p=3890827#3890827 Reply to the post : http://staging.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3890827 |
From: bozmoz <do-...@jb...> - 2006-07-18 21:50:48
|
Why might ExtendedFormAuthenticator stop working? I'm having trouble with ExtendedFormAuthenticator. I set it up yesterday based on... http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator ...so I could get to j_password. It worked. This morning it worked too. But for some reason it stopped working. I've rebuilt and redeployed my webapp a few times, restarted JBoss a few times, but no luck. My context.xml file looks like this... <Context cookies="true" crossContext="true"> | | <!-- Add the ExtendedFormAuthenticator to get access to the username/password/exception --> | <!-- See http://wiki.jboss.org/wiki/Wiki.jsp?page=ExtendedFormAuthenticator --> | <Valve className="org.jboss.web.tomcat.security.ExtendedFormAuthenticator" | includePassword="true" /> | | </Context> I'm using JBoss 4.0.3sp1. My app has two web-apps. One uses certificates, the other form login. When a user logs into the form login webapp they are passed to the certificate login app. To get the user info from the form login app to the other, the formlogin app's HttpSession is added as an attribute to the ServletContext. Could this cause a problem with the ExtendedFormAuthenticator? In any case, I can see through trace code that j_password is not in the session after authentication even in the formlogin web app. (It was earlier today. But not now. And I swear I didn't change the formlogin app!) ... help?? ,boz View the original post : http://staging.jboss.com/index.html?module=bb&op=viewtopic&p=3890826#3890826 Reply to the post : http://staging.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3890826 |
From: Patricio F. <pat...@gm...> - 2006-07-18 12:50:24
|
Hi I'an having a problem while deploying stateless session EJBs to work with SSL in a JBoss 4.0.2. I follow the instructions from the jboss guide but still doesn't work It keeps throwing the following errors. Does anyone know what could by the problem? Thanks Patricio 2006-07-17 20:30:57,390 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: Prueba 2006-07-17 20:30:57,390 DEBUG [org.jboss.ejb.StatelessSessionContainer] TCL: org.jboss.util.loading.DelegatingClassLoader@1e4bece 2006-07-17 20:30:57,390 DEBUG [org.jboss.ejb.StatelessSessionContainer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. 2006-07-17 20:30:57,406 DEBUG [org.jboss.ejb.StatelessSessionContainer] End java:comp/env for EJB: Prueba 2006-07-17 20:30:57,406 DEBUG [ org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJBLocalHome of Prueba to local/Prueba@13959061 2006-07-17 20:30:57,406 ERROR [org.jboss.ejb.StatelessSessionContainer] Starting failed jboss.j2ee:jndiName=Prueba,service=EJB java.lang.RuntimeException: invoker is null: jboss:service=invoker,socketType=SSL,type=jrmp at org.jboss.proxy.ejb.ProxyFactory.setupInvokers(ProxyFactory.java:244) at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:228) 2006-07-17 20:30:57,812 ERROR [ org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:jndiName=Prueba,service=EJB State: FAILED Reason: java.lang.RuntimeException: invoker is null: jboss:service=invoker,socketType=SSL,type=jrmp --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.j2ee:jndiName=Prueba,service=EJB State: FAILED Reason: java.lang.RuntimeException: invoker is null: jboss:service=invoker,socketType=SSL,type=jrmp The configuration changes I made are the: I put the SSL domain and the JRMP invoker in de jboss-service.xml <!-- The SSL domain setup --> <mbean code="org.jboss.security.plugins.JaasSecurityDomain" name=" jboss.security:service=JaasSecurityDomain,domain=RMI+SSL"> <constructor> <arg type="java.lang.String" value="RMI+SSL"/> </constructor> <attribute name="KeyStoreURL">Riesgos.keystore</attribute> <attribute name="KeyStorePass">rmi+ssl</attribute> </mbean> <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker" name="jboss:service=invoker,type=jrmp,socketType=SSL"> <attribute name="RMIObjectPort">14445</attribute> <attribute name="RMIClientSocketFactory"> org.jboss.security.ssl.RMISSLClientSocketFactory</attribute> <attribute name="RMIServerSocketFactory"> org.jboss.security.ssl.RMISSLServerSocketFactory</attribute> <attribute name="SecurityDomain">java:/jaas/RMI+SSL</attribute> <attribute name="ServerAddress">${jboss.bind.address}</attribute> <depends>jboss.security:service=JaasSecurityDomain ,domain=RMI+SSL</depends> </mbean> and in the jboss.xml of the jar y put the following <?xml version="1.0"?> <jboss> <enterprise-beans> <session> <ejb-name>Prueba</ejb-name> <configuration-name>Standard Stateless SessionBean</configuration-name> <invoker-bindings> <invoker> <invoker-proxy-binding-name> stateless-ssl-invoker </invoker-proxy-binding-name> </invoker> </invoker-bindings> </session> </enterprise-beans> <invoker-proxy-bindings> <invoker-proxy-binding> <name>stateless-ssl-invoker</name> <invoker-mbean>jboss:service=invoker,type=jrmp,socketType=SSL</invoker-mbean> <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory> <proxy-factory-config> <client-interceptors> <home> <interceptor>org.jboss.proxy.ejb.HomeInterceptor </interceptor> <interceptor>org.jboss.proxy.SecurityInterceptor </interceptor> <interceptor>org.jboss.proxy.TransactionInterceptor </interceptor> <interceptor>org.jboss.invocation.InvokerInterceptor </interceptor> </home> <bean> <interceptor> org.jboss.proxy.ejb.StatelessSessionInterceptor</interceptor> <interceptor>org.jboss.proxy.SecurityInterceptor </interceptor> <interceptor>org.jboss.proxy.TransactionInterceptor </interceptor> <interceptor>org.jboss.invocation.InvokerInterceptor </interceptor> </bean> </client-interceptors> </proxy-factory-config> </invoker-proxy-binding> </invoker-proxy-bindings> </jboss> |
From: Torsten K. <tk...@fa...> - 2006-07-17 15:39:36
|
Works now. I have to use jems installer + ejb3 profile. Using the patch1installer does not work. kind regards Torsten |
From: matt10 <do-...@jb...> - 2006-07-17 15:28:43
|
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:22:31,110 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:22:31,110 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:22:31,110 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:22:31,110 ERROR [STDERR] at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) 15:22:31,110 ERROR [STDERR] at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) 15:22:31,110 ERROR [STDERR] at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) 15:22:31,110 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) 15:22:31,110 ERROR [STDERR] at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) 15:22:31,110 ERROR [STDERR] at javax.security.auth.login.LoginContext.login(LoginContext.java:579) 15:22:31,110 ERROR [STDERR] at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601) 15:22:31,110 ERROR [STDERR] at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535) 15:22:31,110 ERROR [STDERR] at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344) 15:22:31,110 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:121) 15:22:31,110 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:67) 15:22:31,110 ERROR [STDERR] ... 27 more I'm unable to rule out the possibility that the client is failing to authenticate, this is as far as I have got. To the more experienced with Jboss/EJB3 security, my question is, should the @PostConstruct method be able to call the @Service method and will the identity of the logged-in user apply to the call? Or is this simply a failure to authenticate at all what with this being the first method call? The worrying thing is that on the client according to debug log messages, my simple CallbackHandler passed to LoginContext never gets called for the username and password. This I am also confused about. The client code looks like this: System.setProperty("java.security.auth.login.config", "src/META-INF/auth.conf"); CallbackHandler myHandler = new LoginCallbackHandler(); // LoginContext lc = new LoginContext("testuser", myHandler); LoginContext lc = new LoginContext("mydomain", new org.jboss.security.auth.callback.UsernamePasswordHandler("testuser", "testpass")); try { lc.login(); } catch (LoginException le) { System.out.println("Login failed"); le.printStackTrace(); } Properties env = new Properties(); // env.setProperty(Context.SECURITY_PRINCIPAL, "testuser"); // env.setProperty(Context.SECURITY_CREDENTIALS, "testpass"); env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); // MC env.setProperty(Context.PROVIDER_URL, hostname); // Contact EJB server // Context ctx = new LoginInitialContextFactory().getInitialContext(env); InitialContext ctx = new InitialContext(env); session = (UserSession) ctx.lookup("MyApplication/UserSessionBean/remote"); I have spent all day looking on the web and in forums for hints, and trying things. Can anyone help? Matt View the original post : http://staging.jboss.com/index.html?module=bb&op=viewtopic&p=3890825#3890825 Reply to the post : http://staging.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3890825 |
From: Torsten K. <tk...@fa...> - 2006-07-17 15:14:58
|
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 > > JBo...@li... > > https://lists.sourceforge.net/lists/listinfo/jboss-user |
From: Thomas H. <th...@jb...> - 2006-07-17 14:53:55
|
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 > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user |
From: Torsten K. <tk...@fa...> - 2006-07-17 14:28:48
|
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 |
From: floridaguys <do-...@jb...> - 2006-07-10 23:16:22
|
"floridaguys" wrote : Florida-based company looking for Florida based or to be based Java/jBPM experts to write unique application around jBPM. Immediate openings for programming and technical support. Long termers or short termes will be interviewed but you will want to stick around for these projects. | Preference to go to expert programmers and/or potential manager/partner. Florida Guys uninterested in hawking over the programming and support processes. Intranet/Internet and enterprise project capabilities. | | Take off the pants and Email rem...@gm...mypants with resume, info, location, give it all to us. More info. MySQL, Crystal reporting (other acceptable), programming can be performed off client site, need to be near the Florida Guys or willing to move to qualify, MS Server 2K environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956810#3956810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956810 |
From: floridaguys <do-...@jb...> - 2006-07-10 23:12:57
|
Florida-based company looking for Florida based or to be based Java/jBPM experts to write unique application around jBPM. Immediate openings for programming and technical support. Long termers or short termes will be interviewed but you will want to stick around for these projects. Preference to go to expert programmers and/or potential manager/partner. Florida Guys uninterested in hawking over the programming and support processes. Intranet/Internet and enterprise project capabilities. Take off the pants and Email rem...@gm...mypants with resume, info, location, give it all to us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956809#3956809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956809 |
From: dbatcn <do-...@jb...> - 2006-07-10 22:58:28
|
Putting a little information about this (dependence or lack thereof of javascript) in the Seam documentation area would be very helpful I think, particularly to people like me new to Seam/JSF/facelets/MyFaces/EJB3/JavaPersistence. I think that there's a large population of people like me who are Java-competent who need to create web apps and trying to decide whether to go forward with more recent Java stuff or move (defect?) to Ruby on Rails. Anything that gets people like this going will be hepful. I will admit as a newbie to this that the boundaries between the several projects/APIs I mentioned above are only slowly becoming clear, even with considerable reading from several sources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956807#3956807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956807 |
From: wussykye <do-...@jb...> - 2006-07-10 22:53:11
|
Sohil, I'm not accessing the cacerts file explicitly, I'm calling JCE KeyGenerator to create a key. When I call KeyGenerator.getInstance("DES"), I get the SecurityException when I'm running in container. I don't get this exception while running out of container. As far as I can tell, I'm using the same JVM for both Jboss and outside of jboss. Do I need to include the JCE jars in the EJB/EAR or include them in the classpath when I startup JBoss? The JCE jars are in the <java_home>/jre/bin/ext and the cacerts file is in <java_home>/jre/bin/security. Thanks, Colin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956805#3956805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956805 |
From: <wes...@jb...> - 2006-07-10 22:43:34
|
If this can't be done via the connection property, you could always develop your own custom interceptor that sets the property on the Handle. That would introduce an 'aspect' like behavior allowing you to turn it on and off and not liter your code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956804#3956804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956804 |
From: <wes...@jb...> - 2006-07-10 22:34:48
|
If you can do this via a connection property, then you can effectively do it for the entire pool. I would imagine this is a property that can be set 'up front' on the JDBC connection is this correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956803#3956803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956803 |
From: <bra...@jb...> - 2006-07-10 22:32:09
|
Our new lists are officially up and running at lists.jboss.org. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956802#3956802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956802 |
From: pthistleton <do-...@jb...> - 2006-07-10 22:22:51
|
My company is running JBoss 3.2.6 and was wondering whether it was possible to set a pool up to use SQL Server 2005 snapshot isolation. I know that I can reset the mode once I have a handle on it but we would like to run our entire pool this way so would like to avoid the code if we could. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956801#3956801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956801 |
From: jboss-Nth-Fan <do-...@jb...> - 2006-07-10 22:16:31
|
I've been using seam for a while. It's great. However, one of the things that seems to slow down the development process is that any minor change in the code (even resource files) would require Tomcat to restart. - at least in my config - I've noticed also after one of the RCs that the EJB microcont. now takes forever to load. My environment is Eclipse 3.2, Callisto w/WTP plugin, Tomcat 5.5.x, Seam 1.0.1GA. The code is based on the DVD example. I've search the forums but only found other cases that report slugish performance but no answer yet. Would anything in my eclipse/wtp/Tomcat config be changed to avoid restarting the server? Any Jira issue to improve performance in EJB embeeded container? Your suggestions/comments very much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956800#3956800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956800 |
From: adamw <do-...@jb...> - 2006-07-10 21:56:33
|
Hello, are the JSF pages (portlets) cached in any way? I have a jsf portlet on a page and when I open it, I see that a call to a request-scoped bean is made only once. When I refresh it, no calls are made. This affects the page behaviour: that bean checks if a user is logged in or not. So, if you open the page with this portlet, then login, the page won't "notice" - you need to delete the session cookie first to make it work. -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956797#3956797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956797 |
From: kraptor <do-...@jb...> - 2006-07-10 21:43:50
|
I'm using Portal 2.4.0 CR1 and I'm facing the same problem. I would appreciate any help on the same issue too... perhaps there is a timeout setting that can be tweaked? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956796#3956796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956796 |
From: petemuir <do-...@jb...> - 2006-07-10 21:35:04
|
http://facelets.dev.java.net is the facelets homepage, it's linked off there, nabble carries it, perhaps others. Gavin et al, this is perhaps something that that should be on the FAQ. In fact, can the FAQ be a wiki page so it is easily editable? Or developed on the wiki or something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956793#3956793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956793 |