[jboss-user] [jBPM Users] - Re: jBPM4 and JBoss IDM

2009-09-24 Thread jeff.yuchang
Hi, below is the step to use jboss idm in jBPM 4.1 manually. 1. Download the JBoss Identity IDM 1.0.0.Beta1 from here http://repository.jboss.com/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Beta1/jbossidm-1.0.0.Beta1.zip. (Sorry for that didn't put this distribution into the download page

[jboss-user] [jBPM Users] - Re: jBPM4 and JBoss IDM

2009-09-24 Thread jeff.yuchang
Ah... I forgot to escape the xml tag. Thanks Ronald. ;-) Here is the complete steps. 1. Download the JBoss Identity IDM 1.0.0.Beta1 from here http://repository.jboss.com/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Beta1/jbossidm-1.0.0.Beta1.zip . (Sorry for that didn't put this distribution

[jboss-user] [jBPM Users] - Re: jBPM4 and JBoss IDM

2009-09-22 Thread jeff.yuchang
I just checked the jbpm 4.1, the installation has been taken out in this release. The integration work is done. I kept it as 'work in progress' as there was an issue in the IDM, it doesnt provide the user defined groupId. Tom like to IDM supports it. In the current code base, I am using the

[jboss-user] [JBoss jBPM] - Re: jBPM4 process definition deployment.

2009-08-13 Thread jeff.yuchang
JimDwyer wrote : How do I deploy a process definition in jBPM4. I don't see a place to do it on the GWT console. The eclipse plugin doesn't have any tabs for deployment like the plugin for jBPM3. Obviously I can modify the ant install scripts but that seems like a last resort. How do I do

[jboss-user] [JBoss jBPM] - Re: Use of external user database or directory

2009-08-11 Thread jeff.yuchang
Yes, this is a very common use case. Just write a class to implement the IdentitySession class, and then do a configuration in the jbpm.cfg.xml, and then you are ready to go. I remembered there was a dedicated section in the dev guide for this. Please refer to that for detail. -Jeff View the

[jboss-user] [JBoss jBPM] - Re: Use of external user database or directory

2009-08-11 Thread jeff.yuchang
Yes, this is a very common use case. Just write a class to implement the IdentitySession SPI, and then do a configuration in the jbpm.cfg.xml, You are ready to go. There was a dedicated section in the dev guide for this. Please refer to that for detail. -Jeff View the original post :

[jboss-user] [JBoss jBPM] - Re: Use of external user database or directory

2009-08-11 Thread jeff.yuchang
kukeltje wrote : jeff.yuchang wrote : | | There was a dedicated section in the dev guide for this. Please refer to that for detail. | | -Jeff | | Was? did you remove it? Hard to refer then ;-P LOL..:), just checked, it is still there, so plz do s/was/is. btw, the link

[jboss-user] [JBoss jBPM] - Re: 3 blog entries about jBPM 4.0

2009-07-21 Thread jeff.yuchang
do you mean the blog links, or the sample project's tar file url? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244829#4244829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244829

[jboss-user] [JBoss jBPM] - Re: 3 blog entries about jBPM 4.0

2009-07-21 Thread jeff.yuchang
Yeah, I used the custom domain for my blog today, but it should give you a redirect page if you are using the old url, which I posted on here. Or use the updated one as following. http://jeff.familyyu.net/2009/07/getting-started-with-jbpm-40.html

[jboss-user] [JBoss jBPM] - Re: 3 blog entries about jBPM 4.0

2009-07-20 Thread jeff.yuchang
kukeltje wrote : Cool... looking forward to the 'intermediate complexity' usage ;-) | | btw, no video was shot... sorry. Thanks, will try to do that in the future oh, then we lost a good jbpm4 video resource then. ;-) Thanks Jeff View the original post :

[jboss-user] [JBoss jBPM] - Re: 3 blog entries about jBPM 4.0

2009-07-20 Thread jeff.yuchang
The last part of this series is at: http://jeffyuchang.blogspot.com/2009/07/getting-started-with-jbpm-40-part-iv.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4244501#4244501 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: STDERR in JBoss startup with jBPM 4.0

