[jboss-user] [JBoss Messaging] - Re: ClassLoader issue with user classes and JBM 1.0.1SP4
Hi All, Inserting this statement before retrieving object from ObjectMessageProxy inside onMessage method in listener, class loaders exception got resolved: Thread.currentThread().setContextClassLoader(class-name.class.getClassLoader()); Thanks Regards, Vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141362#4141362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: ClassLoader issue with user classes and JBM 1.0.1SP4
Am i missing something in Jboss Messaging configuration? Or it has something to do with my listener configured inside web application? When i first send same object message using jsp/servlet, everything works fine. After this subsequent sending and receiving from plain java class works. But when i first send it using plain java class, message listener throws following exception java.lang.RuntimeException: No ClassLoaders found for: fully classified custom class name Please reply, i got stuck with this issue. Thanks Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140542#4140542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: ClassLoader issue with user classes and JBM 1.0.1SP4
Hi, I am using Jboss 4.2.2GA with Jboss Messaging 1.4.0SPI. I am getting same exception in following scenario: 1. I created a web service client which invokes my web-service which in turns sends object message to queue. 2. I created message listener bound to web application deployed on same machine. Once message received, during invocation of OnMessage function, i am getting this exception at same point as mentioned in original thread. Any suggestions welcomed. Thanks Regards, Vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140125#4140125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Exception handling in JBPM
Hi, I have one query regarding exception handling in jbpm. Scenario: On process node i have defined an exception handler and in exception handler i have defined an action handler to catch exception of particular type. Its running, but i am not getting how to retrieve exception message inside action handler. Thanks Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120450#4120450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Workflows Deployment
Hi, We have created JBPM workflows and want to deploy these workflows along with our .war file. We want to avoid using ant on the production server. What all options we have? Can we process the workflow xml files into .par files and generate the database insert statements And later on can we just use these insert statements on production server to deploy the workflows. Thanks Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4114876#4114876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4114876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying jbpm 3.2.2 process archive in jboss 4.2.x
thanks a lot... (i had wasted 1 day on this problem;( ) will be helpful for others View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109301#4109301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying jbpm 3.2.2 process archive in jboss 4.2.x
i have viewed many posts but still i am not getting where i am going wrong about it has no body ever faced this problem? plz reply... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4109174#4109174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4109174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - deploying jbpm 3.2.2 process archive in jboss 4.2.x
hi, I am new to ant as well as to jbpm. i am using jboss 4.2.2GA with Mysql 5.0.45. While deploying process archive using ant script i am getting following error: couldn't deploy process archives : hibernate.cfg.xml not found. My build.xml file is | ?xml version=1.0 encoding=UTF-8? | project name=DeployTest default=deploy.par basedir=. | property name=librarydir value=${basedir}/lib / | path id=libraries | fileset dir=${librarydir} | include name=*.jar / | /fileset | /path | | target name=deploy.par | taskdef name=deploypar classname=org.jbpm.ant.DeployProcessTask | classpath refid=libraries / | /taskdef | deploypar process=build/Test.par jbpmcfg=${basedir}/bin/jbpm.cfg.xml / | /target | /project | Where *.jars refer to all required jar files. I am not getting where to specify path of hibernate.cfg.xml file. Syntax in user guide is outdated. Earlier using cfg attribute we can specify our hibernate.cfg.xml file, but now its replaced with jbpmcfg. Please reply, since its very very urgent for me. any suggestions welcomed. Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108880#4108880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Jboss Messaging with DB2 DefaultDS
hi, I am using jboss 4.2.2 GA. with jboss-messaging-1.4.0.SP1. db2-persistence-service.xml file is provided with jboss-messaging-1.4.0.SP1. Is it now supported?? i am facing same problem while configuring db2 for messaging. I cannot change the database. What should i do to make it work with db2. Any suggestions... Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108299#4108299 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - using process state in jbpm 3.2.2
hi, i have developed a workflow in which i am using process-state node to call sub process. - If i use state node in my main process workflow ahead of call to subprocess, it will throw an error while returning back from subprocess. Exception is this token is locked by token. -But, If i don't use state node(can use decision or node) ahead of sub process call, then it executes successfully. Can anybody explain this behaviour. Thanks Regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107305#4107305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: smtp server configuration
ya its right...it works... but is not any other way to do this ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098197#4098197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: smtp server configuration
after carefully analysing my application, i noticed that it does not picks up my application's jbpm.cfg.xml file. instead it is picking the default's one. So, can anybody tell me, steps required to include my jbpm.cfg.xml file in classpath. I also tried to include it in process archive while deploying using eclipse but it does not work. thanks regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097726#4097726 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to set our jbpm.cfg.xml in classpath
hi, can anybody suggest, how and where to put our jbpm.cfg.xml file in classpath. I am new to eclipse as well as new to jbpm. jbpm-console application always takes default jbpm.cfg.xml file instead of one that i have modified in my project. As per documentation you have to place it in root classpath. But i am not getting how and where to put this file in classpath. looking for a positive reply. regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097892#4097892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to set our jbpm.cfg.xml in classpath
thanks all, now i got it... earlier i was not getting how to change jbpm-console.war file. problem solved. it takes my config files. ;) regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098119#4098119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - smtp server configuration
hi everybody, i am new to jboss jbpm. as per user guide 3.2.2, i have configured jbpm.cfg.xml file for smtp settings. but, i am getting error message Unable to connect to localhost, @ port 25. As per this message it tries to connect to localhost instead of smtp server that i have configured. thanks regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097363#4097363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: smtp server configuration
if i follow your guidelines, then jbpm-console application does not work. regarding correct jbpm.cfg.xml file, i am editing my current project's file for smtp settings. thanks regards, vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097427#4097427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting Blank Task Form
i have faced similar problem in eclipse 3.3. solution: click on generate form button in task properties. it will show you a pop up window where u can enter form fields and transition buttons. it will generate task form and add entries into forms.xml. Caution: in foms.xml check task name for underscores. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4097685#4097685 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4097685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user