[JBoss Portal] New message: "Resources for using portal api"
by Monkey Den
User development,
A new message was posted in the thread "Resources for using portal api":
http://community.jboss.org/message/523985#523985
Author : Monkey Den
Profile : http://community.jboss.org/people/monkeyden
Message:
--------------------------------------------------------------
I am looking to use the portal api within my Seam application. What I'd first like to do it integrate portal roles and permissions. I looked through the portal documentation and found that it talks mostly about the "inside-out" view of the portal (administration and portlet development). Is there a wiki or something that can tell me more about how to access the api from an "outside-in" approach, like from within a Seam component? Does the portal expose anything via JNDI or JMX with which to acces this?
Thanks
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523985#523985
16 years, 2 months
[jBPM] New message: "Re: handling exceptions in AssignmentHandler"
by Ronald van Kuijk
User development,
A new message was posted in the thread "handling exceptions in AssignmentHandler":
http://community.jboss.org/message/523984#523984
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
> How should I handle that exception in case of a first task in a process (the process has already started and it has a task with no actors to assign to)My first solution is to delete the whole process and inform an user that a process hasn't started. But maybe there's a better solution to this problem.
The process is only fully started when a first wait-state is encountered or if there is an async=true on the start state. In the first cases there is nothing to delete, the rollback of the transaction will take of this. In the latter, a rollback will have the jobscheduler try to do it again after some time, maybe the assignment works then.
> And what in case this happens not in a first task of a process? I cannot delete a process. (I hope that in case of exception token stays on a previous node but haven't checked it yet)
It does
> Does JBPM support going back to a previous node (i.e. when exception occures in node-enter event action)? Or maybe there's a better practice?
It does this automagically since the transaction is rolled back. But keep in mind that it rolls back to a previous stable state (might be more nodes back than one), depending on how you use async
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523984#523984
16 years, 2 months
[jBPM] New message: "Re: Upgrade from JBPM3 to JBPM4 woes"
by Ronald van Kuijk
User development,
A new message was posted in the thread "Upgrade from JBPM3 to JBPM4 woes":
http://community.jboss.org/message/523982#523982
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
> Thanks I saw that. I'll probabaly use that at some point. I'm more interested in the integration code I have that interacts with the internals of the workflow engine: where GraphElement, Node, State, Transition, ExecutionContext may have gone or how they've changed?
>
As mentioned in some blogs (and some docs to, not sure), the way of interacting with jBPM changed a lot. Instead of knowing the internal model, you are supposed to interact with the engine through services.
> I've since figured out what happened with ActionHandler: It became ActivityBehavior. Another one: ContextInstance became ActivityExecution.
This is only partly true. ActivityBehaviour is for implementing custom nodes (als you could in jBPM3). ActionHandlers were used in more places than this. ContextInstance can also not be 1:1 mapped toActivityExecution, but in some places it is the replacement (from my head)
> These two changes weren't too hard to sort out. The hard questions begin to arise where our use of JbpmTemplate to integrate with Spring is utterly broken because of how JBPM4 integrates with Spring. Any tips on migration here would be helpful, too.
>
>
The JbpmTemplate has been broken for several years. It has never been compatible with 3.2 and to be honest, it provided little advantage (just like at the time the HibernateTemplate provided little advantage).
Wanna use 4? Use the Spring integration provided by 4. Do *not* try to (ab)use the old spring template. Migration of this is unfortunately a manual task.
Cheers,
Ronald
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523982#523982
16 years, 2 months
[jBPM] New message: "Re: using GWT console with jBPM-3 schema"
by Ronald van Kuijk
User development,
A new message was posted in the thread "using GWT console with jBPM-3 schema":
http://community.jboss.org/message/523980#523980
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
> It's pretty but quite limited. I've heard it referred to as a prototype and I think it was the first introduction of the GWT console to jBPM.
Correct, shortly after 3.3.1, the choice was made to not develop the GWT console further on jBPM 3.3 and focus on compatibility with jBPM 4
> Is there a more advanced GWT console that will work against the 3.1.1 schema?
Well, no not specifically. Maybe you could find those parts that made it compatible with 3.3 in the source and extend that so the console for 4.x also works with 3.3. Keep in mind that you will always have to keep updated yourself.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523980#523980
16 years, 2 months
[jBPM] New message: "Re: jBPM4 Database Dictionary"
by Ronald van Kuijk
User development,
A new message was posted in the thread "jBPM4 Database Dictionary":
http://community.jboss.org/message/523972#523972
Author : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje
Message:
--------------------------------------------------------------
> I'm looking for any documentation available that would provide appropriate comments for each table and column within.
Why is this important? Is the DBA 'requirering it'?
> While a good portion of the model is intuitive, it would be helpful to have consistent understanding within the community.
>
Hmm... I developed partsof the BPMN2 stuff and even then I did not need this knowledge .
> Internally, this type of documentation is required before implementation.
Sure? Or is (as I mentioned before) the DBA 'just' requirering' it. (seen that before)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523972#523972
16 years, 2 months
[Beginner's Corner] New message: "JBOSS and Curl HTTP 505"
by Suresh Narasimhan
User development,
A new message was posted in the thread "JBOSS and Curl HTTP 505":
http://community.jboss.org/message/523971#523971
Author : Suresh Narasimhan
Profile : http://community.jboss.org/people/avyaktha
Message:
--------------------------------------------------------------
I am trying to use curl with jboss
when ever I type in a space in the url I get a http 505 error, is there a way to configure jboss to handle this gracefully?
curl -v -i "http://127.0.0.1:8080/something?at=flowers&pid=hb36HQ09&loc=San Francisco"
* About to connect() to 127.0.0.1 port 8080 (#0)
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /../something?at=flowers&pid=hb36HQ09&loc=San Francisco HTTP/1.1
> User-Agent: curl/7.19.4 (universal-apple-darwin10.0) libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3
> Host: 127.0.0.1:8080
> Accept: */*
>
< HTTP/1.1 505 HTTP Version Not Supported
HTTP/1.1 505 HTTP Version Not Supported
< Server: Apache-Coyote/1.1
Server: Apache-Coyote/1.1
< Date: Wed, 03 Feb 2010 18:13:49 GMT
Date: Wed, 03 Feb 2010 18:13:49 GMT
< Connection: close
Connection: close
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523971#523971
16 years, 2 months