2009-07-14 Thread jeff.yuchang
The console url is: http://localhost:8080/jbpm-console, thats why you got 404. seems we forgot to update the user guide on this one, could you file a jira for this? Thanks Jeff View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4243580#4243580 Reply to the post :

[jboss-user] [JBoss jBPM] - 3 blog entries about jBPM 4.0

2009-07-12 Thread jeff.yuchang
Hi all, Played with jBPM 4.0 on the weekend, and also wrote three blog entries for it. here they are. http://jeffyuchang.blogspot.com/2009/07/getting-started-with-jbpm-40.html http://jeffyuchang.blogspot.com/2009/07/getting-started-with-jbpm-40-part-ii.html

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
pack the stuff into .jar suffix approach doesn't work, the same resource was not found exception. By putting the default config files in the deployers/idm doesn't work either. Nothing happened this way, seems it can't listen the -jboss-idm.xml suffix file in the deployer folder. View the

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
Thanks, below it is the exception: | 14:34:36,635 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/local/deploy/jboss-5.0.1.GA/server/default/deploy/idm.jar/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException:

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
alesj wrote : jeff.yuchang wrote : pack the stuff into .jar suffix approach doesn't work, the same resource was not found exception. | | | If you use this approach, then you have to use DU::getClassLoader, | when trying to load resources. | | I was using the DU

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
Just finished the test, same result, the whole stack tree is as following: | 17:34:07,272 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/local/deploy/jboss-5.0.1.GA/server/default/deploy/idm.jar/ state=PreReal mode=Manual requiredState=Real |

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
Also, in this test, I ran the DU::getClasspath, I showed the idm.jar, but couldn't find the idm.cfg.xml file, I was putting it in the idm.jar/META-INF/. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232442#4232442 Reply to the post :

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
alesj wrote : jeff.yuchang wrote : | | | | | 14:34:36,635 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/local/deploy/jboss-5.0.1.GA/server/default/deploy/idm.jar/ state=PreReal mode=Manual requiredState=Real

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
alesj wrote : jeff.yuchang wrote : Also, in this test, I ran the DU::getClasspath, I showed the idm.jar, but couldn't find the idm.cfg.xml file, I was putting it in the idm.jar/META-INF/. | | | Only metadata files should be in META-INF. | Configuration should be in the root

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-21 Thread jeff.yuchang
alesj wrote : jeff.yuchang wrote : | | Is the jar package the only way to get this kind of resource?? I mean, do we have other approaches, or can we use a custom package suffix? | It's all by the spec. ;-) | | What you had before was actually 3 deployments | as directories

[jboss-user] [Microcontainer] - can't read resource from the classpath??

2009-05-20 Thread jeff.yuchang
Hi all, I've created a deployer for jboss identity, which is listening on the -jboss-idm.xml file. It has two deployer classes, one is the deployer that IDMVFSParsingDeployer, which extends AbstractVFSParsingDeployer, the other is IDMSimpleVFSRealDeployer that extends

[jboss-user] [Microcontainer] - Re: can't read resource from the classpath??

2009-05-20 Thread jeff.yuchang
No luck with the DeploymentUnit's cl either. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232374#4232374 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232374 ___ jboss-user

[jboss-user] [JCA/JBoss] - Re: java.lang.InterruptedException in NewMsgsWorker

2008-12-10 Thread jeff.yuchang
Thanks for your reply. Well, the case is that in some cases, we didn't see this warning, while some of them are. So I am wondering if there are any potential issues. Just like I described in the https://jira.jboss.org/jira/browse/SOA-708, == Got this error reproduced

[jboss-user] [JCA/JBoss] - java.lang.InterruptedException in NewMsgsWorker

