Re: [jboss-user] [jBPM] - Need help with workflow in Alfresco
by Scott Gartner
Scott Gartner [http://community.jboss.org/people/sgartner] replied to the discussion
"Need help with workflow in Alfresco"
To view the discussion, visit: http://community.jboss.org/message/540109#540109
--------------------------------------------------------------
Alejandro,
Thanks for the reply. There was a mistake there, but unfortunately it was not the actor-id element, it was that I had not put the "class" on the assignment. Alfresco has defined a custom assignment class which (as I understand it) allows the use of user names in the assignment and (I assume) it validates those users and puts the proper actor-id values into the swimlane. Either way, from all of the example code and the built-in workflows this is correct. So, I changed my submission from:
<swimlane name="initiator"></swimlane>
<swimlane name="Content Providers">
<assignment actor-id="Content Providers">
<actor>#{bpm_assignees}</actor>
</assignment>
</swimlane>
to
<swimlane name="initiator"></swimlane>
<swimlane name="Content Providers">
<assignment actor-id="Content Providers" class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{bpm_assignees}</actor>
</assignment>
</swimlane>
This doesn't reflect a change in my workflow, just this message (I must have removed the class accidentally when I simplified it for the forum).
Thanks again!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540109#540109]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
[JBoss Web Services] - No trusted certificate found - JBossWS Client
by Aaron Kirley
Aaron Kirley [http://community.jboss.org/people/arkmobile] created the discussion
"No trusted certificate found - JBossWS Client"
To view the discussion, visit: http://community.jboss.org/message/540104#540104
--------------------------------------------------------------
I would really appreciate any advice you can give me on this one. I'm several days into debugging an issue related to an SSL configuration on my test server with a self signed certificate which gives me this error:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
It might be helpful to point out that I am attempting to make a secure web service request via https to a FedEx web service located at https://gatewaybeta.fedex.com:443/web-services https://gatewaybeta.fedex.com:443/web-services. Also, I have relied heavily on this post http://community.jboss.org/message/369200#369200 http://community.jboss.org/message/369200#369200 for guidance.
So far I have the following configuration changes to my JBossAS 5.1.0.GA but I still get the "No Trusted Certificate Found" error:
1. Created Keystore dev.keystore with CN=localhost
2. Exported Keystore into dev.cer
3. Imported dev.cer into dev.truststore
4. Enables SSL in %JBOSS_HOME%\server\default\deploy\jbossweb.sar\server.xml where I referenced the keystore, truststore and associated passwords
5. Added the following to my VM Arguments:
-Djavax.net.ssl.trustStore="C:\Development\JBoss\jboss-5.1.0.GA\server\default\conf\dev.truststore"
-Djavax.net.ssl.trustStorePassword=changeit
-Djavax.net.ssl.keyStore="C:\Development\JBoss\jboss-5.1.0.GA\server\default\conf\dev.keystore"
-Djavax.net.ssl.keyStorePassword=changeit
6. I even tried to adding the following to my Web Service Client (LocatorClient.java)
System.setProperty(
"javax.net.ssl.keyStore", "C:\\Development\\JBoss\\jboss-5.1.0.GA\\server\\default\\conf\\dev.keystore");
System.setProperty(
"javax.net.ssl.keyStorePassword", "changeit");
System.setProperty(
"javax.net.ssl.trustStore", "C:\\Development\\JBoss\\jboss-5.1.0.GA\\server\\default\\conf\\dev.truststore");
System.setProperty(
"javax.net.ssl.trustStorePassword", "changeit");
System.setProperty(
"org.jboss.security.ignoreHttpsHost","tru"org.jboss.security.ignoreHttpsHost","tru
I keep getting the same error, any advice would be greatly appreicted. Thanks again in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540104#540104]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months
Re: [jboss-user] [jBPM] - Process Variable cannot be casted and accessed
by Gerardo Navarro Suarez
Gerardo Navarro Suarez [http://community.jboss.org/people/GerardoNS] replied to the discussion
"Process Variable cannot be casted and accessed"
To view the discussion, visit: http://community.jboss.org/message/540095#540095
--------------------------------------------------------------
Hallo Bernd,
thank you very much for this hint. But nevertheless I couldn't figure out why I get this error or why the classes are deployed twice.
Like I said before I use the GPD plugin to develop and also deploy the processes. When I press the "Deploy Process Archive ..." Button eclipse says that the deployment succeeded. So I trust eclipse and it's GPD plugin, but obviously there appears to happen something wrong.
My question is now:
1) You said: "So a good start would be to look how the class is packaged". Well, the class is in the package "de.hpi.pois.klassen" and the action are in the package "de.hpi.pois.action". But I think that this is not what you mean by that phrase. I've tried to find the archive that is created by the GPD and to look how the classes are packaged there, but I couldn't find the archive. Do you know where the archives could be?
2) Where I can find the deployment artifacts? (google doesn't give me a good answer)
3) You said that you have to take a closer look to my source. So, do you think that the problem lies in the code?
An alternative could deploy it with an ant target. Meanwhile, I tried this alternative but up to this point without any success.
Thanks again for your help.
Greetings,
Gerardo
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540095#540095]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 8 months