[jboss-user] [jBPM Users] - Re: Process is not restored after restart?
paragraph 1.5, PERSISTENT mode, paragraph 2.3 hsqldb and that is only in the first few paragraphs. So you see it is the DEFAULT to work this way. Therefore my question if anything was in the db. Maybe your hibernate config has create-drop in it View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267223#4267223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: jbm 1.4.6.GA download missing
Hi yongz, Yes it's a stable release. We didn't announce in community 'cos this originally is for EAP 5 release. But it will work with AS 5. In the future we may have two separate releases. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267227#4267227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI and Naming] - Re: automate jboss jndi creation
"PeterJ" wrote : OK, now I see what you are saying. When using the admin console: | | * if you create a new data source, it is places in server/xxx/deploy as jndiname-ds.xml | * if you edit an existing data source (including one you just created a few seconds ago) then the modifications (or actually, a whole new set of config settings) is placed in server/xxx/data/attachment/datasourcename-ds.xml-randomid/org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml | | What you would like to do is merge the changes that appear in the org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml file into the server/xxx/deploy/*-ds.xml file. | | I would hate to tell you to write an XSLT to convert org.jboss.resource.metadata.mcf.ManagedConnectionFactoryDeploymentGroup.attachment.xml into *-ds.xml. Perhaps the embedded jopr developers would have a better idea, or you could suggest this functionality as a desired enhancement (who knows, they may already have something like this planned). You could ask in the embedded jopr forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=294 | | I suspect that Jopr and JON operate the same ways as they share this admin code. Ok ! Thanks a lot. Bye Davide View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267228#4267228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How to use timers?
Dear kukeltje, I was wondering why you decided to loose your time to answer to my stupid questions without even reading them. However, I should have remembered your kindness and tendency to discussion from my previous experiences some months ago, both in the forum and in JIRA. But as I am too in a really good mood, I will reply. Regarding jBPM documentation: anonymous wrote : | http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#tasktimers | http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#scheduler | http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#timer.element | Is this exhaustive documentation for you? Maybe we have a different idea about the mean of "documentation". Have you ever read the documentation for Spring (that's the first example that comes into my mind)? Have you ever looked at jBPM 3 source code just to seek for some basic Javadoc? How much did you find? anonymous wrote : | http://fisheye.jboss.org/changelog/JbpmSvn/jbpm3/trunk/modules/core/src/test/java/org/jbpm/scheduler/exe?todate=1248416261336 | | etc (including several posts in the forum)... so saying there is no documentation is plain wrong ;-). | This is NOT documentation, these are web pages that talk about problems like mine because there is poor official documentation available! Especially, pointing me to a series of SVN logs saying they are "documentation" is something that really makes me laugh. Before you spend even more time to reply that jBPM is an open source project and that everyone can contribute in either code or documentation, let me say that I can even accept that jBPM has poor documentation, but please at least don't say that my questions are stupid because there is exhaustive documentation available!!! anonymous wrote : | First of all, let me point you to http://catb.org/~esr/faqs/smart-questions.html#volume | It is really frustrating to read these gems of wisdom, especially after I used a http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 to post my question and I even followed your "suggestion" to provide a ready to copy-'n'-paste test case. I did that and it is bad... What should I say? anonymous wrote : | anonymous wrote : | | The first problem I encounter is a "service 'scheduler' unavailable" error. Searching on the net I found some hints like "start the scheduler" or "change the configuration in src/main/config/jbpm.cfg.xml. | | | | Isn't the internet great | Yes it is and I use it every day for my work. It is a pity that, in this case, the suggestion given were useless... But you surely missed it, because you were so much happy to start your new controversy that you didn't even try to read and understand my post. anonymous wrote : | anonymous wrote : | | But nobody explains WHAT is the scheduler, | | | | Are you serious? You did not ever get the impression that it is used to execute timers? Strange since you have a problem with timers and a message that the scheduler is unavailable and you started searching in this direction. Oh, and it is in the first chapter of the user docs: http://docs.jboss.org/jbpm/v3/userguide/introduction.html#d0e130 | You're really nice. Of course I know WHAT is a scheduler. I meant: what is jBPM Scheduler? Which classes do implement it? How is it meant to be used especially in my case? Doesn't jBPM start a scheduler by its own if it is needed? How is it related to a multi-threaded environment especially in a JUnit test case? How this then translates to a web application environment? anonymous wrote : | anonymous wrote : | | how to start it, etc.. | | | | Besides in the docs: http://docs.jboss.org/jbpm/v3/userguide/deployment.html#webapplication | I'm writing a test case, I am not running in a web application for now. anonymous wrote : | Very little searching yielded | http://www.jboss.org/index.html?module=bb&op=viewtopic&t=80078&postdays=0&postorder=asc&start=10 | Interesting. So, please, show me where there's explained how to start the scheduler there? Anyway, if you read my post you would have seen that I was able to make the jBPM timer work without starting any scheduler, just by adding a JTA JAR in the classpath, by creating my own jBPM context and by "persisting" the process definition. So... what is the whole Scheduler thing about!?!?!? What am I doing wrong? anonymous wrote : | anonymous wrote : | | However, after some trials and debugging sessions I found that the solution to this problem is another one: you need to create a JbpmContext by yourself: | | | | This is also very basic jBPM stuff and in almost all examples, getting started. So I it sounds strange to me that you only found this out through debugging. | Please, don't talk about the jBPM 3 silly configuration mechanism otherwise we could discuss for an entire week!!! I always throw up my hands in desp
[jboss-user] [jBPM Users] - Re: How to use timers?
"ardavan" wrote : | Mauromol, make sure you have: | | | | | | in your jbpm.cfg.xml | Thank you ardavan, but this doesn't help, as I've written in my original post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267233#4267233 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
Hi Sebastian I did check the JIRA but there does not seem to be any issue raised with this. Any other pointers? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267234#4267234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
I have to pass. Let's see what the others have to say. Just one more thing comes to my mind: I don't know if the GD needs the jBPM runtime to generate the process image. But what's wrong with checking if your jBPM runtime location (Eclipse settings) points to your jBPM-4.2 installation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267241#4267241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml
Hi Ales, I splited the files and put both in deplor dir. Now I got this error: | DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "jboss.jca:name=ra/rysys-connector,service=ConnectionFactoryBinding" is missing the following dependencies: | Dependency "jboss.jca:name=ra/rysys-connector,service=TxCM" (should be in state "Create", but is actually in state "Configured") | Deployment "jboss.jca:name=ra/rysys-connector,service=ManagedConnectionFactory" is missing the following dependencies: | Dependency "jboss.jca:name='rysys-cobol-connector-1.1.5.rar',service=RARDeployment" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name='rysys-cobol-connector-1.1.5.rar',service=RARDeployment' **") | Deployment "jboss.jca:name=ra/rysys-connector,service=ManagedConnectionPool" is missing the following dependencies: | Dependency "jboss.jca:name=ra/rysys-connector,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Configured") | Deployment "jboss.jca:name=ra/rysys-connector,service=TxCM" is missing the following dependencies: | Dependency "jboss.jca:name=ra/rysys-connector,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured") | Deployment "vfszip:/C:/Java/jboss-5.1.0.GA/server/default/deploy/rysys-cobol-connector-1.1.5.rar/" is missing the following dependencies: | Dependency "" (should be in state "ClassLoader", but is actually in state "** UNRESOLVED ModuleRequirement{slf4j-1.5.6-wrapper.jar (0.0.0,?)} **") | | DEPLOYMENTS IN ERROR: | Deployment "" is in error due to the following reason(s): ** UNRESOLVED ModuleRequirement{slf4j-1.5.6-wrapper.jar (0.0.0,?)} ** | Deployment "jboss.jca:name='rysys-cobol-connector-1.1.5.rar',service=RARDeployment" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name='rysys-cobol-connector-1.1.5.rar',service=RARDeployment' ** | Any idea? Tnaks, Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267245#4267245 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How to use timers?
geez, guys, calm down again ;-) "mauromol" wrote : | I'm writing a test case, I am not running in a web application for now. | In that case, you still need persistence. With the DbSchedulerServiceFactory, timers are stored in the jBPM database and executed by the JobExecutor (which needs to be started, btw). The easiest way to test timers is by extending the AbstractDbTestCase class. Have a look at the processJobs(long maxWait) method, which starts a JobExecutor and waits until jobs are processed: http://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk/modules/core/src/main/java/org/jbpm/db/AbstractDbTestCase.java There are a couple of test cases for timer execution related scenarios, such as this one, for example: http://anonsvn.jboss.org/repos/jbpm/jbpm3/trunk/modules/core/src/test/java/org/jbpm/jbpm2036/JBPM2036Test.java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267247#4267247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml
What are the contents of your jboss-classloading files? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267248#4267248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
The GPD does the generation based on the canvas in Eclipse and nothing else. It does not need the runtime to do this. But what is the exact problem? Regards, Koen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267249#4267249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Mbean depends on deployment of EJB3 jar?
Hi I have a mbean that is deployed with a *-service.xml file. The issue I see is that it has to be dependant on an EJB3 jar. I.e. it can't start until the ejb3 jar is deployed and it must stop before it is undeployed. I was able to make that work in JBoss 4.2, but not in JBoss 5.1. I can set a dependency on an EJB2 jar in the same ear and that works, but not on the EJB3. The *-service.xml file is in the same .ear as the others. My dependency look like this (I've tried other variants as well, it wasn' the same in JBoss 4.2): jboss.j2ee:ear=LimeSms-1.2-SNAPSHOT.ear,jar=ejb3-limesms-1.2-SNAPSHOT.jar,service=EJB3 and I can see this exact name in the jmx-console. I've tried other variants as well. The dependency on ejb2 jar looks like this, and it works: jboss.j2ee:module="ejb2-limesms-1.2-SNAPSHOT.jar",service=EjbModule View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267252#4267252 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
Thanks for the reply. I dont know what was the initial problem with the setting in eclipse..but now I installed a fresh version of eclipse and did all the setting again - it seems to generate a image now. Dont know what went wrong initially.. Can you give me some pointers on how to show the current state of execution. Do I just have to show a link to the image - will the image get updated automatically when the process instance moves forward? Do I just add this line while deploying and the image will be updated automatically? deployment.addResourceFromClasspath("workflow/taskform/process.png"); Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267253#4267253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA] - Re: How can I get jbossts-jta-4.2.3.SP8?
You should be able to get the resources from tag/branch here http://anonsvn.jboss.org/repos/labs/labs/jbosstm/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267254#4267254 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Using WYSIWYG editor for entering UTF-8 characters
I have a requirement to use UTF-8 character for some bilingual requirement. Where in the text that is displayed is not english. I am using the CMS portlet to upload the content and assign it in the CMS portlet which is then displayed in the Portal page. The issues arises when I try to edit the content in the WYSIWYG editor. Whenever the content is opened for editing in the editor and I click on the save (create) button of the editor the content is converted to junk character specifically this - "?? ???" and displayed. This is not an issue with the DB (portal DB). I checked the DB table; the content is save in a different pattern when the file uploaded. However the same content gets converted to ??? ?? in the table when the content is edited using the WYSIWYG editor. Any help on this front is appreciated View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267256#4267256 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Content Expiry in CMS
I am using the CMS engine in JBoss portal for displaying content. I wanted to know if there is any feature in JBoss portal (ver 2.7.2) for setting the expiry date of the content which is uploaded and displayed using CMS. Thanks !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267257#4267257 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml
slf4j-1.5.6-wrapper.jar | | | | | | rysys-cobol-connector-1.1.5.rar | | | | | | Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267258#4267258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How to use timers?
Thank you Martin, you actually helped me and I got it to work!! I'm going to summarize it up because I think that certain things are not so intuitive for a "jBPM scheduler"-newbie like me. First of all, the default implementation of the scheduler service, provided by jBPM, is DbSchedulerServiceFactory, which uses the database to store information about scheduled actions associated with timers. This means that a database is needed even to write a simple JUnit test case that uses timers and this justifies the need to deploy your process definition (it's needed to store the related timers and timer jobs in the database, as well). I would assume that a different scheduler service implementation could be made to avoid the use of a database, however let's talk about the default implementation. Even if a database is needed, there's no need to extend AbstractDbTestCase, which provides many methods to create and clean the schema and to interact with the database. In fact, in the simplest case, jBPM (thanks to Hibernate) will create automatically an in-memory database for you when you go to deploy your process definition and/or schedule a timer action. In this case, however, you should take care of the db lifecycle, however I think (but I may be wrong) that if you destory the jbpmConfiguration (by calling close) the in-memory db will be destroyed too... Anyway, in my case I was running an only test method, so it's not so important how the db is handled between multiple test methods invocations. In my previous example (TRIAL 2) timer actions were correctly saved in the database by the DbSchedulerServiceFactory, but they were not executed because no JobExecutor thread was started. The JobExecutor thread is actually a thread that periodically reads from the database, searching for saved timer actions (jobs) and executes them. So, if I change my test case by calling jbpmConfiguration.startJobExecutor() just after the configuration creation, I make sure that the "scheduler" is started. Actually, I would rather say that there is no scheduler to start, but that the default scheduler service implementation expects that a JobExecutor thread is present to execute timer actions. In other words, the JobExecutor is itself part of the default scheduler service implementation. I think that this only sentence would be enough to say that my original problem is not so stupid as kukeltje says and that the documentation could be drastically improved on this subject (I'm also wondering what is http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#schedulerdeployment all about!?). Anyway, this is not enough, because another action is needed in order to make the JobExecutor run timer actions in my test case: just after the signal invocation, that moves my process instance to the waiting state (with attached timer), I have to close the jBPM context in order to commit things (the deployed process definition, the process instance state and the related saved timers and jobs), otherwise the JobExecutor, which works on another thread, wouldn't find anything to executoe. Having the whole scenario cleared, this sounds reasonable and obvious, but I think it might not be so straight away for a first time user that is writing a simple JUnit test case. Using the AbstractDbTestCase class mentioned by Martin, this would be automatically achieved because the method processJobs(long) does a "commit" before starting the JobExecutor. Thank you again Martin and please correct me if I've written something wrong. Anyway, if this is considered to be a simple answer to a basic question (as kukeltje said)... well, I'm wondering why kukeltje couldn't write it himself: he would have certainly spent much less time that writing his two previous smart posts, as Martin's kind answer demonstrated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267259#4267259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - NamedQuery problem: TABLE is not mapped
Hi, I'm using a NamedQuery in my Artikel entity bean, but mapping by annotation doesn't take place. The bean starts like this: | @Entity | @Table(name="ARTIKEL") | @NamedQuery(name="findAllArtikel", query ="SELECT a FROM ARTIKEL a ORDER BY a.artnr") | public class Artikel implements java.io.Serializable { | When I start up my JBoss, I get the follwoing exception: | ERROR [SessionFactoryImpl] Error in named query: findAllArtikel | org.hibernate.hql.ast.QuerySyntaxException: ARTIKEL is not mapped [SELECT a FROM ARTIKEL a ORDER BY a.artnr] | My persistence.xml looks like this | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence | http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | version="1.0"> | | java:DefaultDS | | | | | | Originally, the persistence.xml was without the properites section, a thing I ran into looking around in Java forums. I am using HSQL db. There's obviously something missing fro hibernate, but I can't say what to put where. I am using Java SDK 1.5 along with Jboss 4.0.4 GA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267262#4267262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Microcontainer Users] - Re: Struggling with jboss-classloading.xml
slf4j-api-1.5.6.jar != slf4j-1.5.6-wrapper.jar ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267263#4267263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Jboss 4.2.3 Virtual Host Configuration
I have the same problem (JB AS 4.2.2). JBossWS 3.0.5 is not deployed to the server. My web service class has: // start @Name("myWS") @Stateless() @WebContext(virtualHosts = {"my.virtual.host"}, contextRoot = "/services" @WebService(name="myWS", serviceName="myWS") public class MyWSBean {} // end accessing http://my.virtual.host/services/MyWSBean?wsdl fails, while http://localhost:8080/services/MyWSBean?wsdl works. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267268#4267268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - web services and virtual hosts (jbossws 3.0.5 on AS4.2.2)
theres a few topics on this, and doesn't seem to be resolved yet, although jbossws-native 3.0.3 addressed the issue - is there perhaps a step missing, or is this an issue with a component other than just jbossws (ejb2.1 endpoints?) 1) upgrade jboss to jbossws-native 3.0.5 and restart (all libs and the jbossws.sar updated in deploy) 2) update libraries in my project classpath (ide and compile cp's) - specifically jbossws-spi.jar for the annotations (jaxb-api stays the same). recompile and redeploy project. jboss-web.deployer/server.xml: | my.virtual.host.name | my.virtual.host.name:80 | | | The default "localhost" virtualhost is still configured, and listens on 0.0.0.0:8080 to all headers excluding the virtualhost aliases above. MyWSBean.java (seam 2.1.1): @Name("myWS") | @Stateless() | @WebContext(virtualHosts = {"my.virtual.host"}, contextRoot = "/services") | @WebService(name="myWS", serviceName="myWS") | public class MyWSBean {} | See theres a few jira issues about this, assuming there is no working for jboss 4? (5.0.1 is resolved). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267270#4267270 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: web services and virtual hosts (jbossws 3.0.5 on AS4.2.2
s/there is no working/there is no workaround/ I can access the wsdl on http://0.0.0.0:8080/services/MyWSBean?wsdl but not on http://my.virtual.host.name/services/MyWSBean?wsdl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267273#4267273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
I have no idea how Heiko implemented it in the current console. I would advise to look at the code. Back in jBPM 3 we used a hack with 3x3 html table witoverlaying the image. The middle cell of this image had a red border and used the coordinates of the current node in the process. Cheers, Koen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267274#4267274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NamedQuery problem: TABLE is not mapped
Hi, in your named query, you have to use the name of the entity bean class, not the table name. So it should be "SELECT a FROM Artikel a ORDER BY a.Artnr". If the property has getter/setter "getArtnr"/"setArtnr", it has to be named "Artnr" in the query. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267277#4267277 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - 2 security-domains and one EJB
I have 2 web applications taht use basicly the same biz logic in EJB module. All three are packaged in the single EAR, like this: app.ear: -a.war -b.war -ejb.jar Since i have two set of users for each web app, I created two security domains and configured each web app to use it's own. How do I configure ejb.jar now? I can configure only one security-domain at time? Is this possible? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267279#4267279 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: JAAS - more data about the user
I installed custom principal in my own LoginModule which is my domain Entity, and it looks OK from the web layer. BUT, when i call sessionContext.getCallerPrincipal() from my session bean, I get instance of SimplePrincipal which contains username only. I expected to get my own custom principal. Is that expected behavior? Why don't I get the same result as from the web app? Is there anything I can do about this? Please help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267280#4267280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Complete Task from jbpm-console (is )
Hi I'm going to explain a little better. I have a process that has a form associated with the start of the process. He has an automatic task (java), which loads some variables. Then I have implemented a manual task that belongs to Peter and has no associated graphical interface (I hope explain well). What I want is to complete this task???, Ie PETER personal tasks, the task is loaded as follows: Priority Process Task Name Due Date 0Test-1 buy 2009-11-24 07:20:34 I just want to say that this task is already complete, so that the instance of the process to finish I'm new to jBPM and it's been very difficult to handle the jbpm-console console Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267281#4267281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?
What happens? You see any errors or is that entry being ignored completely? Can you post the console logs of your deployment and any relevant stacktrace? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267283#4267283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?
Hi This is the error message I get: 13:43:08,456 WARN [HDScanner] Failed to process changes | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "com.limetransit.sms:service=LimeManagement" is missing the following dependencies: | Dependency "jboss.j2ee:ear=LimeSms-1.2-SNAPSHOT.ear,jar=ejb3-limesms-1.2-SNAPSHOT.jar,service=EJB3" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=LimeSms-1.2-SNAPSHOT.ear,jar=ejb3-limesms-1.2-SNAPSHOT.jar,service=EJB3' **") | | DEPLOYMENTS IN ERROR: | Deployment "jboss.j2ee:ear=LimeSms-1.2-SNAPSHOT.ear,jar=ejb3-limesms-1.2-SNAPSHOT.jar,service=EJB3" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:ear=LimeSms-1.2-SNAPSHOT.ear,jar=ejb3-limesms-1.2-SNAPSHOT.jar,service=EJB3' ** | | at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) | at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) | at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267285#4267285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NamedQuery problem: TABLE is not mapped
Wolfgang, thanks for caring, thumbs up! The book I'm studying does not mention case sensitivity, and I thought the statement would be table related, not class related. So thank you very much, because after changing the case, it worked. There's one thing: I have indeed a artnr field and public getters and settes which render it Artnr (getArtnr and setArtnr). I tried your hint first, i.e. | SELECT a FROM Artikel a ORDER BY a.Artnr but this yields an exception when deploying: ERROR [SessionFactoryImpl] Error in named query: findAllArtikel | org.hibernate.QueryException: could not resolve property: Artnr of: ser.kap08.Artikel [SELECT a FROM ser.kap08.Artikel a ORDER BY a.Artnr] If I try with the field case instead, i.e. SELECT a FROM ser.kap08.Artikel a ORDER BY a.artnr it's fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267287#4267287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
Hello TejJBPM, 1.) if you want to show a process image in the jBPM-console you have to deploy the image as well because it is not generated by the jBPM runtime. 2.) the jBPM-console shows the current state of the process. The console uses the deployed image and puts an arrow (DHTML etc.) on the process image at the appropiate position. The co-ordinates for this are determined via the API and the information originates from the process definition file (g=""). So if you want to show the status in your own application you have to do some image manipulation or do it in a similar way as the console does. It is not that hard. Search for thread in which I was asking certain questions about this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267288#4267288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Complete Task from jbpm-console (is )
As I stated earlier: If you have no form associated with the task you cannot complete it by using the jBPM-console. You have to do it programmatically and this would look basically like this: | // taskService must be a reference to the TaskService of your process engine instance | List tasks = taskService.findPersonalTasks("peter"); | // of course just in case there is just this task in peter's list | taskService.completeTask(tasks[0].getId(); | HTH. It's really hard to understand what your actual problem is. If this helps you this means that you have to carefully read the documentation about this again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267291#4267291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?
It seem to work if I set the dependency on a specific service, but not on the whole module. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267293#4267293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Set JNDI location for EJB 3.0 Bean in jboss-4.2.1.GA
Thanks! Making these changes worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267294#4267294 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM 4.2 - Manage JBPM users - recommended way? How to u
Thanks for the hint kukeltje, But, I could not make it work. I have EAR application, on jboss 5.1,a and JBPM service installed with provided ant. I have deployed my custom process, and custom jbpm.cfg.xml, and I can see on database they are stored in (what I believe are) proper blobs. When I start process, it all seem to be fine. But, it seems like my custom class is being ignored (taskService.findGroupTasks returns empty set, although it shouldn't), and debugging this I see my custom class is never been called, or even created. 1) When I put dummy class name, I got error on process deployment, so it looks like my change is being processed in some way. 2) When I try to change jbpm.cfg.xml within \jbpm\jbpm-service.sar\ I got error, obviously because this deployment can not see my custom class, which is in another ear. 3) When I move jbpm-service.sar to my ear, and include it in application.xml, I got cast exception with JuelScriptEngine and javax class. There was jira issue regarding this, but in another context and it is resolved. What am I doing wrong? What would be correct way of doing this. Note: My custom class is dependent on lots of stuff, and can not be easy moved to lib or another folder where jbpm-service.sar can see it. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267296#4267296 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Process Variables
Hi I created a new instance of a process and set some variables to it using // Create a new process instance with the new variables | Map variables = new HashMap(); | variables.put("employee", "mike"); | variables.put("requestType", "m"); | variables.put("requestDetails","details"); | | ProcessInstance processInstance = executionService.startProcessInstanceByKey("m",variables); Now how i do access these variables. I dont see any method at the processinstance level to get all the variables based on process instance id. Also, Can I add more process variables when the process is moving between task to task. basically I want the process to remember some of the variables until it is completed..I dont know whether i framed the question correctly enough!! Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267297#4267297 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Complete Task from jbpm-console (is )
OK I understand. If you would like to complete the task from a graphical interface as it could, that is, as the buttons would be scheduled in the archive. FTL??? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267298#4267298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process Variables
Process instance variables are associated with an execution. So you need the executionId. Since you supplied the variables right at the start of the process they belong to the parent execution which id equals the processInstanceId (AFAIK). So you can retrieve the variables programmatically by using the processInstanceId. Within a process definition you can use expressions to access process instance variables. For this refer to the user guide. You can always add additional variables to the process. See the set-method for process instance variables for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267299#4267299 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Complete Task from jbpm-console (is )
Yes, either supply a task-form (.ftl) and deploy it together with the process definition and refer to the file name in the form-attribute in the process definition or create your own GUI (Swing-App, JSP, etc. ..) and complete the task programmatically. At this stage the jbpm-console and the task-forms are rather for debugging purposes or for rapid prototyping as Joram showed with his train ticket demo. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267301#4267301 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - how to create jbpm project in jbpm 4.2
Please let me know the process of creating JBPM project in 4.2. Thanks In advance.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267302#4267302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: how to create jbpm project in jbpm 4.2
If you had searched the forum you would have found a thread explaining that there are no process projects anymore. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267305#4267305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Process Variables
Hi Sebastian Thanks for the reply.. My mistake was to check at the process instance level while I am suppose to check at the execution level and task service level. I got it working. Thanks for your detailed explanation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267310#4267310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
Hi Sebastian I deployed the process image along with the jpdl file. I saw that I can view it in jbpm console but I want to use that as part of my web application. From ur explanation I understood that I have to do some DHTML stuff to get it to work as it is JBPM runtime does not do it for us. (This is something i could not find in the user guide - thanks for your reply and insight) I will manipulate the image using some html stuff to achieve what i want. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267312#4267312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB jar cannot be deployed as a library (JBoss 5.0.1.GA)
Hi, I have the same issue running on JBoss 5.1.0.GA_j6. I try to deploy an EAR with Entity EJBs contained in a shared jar located in the /lib folder of my ear. I get the following error message during deployment: | 15:25:49,501 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@25040105{vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/} | 15:25:49,501 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@25040105{vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/} | 15:25:49,501 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@14529946{vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/imixs-workflow-jsf-sample-ejb-0.0.1-SNAPSHOT.jar/} | 15:25:49,501 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@14529946{vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/imixs-workflow-jsf-sample-ejb-0.0.1-SNAPSHOT.jar/} | 15:25:49,501 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@14529946{vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/imixs-workflow-jsf-sample-ejb-0.0.1-SNAPSHOT.jar/} | 15:25:49,501 INFO [Ejb3DependenciesDeployer] Encountered deployment abstractvfsdeploymentcont...@14529946{vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/imixs-workflow-jsf-sample-ejb-0.0.1-SNAPSHOT.jar/} | 15:25:49,599 ERROR [Ejb3Deployment] Exception while processing container metadata for EJB: EntityServiceBean in unit: imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear | 15:25:49,599 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/opt/jboss-5.1.0.GA_j6/server/imixs/deploy/imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear: Exception while processing container metadata for EJB: EntityServiceBean in unit: imixs-workflow-jsf-sample-ear-0.0.1-SNAPSHOT.ear | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) | at java.util.concurrent.ThreadPoolExecutor
[jboss-user] [jBPM Users] - Re: how to create jbpm project in jbpm 4.2
Correct, it did not do much besides setting a library and was overkill. Hopefully it will be changed into a facet some time in the future View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267316#4267316 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB jar cannot be deployed as a library (JBoss 5.0.1.GA)
anonymous wrote : I try to deploy an EAR with Entity EJBs You mean JPA entities right and *not* EJB2.x entity beans. anonymous wrote : | contained in a shared jar located in the /lib folder of my ear. | If they are "deployments" and not just plain jar files then place them at the root of the ear instead of the lib folder. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267322#4267322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?
"sverker" wrote : It seem to work if I set the dependency on a specific service, but not on the whole module. Ah yes, i overlooked the dependency string. You should be adding dependency on the specific bean instead of the whole jar/ear. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267324#4267324 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?
That has worked before, and works still with EJB2. Is the problem that the module doesn't become availible in jmx until all has deployed, because then that name do exsist? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267325#4267325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: How to set socket timeouts?
Hi Howard I'm not sure if it is a bug or not but here's the following: I've TRACED org.jboss.jms and org.jboss.remoting on the polling client. I can see the client ping the server every 30 seconds. I see no exceptions in the logs. However after 10 or 15 minutes this client no longer finds messages on the queue, but the ping remains functioning. If I restart my client process running on a remote jboss 4.2.3, the client perfectly finds all messages it has missed. This client is the only reader. 2009-11-24 16:30:01,952 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Wrote packet | 2009-11-24 16:30:01,952 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] done writing invocation to marshaller | 2009-11-24 16:30:01,952 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] reading version from input stream | 2009-11-24 16:30:01,954 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] read version 22 from input stream | 2009-11-24 16:30:01,954 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] reading response from unmarshaller | 2009-11-24 16:30:01,954 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Reading | 2009-11-24 16:30:01,954 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Stream is already DataInputStream :) | 2009-11-24 16:30:01,954 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Created packet SerializedPacket[null] | 2009-11-24 16:30:01,954 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Reading packet | 2009-11-24 16:30:01,954 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Read packet | 2009-11-24 16:30:01,955 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Returning payload: InvocationResponse[dd09a6, InvocationResponse[1a498b6, true]] | 2009-11-24 16:30:01,955 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] returned NEW ClientSocketWrapper[Socket[addr=/10.249.6.1,port=4457,localport=37299].a6aa31] to pool | 2009-11-24 16:30:01,955 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] released semaphore: 200 | 2009-11-24 16:30:01,955 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] received response InvocationResponse[dd09a6, InvocationResponse[1a498b6, true]] | 2009-11-24 16:30:01,955 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457] received InvocationResponse so going to return response's return value of InvocationResponse[1a498b6, true] | 2009-11-24 16:30:01,955 TRACE [org.jboss.remoting.LeasePinger] LeasePinger[3j001-jg0dw9-g2et9fcn-1-g2et9kaa-9:SocketClientInvoker[a1d92a, bisocket://10.249.6.1:4457](3j001-jg0dw9-g2et9fcn-1-g2et9ka6-8)] successfully pinged the server | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.ConnectionValidator] ConnectionValidator[a4effe:SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457], pingPeriod=1 ms] sending PING tied to lease | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.ConnectionValidator] pinging, sending InvocationRequest[1b5eaed, self, $PING$] over SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457] | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.MicroRemoteClientInvoker] SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457](1) invoking InvocationRequest[1b5eaed, self, $PING$] | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457] retryCount: 0 | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457] obtained semaphore: 199 | 2009-11-24 16:30:01,969 TRACE [org.jboss.jms.client.remoting.ClientSocketWrapper] checking open connection | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457] reusing pooled connection: NEW ClientSocketWrapper[Socket[addr=/10.249.6.1,port=4457,localport=49479].fbb5f5] | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457] writing version 22 on output stream | 2009-11-24 16:30:01,969 TRACE [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] SocketClientInvoker[5f8245, bisocket://10.249.6.1:4457] writing invocation to marshaller | 2009-11-24 16:30:01,969 TRACE [org.jboss.jms.wireformat.JMSWireFormat] Writing InvocationRequest[1b5eaed, self, $PING$] | 20
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
You can use DHTML and overlaying stuff. But you don't have to. I personally used some Java image manipulation code. In each case all you need is obtainable via the API. 1.) You can get the process image. 2.) You can retrieve the active activities' names. 3.) For each activity you can retrieve the co-ordintes of its position in the process image. For this take a look at the API-documentation and there might be some good hints given by other users of the forum in the thread I mentioned before. I went for the solution to draw an additional coloured rectangle around the active activities since I haven't had much Java image manipulation experience. Worked for me. But if you are happy with DHTML stuff go for it and take a closer look at how the Console handles this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267327#4267327 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss OSGi Users] - how to start a bundle in standalone JBossOSGi Runtime with E
Hello Users, I installed JBossOSGi with Eclipse Equinox integration and hot-deployed a simple Equinox bundle. It is installed only but not started. How can I force it to start (programmatically or adminstratively)? With Apache Felix integration the bundle is started as well and on JBoss OSGi Web Console I can play with it. /By the way is this different deployment behaviour compliant to OSGi specification?/ Can I use a bundle admin console something similar to Web Console in case of Eclipse Equinox integration? Thanks! Csaba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267330#4267330 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 Process Image
That does sound like a plan :). I would like to avoid DHTML if possible as I am used to working around java. I think it is one possible and viable solution for me. Thanks again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267331#4267331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Doc for adding queues and topics
You need to create a *-service.xml file and place it into the deploy directory. You can see an example file in the messaging 1.4.2 binary download at examples/destinations/jbm-examples-destinations-service.xml. In the docs, in the PDF look at section 6.6, Configuring Destinations. Caveat: I have 1.4.4, not 1.4.2 - I hope that the locations I have given have not changed between 1.4.2 and 1.4.4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267332#4267332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: ClassLoader inside deloyed bean cannot find existing cla
Hi Marius, Thanks for your help again. I didn't try TCCL, but I guess, in my scenario, the invocation is from web application, the system class loader and thread-context class loader are all related to web application (not the spring deployer). As such I did the following trick to make it work, I implemented BeanClassLoaderAware interface in the class where I need class loader. Whenever I need class loader, I just use this one, it works perfect for me. In this way, the class loader will be invoked and set when the bean is deployed, i.e., the class loader is same as the class loader of the spring deployer. This trick does the job! I have another question about how to access a deployed spring bean from other spring context which is managed by MULE. I think, better to ask you in different thread. Thank you so much, Ivan Yuan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267336#4267336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - [Spring + EJB3 (and JSF)] How inject a stateless ejb3 into m
Hi all. I'm new in the ejb3 world,and i haven't experience with Jboss Application Server. I have created an application using JSF+Spring+Hibernate and deplyed into Tomcatand it's work well. Now I want to integrate Spring with EJB3,using JBoss 5.1.0: I have a Spring bean and i wont inject into this bean my stateless EJB3. The structure in my project is: | Enterprice Application | | | |EjbProject.jar | | | | | | | | |__ejb.service | | | |__ UtenteService.java(Remote Ejb Interface) | | | |__ UtenteServiceImpl.java (Stateless Ejb implementation) | | | | | |__ejb.dominio | | |__ Utente.java (Entity Ejb) | | | | | | | | | |WebProject.war | | | |__webPages | | | | | |__WEBINF | | | | | |__ applicationContext.xml | | | | | |__spring.service | | | |__spring.service | | | |__ SpringUtenteService.java (Spring bean interface) | | | |__ SpringUtenteServiceImpl.java (implement. of interf.) | But when I try to run my project i have this excpetion: | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'utenteService': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: UtenteService not bound | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485) | at java.security.AccessController.doPrivileged(Native Method) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170) | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:407) | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735) | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369) | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251) | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190) | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) | I don't understand where is the error! The package with applicationContext and spring's beans go into the WAR file or into the JAR file? Are there other configuration file to configure for my scope? Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267339#4267339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.2 - Subprocess issue
Have the same error here... Already voted for the issue. Cumps., View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267344#4267344 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - How to access deployed bean reference from a different sprin
Hi Guru, I am using JBoss 4.2.2GA and jboss-spring deployer 2.5 (JDK5). I have a spring archive called BillingFramework.spring, which can be deployed successfully by the deployer and can be accessed from different web application as well. However I would like to make those deployed beans available to another spring context, which is managed by MULE. Here is the snapshot of my muleApplicationContext.xml, where I want to have the reference of the deployed bean | | ParentBeanFactory="BillingFramework" | | | | | https://localhost/test | | | | ... | | | I tried to put a description tag into the spring bean context, but it is not a recognized tag in spring context. How can I access the deployed bean reference (say billingBean) from this spring bean context file? or if there is any way I can access the deployed bean from the bean defined in above spring context? Thank a lot, Ivan Yuan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267348#4267348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: The most simple jBPM jbpm.cfg.xml configuration file
Thank you Ronald, In a NetBeans project I reused the configuration files jbpm.cfg.xml and jbpm.hiernate.xml coming from the \install\generated\cfg folder (I put them at the root of my source code). Of course, I added the required jars. My main method looks like this: ProcessEngine processEngine = new Configuration().buildProcessEngine(); | RepositoryService repoService = processEngine.getRepositoryService(); | ExecutionService executionService = processEngine.getExecutionService(); | | NewDeployment deployment = repoService.createDeployment().addResourceFromClasspath("process.jpdl.xml"); | deployment.deploy(); | executionService.startProcessInstanceByKey("helloWorld"); As you can see in the code, I used the process.jpdl.xml process definition file (also in the classpath). And before running it, I executed a HSQLDB server instance by running the Ant task start.hsqldb.server from \install. And it works! I also implement a custom activity (and use it in the process) in Groovy language by implementing ExternalActivityBehaviour, in order to invoke a remote service also in Groovy. This service is even running as a script in the Groovy console using the XML-RPC Groovy module. Best regards, Bertrand. "kukeltje" wrote : There is a 'default' cfg in jbpm that is 'minimalô If you want less, you have to describe in detail what functionality of jBPM you do not want to use (there is not much difference in using jBPM in a webapp or standalone app) | | Regarding the database, that is totally up to you to decide. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267354#4267354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Doc for adding queues and topics
thanks, I'll take a look. I have the docs for 1.4.2 and it looks like it's in the same place. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267357#4267357 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Groovy language in Script activity
Hello, The jBPM says a little on how to use another script language in a Script activity. It seems you have to add something like this, as child element of the script-manager XML element in the jbpm.cfg.cml file: for the language you want. How can I define Groovy? And what interface the class defined in factory attribute is supposed to support? Thank you, Bertrand. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267360#4267360 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - JMS with JBOSS AS versus JBOSS messaging
I'm a newbie and confused. I've been playing around with JBOSS 4.2.3ga and it is bundled with JMS. Then there is JBOSS messaging 1.4.n that I've installed. What's the difference between the two and is one better than the other? It seems programmaticly there are difference but are there performance issue to use on over the other? Why should I use jboss messaging? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267371#4267371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM 4.X: task-local variables
Hi, we were trying to work with task-local variables but recognised that this is not yet implemented ;-) (see userguide section 6.2.6.5). So we have a few questions around this topic. We are using jBPM 4.2. - As we could not find this in Jira either, is there a plan when this will be implemented? - Is there a workaround available? How do you deal with concurrent tasks accessing variables? Example: We have a fork that will create 5 tasks (all of the same type but assigned to different user and some other smaller differences). As each tasks is of the same type they all use a variable having the same key. Task 1 should not be able to manipulate this variable of task 3 but only "its own". Right now all variables are stored in the parent execution so we actually have only a single variable instead of 5. Do you have ideas how we could implement this? Any help appreciated! Regards tcr View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267372#4267372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer
Sorry gaohoward, I do not have a performance test to reproduce this. I reproduce this manually. 1. Are you sending 40k messages inside a loop in TopicExample. I mean do you do createConnection before you publish every message or are you re-using the connection object before you publish every message. I had tried caching these objects but did not get any improvement. Is it possible for you to send me the modified version of the TopicExample? 2. Another difference I have is : I am using session.createObjectMessage(). Is this making the publish process slow? I have custom objects to be send in messages. Does the message type really matter? I am still puzzled with one fact, if I comment the processing logic of each message then the whole process gets faster. I invoke some session beans to do some calculations on receiving each message. Any help is appreciated. -Poonam. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267373#4267373 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Problem moving from 4.1 to 4.2 using Spring configuratio
You were right .. those 2 changes were the culprits .. I upgraded from 4 to 4.2 + deployed on WL 9.2 Now if you could let me know how to resolve this issue - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=164167&start=0&postdays=postDays&postorder=postOrder&highlight=highlight View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267377#4267377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Complete Task from jbpm-console (is )
Thanks I understand View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267382#4267382 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Creating Queues Programaticly
I've seen the messages that are referenced from the jboss messaging home page at http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3973130#3973130 It says anonymous wrote : To see an example of how this works, take a look at DestinationManagerTest.testCreateQueueProgramatically() Where can I find that code? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267383#4267383 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS with JBOSS AS versus JBOSS messaging
If you go to the JBoss Messaging home page (go to jboss.org and follow the links), that will explain what JBoss Messaging is. JBoss MQ is the system that came before JBoss Messaging and is in JBoss AS 4.2.3 You'll find that JBoss Messaging, as a project is superseded by HornetQ. So we have JBoss MQ--->JBoss Messaging--->HornetQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267384#4267384 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: JMS with JBOSS AS versus JBOSS messaging
Also, there's an explanation in wikipedia View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267385#4267385 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Spring Integration] - Re: How to access deployed bean reference from a different s
Hi Marius, I also tried using the following spring bean context file | | http://www.springframework.org/schema/beans"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:jaxrs="http://cxf.apache.org/jaxrs"; | xmlns:aop="http://www.springframework.org/schema/aop"; | xmlns:jee="http://www.springframework.org/schema/jee"; | xsi:schemaLocation="http://www.springframework.org/schema/beans | http://www.springframework.org/schema/beans/spring-beans-2.0.xsd | http://cxf.apache.org/jaxrs | http://cxf.apache.org/schemas/jaxrs.xsd | http://www.springframework.org/schema/aop | http://www.springframework.org/schema/aop/spring-aop.xsd | http://www.springframework.org/schema/jee | http://www.springframework.org/schema/jee/spring-jee-2.0.xsd";> | | | | | | | | | But I got the following exception. My question is how to access the bean factory or the deployed bean from a spring context which is outside of the spring archive. | java.lang.reflect.InvocationTargetException | | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) | | at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:216) | | at org.apache.commons.digester.Rule.end(Rule.java:230) | | at org.apache.commons.digester.Digester.endElement(Digester.java:1130) | | at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) | | at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) | | at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) | | at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) | | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) | | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | | at org.apache.commons.digester.Digester.parse(Digester.java:1685) | | at org.mule.config.builders.AbstractDigesterConfiguration.process(AbstractDigesterConfiguration.java:101) | | at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:268) | | at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:221) | | at org.mule.ra.MuleResourceAdapter.start(MuleResourceAdapter.java:112) | | at org.jboss.resource.deployment.RARDeployment.startService(RARDeployment.java:109) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | | at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:124) | | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | | at $Proxy0.start(Unknown Source) | | at org.jboss.system.ServiceController.start(ServiceController.java:417) | | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.jboss.mx
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to re-publish war to jboss without restart (Sprin
Here is another quirk we found that may point to something.. When we deploy the ear file again, but give it a different name (path1.war vs path.war), we can access the application using this new name - http://localhost:8080/path1 It deploys with no problems. It's just when we try to redeploy with the same name of the original war.. regardless of whether we undeploy first or not. Any ideas?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267391#4267391 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM-4.2 process archive deployment broken?
jBPM 4.2 JDK 1.5 Windows XP SP2 JBoss 5.0.0GA Oracle 10g In jBPM 4.1, I was sucessfully able to deploy '.bar' process archives. In jBPM 4.2 this no longer seems to work. I understand there were some changes made in this area in 4.2. The Developer Guide now states that process archives should have the extension .jdpl and be dropped in $JBOSS_HOME/server//deploy. I've tried this, but the archive does not seem to be deployed (nothing inserted into JBPM4_DEPLOYMENT). In the server.log, I see | 2009-11-24 14:26:06,399 DEBUG [org.jboss.system.server.profileservice.repository.AbstractAttachmentStore] (HDScanner) No persisted attachment found for deployment AbstractVFSDeployment(esp.jpdl) with relative path: esp.jpdl-f0c23428c1aae5a7f2d4569a05803cf9\ | 2009-11-24 14:26:06,479 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (HDScanner) Add deployment: vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl | 2009-11-24 14:26:06,479 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (HDScanner) Scheduling deployment: vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl parent=null | 2009-11-24 14:26:06,489 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (HDScanner) Deploying vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl | 2009-11-24 14:26:06,489 DEBUG [org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer] (HDScanner) Dynamic class root for vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl is vfsmemory://5c4o4o5w-g1x6dk-g2f1h7r6-1-g2f24t5l-b6 | 2009-11-24 14:26:06,499 DEBUG [org.jboss.classloading.spi.dependency.Domain] (HDScanner) org.jboss.classloading.spi.dependency.dom...@185ad79{defaultdomain} add module VFSDeploymentClassLoaderPolicyModule esp.jpdl:0.0.0 | 2009-11-24 14:26:06,499 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) Created baseclassloa...@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} with policy vfsclassloaderpol...@cf3d8e{name=vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl domain=null roots=[memorycontexthand...@30554662[path= context=vfsmemory://5c4o4o5w-g1x6dk-g2f1h7r6-1-g2f24t5l-b6 real=vfsmemory://5c4o4o5w-g1x6dk-g2f1h7r6-1-g2f24t5l-b6]] delegates=null exported=[] NON_EMPTY} | 2009-11-24 14:26:06,499 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) classloaderdom...@1071521{defaultdomain} registerClassLoader baseclassloa...@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} | 2009-11-24 14:26:06,499 DEBUG [org.jboss.aop.asintegration.jboss5.JBoss5ClassPoolFactory] (HDScanner) Created pool org.jboss.aop.asintegration.jboss5.jboss5classp...@15189225 [class path: baseclassloa...@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl};] - dcl:baseclassloa...@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} for loader baseclassloa...@9adbb8{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} | 2009-11-24 14:26:06,499 DEBUG [org.jboss.aop.asintegration.jboss5.AOPClassLoaderDeployer] (HDScanner) Adding AspectManager attachment org.jboss.aop.aspectmana...@1e193f2 for abstractvfsdeploymentcont...@3188663{vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl} | 2009-11-24 14:26:06,599 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (HDScanner) Fully Deployed vfsfile:/C:/java/jbpm-4.2/jboss-5.0.0.GA/server/default/deploy/esp.jpdl | The Developer's Guide says I should see something like: | 14:12:09,301 INFO [JBPMService] jBPM 4 - Integration JBoss 4 | 14:12:09,301 INFO [JBPMService] 4.0.0.Beta1 | 14:12:09,301 INFO [JBPMService] ProcessEngine bound to: java:/ProcessEngine | but instead I see: | 2009-11-24 14:11:14,136 DEBUG [org.jbpm.jboss.internal.JbpmService] (main) JbpmService starting... | 2009-11-24 14:11:17,881 DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) jndi name java:/ProcessEngine is not bound | 2009-11-24 14:11:17,881 DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer | 2009-11-24 14:11:17,932 DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing org.jbpm.pvm.internal.jobexecutor.JobExecutor | 2009-11-24 14:11:18,002 DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) publishing jBPM ProcessEngine in jndi at java:/ProcessEngine | I'm using the default jbpm.cfg.xml and jbpm.hibernate.cfg.xml. I run the example JUnits sucessfully, so programmatic deployment appears to be working. I'm guessing the jBPM Deployer is not getting invoked because it's not configured, but have no idea where to check. Please help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267393#4267393 Reply to the
[jboss-user] [jBPM Users] - How
Hi I need to implement a process that has an automatic activity (java), to be repeated whenever a condition is not met. I have read on timer and on-event, but do not know if this applies to a task java. I also appreciate any guidance on what I need | http://jbpm.org/4.2/jpdl";> | | | | | | | | | | | | | Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267396#4267396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to re-publish war to jboss without restart (Sprin
We did some more testing, and it appears to not be a problem with the new JBoss (5.1.0.GA). We'll go on using this new version, but it would still be interesting to know what the issue is. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267404#4267404 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB jar cannot be deployed as a library (JBoss 5.0.1.GA)
Hi Jaikiran, yes I mean JPA entities. And yes, they are just plain jar files without ejb deployment descriptor. I am deploying a separate EJB Module in my EAR which defines session EJBs and also the persistence.xml with the definition of my persistence unit. So my ear folder structure looks like this: | / | +- lib/ | | +- imixs-workflow-api-x.x.x.jar | | +- imixs-workflow-jee-x.x.x.jar (contains the JPA entity beans) | | +- imixs-workflow-jee-impl-x.x.x.jar (contains EJB 3.0 Session beans) | +- my_ejb_module.jar(contains ejb-jar.xml and persistence.xml) | +- my_web_module.war | +- ... The project is deployable on glassfish successfully. To me it looks like that scanning of the /lib folder did not happen during deployment. Did I need any special descriptor/properties? I read about that this problem was an issue in version 4.x. The ear is part of the imixs workflow project so you can download the application if this would help you understanding my problem: https://imixs-workflow.dev.java.net/servlets/ProjectDocumentList thanks for help ralph View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267405#4267405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Concurrency problems - cache puts lost
Hi, In running some concurrency tests, where multiple threads do simultaneous puts against a cache, some of the puts appear to be lost. I run a set of 5 threads to do puts, then run a set of five threads to do gets. Many times, all the keys that are put into the cache are not present in the cache. I see this with 3.1.0, and also the newest stable version, 3.2.1. Running the contained code produces messages such as: 24 Nov 2009 14:44:50,135 ERROR [] com.m1.test.local.ConcurrencyTest Missing value for Key1. The trace shows that the get was done, and that it returned null. 24 Nov 2009 14:44:50,134 TRACE [] org.jboss.cache.interceptors.InvocationContextInterceptor Invoked with command GetKeyValueCommand{fqn=/BigNode, key=Key1, sendNodeEvent=true} and InvocationContext [InvocationContext{transaction=null, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false, suppressPersistence=false, suppressEventNotification=false}, originLocal=true, bypassUnmarshalling=false}] 24 Nov 2009 14:44:50,134 TRACE [] org.jboss.cache.interceptors.CallInterceptor Executing command: GetKeyValueCommand{fqn=/BigNode, key=Key1, sendNodeEvent=true}. 24 Nov 2009 14:44:50,134 TRACE [] org.jboss.cache.commands.read.GetKeyValueCommand Found value null However, earlier in the run I have put the Key into the cache. 24 Nov 2009 14:44:40,831 INFO [] com.m1.test.local.ConcurrencyTest Putting Key1 And the trace indicates that a value was put for the key: 24 Nov 2009 14:44:40,829 TRACE [] org.jboss.cache.interceptors.InvocationContextInterceptor Invoked with command PutKeyValueCommand{fqn=/BigNode, dataVersion=null, globalTransaction=null, key=Key1, value=This is a test.} and InvocationContext [InvocationContext{transaction=null, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=null, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false, suppressPersistence=false, suppressEventNotification=false}, originLocal=true, bypassUnmarshalling=false}] These log records are all for the same run of the test code. Since the get happens after the put, I would expect for the corresponding value to be returned. I have appended the test, which is a reasonably simple and self contained case. Is there anything else, perhaps in terms of MVCC options I should try? Thanks, Alex | package com.m1.test.local; | | import org.jboss.cache.Cache; | import org.jboss.cache.config.Configuration; | import java.util.concurrent.CyclicBarrier; | import org.jboss.cache.DefaultCacheFactory; | import org.jboss.cache.Fqn; | import java.util.HashSet; | import org.apache.commons.logging.Log; | import org.apache.commons.logging.LogFactory; | | /** | * This test will be used to put a specific number of enteries into the cache, | * and measure the amount of memory taken by the cache. | */ | public class ConcurrencyTest | { | private static final Fqn FQN = Fqn.fromString("BigNode"); | private static final Log LOG = LogFactory.getLog(ConcurrencyTest.class); | private static final int NTHREADS = 5; | private static final String VALUE= "This is a test."; | | private final CyclicBarrier barrier = new CyclicBarrier(NTHREADS); | private Thread[] threads = new Thread[NTHREADS]; | | | public ConcurrencyTest() |throws Throwable | { | Cache cache = createCache(); | | for (int iteration=0; iteration<10; iteration++) | { | for(int j=0; j createCache() | throws Exception | { | Cache cache = new DefaultCacheFactory().createCache(); | cache.create(); | cache.start(); | return cache; | } | | private static class WriteThread extends Thread | { | private CyclicBarrier barrier; | private Cache cache; | private int iteration; | private int writer; | | public WriteThread(Cache cache, CyclicBarrier barrier, |int iteration, int writer) |throws Throwable | { | this.cache = cache; | this.barrier = barrier; | this.iteration
[jboss-user] [JNDI and Naming] - Example of datasource config in a Java SE app using JBossNS?
I would like to configure a datasource for a Java SE application using JBossNS LocalOnlyContextFactory. Can someone provide an example of how this can be done? Thank you! Nikita View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267411#4267411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.X: task-local variables
1: Don't think so, but maybe it lives in someones mind. 2: No simple workaround afaik. But even with task local variables you have the concurrent access problem only on a different level. Once they finished, the LAST to finish wins which might not always be what you want. The only real advantage (imo) was that you could temporarily save a task while working on it and continue later with the same values. The concurrency problem described above remains. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267415#4267415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Groovy language in Script activity
it needs to be compliant with JSR 223 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267416#4267416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM 4.2 - Manage JBPM users - recommended way? How to u
You say you have you configured your identity service in the jbpm configuration. The class needs to be available on java the classpath somewhere, whether in an ear, a war or in a lib folder. Could also be that the specific config us not picked up contrary to what you expect. By making a big 'typo' in it, you can see if it is or not. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267417#4267417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM on MySQL
You can use the ant tasks to create the schema. Just provide -Ddatabase=mysql while running the task - (make sure you change the /install/jdbc/mysql.properties - to point to your database View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267419#4267419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist Users] - Bytecode error loading class
Hi, I am loading classes via javassist and everything works fine when i run processes on one node. However, I am now running my javassist code using a distributed process. I have this code: ClassPool pool = ClassPool.getDefault(); CtClass clazz = pool.makeClass("repast.simphony.util.bytecode.__DataSource" + counter++); clazz.addInterface(pool.get("repast.simphony.util.bytecode.DataSource")); StringBuilder methodStr = new StringBuilder("public Object getData(Object obj) {return "); _ In the distributed mode I get an error stating: javassist.NotFoundException: repast.simphony.util.bytecode.__DataSource0 at javassist.ClassPool.get(ClassPool.java:436) at repast.simphony.util.bytecode.ByteCodeUtilities.createMethodCall(ByteCodeUtilities.java:74) at repast.simphony.data.logging.gather.MethodMapping.initDataSource(MethodMapping.java:48) at repast.simphony.data.logging.gather.MethodMapping.getColumnValue(MethodMapping.java:71) at repast.simphony.data.logging.gather.aggregate.AbstractStatsAggregateMapping.getStats(AbstractStatsAggregateMapping.java:44) So it seems that the DataSource class that I can make in one node is not able to be made in the other (remote) node. Is there something I should do to enable the class to be distributed and loaded across nodes? Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267428#4267428 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - List task comments with Activity name
I'm finding the HistoryService's API slightly criptic. I'd like to display, for any given ProcessInstance, all the activity-names it passed through, and the list of comments added each of those tasks. what I do is retrieve all the HistoryTasks. Then use their Id's to retrieve all the HistoryComments. ... but the HistoryTask does not give me the activity name! (it gives me the outcome, however). To get the activity-name, I have to go into a completely separate API space ... via the HistoryActivityInstanceQuery. Then I can do HistoryActivityInstance.getActivityName(). But this object does not expose access to comments! I can find no programmatic way to associate a HistoryActivityInstance with a HistoryTask .. meaning that I have no way to associate Task Comments to their task's activity names. Have I missed something? .. is there a way to retrieve comments listed by activity name? I feel as though JBPM4's API is driven by something other than end-user logic. Maybe it is driven by some complex DB restrictions or something. I dont understand why I cant do (groovy syntax): tasks = History.getTasks(proccessInstanceId) tasks.each { task -> println(task.getActivityName()) task.comments.each { comment -> println(comment.getMessage()) } } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267431#4267431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Creating Queues Programaticly
http://anonsvn.jboss.org/repos/messaging/tags/JBossMessaging_1_4_5_GA/tests/src/org/jboss/test/messaging/jms/server/DestinationManagerTest.java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267435#4267435 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user