2008-12-10 Thread jeff.yuchang
Hi All, While working on this issue (https://jira.jboss.org/jira/browse/SOA-708), I got the following exceptions when I press 'Ctrl + C' to shutdown the AS. 21:28:52,820 INFO [HypersonicDatabase] Database standalone closed clean 21:28:52,919 WARN

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Classloader question

2007-10-25 Thread jeff.yuchang
any suggestions here... What am I doing wrong here.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4098750#4098750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4098750 ___

[jboss-user] [Installation, Configuration DEPLOYMENT] - Classloader question

2007-10-21 Thread jeff.yuchang
Hi, I've read the JBoss classloader from this wiki http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases. And I tried to write a simple code to see if it worked as it described. Firstly, I've wrote a very simple class, called Util. the code is: | package com.company.util; |

[jboss-user] [JCA/JBoss] - Classloader questions

2007-10-21 Thread jeff.yuchang
Hi, Firstly, I am sorry I put a link here to ask the question again, but I am not sure which section should be the classloader issue belonged to. My classloader question is at :http://www.jboss.com/index.html?module=bbop=viewtopict=121786 Any comments are appreciated! Best Regards

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem deploying EAR having webservices on JBoss 4.2.1

2007-10-19 Thread jeff.yuchang
Hi, the error seems to me that CXF's jaxb jar is conflict with jaxb jar that JBoss shipped. Are you setting the isolated classloader and set the java2ParentDelegation=false in the jboss-app.xml. Give that a shot and let me know if it works. View the original post :

[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

2007-10-19 Thread jeff.yuchang
Just found this forum doesn't allow author to update the thread. :( for convenience, click http://www.jboss.com/index.html?module=bbop=viewtopicp=4096879#4096879 to get the issue that I am talking about. View the original post :

[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

2007-10-19 Thread jeff.yuchang
Resolved this error by putting the ejb in the ear. I forgot to put the ejb jar in the ear, but the RAR has need to access the ejb jar, so the ClassCastException occurs. However, now I am facing another problem, it also refers to classloader, I don't know which part of this forum should I post

[jboss-user] [Installation, Configuration DEPLOYMENT] - Hang on in the isolated ClassLoader.

2007-10-19 Thread jeff.yuchang
Hi, I've deployed an EAR that contains a EJB jar and RAR. The RAR is the CXF based RA, In the RA, I am establishing a web service to connect the EJB. I am setting the jboss-app.xml, java2ParentDelegation=false, then it will get hang on when I start the web service. I set the Log to the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Hang on in the isolated ClassLoader.

2007-10-19 Thread jeff.yuchang
Oh, I have to say I tested it against JBoss4.0.5 and JBoss4.2.1, both have the same problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4096889#4096889 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4096889

[jboss-user] [JCA/JBoss] - RA deployment in JBoss

2007-10-17 Thread jeff.yuchang
Hi, All I have a RA, which is packed in an EAR. I've followed this thread ( http://www.jboss.com/index.html?module=bbop=viewtopict=88080 ) to deploy the RAR in ear. myapp.ear myapp.rar META-INF/application.xml META-INF/jboss-app.xml myapp-ds.xml in the jboss-app.xml, I set

[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

2007-10-17 Thread jeff.yuchang
And then I found it was caused by the xmlapi jar. In my RA.rar, I have the xmlapi.jar, whose version is lower than the xmlapi in the $JBoss_HOME/lib/endorsed folder, so I remove the xmlapi.jar in my RA. Then I start the jboss again, and see another error is: 22:28:26,091 ERROR [STDERR]

[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

2007-10-17 Thread jeff.yuchang
Firstly, thanks for your reply, to make you easy understood my situation, I will post all relevant xml configure file. ;-) 1. application.xml ?xml version=1.0 encoding=UTF-8? display-namecxf-jca/display-name cxf.rar 2. jboss-app.xml ?xml version=1.0

[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

2007-10-17 Thread jeff.yuchang
A little story about my situation: Before I pack the rar file in an ear, I use the cxf-ds.xml and cxf.rar to do the deployment. Because the cxf uses some jars which JBoss used its older version, to make it cxf based RA works, I need to endorse a bunch of jars in the $JBoss/lib/endorsed.

[jboss-user] [JCA/JBoss] - Re: RA deployment in JBoss

2007-10-17 Thread jeff.yuchang
Back to the problem. As I said before, the error that I had firstly is due to the older version (xmlapi.jar and resolver.jar) in the my RAR than the $JBoss/lib, So I remove these two jars to use the jars that JBoss had. But then I restart it again, it complains the ClassCastException,,, the