[jboss-user] [jBPM Users] - Re: how can i reuse jbpm-console on JBPM4.2

2009-11-17 Thread sebastian.s
GWT-Console is the actual graphical user interface application. GWT-console-server is the integration part between the console and jBPM since the BPM Console is not only used for jBPM. For this reason GWT-console-server offers REST-style "webservices" which are used by GWT-Console to invoke meth

[jboss-user] [JBoss Cache Users] - Re: Bug: Endless-loop in EvictionTimer thread when using LFU

2009-11-17 Thread pb00067
"bstansbe...@jboss.com" wrote : Please report a bug at jira.jboss.org. Thanks! Bug report created, see https://jira.jboss.org/jira/browse/JBCACHE-1557 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266002#4266002 Reply to the post : http://www.jboss.org/inde

[jboss-user] [JCA] - Re: RAR classloading inversion

2009-11-17 Thread vickyk
"ad-rocha" wrote : I found some tips here: http://java.dzone.com/articles/jboss-microcontainer-classloading, but I still don't know how to use jboss-classloading.xml in RAR files... | Just place the jboss-classloading.xml inside the RAR/META-INF and see if the corresponding classloading domai

[jboss-user] [JBoss Portal Users] - practical for archive and research

2009-11-17 Thread Oscartron
Hello, I am searching for a CMS System with following special requirements: 1.Absolute isolation of the content and uploaded Content, directed by user, usergroups rights (I think so) 2.Automatic message Mail by inserting new content. (I think not implemented) 3.Searchfunction in attachments like P

[jboss-user] [EJB] - Generate tag in Jboss.xml using

2009-11-17 Thread djtharindu
Hi, I am trying to use custom "invoker-proxy-binding-name" in my jboss.xml for a MDB.I am using ejb 2.1 and XDoclet 1.2.3. I need to generate following entries to jboss.xml using XDoclet. CustomName I have used following @jboss.invoker-binding in my code and it did not work. Can

[jboss-user] [JCA] - Re: Discovery of JCA ConnectionFactory without resource-ref

