[jboss-user] [Microcontainer] - Re: Howto inject beans into a collection

2009-02-22 Thread Welle
Oppss... The testclass should be is A not B... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212135#4212135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212135 ___ jboss-u

[jboss-user] [Microcontainer] - Re: Howto inject beans into a collection

2009-02-22 Thread Welle
Hmm... Perhaps I should mention that I trying to get it to work under JBoiss AS 5. It doesn't seem to recognize the "inject" within a "value" element: org.jboss.xb.binding.JBossXBRuntimeException: {urn:jboss:bean-deployer:2.0}inject not found as a child of {urn:jboss:bean-deployer:2.0}value

[jboss-user] [EJB 3.0] - ServiceLocator in EJB3

2009-02-22 Thread venuwin
Hi, My question is about ServiceLocator pattern implementation in the EJB3 world. Pls let me know if there is any new efficient way of writing ServiceLocator in EJB3. This new approach should also hold good for clustering. Also curious to know how can we write code that can work with both remote

[jboss-user] [Performance Tuning] - 100% Utilization of JBOSS 3.2

2009-02-22 Thread jjoseph
Hi All, We are experiecing 100% utilization issues with JBOSS. Our environment is HP UX with JBoss 3.2. Could you please point me in the right direction? How do we trouble shoot this issue? I am pretty new with JBOSS. Many thanks in Advance, John Joseph View the original post : http://www.j

[jboss-user] [JBoss jBPM] - Re: process resume

2009-02-22 Thread galanfish
and why i can not find any reference that the method ClientExecution#suspend called, what does this method used for View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212129#4212129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Portal] - Re: After install of 2.7.1 bundle get JSPHelloUser Portlet

2009-02-22 Thread prabhat....@jboss.com
Pls search forum for the fix.You need to get the examples from the trunk which also has fix. http://anonsvn.jboss.org/repos/portal/examples/trunk/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212128#4212128 Reply to the post : http://www.jboss.org/index.ht

[jboss-user] [JBoss jBPM] - Re: process resume

2009-02-22 Thread galanfish
BTW, what's the motivation for the constants STATE_SUSPEND, i mean, usually, what can i use it for? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212127#4212127 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212127 __

[jboss-user] [EJB/JBoss] - Second levele caching: Database connection issue in load tes

2009-02-22 Thread preddy1104
I am new to JBoss caching and trying to use second level caching with ejb3 entity beans. By looking at the document I have configured my entity bean to use jboss caching as second level caching. It is failing in load testing. I am getting an error related to database connection availablity. Us

[jboss-user] [JBoss Cache: Core Edition] - JBoss cache: Database connection issue in load testing

2009-02-22 Thread preddy1104
I am new to JBoss caching and trying to use second level caching with ejb3 entity beans. By looking at the document I have configured my entity bean to use jboss caching as second level caching. It is failing in load testing. I am getting an error related to database connection availablity. Usi

[jboss-user] [JBoss Tools (users)] - Problem Integrating tomahawk (or other external jars) in jbo

2009-02-22 Thread AndrewMartin
I am using Ganymede eclipse with jboss tools for creating a seam project for development. For an ear project it creates interlinked sub projects. But now I want to use tomahawk jsf tag library for some validations (rather than writing my own validator). I have put he tomahawk jar in he class pa

[jboss-user] [JBoss jBPM] - Re: process resume

2009-02-22 Thread galanfish
stupid question: need i add every activity(maybe exception comes out) with at least two transitions? one for the normal destination, and one for the error state or? thx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212122#4212122 Reply to the post : http:/

[jboss-user] [Beginners Corner] - Confused about: Eclipse, Eclipse WTP, and JBoss; what do I

