[jBPM] - Re: JBPM5 - Process Versioning
by Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: JBPM5 - Process Versioning"
To view the discussion, visit: http://community.jboss.org/message/577967#577967
--------------------------------------------------------------
The process engine itself doesn't really care about process versioning directly, as far as it is concerned, two versions of the same process definition are concidered different processes (they just have the same name and a different version), and this probably makes sense as in reality two different versions of the same process definitions can actually be completely different.
You should always keep a version of your process somewhere if you still need it (for example if there are still process instances executing based on the "old" definition). So only if you make sure that all active instances of your old definition are either aborted or migrated to the newer version, you no longer need the old definition.
The process engine doesn't really care where those process definitions are stored, it just needs to be able to reload them (in case of restarting for example). So you can use file system, a repository (like Gunvor), a database, or whatever you prefer. If you use a simple file system, you probably want to have different files for each of the versions you're still using. If you use a SCM system, you can probably reuse the same file as long as you can then retrieve all the versions of the process you still need.
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577967#577967]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[JBoss Web Services] - NMTOKENS deployment issue
by Kyle Bober
Kyle Bober [http://community.jboss.org/people/kyle.bober] created the discussion
"NMTOKENS deployment issue"
To view the discussion, visit: http://community.jboss.org/message/577669#577669
--------------------------------------------------------------
I am attempting to deploy a webservice that I created based on a pre-exisiting SEI. This webservice successfully deploys on top of Glassfish with the Metro 3.2.1 webservice stack but when I attempt to deploy it on JBoss 5.1.0 with the JBossWS-Native-3.4.0 it displays the following errors upon deployment:
10:41:26,524 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Item', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,534 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleContent', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,535 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Title', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,538 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Colgroup', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,538 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Col', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,547 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleFootnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,547 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.List', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,548 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Caption', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,550 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.RenderMultiMedia', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,553 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Thead', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,554 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tr', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,554 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Td', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,554 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Th', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,556 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tbody', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,560 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Table', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,560 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tfoot', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,569 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Content', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,569 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Text', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,570 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Paragraph', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,572 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.FootnoteRef', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,577 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.LinkHtml', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:26,578 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v34924019067637698289.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Footnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,384 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Item', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,394 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleContent', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,394 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Title', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,397 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Colgroup', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,397 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Col', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,406 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.TitleFootnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,406 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.List', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,406 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Caption', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,409 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.RenderMultiMedia', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,412 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Thead', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,412 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tr', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,413 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Td', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,413 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Th', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,415 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tbody', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,419 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Table', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,419 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Tfoot', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,428 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Content', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,428 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Text', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,429 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Paragraph', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,431 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.FootnoteRef', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,436 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.LinkHtml', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
10:41:30,437 ERROR [JBossXSErrorHandler] JBossWS_urn_hl7-org_v36649775853378394429.xsd[domain: http://www.w3.org/TR/xml-schema-1 http://www.w3.org/TR/xml-schema-1]::[key=cos-st-restricts.2.1]::Message=c...: In the definition of list type '#AnonType_styleCodeStrucDoc.Footnote', type 'NMTOKENS' is an invalid item type because it is either a list type, or a union type that contains a list.
This seems to be related to one of the XSD docuements that the the WebService is dependent upon. I have narrowed it down tot he following:
{code:xml}
<?xml version="1.0" encoding="ASCII"?>
<!-- $Id: NarrativeBlock.xsd,v 1.6 2007/03/20 02:42:07 wbeeler Exp $ -->
<xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3" targetNamespace="urn:hl7-org:v3" elementFormDefault="qualified">
<xs:complexType name="StrucDoc.Text" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
<xs:element name="table" type="StrucDoc.Table"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="mediaType" type="xs:string" fixed="text/x-hl7-text+xml"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Title" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.TitleContent"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.TitleFootnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="mediaType" type="xs:string" fixed="text/x-hl7-title+xml"/>
</xs:complexType><!-- DELETE THIS, we don't need to define a global element for text
<xs:element name="text" type="text"/>
-->
<xs:complexType name="StrucDoc.Br"/>
<xs:complexType name="StrucDoc.Caption" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Col">
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="span" type="xs:string" default="1"/>
<xs:attribute name="width" type="xs:string"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Colgroup">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="col" type="StrucDoc.Col"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="span" type="xs:string" default="1"/>
<xs:attribute name="width" type="xs:string"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Content" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="revised">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="insert"/>
<xs:enumeration value="delete"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.TitleContent" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.TitleContent"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.TitleFootnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Footnote" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
<xs:element name="table" type="StrucDoc.Table"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.TitleFootnote" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.TitleContent"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.FootnoteRef">
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="IDREF" type="xs:IDREF" use="required"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Item" mixed="true">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
<xs:element name="table" type="StrucDoc.Table"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.LinkHtml" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
</xs:choice>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="href" type="xs:string"/>
<xs:attribute name="rel" type="xs:string"/>
<xs:attribute name="rev" type="xs:string"/>
<xs:attribute name="title" type="xs:string"/>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.List">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:element name="item" type="StrucDoc.Item" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="listType" default="unordered">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="ordered"/>
<xs:enumeration value="unordered"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Paragraph" mixed="true">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.RenderMultiMedia">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="referencedObject" type="xs:IDREFS" use="required"/>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Sub" mixed="true"/>
<xs:complexType name="StrucDoc.Sup" mixed="true"/>
<xs:complexType name="StrucDoc.Table">
<xs:sequence>
<xs:element name="caption" type="StrucDoc.Caption" minOccurs="0"/>
<xs:choice>
<xs:element name="col" type="StrucDoc.Col" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="colgroup" type="StrucDoc.Colgroup" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:element name="thead" type="StrucDoc.Thead" minOccurs="0"/>
<xs:element name="tfoot" type="StrucDoc.Tfoot" minOccurs="0"/>
<xs:element name="tbody" type="StrucDoc.Tbody" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="summary" type="xs:string"/>
<xs:attribute name="width" type="xs:string"/>
<xs:attribute name="border" type="xs:string"/>
<xs:attribute name="frame">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="void"/>
<xs:enumeration value="above"/>
<xs:enumeration value="below"/>
<xs:enumeration value="hsides"/>
<xs:enumeration value="lhs"/>
<xs:enumeration value="rhs"/>
<xs:enumeration value="vsides"/>
<xs:enumeration value="box"/>
<xs:enumeration value="border"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="rules">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="none"/>
<xs:enumeration value="groups"/>
<xs:enumeration value="rows"/>
<xs:enumeration value="cols"/>
<xs:enumeration value="all"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="cellspacing" type="xs:string"/>
<xs:attribute name="cellpadding" type="xs:string"/>
</xs:complexType>
<xs:complexType name="StrucDoc.Tbody">
<xs:sequence maxOccurs="unbounded">
<xs:element name="tr" type="StrucDoc.Tr"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Td" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
<xs:element name="paragraph" type="StrucDoc.Paragraph"/>
<xs:element name="list" type="StrucDoc.List"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="abbr" type="xs:string"/>
<xs:attribute name="axis" type="xs:string"/>
<xs:attribute name="headers" type="xs:IDREFS"/>
<xs:attribute name="scope">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="row"/>
<xs:enumeration value="col"/>
<xs:enumeration value="rowgroup"/>
<xs:enumeration value="colgroup"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="rowspan" type="xs:string" default="1"/>
<xs:attribute name="colspan" type="xs:string" default="1"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Tfoot">
<xs:sequence maxOccurs="unbounded">
<xs:element name="tr" type="StrucDoc.Tr"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Th" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="content" type="StrucDoc.Content"/>
<xs:element name="linkHtml" type="StrucDoc.LinkHtml"/>
<xs:element name="sub" type="StrucDoc.Sub"/>
<xs:element name="sup" type="StrucDoc.Sup"/>
<xs:element name="br" type="StrucDoc.Br"/>
<xs:element name="footnote" type="StrucDoc.Footnote"/>
<xs:element name="footnoteRef" type="StrucDoc.FootnoteRef"/>
<xs:element name="renderMultiMedia" type="StrucDoc.RenderMultiMedia"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="abbr" type="xs:string"/>
<xs:attribute name="axis" type="xs:string"/>
<xs:attribute name="headers" type="xs:IDREFS"/>
<xs:attribute name="scope">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="row"/>
<xs:enumeration value="col"/>
<xs:enumeration value="rowgroup"/>
<xs:enumeration value="colgroup"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="rowspan" type="xs:string" default="1"/>
<xs:attribute name="colspan" type="xs:string" default="1"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Thead">
<xs:sequence maxOccurs="unbounded">
<xs:element name="tr" type="StrucDoc.Tr"/>
</xs:sequence>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="StrucDoc.Tr">
<xs:choice maxOccurs="unbounded">
<xs:element name="th" type="StrucDoc.Th"/>
<xs:element name="td" type="StrucDoc.Td"/>
</xs:choice>
<xs:attribute name="ID" type="xs:ID"/>
<xs:attribute name="language" type="xs:NMTOKEN"/>
<xs:attribute name="styleCode" type="xs:NMTOKENS"/>
<xs:attribute name="align">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="left"/>
<xs:enumeration value="center"/>
<xs:enumeration value="right"/>
<xs:enumeration value="justify"/>
<xs:enumeration value="char"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="char" type="xs:string"/>
<xs:attribute name="charoff" type="xs:string"/>
<xs:attribute name="valign">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="top"/>
<xs:enumeration value="middle"/>
<xs:enumeration value="bottom"/>
<xs:enumeration value="baseline"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:schema>
{code}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577669#577669]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[JBoss Web Services] - Re: How can I do mutual SSL when using JBoss as Web service
by Richard Gomes
Richard Gomes [http://community.jboss.org/people/richard.anywhere] created the discussion
"Re: How can I do mutual SSL when using JBoss as Web service"
To view the discussion, visit: http://community.jboss.org/message/570402#570402
--------------------------------------------------------------
As this is high on the Google search results for "jboss WS Client Mutual Certificate" and doesn't have a posted resolution, I thought I'd post what I did to get everything working.
The basic principle here is that BOTH the Web Service (WS) and the Web Service Client (WS-C) need to have the other's key stored as "trusted". Specifically, the following needs to be set ON BOTH SIDES:
-Djavax.net.ssl.trustStore=/home/dev/.truststore
-Djavax.net.ssl.trustStorePassword=changeit
Now, both sides also need their own keystore. The key of WS needs to be trusted by WS-C and vice-versa. Set the following ON BOTH SIDES:
-Djavax.net.ssl.keyStore=/home/dev/.keystore
-Djavax.net.ssl.keyStorePassword=changeit
To get something up and running quickly, use the same keystore and truststore on both sides ... even simpler, you can create a new keystore and simply copy the output file to also become the truststore:
$JAVA_HOME/bin/keytool -genkey -alias jboss -keyalg RSA
cp .keystore .truststore
You can also do an explicit import to load a key into a truststore:
keytool -import -alias jboss -file certificate -storepass changeit -keystore .truststore
This all worked for me. If possible, please provide feedback on gotchas or success stories relating to the above.
All the best,
Richard
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/570402#570402]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[jBPM] - jbpm5 not able to run multiple instances of a process
by ritesh adval
ritesh adval [http://community.jboss.org/people/riteshadval] created the discussion
"jbpm5 not able to run multiple instances of a process"
To view the discussion, visit: http://community.jboss.org/message/580755#580755
--------------------------------------------------------------
I ran the sample tests in jbpm-bpmn2 source directory to test if multiple process instance can be run where each instance is not yet finished. It is not working for me. What I observed is that each new instance of a process is getting 1 as the process instance id?
This is what I did:
(1) I configured persistence.xml to use mysql.
(2) I start an instance of process ( https://github.com/krisv/jbpm/blob/master/jbpm-bpmn2/src/test/resources/B... BPMN2-EventBasedSplit.bpmn2) by running testEventBasedSplit() of org/jbpm/bpmn2/StandaloneBPMNProcessTest, and run it till just before sending Yes signal.
(3) I create another instance of above process and do the same as step (2),
So at this point there should be two process instance which are not yet completed.What I am observing is that two process instance in PROCESSINSTANCELOG have same process instance id. I tried creating one session StatefulKnowledgeSession with two instance and they are getting same instance id.
So when I recreate StatefulKnowledgeSession by using existing sessionid of database, I only get one process instance from the api which returns list of process instance.
Other thing I have noticed is that PROCESSINSTANCEINFO is always empty and no row is inserted there, could this be an issue?
I was able to configure history log to start saving , NODEINSTANCELOG, variable and PROCESSINSTANCELO, I am not sure why PROCESSINSTANCELOG is empty?
Maybe I am missing something, I am new to jbpm and trying to evaluate if we should use jbpm5 or stick to jbpm4.4 for sometime.
-Ritesh.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580755#580755]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months