[jboss-user] [JBoss jBPM] - Re: JobExecutorThread

2009-08-06 Thread lpiccoli
the usertransaction is eventually bound to the jndi tree. The problems seems to be is that the 'WorkflowService' is commencing *before* the hibernate service has bound the usertransaction to the jndi tree. i confirmed this by placing trace inside the workflow service code and the

[jboss-user] [JBoss jBPM] - Task Form GUI implementation

2009-07-31 Thread lpiccoli
hi all, has anyone implemented their own Task Form GUI, similar to that of the console app? Looking over the jsf4jbpm taglib, it tightly coupled to the undocumented gravel taglib. Q1. Has anyone used jsf4jbpm for their own application? the gwt-console i am attempting to look at but the

[jboss-user] [JBoss Portal] - Re: upgrade jbpm to 3.2.6: how to

2009-07-28 Thread lpiccoli
looks the problems seems to be that the JbpmThreadService get started without having a JbpmContext. | JbpmThreadService .java | public void start() |{ | JbpmConfiguration jbpmConfiguration = workflowService.getJbpmConfiguration(); |

[jboss-user] [JBoss jBPM] - JobExecutorThread

2009-07-28 Thread lpiccoli
jbpm 3.2.6SP1 portal 2.7.2 jboss4.2.2 hi all, when running jbpm3.2.6 on jboss portal 2.7.2 the following error occurs in the start up of the JobExecutorThread. | 22:25:37,101 ERROR [JobExecutorThread] exception in job executor thread. waiting | 2 milliseconds |

[jboss-user] [JBoss jBPM] - JTA transaction error inside jboss portal

2009-07-27 Thread lpiccoli
portal 2.7.2 jbpm 3.2.2 hi all when accessing the JBPM context inside a portlet of jboss portal the following JTA error occurs depending whether the the context is created or get Current is called. i read the details of jbpm transation here

[jboss-user] [JBoss jBPM] - Re: JTA transaction error inside jboss portal

2009-07-27 Thread lpiccoli
thanks for the rapid response. i have tried replacing the 3.2.2 jpbm jar with 3.2.6 but i cant get portal to work. i have posted the issue on the portal forum but no response yet. see http://www.jboss.org/index.html?module=bbop=viewtopict=158977 have u upgraded the portal jbpm installation?

[jboss-user] [JBoss jBPM] - Re: JTA transaction error inside jboss portal

2009-07-27 Thread lpiccoli
i have tried he following with true then false and there is no difference. | | service name=persistence | factory | bean class=org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory | field name=isTransactionEnabledfalse //field | /bean |

[jboss-user] [JBoss Portal] - Re: upgrade jbpm to 3.2.6: how to

2009-07-26 Thread lpiccoli
jbpm 3.2.2 is sept 2007 vintage. has any one upgrade the jbpm? -lp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4246073#4246073 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4246073

[jboss-user] [JBoss Portal] - Re: JBoss 5 Integration

2009-07-25 Thread lpiccoli
just tried the wiki instructions JBoss_Portal_Branch_2_7_AS5 portal doesnt compile for me. [execmodules] C:\src\jbossportal\portal\wsrp\src\main\org\jboss\portal\wsrp\deployment\WSRPConsumerDeploymentImpl.java:67: cannot find symbol [execmodules] symbol : class WSRPProducerMetaData

[jboss-user] [JBoss Portal] - deploy jbpm workflow: how to

2009-07-24 Thread lpiccoli
portal 2.7.2 jboss 4.x hi all, i dont know how to deploy a jbpm process definition archive (PAR) to jboss portal. normally it is deployed through a servlet which persists the archive. However i cant find such a servlet in jboss portal. if took the sample servlet from the jbpm distro where

[jboss-user] [JBoss Portal] - upgrade jbpm to 3.2.6: how to

2009-07-24 Thread lpiccoli
jbossportal 2.7.2 hi all, i am upgrading from jbpm3.2.2 to jbpm3.2.6 in jboss portal 2.7.2. i made the following changes 1. changed the jbpm-identity.jar, jbpm-jpdl.jar 2. changed the conf/hibernate/workflow/hibernate.cfg.xml 3. modifed the

[jboss-user] [JBoss jBPM] - classes/java/lang/bsh.class' error

2009-07-20 Thread lpiccoli
JBPM3.2.6SP1 JBoss5.00GA hi all i am getting the following error when using a in an event. | | 20:04:02,418 ERROR [GraphElement] action threw exception: couldn't get value for file 'classes/java/lang/bsh.class' | org.jbpm.JbpmException: couldn't get value for file

[jboss-user] [JBoss jBPM] - Re: Variable missing in assignment handler

2009-07-15 Thread lpiccoli
i think i may have found the issue with why my sub process has now variable instances. it seems that the variables need to be 'explicit' copied into the new process definition. The following snippet now correctly sets the variable in the new sub process. | | process-state name='Sub

[jboss-user] [JBoss jBPM] - Variable missing in assignment handler

2009-07-14 Thread lpiccoli
hi all, my swimlane assignment handler is unable to retrieve variables that have been previous set in both root token and local token. the test involves a forkhandler, sub process and swimlane assignment handler. When inside the SwimlaneAssignmentHandler getVariable() returns null which is

[jboss-user] [JBoss jBPM] - Re: Variable missing in assignment handler

2009-07-14 Thread lpiccoli
Further testing reveals that there are NO variables at all available in the Assignment handler. I am using Jbpm3.2.6 | | public void assign(Assignable assignable, ExecutionContext executionContext) { | | MapToken, TokenVariableMap tokenVariableMaps =

[jboss-user] [JBoss jBPM] - Re: injection of ActionHandler instance for unit test

2009-07-13 Thread lpiccoli
perhaps my question was rather restrictive. i will rephrase my question. Q. essentially how does one test a ActionHandler? I looked at the src and the only tests i found seem to tests for the Action events. I was looking for something like | ProcessDefinition processDefinition =

[jboss-user] [JBoss jBPM] - injection of ActionHandler instance for unit test

2009-07-10 Thread lpiccoli
hi all i would like to unit test a ActionHandler, but need to mock some methods. However i am unable to find a mechanism to inject the mocked instance into my processContext. any help appreciated. -lp View the original post :

[jboss-user] [EJB 3.0] - onetomany relationship question

2009-07-07 Thread lpiccoli
i read the 'EJB3 relationships' wiki article http://www.jboss.org/community/wiki/EJB3relationships and have a question. | @Entity() | public class ParentBean implements Serializable | { | private SetChildBean listChilds = new HashSetChildBean(); | | @OneToMany(mappedBy=parent)

[jboss-user] [EJB 3.0] - Re: onetomany relationship question

2009-07-07 Thread lpiccoli
thanks for the rapid response wolfgang. i added the SQL tracing but there is *no* SQL when calling parent.getChilds(). So if i have understood the 'onetoMany' relationship, it doesnt populated the 'many' unless it has been explicitly set using the parent.setChilds(). This seems an almost

[jboss-user] [EJB 3.0] - Re: onetomany relationship question

2009-07-07 Thread lpiccoli
ok it seems that my test cases were erroneous. i finally got the onetomany to fetch the 'many' by refreshing the entity. This then invoked the following query | hibernate: select childbean0_.ID as ID3_, childbean0_.parent_ID as parent2_3_ from ChildBean childbean0_ where

[jboss-user] [JBoss jBPM] - Re: ProcessClassloader question

2009-06-30 Thread lpiccoli
hi all, was this issue resolved? if so please identify the solution as i also am having some issue. thanks -lp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4241050#4241050 Reply to the post :

[jboss-user] [JBoss jBPM] - sub process deploy by console

2009-06-24 Thread lpiccoli
hi all, i have a sub process/inner process definition that are currently being deployed by the console app and using the 'binding=late' attribute. Everything is working ok. However trying to deploy using the console app, (inner process first, then sub process definition) without the

[jboss-user] [JBoss jBPM] - Re: sub process deploy by console

2009-06-24 Thread lpiccoli
ok my choice of description was crap. so to clarify; i deploy the sub-process definition followed by the parent process using the console application and it the sub process cant be found by the parent process. is that to be expected due to the standard console app using different contexts

[jboss-user] [JBoss jBPM] - jbpm-service.sar how does it work?

2009-06-14 Thread lpiccoli
hi all, i am intrigued how the jbpm-service.sar works? I had it deployed as part of the 3.2.6SP1 deployment. But looking at the jboss-services.xml there is no service or mbean exposed, so not sure how or what it does. However when i deployed my own ear with its own web console BUT without

[jboss-user] [JBoss jBPM] - jbpm4jsf source not found

2009-05-26 Thread lpiccoli
hi all, i have been following the instructions to get source code http://www.jboss.org/community/wiki/jBPM3BuildingFromSource however there is no jbpm4jsf or console in modules or anywhere in the 3.2.6 GA or trunk. all i get when i run maven is the following. |

[jboss-user] [JBoss jBPM] - Re: jbpm4jsf source not found

2009-05-26 Thread lpiccoli
the source for jbpm4jsf can be seen on he SVN browse | http://fisheye.jboss.com/browse/JbpmSvn/jbpm3/modules/jbpm4jsf | but i cant find it on the SVN repos. any help is appreciated. -lp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4233438#4233438

[jboss-user] [JBoss jBPM] - Re: jbpm4jsf source not found

2009-05-26 Thread lpiccoli
to clarify where i am looking for the source | C:\src\jbpm3.2.6svn ls https://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk/modules | | core/ | db/ | distribution/ | enterprise/ | examples/ | identity/ | simulation/ | userguide/ | nothing there for console or jbpm4jsf. so

[jboss-user] [JBoss jBPM] - Re: jbpm4jsf source not found

2009-05-26 Thread lpiccoli
found it at last, in a different location that in docs. hopefully this will help others.. | C:\src\jbpm3.2.6svn ls https://anonsvn.jboss.org/repos/jbpm/projects/jsf-consol | e/tags | jsf-console-3.2.2.GA/ | jsf-console-3.2.6.GA/ | jsf-console-3.2.6.SP1/ | jsf-console-3.2.6.SP2/

[jboss-user] [JBoss jBPM] - Re: generated form fields cant be changed

2009-04-19 Thread lpiccoli
thanks for work around... i guess i should be familiar with eclipse functionality! using the editor to edit an existing form, doesnt show the existing form fields. is that correct? thanks -lp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4226351#4226351

[jboss-user] [JBoss jBPM] - generated form fields cant be changed

2009-04-14 Thread lpiccoli
hi all, i am using jbpm326 SP1 but having trouble with the generated forms. it seems that the generated form dialogue allows fields to be added but the field name/label cant be changed. it remains as 'fieldN' no matter what i do. only by editing the form source directly can i change the field

[jboss-user] [JBoss jBPM] - Re: Deploy Processdefinition via Ant

2009-04-14 Thread lpiccoli
thanks for snippet. it now successfully deploys according to the script. [deploypar] deploying process from archive myprocess.par | [deploypar] created process definition my business trip request | [deploypar] deployed process my business trip request successfully | BUILD SUCCESSFUL |

[jboss-user] [JBoss jBPM] - Re: Deploy Processdefinition via Ant

2009-04-11 Thread lpiccoli
mike please post your ant script as i am suffering pain with my ant deploy script. i am using jbpm3.2.1Sp1 my problems are as follows 1. despite the docs there is *NO* cfg attribute on org.jbpm.ant.DeployProcessTask 2. processdefintion.xml *MUST* be included in the par *NOT* in classpath or

[jboss-user] [JBoss jBPM] - managing forms with jbpm3.2.6

2009-04-10 Thread lpiccoli
Jbpm 3.2.6.SP1 jboss 5.0.1GA hi all i have read the jbpm user guides c:/jbpm-3.2.6.SP1/docs/userguide/html/index.html and the http://docs.jboss.com/jbpm/v3.2/userguide/html_single/ but unable to find any info regarding how the forms are managed. In the examples supplied there are forms that

[jboss-user] [Installation, Configuration DEPLOYMENT] - minimal webserver configuration jboss5.0Cr1

2008-08-01 Thread lpiccoli
hi there i am tired of waiting for jboss to start up. it i making testing a pain. So i want a create a simple server config that only has a webserver servic configured. i tried copying the jbossweb.sar over to the /minimal directory but i complained about heaps of stuff. So i began adding

[jboss-user] [JBoss Portal] - Porlet Container 2.0 on JBoss 5-0.0

2008-07-24 Thread lpiccoli
hi all i have downloaded the PC2.0 and looks great. i have read the docs that provide a distro for PC2.0 + Jboss4.2.x. I am running Jboss5.0 + PC2.0 but having having trouble deploying. | 18:06:40,092 INFO [TomcatDeployment] deploy, ctxPath=/simple-portal, vfsUrl=simple-portal.war |

[jboss-user] [JBoss Portal] - Re: Porlet Container 2.0 on JBoss 5-0.0

2008-07-24 Thread lpiccoli
are there know issues with jboss-5.0 CR1 compability or is just a case of wait and see? -lp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4166518#4166518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4166518

[jboss-user] [JBoss Messaging] - Re: persisting messages for audit

2007-08-01 Thread lpiccoli
ok so i can use the following conf to add an audit aspect. | bind pointcut=execution(* org.jboss.jms.server.endpoint.advised.SessionAdvised-send(..)) | advice name=auditMessage aspect=org.jboss.jms.server.container.AuditAspect/ |/bind | now i guess this is system wide and

[jboss-user] [JBoss Messaging] - persisting messages for audit

2007-07-30 Thread lpiccoli
hi all, i am attempting to persist messages for audit purposes. By audit i mean provide ability to resolve disputes over what has been sent and by whom. So far i have not seen a elegant mechanism to acheive this. I was hoping for a interceptor that could be added to persist the message in the

[jboss-user] [JBoss Messaging] - Re: persisting messages for audit

2007-07-30 Thread lpiccoli
after further digging i have found the use of AOP within messaging. Particularly the following pointcut on the producer send. It looks like what i need. does seem to be the correct place to define custom audit functionality? -lp View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.2GA binds to IP but not webapp

2007-06-15 Thread lpiccoli
anonymous wrote : is there some config that binds the web application to an IP? | ooops looks like this is user error. The web-app was deployed correctly to public IP just like the manual states! i was just testing incorrectly. ouch:-( -lp View the original post :

[jboss-user] [Installation, Configuration Deployment] - JBoss 4.2GA binds to IP but not webapp

2007-06-14 Thread lpiccoli
fedora fc5 jboss4.2.GA hi all, i am using the run.sh -b option to bind jboss against a machine IP. netstat reports it running on 8080. I can access the default jboss page on the IP:8080 but when i try to hit my web app it returns a 404. so i tried the jboss console. it is reporting that my

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 4.2GA binds to IP but not webapp

2007-06-14 Thread lpiccoli
PeterJ wrote : First place I would look is in /etc/hosts to make sure my host name was declare properly. thanks peter. the /etc/hosts look fine. since jboss binds ok to the ip and listens on the public IP i guess it is ok. is there some config that binds the web application to an IP? thanks

[jboss-user] [Management, JMX/JBoss] - Re: fine grain authorisation with JSR 160

2007-02-15 Thread lpiccoli
i really need a JMX web based console not a remote client console. how can one achieve fine grain authorisation using JBossMX and a 3rd party web console? by fine grain authoristion i mean, user 'A' can only modify attribute 'a' on MBean 'AA' but read all other attributes on MBean 'A'. I was

[jboss-user] [Management, JMX/JBoss] - fine grain authorisation with JSR 160

2007-02-14 Thread lpiccoli
hi all, I have been reading the following doc about JSR 160. The major point being the fine grain authorisation based at the MBeans level. anonymous wrote : This JSR depends on features introduced in the 1.2 version of the JMX API. Proxies simplify client-side programming. Per-MBean

[jboss-user] [JBossCache] - upgrade JBoss4.0.4 GA to use JbossCache2

2007-01-15 Thread lpiccoli
hi all, i am currently using Cache 1.24 with Jboss4.04GA. But the new JbossCache2 has some great adavatages in the new API that i would like to use. However the compatability matrix seems to indeicate that JbossCache2 is only compatiable with JBoss 5.X. Is there a reason for the

[jboss-user] [EJB 3.0] - Re: EJB3 PersistanceManager confusion

2006-10-31 Thread lpiccoli
hi al, can u explain the strategy us described reviously anonymous wrote : | 2) Don't specify the PK; dont set the ID | Given the ID in the debtor class is an int. | public void setId(int id) { | this.id = id; | } | | I have a question 1) The

[jboss-user] [EJB 3.0] - merge one-to-one strategy

2006-10-31 Thread lpiccoli
hi all, I am having troubles understanding the EJB3 updating strategy. I am familar with the traditional mechanism of dealing with just FK when updating a one-to-one relationship. However with EJB3 the FK is now a object. From the EJB3trail there is a example that does the following for a

[jboss-user] [EJB 3.0] - @Stateless JNDI bindings

2006-09-07 Thread lpiccoli
hi all, since migrating to 4.0.4 GA my stateless session beans are nolonger bound to the same JNDI name as before. Previously i could do the following. I assume the default JNDI name was the interface class name. | //jb = (Job) ctx.lookup(Job.class.getName()); | However this is no

[jboss-user] [EJB 3.0] - NOTYETINSTALLED + JBoss-4.0.4.GA + dependency

2006-09-06 Thread lpiccoli
hi all, just migrated to Jboss 4.0.4GA. And my app is failing to deploy with the following error. | ObjectName: jboss.j2ee:ear=asset.ear,jar=business.ejb3,name=ReportBean,service=E | JB3 | State: NOTYETINSTALLED | I Depend On: | persistence.units:unitName=as | | ---