2009-02-22 Thread matthewtap
I have developed using NetBeans and the Sun Java EE 5 Application Server. But, I am new to Eclipse [I can use it for POJO's], as well as JBoss. I have found mid to high level info on both... there is mid to high level stuff coming out of my ears. But I do not know what exactly is needed. What

[jboss-user] [JBoss jBPM] - Service Layer Integration

2009-02-22 Thread bradsdavis
I am using JBoss 4.2.3 GA, and JBPM 3.3.1 GA. I am looking for documentation on integrating with the jbpm installation. I notice that there is a BPMContextService in jbpm/jbpm-integration. What is this for? Is there a way to get the JbpmContext that is configured in jbpm-service, without def

[jboss-user] [JNDI/Naming/Network] - Could not get JNDI datasource working

2009-02-22 Thread sdsani
Hi, I am new to Jboss and at this point learning about Jboss and JSF. Currently I am working on a very small JSF application (JSF, Spring) that connects to a database (H2) and then reads and display some information from that database. Everything works fine when I perform JNDI lookup from my co

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Having problem to use JNDI datasource.

2009-02-22 Thread sdsani
Hi, I am new to Jboss and at this point learning about Jboss and JSF. Currently I am working on a very small JSF application (JSF, Spring) that connects to a database (H2) and then reads and display some information from that database. Everything works fine when I perform JNDI lookup from my co

[jboss-user] [JBoss Portal] - Re: Dashboard configuration - drag and drop

2009-02-22 Thread diparc
I was looking at other posts in the forum and figured that I do need to manage hibernate transactions. I modified the code to do that and it is working now. Hoping this is the right way though, please share your thoughts - I am leaving the code snippet here - |private void createUserAndA

[jboss-user] [Beginners Corner] - Re: Cannot start server

2009-02-22 Thread PeterJ
Did you read the title of the first topic in the Seam Forum? Did you read the topic? Also, if you are having issues with how JBoss Tools does it work with Seam, you need to post in the JBoss Tools forum, not the Seam forum. View the original post : http://www.jboss.org/index.html?module=bb&op=

[jboss-user] [Beginners Corner] - Re: Cannot start server

2009-02-22 Thread PeterJ
How are you specifying the database connection? Are you using a datasource? If so, post the *-ds.xml file. When posting XML text or source code, please enclose the text in UBBCode "code" tags - you can do this by selecting the text and clicking the Code button above the editor window. Also, cl

[jboss-user] [Beginners Corner] - Re: Serving Static Content JBoss5.0.0.GA

2009-02-22 Thread PeterJ
See http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4200175 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212103#4212103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212103 __

[jboss-user] [JBoss Portal] - Re: Dashboard configuration - drag and drop

2009-02-22 Thread diparc
Thanks Sambit & Vivek! I wrote a servlet filter like you suggested and I am creating the user when the user is not found, also creating the role when not found, and assigning role to user using the membership module - however, I am getting an exception when it tries to create the user in the po

[jboss-user] [JBoss Cache: Core Edition] - Re: Do you prefer a tree or a plain map API for your project

2009-02-22 Thread mingfai
it's good to have an option to get and put data without a node argument. I have a suggestion to add a defaultNode attribute and a set of API without the node argument (and assume to use the defaultNode) I've just implemented a @JBossCache annotation to create and inject a Cache to any Spring-ma

[jboss-user] [Microcontainer] - Re: Howto inject beans into a collection

2009-02-22 Thread alesj
Your example should work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212094#4212094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212094 ___ jboss-user mailing list jboss

[jboss-user] [Microcontainer] - Howto inject beans into a collection

2009-02-22 Thread Welle
Hi all, I just started looking at the Microcontainer and wonder how I should inject beans into a collection (List) that is a property to another bean? I can't find any examples how this should be done (if possible). | | | | | | |

[jboss-user] [EJB/JBoss] - Connecting From JBoss to Websphere EJB

2009-02-22 Thread foolit
I have an application running in Jboss 4.2 version that needs to communicate with an EJB Running in Websphere 6.0. Can you provide me with some pointers to make this happen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212078#4212078 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Simple 2 Server Setup

2009-02-22 Thread hatleye
I have had more time to look at the examples, and they are very straightforward on how to handle topics on a single server, but I still have one fundamental question. How does the Server peer architecture exchange messages and know about global queues? Only through them being clustered? Vie

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Increase jboss Memory

2009-02-22 Thread elshereif
It prints that its uses 64 bit jvm but, It output the following JBoss Bootstrap Environment JBOSS_HOME: /JBOSS/iboss/jboss-4.0.2RC1 JAVA: java JAVA_OPTS: -d64 -Xmn1024m -Xms3072m -Xmx3072m -XX:ThreadStackSize=128 -XX:+UseParallelGC -XX:ParallelGCThreads=8 -verbose:gc -Xloggc:/gclog.txt

[jboss-user] [Beginners Corner] - JBOSS Session for JAVA

2009-02-22 Thread javaguru123
I need to know if JBOSS server creates a session id by default or one must have "request.getSession()" in order to establish commmunication between client and server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212070#4212070 Reply to the post : http:/

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Transaction is not active

2009-02-22 Thread HoleInOne
You got a real, genuine, deadlock there. 2 threads fighting over the same resources. When you set the timeout to an hour instead of 5 minutes it means only that the threads where fighting for the whole hour instead of 5 minutes. There is no easy answer for this I'm afraid. The application must b

[jboss-user] [Beginners Corner] - Re: Cannot start server

2009-02-22 Thread handro1104
For some reason I cannot post on JBoss Seam. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212067#4212067 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212067 ___ jboss-user

[jboss-user] [Beginners Corner] - Re: Cannot start server

2009-02-22 Thread handro1104
Thank you PeterJ. I am not working on the command line. I have Eclipse Ganymede and JBossTools-ALL-win32-3.0.0.CR2-R200901280154.zip. I get the error when I start the server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212066#4212066 Reply to the post :

[jboss-user] [Beginners Corner] - Serving Static Content JBoss5.0.0.GA

2009-02-22 Thread ramboid
Is there a way to serve static ontent with JBoss5.0.0.GA? I used to add a Context element in the server.xml file of JBoss4.X and that was sufficient to server static content. In JBoss5.0.0.GA, I just get errors when I try to add a context element on the server.xml. It appears that the context