2009-11-17 Thread vickyk
"maffeis" wrote : | Is there a way of making such a JNDI lookup possible from a Servlet, without adding a declaration to the web.xml file? Yes you should be able to get theJCA CF by simply looking at the JNDI. Just define the -ds.xml and deploy it in the JBoss, later on in the servlet(or any

[jboss-user] [Performance Tuning] - How to tuning JBoss for 1500 vistior in peak?

2009-11-17 Thread khodam123
Hi. I config JBoss ThreadPool for 1500 but when I test my server,that can`t pass 500 visitor test. How I config my JBoss? Any trick or special config for JBoss? I edit run.conf,jboss-service.xml , but can`t pass my test. Thanks from now. View the original post : http://www.jboss.org/index.html

[jboss-user] [JCA] - Specifying a different WorkManager for a custom resource ada

2009-11-17 Thread bortx
Hi, I'm using jboss 4.2.3 and I have developed a custom resource adapter. I want my resource adapter to use a different WorkManager than the default jca one "jboss.jca:service=WorkManager" so that threading in this RA is independent and does not interfere with threading in other deployed resour

[jboss-user] [JBoss Tools Users] - Re: Developping a Potlet with JBoss Tools and JBoss Portal

2009-11-17 Thread OChikvina
Hi elmaroufy, the tutorial on this blog is out-of-date. Please, use the following reference: http://docs.jboss.org/tools/3.1.0.M2/en/jboss_portal_tools_ref_guide/html_single/index.html#installation All Jboss Tools documentation you can find here: http://jboss.org/tools/docs.html View the origi

[jboss-user] [Installation, Configuration & Deployment] - Run JBoss as Service in HP-UX 11iv3

2009-11-17 Thread octafiantos
hi all. i'm trying to run jboss as service in hp-ux 11iv3. i'm using jboss-5.1.0.GA with jdk6. i put the server in /app/jboss-5.1.0.GA.jdk6 and followed the instruction as follow: # 1. Copy /bin/jboss_init_hpux.sh to/sbin/init.d/jboss # 2. Create softlinks to the file from the various startup an

[jboss-user] [JCA] - Re: Specifying a different WorkManager for a custom resource

2009-11-17 Thread vickyk
"bortx" wrote : I want my resource adapter to use a different WorkManager than the default jca one "jboss.jca:service=WorkManager" so that threading in this RA is independent and does not interfere with threading in other deployed resource adapters. | Can't do it with JBoss4.x, there is an J

[jboss-user] [JBoss Web Services Users] - Re: WSSE UsernameToken without HTTP basic auth?

2009-11-17 Thread moa
Hi Mikael and Darran, Sorry for wakening an old thread. We had the same problem with the principal = null over in the STS wiki: http://www.jboss.org/community/wiki/jbosssecuritytokenservice#comment-2075 So I have added a JIRA bug for you Darran: https://jira.jboss.org/jira/browse/JBWS-2833 View

[jboss-user] [EJB 3.0 Users] - Re: How to find Entity by Id

2009-11-17 Thread Fuchs
I couldnt find a JNDIView where my CustomerHome is listed, so i took CustomerHome because of the console output where the ejbname is CustomerHome. Where could i proof the name of the jndi name for my CustomerHome? I made a lookup in the client. Context context = new InitialContext(); | Custom

[jboss-user] [JCA] - Re: Specifying a different WorkManager for a custom resource

2009-11-17 Thread bortx
I have developed a work around on this issue and I want your opinion about it. It consist on the following. 1.- Deploy a service called custom-work-manager-service.xml defining a custom WorkManager with a custom thread pool with the following content | | | | CustomWorkMan

[jboss-user] [JCA] - Re: Specifying a different WorkManager for a custom resource

2009-11-17 Thread vickyk
"bortx" wrote : | 2.- Accesing this work manager from my resource adapter and using it to submit works instead of the one that is provided by jboss in the BootstrapContext: | Looks good as long as you are not relying on getting the WorkManger by javax.resource.spi.BootstrapContext::getWork

[jboss-user] [EJB 3.0 Users] - Re: Lookup for a session bean if only the interface is given

2009-11-17 Thread Juergen.Zimmermann
Thank you very much! That's what I was looking for. Just one question: when doing this in the way described above, how do I get the DeploymentUnit object? Can you give me another hint please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266064#4266064 Repl

[jboss-user] [JCA] - Re: Specifying a different WorkManager for a custom resource

2009-11-17 Thread bortx
Yeah, I've already tested my resource adapter with this configuration and it works successfully. I want only to know if this approach could have any undesirable impact in the application server. For example, does this thread pool definition take threads from any underlying system thread pool,

[jboss-user] [JBoss Portal Users] - Re: JBOSS SSO supports IIS?

2009-11-17 Thread apemberton
I'm not sure if JBoss SSO supports IIS directly, but if you're using NTLM authentication w/IIS, the Portal can be configured for NTLM security as well. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266071#4266071 Reply to the post : http:/

[jboss-user] [jBPM Users] - Re: facing issues while assigning parallel task in jbpm usin

2009-11-17 Thread saraswati.santanu
You have state nodes at all steps. State node is a wait node. So you will be stuck, and you have to signal at each step to move to the next step. Otherwise it will be stuck at those nodes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266073#4266073 Reply t

[jboss-user] [jBPM Users] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA

2009-11-17 Thread rstaessens
Hi, In regard of your problem with user/password in GWT you can try this user :admin password: admin i'm currently working with JBPM 4.2 and perhaps you can try also this (which working for me : Table 2.1. Example console users: Username Password alex password mike password peter pass

[jboss-user] [jBPM Users] - Process design and execution without using jbpm-console ( jb

2009-11-17 Thread makarandk502
Hi All, I would like to run the simple process without using jbpm console using jBPM APIs and jsf/jsp forms Start - task1 (without form) - task2 (with form) - subprocess - java - end Need your advice/help on this Here starting the process, moving from one task to another can be done using jBPM

[jboss-user] [Installation, Configuration & Deployment] - Re: How to add files to application classpath?

2009-11-17 Thread PeterJ
What do you mean by "specific for each domain"? Properties files can be placed in a JAR file in your app, in WEB-INF/classes, or even the server/xxx/conf directory. Your point #3 mentioned you tried the conf directory but you did not elaborate on what did not work for you. A specific example of

[jboss-user] [Performance Tuning] - Re: How to tuning JBoss for 1500 vistior in peak?

2009-11-17 Thread PeterJ
Scan through this forum, there are lots of tuning suggestions in the various posts. What performance testing have you done? What efforts have you made to identify the bottleneck? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266094#4266094 Reply to the p

[jboss-user] [jBPM Users] - nested forks

2009-11-17 Thread makam
Hi, I have a situation where you have two nested fork, at the first fork left a task unfinished and launched the second fork with two more tasks, but when it launches the second fork, I repeat one of the tasks of the second Fork. it means if the second Fork is associated with(Task 1, Task 2), whe

[jboss-user] [EJB 3.0 Users] - Re: Lookup for a session bean if only the interface is given

2009-11-17 Thread jaikiran
"Juergen.Zimmermann" wrote : | Just one question: when doing this in the way described above, how do I get the DeploymentUnit object? Can you give me another hint please? It's actually the responsibility of the JBoss Microcontainer Virtual Deployment Framework (which is used in the JBoss AS-5

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-17 Thread saraswati.santanu
Bob, are you sure that there is no other jbpm.repository.hbm.xml in classpath? I do not see any problem with your configuration. If you are sure that there is no secong repository hbm then you need to do hard debugging of hibernate. In such a case you should watch org.hibernate.cfg.Configurat

[jboss-user] [Beginner's Corner] - Re: OneToOne could be null

2009-11-17 Thread Wolfgang Knauf
Hi, so you want to just change the relationship between two entities without changing any of them? Please post the snippet of code where you manage this relationship. Did you make sure that both entities are under control of the entity manager (not "detached")? Did you declare some "transient"

[jboss-user] [jBPM Users] - jbpm-console 3.2.6sp1 source

2009-11-17 Thread noicangi
hi, please help me, i'm looking for the 3.2.6 console source, my idea is to learn from source how to use the jbpm context and the persistence for my process definition. thanks, noicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266103#4266103 Reply

[jboss-user] [jBPM Users] - Re: nested forks

2009-11-17 Thread saraswati.santanu
Sebastian, So far I understand, you have some flow like this: | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | | | | | | | | | | | | |

[jboss-user] [JBoss Web Services Users] - Re: cus tom fault mapping with jax-rpc‏

2009-11-17 Thread pa12399
Hi I am encountering the same issue - I am unable to deploy a webservice with user-defined exception. I am using JBoss 4.2.2GA and JDK1.5. Did you resolve your problem of having user-defined faults? Please share your experience. View the original post : http://www.jboss.org/index.html?module

[jboss-user] [JBoss Messaging Users] - How to set socket timeouts?

2009-11-17 Thread belcar
Hi I have a Web Application that has a Thread polling for incoming messages on a remote JBM 1.4.5 queue. After some time the thread no longer picks up any messages, so I assume the socket connection has timed out. If I'm correct, you can manage these settings in deploy/jboss-messaging.sar/remo

[jboss-user] [jBPM Users] - Re: nested forks

2009-11-17 Thread makam
I understand your idea, but i think that is not my situation. I am attaching an example. | | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | | | | | | | | | | |

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-17 Thread RockerRocker
Thanks Santanu. I have changed spring-transaction-interceptor from current="true" to current="false" and it did resolve that issue. Now , when i start a new process, it gives me org.jbpm.api.JbpmException: no org.jbpm.pvm.internal.session.DbSession in current environment I am using the foll

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-17 Thread RockerRocker
Also to add, i have a Spring advice View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266142#4266142 Reply to the post : http://www.

[jboss-user] [JBoss Microcontainer Users] - Struggling with jboss-classloading.xml

2009-11-17 Thread ad-rocha
Hi all, I've be struggling with jboss-classloading.xml for about one week and really don't know even if it is possible. There is my problem (JBoss 5.1): 1) I have a RAR that contains a lot of jars that must be exposed to other applications. Everything is working fine and after deploy I can acce

[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-17 Thread zptian
Hi Sushant, could you please help to shed some lights on the issue? it's not necessary to be all sing all dancing, just point us to the right direction.appreciate your help, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266149#4266149 Reply to the post

[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml

2009-11-17 Thread alesj
"ad-rocha" wrote : | My question is: is there a way to invert classloader in RAR and continue seeing the classes? | Hmmm, you could try "osgi" rules. Import more specific version of slf4j via rar's cl requirements. But then you also need to properly "osgi"-ize your slf4j jar. You can eithe

[jboss-user] [JBoss Web Services Users] - Re: cus tom fault mapping with jax-rpc‏

2009-11-17 Thread newmanw10
I did finally figure out what my problem was. Are you using wscompile to generate your jax-rpc mapping file? If so that is your problem! I am not sure if wscompile is generating the xml incorrectly or if jboss does not parse wscompile's generated mapping file correctly. The solution is to use

[jboss-user] [EJB 3.0 Users] - Re: How to load external parameters in ejb?

2009-11-17 Thread mnenchev
Hi, here is the whole stateles bean class: | | @Stateless | public class QueueSenderBean implements ISenderLocal { | | private static final Logger log = Logger.getLogger(QueueSenderBean.class); | | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) |

[jboss-user] [JBoss Messaging Users] - Clustered JMS not respecting FLUSH timeout setting

2009-11-17 Thread parressh
Hi, I'm not sure if this or the JGroups forum is the right place to post this message, but I'll start here. Our jgroups channel for JMS (jbm-control) is configured to have a FLUSH timeout of 2ms (which is the JBoss 5.1.0.GA default). One of our nodes is having issues connecting to the JMS cl

[jboss-user] [jBPM Users] - Re: nested forks

2009-11-17 Thread makam
I attach a test case for the situation described above. Greetings and thanks for the support so far. Sebatian | package org.jbpm.examples.task.swimlane; | | import java.util.List; | | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | /** | * @author

[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml

2009-11-17 Thread ad-rocha
Hi Ales, First of all, thank you for your reply. Well, putting jboss-classloading.xml inside my slf4j didn´t work (I laso removed jboss-classloading.xml from RAR because of classes visibility). Anyway, I don't believe it is a ellegant approach and now I suppose I'm tied to JBoss SLF4J impleme

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-17 Thread saraswati.santanu
It will be helpful if you can provide the stack trace View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266163#4266163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266163 ___ j

[jboss-user] [JBoss Cache Users] - Re: Memory growth even after pojo is deattached from pojo ca

2009-11-17 Thread anandhs
My Apologizes, should have posted this on the Pojo Cache forum. Have moved it there, so please ignore this topic View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266167#4266167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply

[jboss-user] [Security] - AdvancedLdapLoginModule - get groups

2009-11-17 Thread kdolan
I successfully integrated the SPNEGO authentication module. In my application, I see that req.getUserPrincipal() returns the userid of the user logged into the Windows machine (e.g., j...@mycom.com). How do I find out if this user belongs to a specific AD group? (note: I have the group name I'

[jboss-user] [JBoss Cache Users] - Re: Bug: Endless-loop in EvictionTimer thread when using LFU

2009-11-17 Thread bstansbe...@jboss.com
Thanks. :-) "pb00067" wrote : | As Hibernate does not suggest LRU as algorhythm for 2L-cache, I use the LRU. Where'd you get the impression LRU is not recommended? LRU should be fine for Hibernate 2LC, see http://www.jboss.org/file-access/default/members/jbossclustering/freezone/docs/hiberna

[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio

2009-11-17 Thread RockerRocker
Hi Santanu Here is the full error: org.jbpm.api.JbpmException: no org.jbpm.pvm.internal.session.DbSession in current environment org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(EnvironmentImpl.java:204) org.jbpm.pvm.internal.env.EnvironmentImpl.getFromCurrent(Environm

[jboss-user] [EJB 3.0 Users] - tuning ejb3 calling

2009-11-17 Thread redlight
hi , i got in project i call the ejb this way | | Properties props = new Properties(); | props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); |props.setProperty("java.naming.provider.url", "jnp://192.168.0.10:1099"); |

[jboss-user] [jBPM Users] - Re: jbpm-console 3.2.6sp1 source

2009-11-17 Thread noicangi
the idea is to collect the common methods used by jbpmcontext , so my aplication could handle jbpm. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266173#4266173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=426617

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-17 Thread RockerRocker
I have installed JBPM 4.2 on Jboss and can login as users and see different options. Now, i have my own application war file (deploying process using Spring hibernate and jsf). This process uses Java task and calls class - com.test.jbpm.MyClass When i start the process from jbpm console , i ge

[jboss-user] [JBoss Tools Users] - Web server configuration will not start...

2009-11-17 Thread peterdnight2
5.1GA and latest jboss tools on eclipse. If i manually copy the war to the web server, it deploys and starts fine. Via jboss tools - i see the micro container start message, but the eclipse jboss server view never switches to run mode, or deploys the war. help / suggestions welcome View the or

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-17 Thread xalperte
I did a similar question few days ago in http://www.jboss.org/index.html?module=bb&op=viewtopic&t=163550 I'm not using the jBPM 4 Console, I'm using my own Console but maybe this approach could help you (it works for me): try making an EAR file and packing inside the jBPM4 Console and your WAR

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-17 Thread RockerRocker
Thanks Xalperte Can you send me details of your console When you say - make ear file - wouldn't that mean i will have single web.xml , spring hibernate config files etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266185#4266185 Reply to the post : h

[jboss-user] [jBPM Users] - Re: Jbpm 4 setup on existing JBOSS server

2009-11-17 Thread xalperte
You do not need to merge your code with the console code. Do something like that: rockerrocker.ear META-INF/application.xml rockerrocker.war rockerrocker.jar jbpmconsole.war NOTE: You need to put all your model/ejbs classes in a separated jar file in order to be acces

[jboss-user] [Security] - Can different JBoss instances communicate?

2009-11-17 Thread oneworld95
Hi. We've got a simple Java servlet that handles file uploads, but resides in the "intranet" instance of JBoss. It needs to write files to a directory in the "internet" instance of JBoss. The Java servlet can't be moved to the other instance. Is there a way for this to happen? Can there be a s

[jboss-user] [JBoss Tools Users] - Re: JBoss Seam Failing With

2009-11-17 Thread akazakov
Did you use New Seam Project wizard to create the project? Could you check if the project is deployed correctly. Open JBoss Server View and see pop-up menu for JBoss AS/. Select "Explore" there. Is there correct war? Is there -ds.xml file? And please show us a full JBoss AS log. View the origina

[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms

2009-11-17 Thread rs1050
I can't believe I am the only one facing this problem. There has to be some problem with the way jboss cache handles JTA transactions. I was able to get the same problem with running one instance inside resin and enother on jotm. View the original post : http://www.jboss.org/index.html?module=

[jboss-user] [jBPM Users] - Issue with jbpm 4.2 -> designer plugin in eclipse

2009-11-17 Thread buchnerm
Hi I set up a project in eclipse and created a new diagram but when I add e.g. a start point and then a task -> I cannot see actions/swimmlanes/events tab in properties window How can i define this stuff in 4.2? Is the desiner in 4.2 package final (supports all functions?) Do I miss addition

[jboss-user] [JBoss Cache Users] - Question about lockParentForChildInsertRemove - when to use

2009-11-17 Thread rsmysore
Hi there, The user guide/documentation doesn't clearly say in what scenario the configuration option lockParentForChildInsertRemove should be set to true. My assumption is jbosscache is thread safe by default. And, with mvcc (which is what we are using), reads dont acquire a lock anyway. So

[jboss-user] [Installation, Configuration & Deployment] - Re: Deploying Spring 2.5 Application in JBoss 5

2009-11-17 Thread arunarun
remove xml api jar and xceres jar from webinf.it should work if not then remove servlet api also from webinfi folder then it will work View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266201#4266201 Reply to the post : http://www.jboss.org/index.html?module=bb

[jboss-user] [JBoss Messaging Users] - Re: Clustered JMS not respecting FLUSH timeout setting

2009-11-17 Thread gaohoward
I think it's jgroup configuration issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266204#4266204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266204 ___ jboss-user ma

[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?

2009-11-17 Thread gaohoward
Not sure if I understand the situation. Can you clarify how you poll messages? Are you using MDB? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266207#4266207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266207 __

[jboss-user] [jBPM Users] - Re: Process design and execution without using jbpm-console

2009-11-17 Thread makarandk502
Any help on this ? It would be highly appreciated. Waiting desparately for the reply -Regards Makarand View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266208#4266208 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266

[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-17 Thread sushantgupta402
Hi ZP, Really sorry for not sending you this earlier. I had the files ready but somehow just couldn't send it to you. Here is the outline of what I did. Where-ever I wanted the fork functionality I have created a simple node and added the following as the handler "CustomNodeHandlerFork.java" an