[jboss-user] [JBoss Seam] - Re: Seam newbie question
If I understand you correctly you are looking for some sort of dynamic actions. I'm not sure it can be done with that sort of "double-EL-resolve". You can always use multiple links with rendered-conditions like | Add | Nuke | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125005#4125005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to test a page with page action method?
I'm not arguing you but I think it is possible to write unit tests (not integration tests) for Seam managed Hibernate sessions. I read Michael Yuan's book "JBoss Seam", he wrote a unit test for an action that uses an entity manager, he initialize the entity manager by hand, inject it into the action class, running the test, voila. Any way, I tried to write some integration tests: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128867 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125004#4125004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: mail node issue
Thanks for your suggestion to use 3.2.2. I used the library in jpdl-suite-3.2.2 and mail is working fine now. Debnath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125002#4125002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - javax.naming.NameNotFoundException: MySqlDS not bound
Hi the exception is MySqlDS not bound where is the wrong ? if any one can identify please send the correct way ? and i have one doubt ? i already placed the mysql-connector-java-5.0.4-bin.jar in client folder and server/lib folder is there any additional configuration is required for this ? the jboss server is already started and but i am getting the error I am configuring in mysql-ds.xml file like this MySqlDS jdbc:mysql://10.0.3.155:3306/narender com.mysql.jdbc.Driver narender narender org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL and i try to get the connection from the connection pool like this public class TestConnection { public static void main(String[] args) { try { Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); env.setProperty(Context.PROVIDER_URL,"jnp://localhost:1099"); env.setProperty(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); Context ctx = new InitialContext(env); System.out.println("Created InitialContext, env=" + env); Object data = ctx.lookup("java:/MySqlDS"); } catch (Exception e) { e.printStackTrace(System.err); } } } when ever we are running the main method it gives error like this javax.naming.NameNotFoundException: MySqlDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) 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:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(Unknown Source) at org.gss.naru.TestConnection.main(TestConnection.java:46) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125001#4125001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Caused by: javax.faces.application.ViewExpiredException
I have posted a topic on the Richfaces forum about a ViewExpiredException I get in a RichfacesPortlet, but since you guys are portlet experts I also want to share my problem with you! The exception I get is: | Caused by: javax.faces.application.ViewExpiredException: viewId:/start.xhtml - View /start.xhtml could not be restored. | at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at org.ajax4jsf.portlet.AbstractAjaxBridge.execute(AbstractAjaxBridge.java:114) | at org.ajax4jsf.portlet.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:131) The see who my Richfaces portlet is configured, please look at this thread: http://jboss.com/index.html?module=bb&op=viewtopic&p=4124999#4124999 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125000#4125000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Half working SSO with Portal 2.6.2
Soon5- I am in the process of fixing the second browser window issue and am not being able to reproduce this. Its working fine for me in firefox anonymous wrote : | 2. When I logged in, and I open a second Browser Window and want to log into a second instance of the Portal, I have to type in my Username / Password again. Not realy SSO ;-). Or is it normal, that I have to log in for each Browser Window? | Just to be clear, you open a second browser window (I am assuming the same type of browser like Firefox opening another window of FireFox and not IE), and connect to a *different* instance of the Portal other than the one in the first window? Are you sure the second instance is also integrated properly with the CAS valve as mentioned in the reference guide? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124996#4124996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124996 ___ 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
Hello, I have exactly the same requirements... did you make it working ? Cheers Vincent View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124994#4124994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Multiple instances of the Appserver running and I want to ac
I have multiple instances of the Appserver running and I want to access a Remote EJB between them. What's the best way to do so in JBoss? Below is the way Glassfish handles this: E.g., assume we have a web application running in a non-clustered app server instance on host1 that wants to access a Remote Stateless Session bean in an app server instance on host2. The target Remote EJB has a global JNDI name of Foo. Within servlet : @EJB(name="fooejbref") private FooRemote fooRemote; Within sun-web.xml : fooejbref corbaname:iiop:host2:3700#Foo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124993#4124993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - How can we use the non static sybase-ds.xml in JBoss for CMP
How can we use the non static sybase-ds.xml in JBoss for CMP's? If anyone of you is having the steps to achieve that or information related to that please reply back to me. Since we are facing this issue for last 2 months I am posting this. Thanks & Regards, Suresh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124991#4124991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: LoginContext(init()) Null Pointer Exception
hi!, We observed that the error occurs whenever the present in "Jboss-service.xml" times out. Hope this helps in suggesting a solution :-| cheers! ashwini View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124989#4124989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Need to Integrate Axis in JBoss
Hi, I need to integrate Axis in Jboss4.2.2 I need someone's help in doing out and want to know the steps in detail. Thanks, sriovra View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124987#4124987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to create a human task in BPEL process
Thanks for your reply... but I need to create a human task using jBPM-BPEL. Any pointers for that. Thanks in advance. Shefali. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124986#4124986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124986 ___ 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
Are you using hotdeploy? I've seen this happen when you hotdeploy a session-based component but have an old instance of the class in the session. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124984#4124984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam newbie question
Hi! I'm relatively new to Seam and the related technologies (JSF, hibernate, etc.) I'm trying to build a very simple webpage. One of my entity is a User. I have some sort of UserList.xhtml page that displays all the user info + a link for each row. I want this link to call an action listener, something like that: | | action | | | | | But I want my #{bean.action} to be parametrized. So I create a param to this page: | Then I change, the previous code to : | | action | | | | | But that doesn't work, right, because it will resolve #{action_} as some piece of text like "tournamentHome.addUser", but not as a method reference like #{tournament.addUser}. I'm sure this is trivial...but can't seem to figure out out to parametrize correctly my action to put under my link. Thanks for your help! Laurent View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124983#4124983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124983 ___ 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
This should be fixed in CVS now, please let me know if there's any further issues with HTTP authentication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124982#4124982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - value of context variable is not an instance of the componen
Dear all, I encountered into these exception: anonymous wrote : Caused by java.lang.IllegalArgumentException with message: "value of context variable is not an instance of the component bound to the context variable: productRecomForm" But sadly I can not understand the message to solve the problem. Could anyone explain why does this exception is thrown? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124981#4124981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Storing large objects in the DB?
My application allows users to attach images to many different objects in the DB. It also allows PDFs etc to be attached. These types of attachments are typically in the 100s of K, or maybe up to a couple of MB. I know that there are two camps on this. One, put attachments on disk as plain files. Two, store them in the DB. I personally like databases. I like everything I get with them, especially ACID. I like the idea of being able to back up my entire application state by backing up one thing, one thing that has excellent backup tools built in to it. However... I'm worried some about performance. I know that within JDBC, I can fetch LOBs as OutputStreams, so it can stream data out of the DB in an efficient way. Looking at the EJB3 docs, there is a @Lob annotation which handles the thing as a byte[] basically. Of course these can be fetched lazily. Does anyone have some views on the performance aspects of this? Should I go ahead and store everything in the DB, or is that going to kill this app if traffic goes up? I'll be using the Postgres database, if it matters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124980#4124980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Ajax and injection with radio boxes
Sure, Post the page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124979#4124979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124979 ___ 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....?
In Seam you can use | | in your pages.xml. You can use: | @End | annotation on any method You can alsouse | or | | If you are not using Seam and you wish to end a real life conversation you can just fart real loud and scream racial epithets. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124978#4124978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Logout from a WebService application
Calling logout() on your LoginModule is only possible if you do a JAAS login with a handle to your CallbackHandler and LoginContext. In the case of web applications the container does this Jaas Login eventhough you have your LoginModule. The container has the instance of the Callback Handler & passes that as arguments to your initialize()method. So calling logout() method on your CustomLoginModule is ruled out when do a web based login...There is no way you can do it from your browser Next question is :- Are you certain that the Principal is not cleared from our session... Check it as follows after session time out:- | Principal p = request.getPrincipal() If the Principal is null then it works else we have an issue..I tried it with jboss 5 Beta 3 & it works...You are redirected to the Login Page again & asked to authenticate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124977#4124977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to test a page with page action method?
If you want to bootstrap the hibernate managed session, you must use integration testing. This is written in the docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124976#4124976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Web service installation missing webservice.xml
Hi all, I have a web service from company X that deploys just fine under Tomcat. I can't seem to get it deployed under JBoss: I have a war file, and a bunch of wsdl files. The war file seems to deploy fine but when I drop the wsdl files in the deploy directory, Jboss just spits a bunch of INIT_WAITING_DEPLOYER at the console. I didn't write these services, is there a way to auto-generate the webservices.xml file ? Is that the problem ? I'd appreciate any help that doesn't require me to become an expert WS writer overnight. J.D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124975#4124975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Example of Seam deployment to GlassFish/TopLink
Why would you use toplink instead of Hibernate? AFAIK Seam only support Toplink if you use EJB3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124974#4124974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124974 ___ 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.1 GA is out
Congrats guys. Thank you for all the hard work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124973#4124973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Please help with switching DefaultDS to MySql
In the above, "mySecretPassword" should have been surrounded by . My typo... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124972#4124972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Please help with switching DefaultDS to MySql
And if it helps, this is my mysql-ds: DefaultDS jdbc:mysql://localhost:3306/MyDB com.mysql.jdbc.Driver MyRealUserName MySecretPassword org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124971#4124971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Is jBPM-BPEL GA backward compatible to beta 3?
Hello, We have several processes running on jBPM BPEL Beta3. We have created a deployment system that deploys our BPEL processes to the server. Now if we upgrade to GA, will we have to change that system? or is it backward compatible? In beta version, it required bpel-application and bpel-definition files but now in new model it doesn't. Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124970#4124970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Please help with switching DefaultDS to MySql
Hi everybody. I'm a newbie trying to set up JBoss. I have followed the instructions for how to make DefaultDB point to a MySql db--but apparently not perfectly! I would GREATLY appreciate any help. I followed the instructions on this JBoss wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource I've since checked everything three times, googled until my fingers bled, and still I'm getting this error. When I start JBoss now (within the most recent Eclipse plugin), I get this trace. Search for JMS_MESSAGES for the relevant message. THANKS! 19:26:24,500 INFO [Server] Starting JBoss (MX MicroKernel)... 19:26:24,501 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) 19:26:24,502 INFO [Server] Home Dir: C:\jboss-4.2.2.GA 19:26:24,502 INFO [Server] Home URL: file:/C:/jboss-4.2.2.GA/ 19:26:24,503 INFO [Server] Patch URL: null 19:26:24,503 INFO [Server] Server Name: default 19:26:24,503 INFO [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default 19:26:24,503 INFO [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/default/ 19:26:24,503 INFO [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log 19:26:24,503 INFO [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tmp 19:26:24,503 INFO [Server] Root Deployment Filename: jboss-service.xml 19:26:24,779 INFO [ServerInfo] Java version: 1.6.0-oem,Sun Microsystems Inc. 19:26:24,779 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-oem-b104,Sun Microsystems Inc. 19:26:24,779 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 19:26:25,011 INFO [Server] Core system initialized 19:26:26,692 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 19:26:26,694 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 19:26:27,015 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 19:26:27,015 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 19:26:27,136 INFO [TransactionManagerService] Starting recovery manager 19:26:27,239 INFO [TransactionManagerService] Recovery manager started 19:26:27,239 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 19:26:29,109 INFO [EJB3Deployer] Starting java:comp multiplexer 19:26:29,349 INFO [STDOUT] no object for null 19:26:29,351 INFO [STDOUT] no object for null 19:26:29,367 INFO [STDOUT] no object for null 19:26:29,383 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType 19:26:29,391 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType 19:26:30,900 INFO [NativeServerConfig] JBoss Web Services - Native 19:26:30,900 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837) 19:26:31,737 INFO [Embedded] Catalina naming disabled 19:26:31,860 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\Program Files\Java\jre1.6.0\bin\client;c:\Program Files\Java\jre1.6.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\Adobe\AGL 19:26:31,900 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 19:26:31,901 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 19:26:31,901 INFO [Catalina] Initialization processed in 164 ms 19:26:31,902 INFO [StandardService] Starting service jboss.web 19:26:31,903 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA 19:26:31,936 INFO [Catalina] Server startup in 33 ms 19:26:32,008 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ 19:26:32,536 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ 19:26:32,715 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ 19:26:32,795 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 19:26:33,246 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 19:26:33,572 INFO [MailService] Mail Service bound to java:/Mail 19:26:33,698 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 19:26:33,725 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 19:26:33,750 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 19:26:33,777 INFO [RARDeployment] Required license terms exist, view META-I
[jboss-user] [JBoss Seam] - Re: Internal Architecture of Seam Design and Source Code
anonymous wrote : | Do you have any specific questions about the architecture? | Are you wanting to know the basic layout of the flow it takes through classes or are you wanting to know more details of how individual components work. | No i am very much inetersted in its internal architecture as a whole..not in any specific components. Some kind of design docs would help :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124968#4124968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Wiki - Seems like it's not an example anymore :)
Sounds like my application. Tightly coupled. :( Thank you anyway for providing a detailed real application example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124967#4124967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Single sign-on (SSO) access is not limited to security d
I have partially fixed my problem. In /axis web.xml, I changed the only role of "users" to "axisusers". This now prevents Liferay users (in SSO) from acessing /axis. I am not sure why putting axis in a different security domain doesn't work, but this solution of setting up a separate role for axis users will probably float my boat. I'd still appreciate anyone's help regarding security domains in general, though. Thanks -Ben Secured /* axisusers NONE BASIC axisrealm axisusers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124966#4124966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124966 ___ 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
I hate to bother you guys again but when I drop the wiki.war file into my deployer folder it fails with the errors and warnings on my previous message. Am I missing a step? Should I edit a file? Any ideas? 10Q - rotseN View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124965#4124965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Wiki - Seems like it's not an example anymore :)
Won't happen, it's a platform by itself _WITH_ parts that run on that platform. If you want a forum, write your own. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124963#4124963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Optimistic Locking in EJB3
Hi, I have some questions regarding optimistic locking. 1) Can it happen in my container managed bean? 2) How can I deal with it? Can I find out if my container just started the transaction? Can I repeat the transaction it in this case? 3) As far as I would guess optimistic locking does not lock the database, so concurrent transaction can be executed on the same data without delay regardless if they write or read? I.e if a whole transaction will last 5 seconds where multiple services are involved, within these 5 seconds also other transactions from the same bean can be started and handled? Regards, Karsten ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Single sign-on (SSO) access is not limited to security domai
Hi, I have been trying to fix a problem with single sign-on (SSO) security in JBoss 4.0.4 GA. The issue is that I cannot restrict some applications from taking part in the SSO domain. No matter what settings I use, once a user successfully authenticates in an SSO application, he has access to ALL JBoss apps, even if they are listed in a different security domain. Here are the details: Single sign-on is activated with the following in deploy/jbossweb-tomcat55.sar/server.xml: All liferay components are in this security domain: java:/jaas/PortalRealm ... I have a few applications (xforms) that I want to participate in the SSO domain. These work perfectly. I have another application (/axis) in a different security domain, which is still accessible to SSO users. java:/jaas/axis In conf/login-config.xml: props/axis-users.properties props/axis-roles.properties and com.liferay.portal.security.jaas.PortalPrincipal com.liferay.portal.security.jaas.PortalRole The above block is not necessary to make Liferay security work. I added it myself, but it did not change any noticeable behavior. I intend to make /axis only available to those with a specific username and password, however JBoss currently allows all Liferay users to have access to axis despite it being in a different security domain. I have had problems with the java:/blah/blah naming convention, and I have seen a few posts indicating this might be an issue. Does anyone have a suggestion for how I might limit SSO access to certain apps? Thanks! -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124962#4124962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Wiki - Seems like it's not an example anymore :)
I would be nice if the wiki were broken down in to reusable parts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124961#4124961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Example of Seam deployment to GlassFish/TopLink
Thanks joshua. I am actually looking for an example of Seam and Toplink on Tomcat 6. I would greatly appreciate if anyone has any reference. Geeta View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124958#4124958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - StateTransferTimeout appears to be ignored
I have deployed JBoss 4.2.1GA across a two node cluster. It's configured for asynchronous, non-transactional replication of user session data using UDP. Application state is exclusively servlet based with no EJBs. After starting up the first node I fire up the second and have observed it pause from 1 to 10 minutes after logging: Fetching state (will wait for 3 milliseconds) The next line in my server.log file appears successful, just long: state was retrieved successfully (in 189067 milliseconds) The 3 millis is configured by setting a StateTransferTimeout attribute, but different values appear to be equally ignored. Does anyone have thoughts on what may be causing this? The amount of user data potentially active on the first node is rather small (< 100k) if any. Thanks much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124957#4124957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124957 ___ 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
Hey, I guess I wasn't explicit in what I wanted to know. Of the 3 options I have listed I am not a huge fan of any, but if I had to make a choice it would be option 3. I am just trying to determine if there are any better methods of achieving this before i rush in and develop a solution that isn't the best. Cheers, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124954#4124954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - ClassNotFound for IntegrationConfigurator on server restart
Hello, I have checked out BPEL 1.1 GA cvs code and deployed jbpm-bpel.ear on JBoss 4.0.5GA. I can open the BPEL console and deploy hello.zip from examples folder. The process is deployed fine and I call it using SoapUI client. However when I restart my server I get this error - | 14:34:37,548 ERROR [[/hello]] Error configuring application listener of class org.jbpm.bpel.integration.server.Integrati | onConfigurator | java.lang.ClassNotFoundException: org.jbpm.bpel.integration.server.IntegrationConfigurator | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) | 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:585) | 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:5052) | 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:585) | 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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | 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:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 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:585) | 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:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | And then at the end of the log trail I get a message that it could not deploy hello.war file. I can redeploy the zip file using console and call it again. Any idea what could be causing this behavior? Thank you, Meghana View the original post
[jboss-user] [Installation, Configuration & DEPLOYMENT] - URIList for 5.0 question
In 4.2.x (and earlier), the URIList property of the DeploymentScanner MBean is well documented. Playing with the URIList property of the VFSDeploymentScanner bean in 5.0 beta3, I have noticed several differences in behavior. Are these differences expected or unintentional? 1) Adding an archive name (a URI that does not end in a slash), causes various exceptions ("org.jboss.deployers.spi.DeploymentException: Error deploying MANIFEST.MF: The virtual file is closed" if the URI points to a file, and "java.lang.IllegalStateException: File cannot contain children: [EMAIL PROTECTED]/web.xml context=file:/F:/opt/jbia/deploy/hello.war/ real=file:/F: /opt/jbia/deploy/hello.war/WEB-INF/web.xml]" if the URI points to an exploded directory). 2) If there are multiple directory entries (URIs that end with a slash), all of them get scanned during startup for applications to deploy (as expected), but only the first entry gets scanned by the hot deployer while the app server is running, which makes for interesting behavior if "${jboss.server.home.url}deploy/" is not the first entry! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124951#4124951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - closing or finishing conversations....?
Hello guysI am new to seam... I would like to know how can i do to end a conversation ? This is my case...I have a managed-bean, which I annoted [EMAIL PROTECTED](ScopeType.CONVERSATION) I have a left bar menu , which tells me the the options I have for my applicationif I click on any other option which does not make logic to my current process I would like to terminate the conversation. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124949#4124949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - NoSuchMethodError XAManagedConnectionFactory.getValidateOnMa
I have a XA datasource that throws this exception. any idea ? INFO | jvm 1| 2008/01/30 14:43:20 | 14:43:20,342 WARN [JBossManagedConnectionPool] Throwable while trying to match ManagedConnection, destroying connection: org.jboss.reso [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=12017 22200317 permit=false trackByTx=false [EMAIL PROTECTED] context=org.jboss.resource.connectionmanager.Intern [EMAIL PROTECTED] [EMAIL PROTECTED] txSync=null] INFO | jvm 1| 2008/01/30 14:43:20 | java.lang.NoSuchMethodError: org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getValidateOnMatch()Z INFO | jvm 1| 2008/01/30 14:43:20 | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.matchManagedConnections(XAManagedConnectionFactory.java:191) INFO | jvm 1| 2008/01/30 14:43:20 | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:187) INFO | jvm 1| 2008/01/30 14:43:20 | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417) INFO | jvm 1| 2008/01/30 14:43:20 | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124948#4124948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - extra jars needed when deploying a Seam 2.0.1.CR2 app into J
I'm seeing that I need to include a bunch of jars (jbpm-jpdl.jar, drools-core.jar, jboss-cache.jar, jgroups.jar) that my Seam application doesn't use when deploying the app into a recent revision of JBAS5 (r69477). When deploying the app onto a CR of Seam 2.0 and JBAS4.2 this didn't occur. For example without jbpm-jpdl.jar in web-inf/lib I get the following: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/C:/usr/apps/jboss/jboss-5.0.0.r69477/server/defau | lt/deploy/embedded-console.war | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:175) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java: | 65) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java | :142) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.NoClassDefFoundError: Lorg/jbpm/graph/exe/ProcessInstance; | at java.lang.Class.getDeclaredFields0(Native Method) | at java.lang.Class.privateGetDeclaredFields(Class.java:2259) | at java.lang.Class.getDeclaredFields(Class.java:1715) | at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.processClass(AbstractComponentProcessor.java:252 | ) | at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.processClass(AbstractComponentProcessor.java:202 | ) | at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.process(AbstractComponentProcessor.java:143) | at org.jboss.metadata.annotation.creator.web.WebComponentProcessor.process(WebComponentProcessor.java:60) | at org.jboss.metadata.annotation.creator.web.WebComponentProcessor.process(WebComponentProcessor.java:42) | at org.jboss.metadata.annotation.creator.web.Web25MetaDataCreator.create(Web25MetaDataCreator.java:68) | at org.jboss.deployment.AnnotationMetaDataDeployer.processJBossWebMetaData(AnnotationMetaDataDeployer.java:222) | at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:171) | at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:90) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) | ... 22 more | | Could this be because org\jboss\seam\pageflow\Pageflow.java has got the following attribute? private ProcessInstance processInstance; Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124947#4124947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.
[jboss-user] [JBoss Messaging] - Understanding JBoss Messaging and SPOF (Single Point of Fail
Hi All, I've been away from JBoss for about 4+ years (working in Weblogic), and am finally coming back home. I'm trying to get a better handle on JBoss Messaging's clustering capabilities. They way I read the documentation/installation guide, you still need to have a shared database instance. From the 1.4B1 docs, "For a clustered installation it is mandatory that a shared database is available to all nodes in the cluster." Which (to me) appears to be Single Point of Failure (SPOF). I realize the database itself could be clustered, but still.. Also, additional reading, such as this statement from Tim's (old) blog post (http://blogs.jboss.com/blog/tfox/?permalink=State_of_the_art_clustering_with_JBoss_Messaging.txt) states : "But there's another way we can increase the "durability" of a message without storing it to disk at all, and that's by replicating it in memory between different nodes. If the cluster is well constructed with good hardware, UPS etc then we can reach sufficiently levels of durability for many applications.". This is exactly what I'm after. So, which is it? Can I cluster a topic without a shared database or not? How about with a local database on each node in the cluster? That being said, here's the problem I'm trying to solve.. A distributed topic that lives on N nodes. There are a few producers that live on each Node. There are also M consumers that don't care if the topic is clustered or not. Additionally, I don't want a SPOF, nor do I want to mess with a central database with clustering enabled. Am I chasing a unicorn here? Is this even possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124943#4124943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg
How your pages.xml login page is configured? Does it have login-required="false"? like: | | | | | | | | BTW, you can invoke to any action you want when the page is loaded and then use the rules in order to forward to any page you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124942#4124942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Newbie Entity Question - changes visible in another instance
Environment: Inside one JVM (JBoss AS 4.0.5 w/EJB3) If a managed entity instance is held by thread A and thread B makes and saves changes to another managed instance will those changes be visible the next time thread A accesses its copy? If answer is 'no' one might ask why not do a merge in thread A to get latest copy? Answer: in my case I have many transient properties and they get lost if I use the new object returned from the merge. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124939#4124939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Wiki - Seems like it's not an example anymore :)
I agree that it is distracting to see JIRA issues for the examples. We do have separate components for these tasks, so that if you want to take the time to set up JIRA filters you can make sure that you only see the components you are interested in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124938#4124938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - TheServerSide.com thread
http://www.theserverside.com/news/thread.tss?thread_id=48270 Support JBoss Seam :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124937#4124937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] hitting a specific node from the cluster
Just to update this thread take a look at http://jira.jboss.com/jira/browse/JBAS-2568 Bottom line attribute emptySessionPath must be set to "false" for the specific connector. That will make tomcat respond to the request using an internally generated cookie. As stated there though this might come with problems for portlets and other web apps that rely on session sharing between them. On 10/26/07, Nestor Urquiza wrote: > So I have found my own answer, basically if the request is made using > Cookie: JSESSIONID=. > > The curious part is that when a request is made and the proper node > responds the session Id keeps being ".". I would expect the > cookie to be rewritten by the server but it never does. > > This makes me think about an attack possibility. If a hacker somehow > manage to redirect a user with that session Id to a cluster > environment he could potentially access user sensitive data because in > fact he knows the user session? > > I have done even tests from two different IPs and my program kept the > session with the two requests using the same ".node3C1" session Id: > > [Fri Oct 26 10:22:04 2007] [30497:26304] [debug] > ajp_done::jk_ajp_common.c (2194): recycling connection pool slot=0 for > worker node3C1 > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > wc_maintain::jk_worker.c (318): Maintaining worker node1C1 > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > service::jk_lb_worker.c (735): service sticky_session=1 id='.node3C1' > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > get_most_suitable_worker::jk_lb_worker.c (634): searching worker for > partial sessionid .node3C1 > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > get_most_suitable_worker::jk_lb_worker.c (642): searching worker for > session route node3C1 > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > get_most_suitable_worker::jk_lb_worker.c (655): found worker node3C1 > (node3C1) for route node3C1 and partial sessionid .node3C1 > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > service::jk_lb_worker.c (755): service worker=node3C1 > jvm_route=node3C1 > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > ajp_service::jk_ajp_common.c (1734): processing node3C1 with 2 retries > [Fri Oct 26 10:22:35 2007] [30495:26304] [debug] > ajp_done::jk_ajp_common.c (2194): recycling connection pool slot=0 for > worker node3C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > wc_maintain::jk_worker.c (318): Maintaining worker node1C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > service::jk_lb_worker.c (735): service sticky_session=1 id='.node3C1' > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > get_most_suitable_worker::jk_lb_worker.c (634): searching worker for > partial sessionid .node3C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > get_most_suitable_worker::jk_lb_worker.c (642): searching worker for > session route node3C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > get_most_suitable_worker::jk_lb_worker.c (655): found worker node3C1 > (node3C1) for route node3C1 and partial sessionid .node3C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > service::jk_lb_worker.c (755): service worker=node3C1 > jvm_route=node3C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > ajp_service::jk_ajp_common.c (1734): processing node3C1 with 2 retries > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > ajp_connection_tcp_send_message::jk_ajp_common.c (892): 00f030 00 > 06 00 07 6E 6F 64 65 33 43 31 00 FF 00 00 - 0node3C1 > [Fri Oct 26 10:23:15 2007] [30496:26304] [debug] > ajp_done::jk_ajp_common.c (2194): recycling connection pool slot=0 for > worker node3C1 > > Any ideas about how to make the server force the creation of a brand > new random session id after receiving any request using a non existing > session id? > > Thanks!, > > -Nestor > > > On 10/15/07, Nestor Urquiza wrote: > > Hello guys, > > > > Just new to JBoss World so if this is not the right list please be > > kind and advise where should I post the question. > > > > Currently we have a cluster formed of three nodes, each of them in > > separate machines. I want to be able to target a specific node from my > > HTTP request. Is there any HTTP Header/GET/POST param that would allow > > me to make one node respond to my request? > > > > Thanks in advance, > > > > -Nestor > > > ___ 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.1 GA is out
I don't see that feature request in JIRA. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124936#4124936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Re: [Clustering/JBoss] session ids can be decided from the client
Just to update this thread in case someone else is having this problem. Take a look at http://jira.jboss.com/jira/browse/JBAS-2568?page=all&decorator=printable Bottom line attribute emptySessionPath must be set to "false" for the specific connector. As stated there though this might come with problems for portlets and other web apps that rely on session sharing between them. On Jan 28, 2008 6:49 PM, Nestor Urquiza <[EMAIL PROTECTED]> wrote: > Hello guys, > Can anyone please provide some guidance as to where I can make JBoss > ignore any incomming JSESSIONID not generated by JBoss itself? > > Currently I use ModJk and to tag a given server I use an initial > request using JSESSIONID=.nodeName. The request goes to the right node > but the session id keeps on being .nodeName for the rest of the > session which is unnaceptable. > > Thanks in advance for your help, > -Nestor > ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to set the default page
There should be an index.html file that should forward to a different page. You can also set default files in the web.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124935#4124935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Send several mail messages in different locales
Thank Pete, It has just worked... ... In some SEAM beta version from the 1.something it didn't work, but now it's perfect. Thanks again, Ricardo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124933#4124933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Design Patterns/Best Practices
btw to expand on your first question. Just because there is little code needed, doesn't mean there aren't design patterns or maybe the better term is "good design". Since Seam comes pre-loaded with soo many options you are going to have lots of decisions to make. ie: - When to use a Stateful vs Stateless vs JavaBean - When to use the query objects as a DAO layer vs when to call it on your own from the business teir with the entity manager. - Scopes, when to apply each scope, determining when it's appropriate - Heck even down to when the EB / SB NEEDS to be a Seam component vs just being a regular EB / SB / Pojo. But as Pete said ... it's mostly up to you. Just be careful i've noticed beginners tend to take some easy ways out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124934#4124934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to set the default page
Hi all, If I don't enter any page in the URL (just the http://) the system redirects me to the home.xhtml page in the root web dir. How do I change the default page to another page (for example, to redirecto to cfg/index.xhtml) ? I'm using SEAM 2.0.1. Regards, Ricardo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124932#4124932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Design Patterns/Best Practices
"[EMAIL PROTECTED]" wrote : No. Seam allows you to design your app without patterns - you design as it suits you not, the framework. yes and that is a VER dangerous thing to. I think its great in the right hands, but for junior developers who are just starting Seam its "intereseting" what they come up with as solutions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124931#4124931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Database question
Hello, We developped a complete Seam 2.0 application but we notice very long database calls in a specific stateful bean. The rest of the application is fully fluid, using the same tables, but in this stateful bean one request takes 24 seconds each time. The funny part is that it's not always the same request which blocks :/ Here is the log: | 21:41:43,941 INFO [STDOUT] Hibernate: select societe0_.societe_id as societe1_49_, societe0_.code_societe as code2_49_, societe0_.condition_reglement as condition4_49_, societe0_.logo_societe as logo3_49_, societe0_.taux_tva as taux5_49_ from societe societe0_ limit ? | 21:41:43,941 INFO [STDOUT] Hibernate: select societeuse0_.societe as societe1_, societeuse0_.societe_user_id as societe1_1_, societeuse0_.societe_user_id as societe1_50_0_, societeuse0_.societe as societe50_0_, societeuse0_.user as user50_0_ from societe_user societeuse0_ where societeuse0_.societe=? | 21:41:43,957 INFO [STDOUT] Hibernate: select user0_.user_id as user1_60_1_, user0_.email as email60_1_, user0_.equipe as equipe60_1_, user0_.login_name as login3_60_1_, user0_.nom as nom60_1_, user0_.password as password60_1_, user0_.prenom as prenom60_1_, societeuse1_.user as user3_, societeuse1_.societe_user_id as societe1_3_, societeuse1_.societe_user_id as societe1_50_0_, societeuse1_.societe as societe50_0_, societeuse1_.user as user50_0_ from user user0_ left outer join societe_user societeuse1_ on user0_.user_id=societeuse1_.user where user0_.user_id=? | 21:41:43,957 INFO [STDOUT] Hibernate: select user0_.user_id as user1_60_1_, user0_.email as email60_1_, user0_.equipe as equipe60_1_, user0_.login_name as login3_60_1_, user0_.nom as nom60_1_, user0_.password as password60_1_, user0_.prenom as prenom60_1_, societeuse1_.user as user3_, societeuse1_.societe_user_id as societe1_3_, societeuse1_.societe_user_id as societe1_50_0_, societeuse1_.societe as societe50_0_, societeuse1_.user as user50_0_ from user user0_ left outer join societe_user societeuse1_ on user0_.user_id=societeuse1_.user where user0_.user_id=? | 21:41:43,957 INFO [STDOUT] Hibernate: select user0_.user_id as user1_60_1_, user0_.email as email60_1_, user0_.equipe as equipe60_1_, user0_.login_name as login3_60_1_, user0_.nom as nom60_1_, user0_.password as password60_1_, user0_.prenom as prenom60_1_, societeuse1_.user as user3_, societeuse1_.societe_user_id as societe1_3_, societeuse1_.societe_user_id as societe1_50_0_, societeuse1_.societe as societe50_0_, societeuse1_.user as user50_0_ from user user0_ left outer join societe_user societeuse1_ on user0_.user_id=societeuse1_.user where user0_.user_id=? | 21:41:43,973 INFO [STDOUT] Hibernate: select user0_.user_id as user1_60_1_, user0_.email as email60_1_, user0_.equipe as equipe60_1_, user0_.login_name as login3_60_1_, user0_.nom as nom60_1_, user0_.password as password60_1_, user0_.prenom as prenom60_1_, societeuse1_.user as user3_, societeuse1_.societe_user_id as societe1_3_, societeuse1_.societe_user_id as societe1_50_0_, societeuse1_.societe as societe50_0_, societeuse1_.user as user50_0_ from user user0_ left outer join societe_user societeuse1_ on user0_.user_id=societeuse1_.user where user0_.user_id=? | 21:41:43,973 INFO [STDOUT] Hibernate: select user0_.user_id as user1_60_1_, user0_.email as email60_1_, user0_.equipe as equipe60_1_, user0_.login_name as login3_60_1_, user0_.nom as nom60_1_, user0_.password as password60_1_, user0_.prenom as prenom60_1_, societeuse1_.user as user3_, societeuse1_.societe_user_id as societe1_3_, societeuse1_.societe_user_id as societe1_50_0_, societeuse1_.societe as societe50_0_, societeuse1_.user as user50_0_ from user user0_ left outer join societe_user societeuse1_ on user0_.user_id=societeuse1_.user where user0_.user_id=? | 21:42:06,488 INFO [STDOUT] Hibernate: select collaborat0_.societe_id as societe21_1_, collaborat0_.collaborateur_id as collabor1_1_, collaborat0_.collaborateur_id as collabor1_12_0_, collaborat0_.adresse as adresse12_0_, collaborat0_.cadre as cadre12_0_, collaborat0_.code_collaborateur as code4_12_0_, collaborat0_.date_naissance as date5_12_0_, collaborat0_.departement_naissance as departem6_12_0_, collaborat0_.email as email12_0_, collaborat0_.fonction as fonction12_0_, collaborat0_.fournisseur_id as fournis23_12_0_, collaborat0_.nationalite as national8_12_0_, collaborat0_.nom as nom12_0_, collaborat0_.numero_securite_sociale as numero10_12_0_, collaborat0_.pays_naissance as pays11_12_0_, collaborat0_.prenom1 as prenom12_12_0_, collaborat0_.prenom2 as prenom13_12_0_, collaborat0_.prenom3 as prenom14_12_0_, collaborat0_.situation_de_famille as situation15_12_0_, collaborat0_.societe_id as societe21_12_0_, collaborat0_.structure as structure12_0_, collaborat0_.telephone! _fixe as telephone17_12_0_, collaborat0_.telephone_portable as telephone18_12_0_, collaborat0_.type as type12_0_, collaborat0_.ville_naissance as ville20_12_0_ from
[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg
Hi, here is a wiki-article about the topic: http://wiki.jboss.org/wiki/Wiki.jsp?page=AutomaticLoginRedirection It works but I have the problem, that I get an infinite loop when trying to I enter the application directly calling login.seam page. If I do this an enter my login/passwd the NotLoggenInException is thrown in a loop and the browser displays some kind of redirection error. What I want is the following: - call my login.seam page, login and be redirected to the page defined in pages.xml - if I am logged in and call the login.seam page I want to be redirected to the page defined in pages.xml Has anybody a working example of the pages.xml to do this? It seems to be a bit tricky and not trivial otherwise this kind of dummy-function in the wiki-article wouldn't be needed. But as mentioned even with this I don't get it working for 100%. Greetings, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124929#4124929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Only 1 messages.properties files loaded in 2 WARs
I have an EAR that contains 2 WARs. I have different messages.properties for each WAR. I've not been able to get them both to work. The message bundle first accessed seems to apply to both WARs. In other words, if I go to localhost:8080/a/ then the messages from a.war/WEB-INF/classes/messages.properties work. Then when I go to localhost:8080/b/ the messages for 'a' still work, but those for 'b' don't. If I access b first the situation is reversed. I've created a simple app that demonstrates this problem. I started with the registration example and then: 1) Created two copies of the war 2) Added WEB-INF/classes/messages.properties to each war (with different key=value pairs) 3) Added #{messages['a']} #{messages['b']} to register.xhtml Wonder what's going wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124928#4124928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with Ajax and injection with radio boxes
Yeah, i was wondering if anyone else had this issue and if there was a work around. So basically. I have a page with a bunch of inputs, i am using an Ajax call on a list box so when a certain list box is triggered it determines whether you need to select a radio box below. The radio box is a string that i apply an @In annotation to it. IT comes to the page disabled. When i select a specific item it will enable the radio box. I go to select a radio button and submit it. However nothing gets injected. Now here is the kicker, as i said it comes to the page disabled, if it comes to the page enabled and lets say you select somethign to disable, then go back to enabled it will WORK. its only when you go to the page and the radio box is disabled initially does it fail. Any ideas?? I can give some code if you need it but i am not sure if its a huge coding thing since as i said coming to the page enabled initially works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124926#4124926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.xml.ws.WebServiceException: Unable to create Provi
I have the same problem even though I have added all the required jars into the class path View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124925#4124925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124925 ___ 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
As promised, the JIRA issue: http://jira.jboss.com/jira/browse/JBSEAM-2558 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124924#4124924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Jboss IFrame Install - help
Peter, Great that was easier than I expected. I have Iframe install on my JBoss. Is there a tutorial on how to use IFrame? Now I can spend more time working on how to install the wiki. Thanks, rotseN View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124923#4124923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - It's a bug
I had the same problem and found out that the BASIC auth code is pretty much borken in Seam 2.0GA (not sure about early versions). [The Problems] The code that causing the problem is in AuthenticationFilter.processBasicAuth(). The current code looks like: |private void processBasicAuth(HttpServletRequest request, | HttpServletResponse response, FilterChain chain) | throws IOException, ServletException |{ | Problem 1 | Context ctx = new SessionContext( new ServletRequestSessionMap(request) ); | Identity identity = (Identity) ctx.get(Identity.class); | | boolean requireAuth = false; | | String header = request.getHeader("Authorization"); | if (header != null && header.startsWith("Basic ")) | { | String base64Token = header.substring(6); | String token = new String(Base64.decode(base64Token)); | | String username = ""; | String password = ""; | int delim = token.indexOf(":"); | | if (delim != -1) | { | username = token.substring(0, delim); | password = token.substring(delim + 1); | } | | // Only reauthenticate if username doesn't match Identity.username and user isn't authenticated | Problem 2 | if (!username.equals(identity.getUsername()) || !identity.isLoggedIn()) | { | identity.setUsername(username); | identity.setPassword(password); | } | | } | | if (!identity.isLoggedIn() && !identity.isCredentialsSet()) | { | requireAuth = true; | } | | try | { | if (!requireAuth) | { | chain.doFilter(request, response); | return; | } | } | catch (NotLoggedInException ex) | { | requireAuth = true; | } | | if (requireAuth && !identity.isLoggedIn()) | { | response.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\""); | response.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Not authorized"); | } |} | As shown in the above code with red title and bold texts, two problems exist. Problem 1: The Identity object is fetched from a brand new SessionContext which returns null if it is the first time the user access a site and the page accessed is protected by BASIC auth. This results in the NPE mentioned in the previous posts, which also has the effect of, if you have the seam-debug on, remembering this exception and redirect to the debug page after you are properly authenticated. Problem 2 The username and password are parsed correctly and assigned to the identity object, however, it never calls the identity.authenticate() to actually perform the authentication!! [The workaround] Create a application component with the same name to fix the logic. Two changes are required: Change components.xml file Make sure your components.xml contains a line like this: | | What is important is the precedence="0" attribute. It makes sure that the component is initialized with the BUILT_IN precedence. Create your own substitute component to fix the problem Using the code below, deploy with your app to shadow the built in AuthenticationFilter component: | package com.mycompany.myapp.util; | | import static org.jboss.seam.ScopeType.APPLICATION; | | import java.io.IOException; | | import javax.security.auth.login.LoginException; | import javax.servlet.FilterChain; | import javax.servlet.ServletException; | import javax.servlet.ServletRequest; | import javax.servlet.ServletResponse; | import javax.servlet.http.HttpServletRequest; | import javax.servlet.http.HttpServletResponse; | | import org.jboss.seam.Seam; | import org.jboss.seam.annotations.Install; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.intercept.BypassInterceptors; | import org.jboss.seam.annotations.web.Filter; | import org.jboss.seam.log.Log; | import org.jboss.seam.security.Identity; | import org.jboss.seam.security.NotLoggedInException; | import org.jboss.seam.servlet.ContextualHttpServletRequest; | import org.jboss.seam.util.Base64; | import org.jboss.seam.web.AuthenticationFilter; | | /** | * Fix bug in the Seam AuthenticationFilter when handling the BASIC HTTP authentication. | * | * Overwrites the BUILT_IN component with the same name. | * | * @author Alan Feng | */ | | @Scope(APPLICATION) | @Name("org.jboss.seam.web.authenticationFilter") | @Install(precedence = Install.APPLICATION) | @BypassInterceptors | @Filter(within = "org.jboss.seam.web.ex
[jboss-user] [JBoss Seam] - Re: NPE when logging inside a property getter
Where do you call getFeatures from? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124920#4124920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trinidad (ADF Faces) PhaseListener blocks application
I don't see what this has to with Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124919#4124919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Design Patterns/Best Practices
No. Seam allows you to design your app without patterns - you design as it suits you not, the framework. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124918#4124918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [NEWBIE Q] redirecting to a certain page if already logg
You can use a page action for this - check if the user is logged in, if they are, direct them to a different page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124916#4124916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - JMS Problem on clean install of Jboss-4.2.2.GA
Hello everyone. I'm trying to get a very simple JMS example running with a clean install of JBoss-4.2.2.GA. I'm trying to use one of the pre-configured example topics which is registered in JNDI under "topic/testTopic". I have a simple listener and a simple publisher which both run without throwing any errors on the client side, though some errors are thrown on the server side. When I run the message publishing code it acts like it sends a message, but the listener never gets it. Here's my code for the listener, the publisher, and the log trace from the period directly after trying to send a message. If anyone has any ideas on what I'm missing I would appreciate the tip. Thanks, Jeremy Topic Listener: --- | package com.dcom.cms.node.test; | | import javax.jms.*; | import javax.naming.*; | | class TopicListenerTest implements javax.jms.MessageListener { | | public static void main(String[] args) throws InterruptedException, | NamingException, JMSException { | new TopicListenerTest(); | while (true) { | System.out.println("."); | Thread.sleep(1); | | } | } | | public TopicListenerTest() throws NamingException, JMSException { | InitialContext jndiContext = new InitialContext(); | ConnectionFactory factory = (ConnectionFactory) jndiContext | .lookup("ConnectionFactory"); | Topic topic = (Topic) jndiContext.lookup("topic/testTopic"); | Connection connect = (Connection) factory.createConnection(); | Session session = ((Connection) connect).createSession(false, | Session.AUTO_ACKNOWLEDGE); | MessageConsumer consumer = session.createConsumer(topic); | consumer.setMessageListener(this); | connect.start(); | } | | public void onMessage(Message message) { | System.out.println("we have a message"); | } | | } | | Topic Publisher: --- | package com.dcom.cms.node.test; | | import javax.jms.*; | import javax.naming.*; | | | class TopicPublisherTest { | | public static void main(String[] args) throws NamingException, JMSException { | new TopicPublisherTest(); | } | | public TopicPublisherTest() throws NamingException, JMSException { | InitialContext jndiContext = new InitialContext(); | ConnectionFactory factory = (ConnectionFactory) jndiContext.lookup("ConnectionFactory"); | Topic topic = (Topic) jndiContext.lookup("topic/testTopic"); | Connection connect = factory.createConnection( ); | Session session = connect.createSession(true,0); | MessageProducer producer = session.createProducer(topic); | TextMessage textMsg = session.createTextMessage( ); | textMsg.setText("testing"); | producer.send(textMsg); | connect.close( ); | } | | } | | Server Log: --- | 2008-01-30 13:38:51,373 TRACE [org.jboss.mq.il.uil2.UILServerILService] Accepted connection: Socket[addr=/127.0.1.1,port=52621,localport=8093] | 2008-01-30 13:38:51,373 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : getThreadGroup | 2008-01-30 13:38:51,373 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : getThreadGroup | 2008-01-30 13:38:51,373 TRACE [org.jboss.mq.il.uil2.SocketManager] start called | java.lang.Exception: Start stack trace | at org.jboss.mq.il.uil2.SocketManager.start(SocketManager.java:112) | at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:171) | at java.lang.Thread.run(Thread.java:595) | 2008-01-30 13:38:51,374 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run Thread[UIL2.SocketManager.ReadTask#5 client=127.0.1.1:52621,5,JBossMQ Server Threads] | 2008-01-30 13:38:51,374 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run Thread[UIL2.SocketManager.WriteTask#6 client=127.0.1.1:52621,5,JBossMQ Server Threads] | 2008-01-30 13:38:51,374 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream | 2008-01-30 13:38:51,443 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream | 2008-01-30 13:38:51,443 TRACE [org.jboss.mq.il.uil2.SocketManager] Read msgType: m_authenticate, msgID: 1 | 2008-01-30 13:38:51,443 TRACE [org.jboss.mq.il.uil2.SocketManager] Read new msg: org.jboss.mq.il.uil2.msgs.CheckUserMsg3116185[msgType: m_authenticate, msgID: 1, error: null] | 2008-01-30 13:38:51,443 TRAC
[jboss-user] [JBoss Seam] - Re: Internal Architecture of Seam Design and Source Code
http://alpha.seamframework.org:/Download/SeamDownloads#H-SeamSVNRepository View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124915#4124915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Logout from a WebService application
I have a similar problem. I am developing a Adobe Flex application that sends commands to a secure (via JAAS basic authentication) JBoss Java servlet. My version of JBoss is 4.2.2.GA. 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. I'm not certain it even works at all. My jboss-web.xml in the application .ear contains the following: | | | java:/jaas/MyRealm | | which as I understand it, should cause the logout to occur on session invalidation. I did add the following code to clear the JaasSecurityManager cache programatically (which calls my logout method), but that still leaves the cache on Internet Explorer intact (and I suspect that the session has not truly been invalidated)... | 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 ); | 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=4124913#4124913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Running JBM as a Window service
Hi, My messaging configuration stops working when I run it as a Window service. FYI, below is my wrapper config file for the messaing configuration: wrapper.java.command=C:\hk\3rdParty\Sun\jdk1.5.0_11\bin\java wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp wrapper.java.classpath.1=C:/hk/3rdParty/JBoss/jboss-4.2.2.GA/bin/wrapper.jar wrapper.java.classpath.2=C:/hk/3rdParty/Sun/jdk1.5.0_11/lib/tools.jar wrapper.java.classpath.3=./run.jar wrapper.java.classpath.4=C:/hk/ITF/Distribution/server/3rdparty/ojdbc14.jar wrapper.java.library.path.1=C:/hk/3rdParty/JBoss/jboss-4.2.2.GA/lib # these are the JAVA_OPTS wrapper.java.additional.1=-server # enviroment variables - define the ones that match your desired environment wrapper.java.additional.2=-Denviromnment.variable=value # memory parameters - define the ones that match your desired environment wrapper.java.additional.3=-Xms64m wrapper.java.additional.4=-Xmx96m # If you need serialization suppport wrapper.java.additional.5=-Dsession.serialization.jboss=true wrapper.app.parameter.1=org.jboss.Main # Parameters to be passed to the application (Jboss) # Define server name (configuration) - If you need a config that is different than the "default" or need to run multiple configs wrapper.app.parameter.2=-c RRSMessaging # Define listening IP - If you have more than one IP or want to indicate to listen on a specific IP wrapper.app.parameter.3=-b mke06390 # wrapper log location wrapper.logfile=C:/hk/3rdParty/JBoss/jboss-4.2.2.GA/server/RRSMessaging/log/wrapper.log # You must not change below parameters without first uninstall the service # service name wrapper.ntservice.name=14599RRSMessaging # service display name wrapper.ntservice.displayname=RRS Messaging Engine If I started my messaging configuration using the command line "jboss-4.2.2.GA\bin\run.bat -c ", everything works fine. My client programs are able to publish and subscribe to the topics no problem. The jndi properties used by the clients are as follow: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://localhost:1099 | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces However, when if I started my configuration as a Window service, my clients programs stop working. I think the problem has to do with the clients are not able to find the Naming Service at jnp://localhost:1099. Please help. Thank you in advance. The exception I am getting is [i]avax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [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:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.irista.messaging.framework.JndiHelper.lookup(JndiHelper.java:114) at com.irista.messaging.adapter.topic.JmsTopicManager.initialize(JmsTopicManager.java:119) at com.irista.messaging.adapter.topic.JmsTopicManager.(JmsTopicManager.java:98) at com.irista.rrs.messaging.adapter.JmsTopicPublisher.initialize(JmsTopicPublisher.java:86) at com.irista.rrs.messaging.adapter.JmsTopicPublisher.(JmsTopicPublisher.java:70) at com.irista.rrs.messaging.framework.RRSPublisherShell.startObject(RRSPublisherShell.java:262) at com.irista.foundation.systemmanagement.objectshell.FoundationJavaShellImpl.start(FoundationJavaShellImpl.java:561) at com.irista.foundation.systemmanagement.objectshell.FoundationJavaShellImpl.initialize(FoundationJavaShellImpl.java:290) at com.irista.foundation.systemmanagement.objectshell.FoundationJavaShellImpl.(FoundationJavaShellImpl.java:110) at com.irista.foundation.systemmanagement.objectshell.FoundationJavaShellImpl.main(FoundationJavaShellImpl.java:390) 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:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) ... 13 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.C
[jboss-user] [JBoss Seam] - Re: Seam 2.0.1 GA is out
I stay asking myself: "When will Seam do coffee?" ;) Great work! Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124911#4124911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Multiple JMS sessions inside 1 XA transaction
We are having a situation where we are getting random "javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted]" failures. The situation occurs randomly, but when it does occur, we are always doing multiple JMS publishes within 1 XA transaction. For each message we do this: 1) Get the connection factory "java:JmsXA" 2) Create a connection from the factory 3) Create a non-transacted JMS session 4) Create a queue sender 5) Create an ObjectMessage 6) Set the Serializable into the ObjectMessage 7) Send the ObjectMessage with the sender 8) Close the sender / session / queue connection Does anyone see a problem with this? Thanks in advance. Cory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124910#4124910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Twiddle Error - Trying to use OOTB - having some issues
Version 3.2. . .it is an older version THX View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124906#4124906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem deploying SAR, ClassNotFoundException
Well, the answer to my first question is yes. trace or debug mode logging on org.jboss is dumping a lot of information about the manifest file. Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124907#4124907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Wiki - Seems like it's not an example anymore :)
Hey, It seems lately that a lot of Seam tickets related to feature requests for the Wiki example, I think most of the people trying to keep updated with Seam through its changelog, As Seam is very active, it's very hard to keep updated of each ticket when there are so many, Just a suggestion: maybe it's better to create a project for the Wiki as it seems like it's very active and many people requesting new features for it, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124904#4124904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Very different statistics in both nodes of the cluster
"[EMAIL PROTECTED]" wrote : | Assuming load balancers equally distribute load, then it should be roughly equal. | That`s what I thought. And yes, we see an even balancing behaviour. Both nodes process more or less same traffic. "[EMAIL PROTECTED]" wrote : | When you say Read and Write, do you mean averageReadTime and averageWriteTime? Or are these number of read and write calls? AverageReadTime and AverageWriteTime obtained from the CacheManagementInterceptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124903#4124903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124903 ___ 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: getting a handle on Session
Sorry for the delay. We're using EJB3 and we have the EntityManager injected. I don't see methods in EntityManager that allow us to get a handle on the Hiberhate SessionFactory - am I missing something? What we're really trying to do is use a Criteria to filter our query results from the database. Following that down, we can eventually do a getCriteria... Any thoughts? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124902#4124902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124902 ___ 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
Jbom = JBPM.. Sory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124901#4124901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Jbom retrieve information
Hi, i need to know, the task's, that an actor has been involved, how can i go that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124900#4124900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124900 ___ 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?
Hi there, I began to use the ICEfaces with Seam when ICEfaces just became open source and Gavin announced to support ICEfaces with Seam. I found that Seam works very well with ICEfaces. I never tried the Richfaces, but I know that Richfaces should work more well with Seam, since JBoss own the Richfaces. A little annoying thing when using ICEfaces is that some components of Seam, e.g. s:fileUpload, seam email, still don't work with ICEfaces. Maybe, it can be solved in the near future. Personally, I hope that Seam can fully support some MAIN jsf frameworks, since Seam seems to be the dominate Java EE framework in the future (my own opinion). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124898#4124898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Potal on CentOS start up problem
CentOS 5 NEw version of JBoss Portal gives error of: basicMBeanRegistry preregister() failed SUn JDK 1.5 installed..java alternatives set properly JAVA_HOME and JBOSS_HOME set properly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124897#4124897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Trinidad Integration Issue
Hi all I'ÂÂm struggling with the integration of Apache Trinidad 1.2.5 into our existing web-application that uses SEAM 2.0.0GA + Richfaces 3.1.4GA so far. I adapted all configuration settings from the seamdiscs example. The application works and I can use the Trinidad controls. However when I request a page that includes Richfaces components for the first time JBoss shows to following message in the console: 17:05:20,160 ERROR [STDERR] 30.01.2008 17:05:20 org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit createResponseWriter SCHWERWIEGEND: No RenderingContext has been created. This message is not shown upon further requests. But no matter if I request the page for the first time or later the functionality of the commandButtons is broken. If I click on one of them the page just gets rerendered without executing the method specified with the action attribute of the button. Using the Trinidad libraries coming with the seamdiscs example (1.2.1) the error is not shown in the console. However switching back to the old library does not fix the issue with the commandButtons. Everything works smoothly as before when I remove the default-render-kit-id entry in the faces-config.xml file. But obviously this poses that the Trinidad controls can no longer be rendered. â Thus this is not an applicable solution. Has anybody got these components to work together? Any help is highly appreciated. Thank you very much! Raoul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124893#4124893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124893 ___ 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?
Hey, In my opinion, Richfaces works best with Seam as it is tested very well, we have built a huge application based on Richfaces and it works perfectly, I think the integration between RF and Ajax4Jsf is best and you can find beneficial from both world together and combine nice stuff with RF/a4j, more than that, it's all under the same house which is important if you plan to purchase support some when, Regarding your question, I also tested Myfaces / Icefaces with Seam and it worked very nice as Seam is not binded in any way to RF or any other specific JSF components library, in a matter of fact, I sometimes I use Seam without any relationship to the JSF world :-) Well, check the examples, Icefaces works and it's active, same goes for Trinindad,Myfaces (I tested it very long time ago but it might still work), There are very very nice components library named 'Woodstock', but I have encountered many problems while trying to use them with Seam, I think Gavin somewhere before a year replied me that they are working on it together to make Woodstock work with Seam but I didn't see anything new about it(but I might be wrong), Well, at the end, after all the nice specs and standards, Seam works best under Jboss, RF works best with Seam/Jboss, Woodstock works best with Glassfish, Oracle goes with Trinidad and thats the way it works, (I'm not saying they cannot be combined, I just say it's harder) Well, at least that is from my own experience :-) Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124891#4124891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with simple example of @ManyToMany
Unfortunately it hasn't helped - I tried specifying Generic types for collections, tried specifying targetEntity on both sides - still same exception... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124890#4124890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124890 ___ 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
Thanks! I hope you are right.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124889#4124889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Very different statistics in both nodes of the cluster
"jorgemoralespou_2" wrote : This is a cache without a cacheloader. :-) Assuming load balancers equally distribute load, then it should be roughly equal. When you say Read and Write, do you mean averageReadTime and averageWriteTime? Or are these number of read and write calls? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124888#4124888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam + Ajax4JSF - The conversation ended, timed out or was
Hey, I'm not sure yet why, but sometimes ajax calls are being processed very slowly for me, So if the user press another button while an ajax call is being processed, I get: The conversation ended, timed out or was processing another request, It is of course logical, but since sometimes I have very big forms I prefer not to break the whole form submission somehow, I tried the ajax4jsf queues but it didn't have any affect, Is there anyway to handle ajax calls better than just break the whole page submission? Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124885#4124885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Clustering question
I have identical nodes that need to serve non-identical data. Each node is a image server that connects to a large (>300GB) proprietary format image data file. Some of the files that are used often will be duplicated accross two or more nodes and others won't. Is there a way to set up the nodes so that they can be clustered, without every node having access to the same resources? If the call to one node fails (because it may not have the right file), will the cluster automatically retry using a different node. Though, I don't think load balancing by exception will be so efficient. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124884#4124884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Assigment task
Hello!! I've try websale process definition and I could see that thougth a task is assignated to a determinated person when you're in the web console you can access to this task login like a different person. Could someone tell me how I could restrict the access to this task? Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124880#4124880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with simple example of @ManyToMany
Check out: http://java.sun.com/javaee/5/docs/api/javax/persistence/ManyToMany.html#targetEntity() ...try either Genericizing your Collections between Course/Student, or specifying @ManyToMany.targetEntity. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124881#4124881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124881 ___ 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.1 GA is out
It still says Development here http://labs.jboss.com/jbossseam/download/ Congrats Seam Team! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124877#4124877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Facelet Templates from a Database
Hi, Has anyone an idea of how to load facelets from the database rather than WAR? I'd like to use templates in the database for rendering seam email's. The problem I seem to have is that if I install my own "org.jboss.seam.core.resourceLoader" Email uses public URL getResource(String resource) rather than public InputStream getResourceAsStream(String resource) I can't return a URL for a database document. Any ideas? Thanks Tom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124879#4124879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.2 Spring Deployer + Spring 2.08
I'm running jboss-4.2.2.GA with spring-deployer (2.0-m3) I wish to see this support for spring-2.0.8 or 2.5. Thanks Michele View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124875#4124875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: I'm the first to download it!
If you really want to be the first one, you should monitor the maven repository. We usually update the repository before updating the SF downloads. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124874#4124874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to download a file via Seam& JSF,
Our application uses the same technique as discussed in this thread for downloading files (see below). This works, but if any messages (FacesMessage) are queued during the generation of the downloaded content, they are not displayed to the user since the facesContext.responseComplete() interrups the JSF lifecycle and the view is never rerendered. Is there a way to generate downloadable content, as below, but still refresh the browser view, showing any pending messages? In many cases, we wish to provide downloadable content, but also include warning messages (e.g., "Warning: generated report includes partially validated records"). Thanks! | HttpServletResponse response = (HttpServletResponse)facesContext.getExternalContext().getResponse(); | try { | response.setContentType(contentType); | response.setHeader( "Content-Disposition", "attachment; filename=\"" | + name + "\";"); | response.getOutputStream().write(fileData); | response.setStatus(HttpServletResponse.SC_OK); | response.getOutputStream().close(); | facesContext.responseComplete(); | } catch (IOException ex) { | log.error("Error writing file data (#0 bytes) to response", ex, fileData.length); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124870#4124870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124870 ___ 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 is out
Here's the announcement: http://in.relation.to/Bloggers/Seam201GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124868#4124868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem clustering of MDB on JBoss.
[Moved from JBoss Messaging forum where it was mis-posted] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124869#4124869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user