[jboss-user] [JBoss AOP] - AOPC compiler seems to run successfully without Aspectizing
I recently got introduced to JBOSS AOP and was able to try out the sample code. Thanks to the development team for all their efforts. My development environment is Windows XP, JDK build 1.6.0_03-b05 and JBoss-AOP_1.5.6.GA I am facing a interesting issue while using the AOPC compiler. The compiler runs successfully and completes its execution in approx 200ms without actually aspectizing any code or reporting any errors. My project directory structure is as follows: ProjectDir |- src |- lib |- bin I am trying to Aspectize a class called DBSession.java in the package com.wills.db (i.e. com.wills.db.DBSession). This class provides an API called getConn() that returns a java.sql.Connection. To intercept the getConn() method I have written an Aspect called ConnDetectorAspect.java and provided binding in the jboss-aop.xml as follows | | | | | | | After compiling the classes using javac (ANT task) the class file com.wills.db.DBSession.class and my.aspects.ConnDetectorAspect.class are generated in the bin directory. Here are some snippets from my ANT build file | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After running the compile-aop ANT task I get the following output indicating successful run of the compiler | compile-aop: | [echo] Source files in C:\ProjectDir\src | [echo] Files to be AOPed in C:\ProjectDir\bin | [echo] | [echo] $-- Class path used by AOP | [echo] | | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\concurrent.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\javassist.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\jboss-aop-jdk50-client.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\jboss-aop-jdk50.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\jboss-aspect-jdk50-client.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\jboss-aspect-library-jdk50.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\jboss-common.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\jrockit-pluggable-instrumentor.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\pluggable-instrumentor.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\qdox.jar | [echo] `-- C:\Tools\jboss-aop_1.5.6.GA\lib-50\trove.jar | [echo] `-- C:\ProjectDir\bin | [echo] | [aopc] [debug] Passed in instrumentor: null | [aopc] [debug] Defaulting instrumentor to: org.jboss.aop.instrument.ClassicInstrumentor | [aopc] [debug] jboss.aop.class.path is NULL | [aopc] [debug] jboss.aop.search.classpath: 'null' true | [aopc] [debug] jboss.aop.path: C:\ProjectDir\build\jboss-aop.xml | [aopc] jboss.aop.path[0]: C:\ProjectDir\build\jboss-aop.xml | [aopc] [deploying] file:/C:/ProjectDir/build/jboss-aop.xml | [aopc] AspectXMLLoader using [EMAIL PROTECTED] | [aopc] Build Successful: 187ms | As you can see the compiler did not Aspectize the DBSession class as anticipated and there are no errors. I have verified that the correct jboss-aop.xml is getting picked up. Am I missing something obvious. Any suggestion is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125391#4125391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Warning:
I keep seeing a similar message on my local setup where Hibernate is involved. anonymous wrote : 13:14:14,911 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext >From what i have seen so far, this is a harmless message and you can safely >ignore it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125392#4125392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Jboss 2.0.1.GA UrlRewritting how to ?
OOOh.. i'm always finding the solution after posting.. it pisses me off :((, DVDSTORE example has urlrewrite :D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125388#4125388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: J2ee module dependency and seam EAR project problem
Hi, Max, the JIRA somehow aborts after submitting. But I have made to videos with JINQ. The one that works with Seam 2.0.0 http://www.screencast.com/t/pIDiKVHBg8 and the one, that does not work with seam 2.0.1 http://www.screencast.com/t/JBPn7dXBnHh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125389#4125389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Programmatic User Role and User creation
http://wiki.jboss.org/wiki/Wiki.jsp?page=Identity_API_in_JBoss_Portal_2_6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125387#4125387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Jboss 2.0.1.GA UrlRewritting how to ?
Is there a sample that uses urlrewrite ? or do you have something on the wiki about it ? cause I can't find it, and i'm pretty interested in seeing it in action. Thanks allot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125386#4125386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
Try this :D STOP USING RHDS RC1. I had allot of hassle with that thing to. Download Eclipse WTP and JBOss TOOLS.. good luck View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125385#4125385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
Bah, my xml-tags got stripped out of my response. Replace b) with: b) A element is specified in pages.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125384#4125384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
When I say protected, I mean that either: a) login-required="true" is set in pages.xml b) A element is specified in pages.xml or c) A component method is annotated with @Restrict As for the silent authentication, look at Identity.hasRole() and Identity.checkPermission(), both of these methods call isLoggedIn(true), which will attempt to authenticate if the user's credentials are set. I have tested this code and it all works as expected. If you are experiencing problems then perhaps there is something particular to your use case that I am missing. If you would like to raise an issue in JIRA with a reproducible test case then I'd be happy to look at it for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125383#4125383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using @In to get the Hibernate session
Well, something like that is suggested in section 8.4 of the manual. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125382#4125382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to prevent page data reloading when click Back
I guess, that backing bean gets initialized on every request, which may be due to too narrow scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125377#4125377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection timed out
That could be one solution, but the server has no access to the internet. Thanks Sven View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125375#4125375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to
Thank you, jpechane! just replied so quickly. I have tried that, and found that it really points to the node I wanted! and now the things left seem to be like reinitialize the tasks for the users and so on. thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125373#4125373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to
Hi, look onto Token.setNode() method. J. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125372#4125372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What are the aslias defined for the built in seam compon
Thanks for the clarification, really appreciate it. I don't have the required insight knowledge in order to provide a good solution. One suggestion I have would be: it seems that the components need to registered with seam first in order to be used. Theoretically, a map from the component's names to the component can be built for fast look up whenever a component is referenced. I do think this worth given the extra care as component references are everywhere in a Seam application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125369#4125369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss Service Doesnt Stop
Using Native JBoss i m running my jboss service. but i get the problem when i try to stop the service.. From control panel when i stop the service, it shows it as stopped. but i can stilll access the jboss from the browser. when i tried using this command: service stop jbas42svc this is the error message that is displayed Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.Shutdown.main(Shutdown.java:214) Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243) ... 5 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:265) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239) Have i missed out any configurations...??? Thanks, Raghav View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125368#4125368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - is it possible to force the token jump from one node to anot
Hi, everyone! I am just wondering if it is possible to force a process instance to change its "current node". for example, there is a process definition as: Task1 -> Task2 -> Task3 -> -> Task10 -> Task11 -> END and when a process instance is created and the root token points to Task3, but one day for some resean I want to force the token points to Task10(or any other possible node) so that the process instance can ignore some task nodes and can finish early or something like that. just as you can see, I can not predefine the transitions to satisfy this scenario. So can anyone please tell me how to do, or just provide some threads for me to follow... Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125366#4125366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - FYI, JBoss 3.2.7 + AOP 1.3.6 with load-time weaving seams in
I was trying to retrofit an old project running on JDK 1.4, JBoss 3.2.7 with AOP and load-time weaving. I read in the forums that it is believed to work with aop v1.3.6 (I forget the reference). When I tried this, I got an error that the UnifiedClassLoader doesn't have a clearBlacklist method (or maybe it was clearBlackList -- notice the case of the 'L'). Observing CVS commits indicates the case of the method was changed at some point but I don't know what release version it affects. In any case, I just want to post this so that others know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125363#4125363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss Not Working On IpAddress. Works Only On localhost
i used the command: service stop JBAS42SVC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125364#4125364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Understanding JBoss Messaging and SPOF (Single Point of
"timfox" wrote : | | JBossMessaging 2.0, which is what we are currently at work on has major improvements in the area of persistence. | | We will support: | | 1) Shared JDBC database - like in 1.x | 2) Unshared JDBC database per node (already working in TRUNK) | 3) Unshared file based journal per node | | For HA we will also support replication between nodes for a "shared nothing" approach. | | Also we'll support failover via a shared file sytem (e.g., GFS over a SAN) in the case one is available. | | Lots of other great new things in JBM 2.0 including a brand new super fast NIO transport using Apache MINA. (Trustin Lee the author of MINA is now a JBoss employee), and many other features. Awesome! That sounds like an exhaustive feature set! Now the obvious questions.. any chance some of these features can/will be backported to 1.4.x? Also, in your opinion, is what's in source stable enough to start building a solution? i.e do you think the interfaces and such are pretty well fleshed out at this point? anonymous wrote : | Also see JIRA for JBM 2.0 tasks and provisional timescales. We should have a GA released towards the end of the year. | | There is also a little bit more info on the jboss labs JBM project page. | I spent some time browsing JIRA, but can't seem to find the 2.0 provisional timescale. Any chance you can post a link? anonymous wrote : | JBM 2.0 is the subject of my talk at JBoss World in a couple of weeks. Why don't you come along and find out more? | I just started a new job this week, and doubt I've earned enough creed to justify a trip out so soon. :) Perhaps next year. Tim, I really appreciate you taking the time to respond. It's good to see the community alive & well post acquisition. thanks, Deepak View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125362#4125362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss Not Working On IpAddress. Works Only On localhost
Hi.. Thanks for the solution. Now my jboss service runs fine but i get the problem when i try to stop the service.. From control panel when i stop the service, it shows it as stopped. but i can stilll access the jboss from the browser. when i tried using this command: service stop this is the error message that is displayed Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.Shutdown.main(Shutdown.java:214) Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243) ... 5 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.(Socket.java:365) at java.net.Socket.(Socket.java:265) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239) Have i missed out any other configurations...??? Thanks, Raghav View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125361#4125361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What are the aslias defined for the built in seam compon
Yes, that's pretty much what it does. Yes, it's not exactly efficient, but I'm not sure I know another way to do it that preserves correctness. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125360#4125360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2.0.1.GA - janino
seam Build has link to maven repository that does not have janino 2.5.10 if you have other project using maven you can get it from your reps | | janino | janino | 2.5.10 | runtime | | or http://ubuntu.cica.es/mirrors/maven2/janino/janino/2.5.10/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125358#4125358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
"[EMAIL PROTECTED]" wrote : If you're invoking a restricted method and the credentials are set (which is what the AuthenticationFilter does) then a silent login will automatically occur, with no need to explicitly call Identity.authenticate(). Digest authentication is a special case, with a special type of authenticator. You have to keep in mind that the request may be for an unsecured resource, for which authentication may not be required. If that is the case then you don't want to be prompting the user for their username and password. I wasn't able to find any code to support your claim so far. First of all, the AuthenticationFilter is only invoked when its urlPattern matches the requested resource. This is done in the SeamFilter$FilterChainImpl inner class: | if (filter instanceof AbstractFilter) | { |AbstractFilter bf = (AbstractFilter) filter; | |if ( bf.isMappedToCurrentRequestPath(request) ) |{ | filter.doFilter(request, response, this); |} | |else |{ | this.doFilter(request, response); |} | } | | Therefore, it will not be used if the resource requested is not a protected one. Secondly, I'd like to see you pointing out to me where the "silent login" happens. So far with my own research, the JAAS login() is triggered via the Identity.authenticate() call. This is not a automatic process, it needs to be invoked from somewhere and it is not done with the current code if it is BASIC authentication. I have to question that if you have done any testing on this, or even look it up in your code before making your claim. I have put in the identity fix myself and tried it out before posting my workaround, and my test confirmed that without the 2nd fix I mentioned, the authentication does not "silently" happen. You end up keep getting username/password prompt from the client browser. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125357#4125357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB Local Home in EJB 3.0
Hi, Is JBoss supports LocalHome? I am not able to lookup from the JSF backing bean which is also in the same ear file. I have created an Stateful Session Bean as follows @Stateful @LocalHome(value=TestUserHome.class) public class TestUserBean implements TestUserLocal { @Init public void initDefault(){ } ... } My ear package is as follows. MyApplication.ear | | entities.jar | | ejb-beans.jar | | webapp.war | | META-INF | | application.xml I need to lookup the TestUserHome which is in ejb-beans.jar from my JSF backing bean which is webapp.war. I tried the following ways to lookup none of them successful. a) TestUserBean/localhome b) TestUserBean/home c) ejb-beans.jar#TestUserBean/home d) Define in web.xml as follows TestUser Session com.test.TestUserHome com.test.TestUserLocal and in jboss-web.xml TestUser TestUserBean/localhome e) TestUserHome.class.getName(); Please suggest me how to lookup LocalHome. I am using jboss-4.2.2.GA Thank you, Gupta. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125356#4125356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Warning: "InitialContext did not implement EventContext"
Dear, I met the warning message when i deploy my application JBoss 4.0.4 GA Patch 1. JBoss is configured with JBossJTA, Hibernate + Oracle. I have search on internet how to solve this problems. Unfortunately, i can not find the solution. Could you please help me to remove this warning? Any help will be appreciate. Regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125355#4125355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: value of context variable is not an instance of the comp
Can you reproduce this problem? We should be clearing out old components, but we're obviously missing something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125352#4125352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Can a jBPM condition expression contain input parameters?
Hi, The jBPM userguide points to the JEE expression language for its condition expressions: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html I read the JEE page concerned, but am not able to figure out if it is possible to have a condition expression like: workflowState.xmlUtil ("/RootElement/SomeElement['someAttribute']") == 5 This allows condition expressions in a workflow process definition to be modified whenever the data supplied to the workflow has undergone a structural change, for example, when the XML document supplied has a new attribute in a new node, without having to write a bean class containing bean.getSomeAttribute(). Does anyone know if such condition expressions are accepted by jBPM? If they are, where can the syntax information be found? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125351#4125351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Connection timed out
I have seen this problem. It is happening because JBoss cannot get out to validate an xml file. If you are behnd a firewall this can cause it. I got past this by passing the following parameters to JBoss 5. -Dhttp.proxyHost=x.x.x.x -Dhttp.proxyPort= where x.x.x.x is the hostname of your proxy, and is the port. I am thinking it may still work with 4.2.2. Good luck, Edward View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125350#4125350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Using @In to get the Hibernate session
I'm using SMPC, and Hibernate is the underlying provider. I can't live without Criteria queries. Is it reasonable to do this: @In("#{entityManager.delegate}") | private Session session; ? My entire app won't work without using Hibernate as the provider, and I need to use getDelegate() anyway, so any reason not to do it that way? Does the SMPC figure everything out when I use EL to do getDelegate() like that? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125349#4125349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
If you're invoking a restricted method and the credentials are set (which is what the AuthenticationFilter does) then a silent login will automatically occur, with no need to explicitly call Identity.authenticate(). Digest authentication is a special case, with a special type of authenticator. You have to keep in mind that the request may be for an unsecured resource, for which authentication may not be required. If that is the case then you don't want to be prompting the user for their username and password. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125348#4125348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - does not include Request parameter in 2.0.0 GA
i observed an interesting behavior with the and request parameters just now. in pages.xml in hello.jsp this line of code, , is translated to Notice the empty values for the firstName in lastName parameters in the onclick event even if the person object's corresponding attributes contain values. this line of code without the view attribute in the button tag works - to I'm using Seam 2.0.0 GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125346#4125346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - problem wiht Identity object
Suppose I have a box whose hostname is not resolvable via DNS (I know, I know, but for people demo'ing software on a laptop, we've seen it happen). So, I cannot "ping `hostname`" but I can "ping 127.0.0.1". Look at NetworkRegistry: public ObjectName preRegister(MBeanServer mBeanServer, ObjectName objectName) throws Exception |{ | this.mBeanServer = mBeanServer; | this.objectName = objectName; | // make sure our identity system property is properly set | Identity identity = Identity.get(this.mBeanServer); | ... | Now look at the Identity.get() method it called there: | if(identities.containsKey(server)) | { | return (Identity) identities.get(server); | } | try | { | String serverid = (String) server.getAttribute(new ObjectName("JMImplementation:type=MBeanServerDelegate"), "MBeanServerId"); | Identity identity = new Identity(InetAddress.getLocalHost(), createId(server), serverid); | identities.put(server, identity); | return identity; | } It calls InetAddress.getLocalHost() but if that fails (and it will if the local hostname is not resolvable) you can *never* start a NetworkRegistry object. If there is an exception here in that call to InetAddress.getLocalHost(), it should fallback and use: InetAddress getByName("127.0.0.1"). I tried setting "jboss.identity" sysprop to Identity.createUniqueID() but unfortunately, that sysprop isn't used in this class and NetworkRegistry never looks to see if that is set as a fallback. I understand that without a resolvable host, it hobbles things - but for demo purposes of software that will ONLY ever run on a single laptop over the loopback network adapter on 127.0.0.1, this should still work without me having to disable things like the NetworkRegistry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125344#4125344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: InboundJavaMail MDB
No. But file a feature request in the JBoss AS JIRA - it's certainly doable. If you can write a patch, then I can probably get it in sooner (but probably not until post JBoss AS 5 anyway). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125340#4125340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
"[EMAIL PROTECTED]" wrote : The authentication should be triggered when calling/accessing a restricted Seam component, doing the chain.doFilter() call. It can't happen in the filter as not all contexts exist at that point in time. My point might not be right as I am not as familiar to the framework as you do. However, I don't think your answer is correct. chain.doFilter() will trigger the AuthenticationFilter logics to challenge the client for entering username / password. Once that information is entered, browser sends it to the server in the HTTP header. Seam then needs to invoke the #{authenticator.authenticate} method to perform the authentication in order to validate the username / password, which is defined in the components.xml file: The current logics only obtains the username / password, but does not invoke the authenticate method to actually validate this information. If you look at the processDigestAuth() method of the AuthenticationFilter class, you will see it actually invokes the authenticate() method: |private void authenticate(HttpServletRequest request, final String username) | throws ServletException, IOException |{ | new ContextualHttpServletRequest(request) | { | @Override | public void process() throws ServletException, IOException, LoginException | { | Identity identity = Identity.instance(); | identity.setUsername(username); | identity.authenticate(); | } | }.run(); |} | As the code shows, this invocation is done in the ContextualHttpServletRequest environment, which creates necessary context objects. processBasicAuth() needs to do the same thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125339#4125339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ
Thanks for a great effort Jay. Spotted a (pasting) error in the classpath of the jboss-seam-jee5/HotelSearchingAction local interface. Otherwise your instructions are fine: have now successfully migrated a JEE5/EJB3 application over to Websphere 6.1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125336#4125336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: connect jboss to db2 on IMS (mainframe)
I am considering a few issues here. Mainly, for a udb db2 connection, you specify the database instance owner/user, and a password. i.e. : datasource_name jdbc:db2://server:port/database com.ibm.db2.jcc.DB2Driver username password But for a mainframe db2 connection, a user authenticates to a db and schema with an individual logon and password from a racf (or similar authentication) backend. So in that case, I am wondering how to pass on a unique logon and password to the already defined datasource. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125337#4125337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Jbom retrieve information
Either: - custom query or - retrieve all processes, loop over them to get tasks, loop over them to get all actors I'd go for the first View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125335#4125335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JPAQL editor with Hibernate Tools
hehe - MyEclipse bundles Hibernate Tools but does not know that HQL is a superset of JPQL ;) Anyhow, hibernate tools does not put such arbitrary restrictions in place. The HQL editor supports both HQL and JPAQL because HQL>JPAQL. It just needs a Hibernate Console configuration which can be based on JPA META-INF/persistence.xml and hence be JPA based - this is how we support if for Seam projects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125332#4125332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Extending / changing a JPDL pageflow in Seam
you can create pageflows runtime, so maybe you can create your own 'definition' and generate each pageflow.xml runtime. No merging needed then View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125333#4125333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is Page directive built-in with JBPM ?
page flow is for 'wizards' or e.g. one pageflow per task. not one element of a pageflow specific for one task. Pageflow works identical (api wise) as jpdl. But pageflow without seam is not that interesting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125328#4125328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: gpd.xml & ISO-8859-1 encoding
? I completely miss the point of your question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125329#4125329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Token.signal() ---> 2 tokens?
I should not have kept you in the dark there are 2 tokens... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125326#4125326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need jbpm database ?
- the subprocessresolver is pluggable. - main should become before sub if binding is not 'late' or left out - no database needed (see item 1) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125327#4125327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
The authentication should be triggered when calling/accessing a restricted Seam component, doing the chain.doFilter() call. It can't happen in the filter as not all contexts exist at that point in time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125325#4125325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: label and value
'instance of the Entity' is a weird term to me Seam, when it was in CR, created an arbitrary value to represent the entity and made that number the value of the selectitem when it was rendered. The convertEntity tags takes that choice, grabs it's corresponding entity and injects that into whatever value you set it to. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125322#4125322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: InboundJavaMail MDB
to add some more details, what I'm trying to do is have the MDB check a different email account in my dev environment vs the production environment. If anyone has a better way of achieving this I would be grateful. Cheers, Pucky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125320#4125320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - InboundJavaMail MDB
I'm wondering if it's possible to configure an MDB to use the java:/Mail jndi reference rather than hardcoding it via @annotations i.d. something like this. @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName="connectionFactoryJndiName",propertyValue="java:/Mail") }) @ResourceAdapter("mail-ra.rar") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125317#4125317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unable to save ProcessInstance after adding RuntimeActio
Maybe a stupid question, but since it is a runtime action, why not remove it before persisting? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125318#4125318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Token.signal() ---> 2 tokens?
Don't 'expect', be sure. So probably there is more than one token. Look at the unit tests in cvs to see how the internals of jbpm work for forks. Unit tests are so great... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125316#4125316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JPAQL editor with Hibernate Tools
Currently, MyEclipseIDE 6.0.x does not have a JPAQL-specific editor (only HQL editor). For details, please read the following thread I started: http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=18951 Jboss Tools includes Hibernate Tools: http://docs.jboss.org/tools/2.0.0.GA/hibernatetools/en/html_single/index.html (see 3.7. Hibernate Console perspective) After reading the Hibernate Tools doc above, it looks like there is no JPAQL-specific editor (only HQL like MyEclipseIDE). Although I haven’t tried it yet. Does anybody use or know of a JPAQL editor that we can use? Does the HQL editor in Hibernate Tools work with JPA projects? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125315#4125315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What are the aslias defined for the built in seam compon
Thank you for the quick reply. So if I understand you right, with an import statement like org.jboss.seam.core org.jboss.seam.transaction in the seam.jar components.xml file, when I use #{contexts}, seam will: 1. try to find the "contexts" component in all the available contexts 2. if failed, seam will try to find the "org.jboss.seam.core.contexts" component instead 3. if failed again, seam will try to find the "org.jboss.seam.transaction.contexts" component 4. repeat step 3 till seam finds a matching component or all imports are tried If true, this wouldn't be very efficient, would it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125314#4125314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: long live consumer stops working
I have executed your examples... and I realized you have several debug options set. so, few questions for you: I - Have you used debugging during your tests? II - Also.. have you seen this sort of message on server? "16:09:52,005 WARN [SimpleConnectionManager] A problem has been detected with the connection to remote client 3j011-dg4k19-fc3uylzr-1-fc3uymin-4, jmsClientID=b-7omyu3cf-1-rzlyu3cf-91k4gd-110j3. It is possible the client has exited without closing its connection(s) or the network has failed. All connection resources corresponding to that client process will now be removed." III - If you start another client, Long-live-queue-consumer, would you see messages arriving? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125313#4125313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to prevent page data reloading when click Back
Hi there, When I run the Seam example (seam-space), I browsed several pages, then I clicked Back to go back the previous browsed pages, I found there are no any page data reloading from database. However, when I clicked Back in my project, every previous page would reload data again from database. Anybody know how to prevent the data reloading? Thank you very much in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125312#4125312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: JBoss and Web sphere MQ problem
Hi Adrian, thanks a lot for your reply. Let me brief about my environment. I am using JBoss 4.2.1 and we are trying to connect to "IBM MQ 5.2". Documentation on the wiki is stating that it supports only 5.3 and above. It is really appreciated if you could provide any guidance/help on "how to communicate from JBoss 4.2.1 to IBM MQ 5.2". Thanks a lot VVK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125307#4125307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: bad stream errors on two xml/xsd files in JBT2GA
I still don't know why you are saying "bad stream". Are you actually getting an Bad Stream exception somewhere - if yes, what is it ? please report in jira with screenshots and logs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125306#4125306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Using Seam 2.0.1.CR1 with JBoss Tools 2.0.0.GA
did you see any issues ? It should just work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125302#4125302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: J2ee module dependency and seam EAR project problem
please report a bug in jira with *exact* steps on how to reproduce it. use jinq if you can and use Help > Report problem and attach the generated file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125301#4125301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.1.GA Generate Entities fails
Amm, disregard this since I've probably written something stupid in my classes :( sorry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125300#4125300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 2.0.0.1.GA Generate Entities fails
First if I don't use @org.hibernate.annotations.Entity Seam Generate Entities from Existing classes fails with a no JPA Installed. If I do use the hibernate annotation it doesn't generate anything :-?? Is anyone else experiencing this ? Or am I the only one fortunate enough ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125299#4125299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: org.jboss.ejb3.remoting.BaseRemoteProxy serialid excepti
We're getting an identical error when an application deployed on JBoss422 tries to get a remote interface to an ejb that's deployed on JBoss404. I suspect that there has been a change in the org.jboss.ejb3.remoting.BaseRemoteProxy. We have an isolated class loader as default on our JBoss servers and if we put the jboss-ejb3-client.jar that is deployed on JBoss404 into the ear that is deployed on JBoss422 we no longer get the error. However, now we can't access 422 specific classes and get "JBossProxy not visible from the classloader" errors when trying to access the objects on the 422 server. It would seem that if you want to move from JBoss404 to 422, you will need to update ALL of the servers at the same time because of these incompatibilities. There doesn't seem to be any problem with using remote queues however. If anyone out there can tell me I'm wrong I'd be most pleased to know because for now I'm going to have to revert those servers running on 422 back to 404 until we can upgrade all at once. Thanks JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125296#4125296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad Integration Issue
@Raoul: In our project we are also using Richfaces and Trinidad together. I encountered exactly the same problem. I created a jira issue for that: http://jira.jboss.org/jira/browse/JBSEAM-2374 Well, until now I have found no solution to the problem and just live with the error message in the log.. but you are right, that is not an applicable solution. Even worse since the Richfaces version prior 3.1.3 show the error *every* time the page is loading, not only the first. And I have to use Richfaces 3.1.2 because later versions have a still unsolved memory leak with the dropdown menue in Firefox. Well, all in all Richfaces work together with Trinidad however, there are small but nasty issues when using them together... one thing for example is the different approach of partial page rendering.. And the use of Trinidad tables (tr:table is much better than Richfaces tables imho and this is the main reason why we are using Trinidad) with Richfaces a4jsf controls can also be a bit tricky sometimes... Please let me know if you find a solution... or encounter other problems.. maybe I could help.. Regards, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125292#4125292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What are the aslias defined for the built in seam compon
This probably needs better documentation, but when you ask for a "foo" component, Seam first looks for "foo" and then it looks for "foo" in any imported namespaces. Note that components can have @Import declarations, and I believe that we have an open issue for imports in a *.page.xml file too. (Not sure if that is in now or not) Seam does not use the factory tag internally anymore. I've opened http://jira.jboss.com/jira/browse/JBSEAM-2563 so we can get the docs updated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125289#4125289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception with basic authentication
"[EMAIL PROTECTED]" wrote : This should be fixed in CVS now, please let me know if there's any further issues with HTTP authentication. Has this been tested? Because when I look at the code in the latest trunk, I didn't see any code that would fix the second problem I mentioned (see the "Problem 2" in my previous posts). That is, the basic auth processing logics does not call identity.authenticate() anywhere. Where is the authentication been triggered? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125288#4125288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Token.signal() ---> 2 tokens?
I mean, i move my token to the fork. Then again token.signal() Then i check with | Collection c = jbpmContext.getTaskMgmtSession().findTaskInstancesByToken(token.getId()); | log.info(" Number of TaskInstances for Token: " + c.size()); | the number of available TaskInstances for this token, and the number is 1. But i m expecting 2. thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125285#4125285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to destroy a HTTP session (HELP!)
I am having a problem implementing a logout page for an Adobe Flex application on JBoss 4.2.2.GA. The application sends commands to a secure (via JAAS basic authentication) JBoss Java servlet. I apparently correctly implemented the basic security and a custom login module (extending the AbtractServerLoginModule) since my web browser does request a username/password when I first attempt to download the client application. At this point, since JBoss is using basic authentication, the username/password is cached in my browser and sent with all other command requests. Additionally, JBoss is using session cookies so my JSESSIONID cookie is defined as well. When a logout command is sent by the client application, I attempt to invalidate the session by calling the getSession() method on the HttpServletRequest object and then calling the invalidate() method on the returned session. However, this does not call the logout method of my custom login module (which extends the AbtractServerLoginModule), remove the principal from the JBoss JaasSecurityManager cache, nor apparently cause the authentication cache of Internet Explorer to clear. In fact, it seems that the servlet does not have a HTTP session associated with it and obtains a new session object when I call the getSession() method (when I call getSession(false), a null reference is returned). I do not understand this... or how I can access (and destroy) the current HTTP session. My jboss-web.xml in the application .ear contains the following: | | | java:/jaas/MyRealm | | which as I understand it, should cause the logout method of my custom login module to be called on session invalidation. I did manage to clear the JaasSecurityManager cache programatically (which calls my logout method), but that still leaves the cache on Internet Explorer intact and the HTTP session still exists... | String domain = "MyRealm"; | Principal user = req.getUserPrincipal(); // req is HttpServletRequest | ObjectName jaasMgr = new ObjectName( "jboss.security:service=JaasSecurityManager" ); | Object[] params = { domain, user }; | String[] signature = { "java.lang.String", Principal.class.getName() }; | MBeanServer server = ( MBeanServer ) MBeanServerFactory.findMBeanServer( null ).get( 0 ); | server.invoke( jaasMgr, "flushAuthenticationCache", params, signature ); | I would like to destroy the session data (hopefully clearing the JSESSIONID cookie, calling my logout method, and clearing the browser authentication cache). Do I need to access the HTTP session information in a cache somewhere? And if so, how do I access it? Any thoughts or suggestions? I could really use some expert advice... Kerry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125284#4125284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Combine Listboxes
The plan is to construct a form where one can enter Values like "5a" or "10c" - it's always a number and a character. To make it comfortable I thought about two selectOneListbox. One showing the numbers, the other one shows the characters. I need the combination of these both as a String for a query. Has anybody an idea? I tried to provide a byte and a char field in my session bean which results in a "could not set field value" error when loading the XHTML page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125282#4125282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - What are the aslias defined for the built in seam components
I did lots of search but not able to find the answer. In chapter 28 of the reference doc, quote "Note also that even though all the built in components use a qualified name, most of them are aliased to unqualified names by default.". I checked the jboss-seam.jar/META-INF/components.xml file and its contents looks like: | | http://jboss.com/products/seam/components"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd";> | | org.jboss.seam.core | org.jboss.seam.transaction | org.jboss.seam.framework | org.jboss.seam.web | org.jboss.seam.faces | org.jboss.seam.international | org.jboss.seam.theme | org.jboss.seam.pageflow | org.jboss.seam.bpm | org.jboss.seam.jms | org.jboss.seam.mail | org.jboss.seam.security | org.jboss.seam.captcha | | | And I could not find any components.xml files under above mentioned packages. So I've got two questions: 1. I could not find any documentation on how this tag is used. What does it mean? 2. Where are the list of built in components are defined? Specifically, their alias names? The ref document mentioned most of the built in components, but it didn't list them all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125281#4125281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Jboos Wiki install - help
Peter, Following you last email, I went ahead and downloaded jboss-portal-2.6.2.GA and installing I them deployed the wiki.war file and it automatically creates a TAB on my default page. When I clicked on the Wikiportlet tab I get the same errors. You mentioned something (2) about databases. Maybe that is where I am going wrong. I have not done anything with databases. I know that I did not have any problems in 2.63 until I deploy the wiki.war, I was able to deploy the IFrame without errors. Am I supposed to set up a database before I can deploy the wiki? 10Q - rotseN View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125279#4125279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: closing or finishing conversations....?
Are you sure you really want to force the conversation to end? Why not just abandon the conversation (propagation=none) and let Seam timeout the conversation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125278#4125278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Token.signal() ---> 2 tokens?
Hello, could you please give me a short answer to this understanding problem? The example situation: TaskNode A --> Fork Fork --> TaskNode B Fork --> TaskNode C Lets assume, i have a token in TaskNode A. Now i call token.signal(). The token moves to Fork. Now again token.signal(). Do i result in 2 tokens, one for TaskNode B, one for TaskNode C? Or do i only have one token for both TaskNodes? I have this situation in my code, and dont know how to get all active TaskInstances after leaving a fork thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125276#4125276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java null pointer exception in based on
"[EMAIL PROTECTED]" wrote : | I am new to Seam .and I am suing richfaces | Don't sue them, they are trying their best! ;-) What happens at Caused by: java.lang.NullPointerException at com.coorserpark.backing.CargoActionBean.editCargo(CargoActionBean.java:59) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125277#4125277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Poll: what JSF framework are you using with Seam?
so, did any of you try Seam/Richfaces tree with interactive features (click on expanded node)? I see the Seam-built new SeamFramework.org without any tree structure. Guess people already know something about it. How about GWT? some brave souls has attempted, but the conversion is not propagated there yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125275#4125275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - https - Unable to verify the identity of as a tru
Hi, We are using https to access our web site. We are using JBOSS AS 4 When we access the site using Internet explorer, we don't get any warnings. But when we access the same website through Mozilla, we alsways get a warning - Unable to verify the identity of as a trusted site. So is this a problem with Mozilla or this is a problem with the configuration on our JBOSS server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125274#4125274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unwanted datamodel update on action cancel
You are probably using an Extended Persistet Context. If you really need it try making the country field (the one you edit) a String property of some backing bean and dont use the Entity property directly. If the user clicks to save the country set the Entity property with the new value and if he clicks cancel just do nothing but redirect to the appropiate view. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125270#4125270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessageSucker: How to change password ?
Sorry you're running 1.4.1, it's: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/configuration.html#conf.securityMetadataStore.attributes.suckerpassword View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125266#4125266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessageSucker: How to change password ?
You will find it in messaging-service.xml. | MyPassword | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125265#4125265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MessageSucker: How to change password ?
http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.serverpeer.attributes.suckerpassword View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125264#4125264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: J2ee module dependency and seam EAR project problem
I have just created two new "seam dynamic web projects". When i choose a seam 2.0.0 runtime, the above errormessage does not show. When the seam 2.0.1 runtime is chosen, the error occurs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125263#4125263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Programmatic User Role and User creation
Hi, How can i create User Role and Users in JBoss Portal programatically. I have a list of User Roles and a list of Users associated with each role in a file. I am looking at a way to dynamically get these Roles and users created using portal API. How does the API support this, what would be the API classes to use for this? Also, Once i create a User Role and attach users to it, how can i assign permissions to the role. I understand there are standard roles - admin and user defined now. Can i have my custom roles with a different set of pervileges than these? Any pointers are appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125262#4125262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - MessageSucker: How to change password ?
I upgraded JBossAS 4.2.2 with JBossMessaging 1.4.1Beta1. Now I get this warning: WARN [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK In the user manual I cannot find how to change the password for MessageSucker. Any hint is appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125261#4125261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Sharing persistence between different jar files in ear ?
Are we the first ones with this problem? ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125259#4125259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error up the tomcat with the
Are you running one of the sample apps? If it uses jboss embedded, did you install jboss embedded into tomcat? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125258#4125258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error up the tomcat with the "JBoss Seam"
I use tomcat 6.0... I add the jars of Seam. But when I start the tomcat.. This error happens -> SEVERE: StandardWrapper.Throwable java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory ... ... SEVERE: Servlet /xKek threw load() exception java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory The application rises, but all of JSF tags do not work !!! Because oO View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125256#4125256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: label and value
I'm likely misunderstanding it's usage. It now seems as though the value of the component becomes an instance of the Entity, for example: | | | public Region getSelectedRegion() { | return selectedRegion; | } | public void setSelectedRegion(Region selectedRegion) { | this.selectedRegion = selectedRegion; | } Is this true? I was attempting to use the PK of the entity (a String). Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125253#4125253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Using Seam 2.0.1.CR1 with JBoss Tools 2.0.0.GA
"[EMAIL PROTECTED]" wrote : JBoss tools is *not* preconfigured to Seam 1.2; only JBoss Developer Studio has that preconfigured. | | Both can use Seam 2, you just need to choose Seam 2 and not Seam 1.2 in the new project and/or runtime setup. | | Now that Seam 2.0.1.GA is out, can you use JBoss Tools 2.0.0.GA with Seam 2.0.1.GA? Or should we wait for a release of JBoss Tools whose release # matches that of the Seam version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125254#4125254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to configure JBoss Embedded for deploying Seam and E
I probably should mention I did read through the Embedded Wiki at http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedJBoss unfortunatly it does not yet cover TestNG or how to deploy EJB2. It does mention EJB3 alot, and the absence of metion of EJB2 makes me think it does not work with them. Hopefully I am just missing something obvious. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125251#4125251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - java null pointer exception in based on sea
Hello guys , I am new to Seam .and I am suing richfaces I have the following .jsp: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and my backing bean: @Name("areaAction") | @Scope(ScopeType.CONVERSATION) | public class AreaActionBean implements Serializable { | | @DataModel | private List areas; | | @In(value="area", required=false) | @Out(value="area", required=false) | @DataModelSelection | private Area selectedArea; | | @Begin(join=true) | @Factory("areas") | public void findAreaItems() { | | try { | System.out.println("Retrieving Areas"); | areas = Area.getAll(); | } catch (Exception e) { | System.out.println(e.getMessage()); | } | | } | | public String createArea() { | selectedArea = new Area(); | return "crearItem"; | } | | public String editArea() { | System.out.println(selectedArea.getName()); | //return "/Administracion/editArea.jsp"; | return "editarItem"; | } | | @End | public String create() { | | try { | selectedArea.createArea(); | FacesUtil.addInfoMessage("Area Creada Exitosamente"); | | } catch (Exception e) { | | } | | return "success"; | | } | | @End | public String edit() { | | try { | selectedArea.editArea(); | FacesUtil.addInfoMessage("Area Editada Exitosamente"); | } catch (Exception e) { | | } | | return "success"; | } | | } If I click on the last row(edit button) , without having clicked another one before , I get an NullPointer Exception.If I have clicked another row before (not the last row), it navigates to the edit page , but not with the last row element , but with the previously selected This is the exceptionn I get anonymous wrote : 13:14:10,312 WARN [lifecycle] java.lang.NullPointerException | javax.el.ELException: java.lang.NullPointerException | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:332) | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341) | at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) | at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) | at org.jboss.seam.jsf.UnifiedELMethodBinding.invoke(UnifiedELMethodBinding.java:50) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:61) | at org.ajax4jsf.component.UIDataAdaptor.broadcast(UIDataAdaptor.java:1198) | at org.ajax4jsf.component.UIInclude.broadcast(UIInclude.java:138) | at org.ajax4jsf.component.UIInclude.broadcast(UIInclude.java:138) | at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184) | at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162) | at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:278) | at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | 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.ReplyHeaderFilte
[jboss-user] [JBoss Seam] - jbpm Seam - How do I assign a task to a specific User or Act
Hi, I am new to using jbpm with seam and need help in assigning a task to a specific user or actor id. All examples using Seam assign tasks to a group of actors or roles and not to a specific actor id. In a non-seam environment, I understand that tasks are assigned by using AssignmentHandler.assign. Any help is greatly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125248#4125248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to configure JBoss Embedded for deploying Seam and E
So if the http://docs.jboss.org/ejb3/embedded/embedded.html is not for embedded jboss, do you know where a doc is that describes how to deploy ejb2 on embedded jboss. I am specifically trying to deploy it using the TestNG build that came with Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125247#4125247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: label and value
Well, if I understand you correctly, the value cannot be adjusted because Seam needs that to be able to convert that value into an entity. But I don't see why you can't use region.regionName in the label. The label is free for your use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125246#4125246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - label and value
I don't see a way to specify a different label and value when using . I see the value attribute ties in to the list of results. Functionally everything works fine. I would just prefer to use region.regionCode as the value and region.regionName as the label. Am I missing something? Thanks. | | | | | | | #{entityManager} | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125243#4125243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 2.0.1.GA - Ye Ole Maven2 + JBoss Embeddable problems
Error in your docs already: http://docs.jboss.com/seam/2.0.1.GA/reference/en/html/testing.html#d0e22927 Table 33.1. anonymous wrote : org.jboss.seam.embedded jboss-embedded-api lib/test/jboss-embedded-api.jar looks to me like this jar is in the /lib directory, not /lib/test. Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125242#4125242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev
Will check and let you know... current days i am looking in to other things will update you soon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125239#4125239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Full control of client and server certificates with a JB
Hi Vincent, No, I haven't solved this yet. I was working on some other stuff hoping that I'd get a hint from the forum. But soon I have to come up with a solution so I guess the only thing left to do is to get down and dirty with the JBossWS source code... I think the documentation on JBossWS client configuration (both for the stub objects and for standard-jaxws-client-config.xml) is very poor so I put another forum post for this (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128758) but that didn't do much good either. When I solve this I'll share it here and if you beat me to it I'd appreciate if you did the same. Cheers, Mattias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125237#4125237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: extra jars needed when deploying a Seam 2.0.1.CR2 app in
Cross post to a JBAS5 forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125215#4125215 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125234#4125234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: TRACE level doesn't work
I tried putting log4j.properties in the root of the EAR module so that it is on the classpath -- no success. Looks like log categories have to be set in the central jboss-log4j.xml. Or is there another option not to touch this central config file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125232#4125232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unwanted datamodel update on action cancel
Hey guys, you sure know some way to work it out ! I do not want to put view-id in form buttons, but only transition names. When I do that, then form gets submitted and my injected object gets changed according to data entered into form (event PK). Can i somehow block inserting submitted form data into object attributes ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125231#4125231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - DownGrade: A Enterprise Application of JBoss 4.2.1.GA to JBo
Hi, I have a Enterprise Application (EAR) with EJB 3.0 + JPA + Hibernate + JSF 1.2 + Facelets that execute with success in a JBoss 4.2.1.GA, but now I have a requirement (of my customer) to execute this App in a JBoss 4.0.4RC1. Well, When I try deploy my EAR I receive this error messages: | ERROR [[/DMS-Reports]] StandardWrapper.Throwable | java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml. | A typical config looks like this; | | org.apache.myfaces.webapp.StartupServletContextListener | | | at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:84) | at javax.faces.webapp.FacesServlet.init(FacesServlet.java:84) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3880) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4141) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5031) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: TRACE level doesn't work
It's not JBoss which sets the default logging level to DEBUG. Log4j does it. So, in your case the log4j.properties is not being picked up (you can verify this by setting the threshold to INFO in the log4j.properties and still log debug messages. I believe, you will see the debug log even when this threshold is set). For the sake of testing, i would suggest, you move the log4j.properties to the root of the ear file (or some other place which in the ear which is available in the classpath) and try out the trace level logs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125229#4125229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user