You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Kristian Koehler (JIRA)" <ji...@apache.org> on 2008/05/21 10:00:54 UTC

[jira] Created: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

OSWorkflow tests using example file which includes wrong dtd version
--------------------------------------------------------------------

                 Key: SM-1365
                 URL: https://issues.apache.org/activemq/browse/SM-1365
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-osworkflow
    Affects Versions: 3.2.2
            Reporter: Kristian Koehler
            Assignee: Kristian Koehler
         Attachments: osworkflow-version.patch

Hi

i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.

Sample file dtd:

--- 8< ---
<!DOCTYPE workflow PUBLIC 
                 "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
                 "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
--- 8< ---

Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)

Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42908#action_42908 ] 

Lars Heinemann commented on SM-1365:
------------------------------------

Kristian,

I am not sure if I got the problem really.
What exactly is the problem? If I run mvn -Pnocheck test it works fine.

Could you please explain further?

Regards
Lars


> OSWorkflow tests using example file which includes wrong dtd version
> --------------------------------------------------------------------
>
>                 Key: SM-1365
>                 URL: https://issues.apache.org/activemq/browse/SM-1365
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-osworkflow
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Kristian Koehler
>         Attachments: osworkflow-version.patch
>
>
> Hi
> i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.
> Sample file dtd:
> --- 8< ---
> <!DOCTYPE workflow PUBLIC 
>                  "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
>                  "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
> --- 8< ---
> Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Koehler reassigned SM-1365:
------------------------------------

    Assignee: Lars Heinemann  (was: Kristian Koehler)

i assign the issue to you... so you can committ the change.

thanks

Kristian

> OSWorkflow tests using example file which includes wrong dtd version
> --------------------------------------------------------------------
>
>                 Key: SM-1365
>                 URL: https://issues.apache.org/activemq/browse/SM-1365
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-osworkflow
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Lars Heinemann
>         Attachments: osworkflow-version.patch
>
>
> Hi
> i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.
> Sample file dtd:
> --- 8< ---
> <!DOCTYPE workflow PUBLIC 
>                  "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
>                  "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
> --- 8< ---
> Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann resolved SM-1365.
--------------------------------

    Fix Version/s: 3.2.2
                   3.3
       Resolution: Fixed

Applied patch. Thanks to Kristian.

> OSWorkflow tests using example file which includes wrong dtd version
> --------------------------------------------------------------------
>
>                 Key: SM-1365
>                 URL: https://issues.apache.org/activemq/browse/SM-1365
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-osworkflow
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Lars Heinemann
>             Fix For: 3.2.2, 3.3
>
>         Attachments: osworkflow-version.patch
>
>
> Hi
> i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.
> Sample file dtd:
> --- 8< ---
> <!DOCTYPE workflow PUBLIC 
>                  "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
>                  "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
> --- 8< ---
> Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-1365:
--------------------------------

    Fix Version/s: servicemix-osworkflow-2008.01

> OSWorkflow tests using example file which includes wrong dtd version
> --------------------------------------------------------------------
>
>                 Key: SM-1365
>                 URL: https://issues.apache.org/activemq/browse/SM-1365
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-osworkflow
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Lars Heinemann
>             Fix For: 3.2.2, 3.3, servicemix-osworkflow-2008.01
>
>         Attachments: osworkflow-version.patch
>
>
> Hi
> i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.
> Sample file dtd:
> --- 8< ---
> <!DOCTYPE workflow PUBLIC 
>                  "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
>                  "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
> --- 8< ---
> Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42909#action_42909 ] 

Lars Heinemann commented on SM-1365:
------------------------------------

I just had a look at the pom and it seems your patch makes sense ;)
We use version 2.7.0 of the osworkflow, but somehow we reference 2.8.0 from the
xml file. That is indeed not so good :)

I will apply the patch soon.

Thanks for pointing this out.

Regards
Lars


> OSWorkflow tests using example file which includes wrong dtd version
> --------------------------------------------------------------------
>
>                 Key: SM-1365
>                 URL: https://issues.apache.org/activemq/browse/SM-1365
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-osworkflow
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Kristian Koehler
>         Attachments: osworkflow-version.patch
>
>
> Hi
> i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.
> Sample file dtd:
> --- 8< ---
> <!DOCTYPE workflow PUBLIC 
>                  "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
>                  "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
> --- 8< ---
> Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1365) OSWorkflow tests using example file which includes wrong dtd version

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42910#action_42910 ] 

Kristian Koehler commented on SM-1365:
--------------------------------------

Hi

the test hang on my machine. After investigation i found some java.net.ConnectExceptions caused by the XML parser. 

The parser is trying to resolve the dtd (version 2.8) via the DTDentityResolver from OpenWorkflow (com.opensymphony.workflow.loader.DTDEntityResolver). The resolver looks for the dtd within the jar file (META-INF directory) but isn't able to find it in the file. (On my local machine the jar file (version 2.7.0) doesn't contain the dtd in version 2.8.) So the parser tries to download the file casuing the exception.

After changing the dtd declaration to a dtd which is contained within the jar file everything works fine...

Wrong?

Kristian

ps: please see also my mail http://mail-archives.apache.org/mod_mbox/servicemix-dev/200805.mbox/%3c5EF9ADF93DC4DA46ACD21782C13680CF011E81A3@dmc-l01-mx01.dmc.local%3e

> OSWorkflow tests using example file which includes wrong dtd version
> --------------------------------------------------------------------
>
>                 Key: SM-1365
>                 URL: https://issues.apache.org/activemq/browse/SM-1365
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-osworkflow
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Kristian Koehler
>         Attachments: osworkflow-version.patch
>
>
> Hi
> i encountered problems while running the OSWorkflow test. The example workflow can't be deployed because the sample file uses a wrong dtd version and the dtd file isn't included in the OSWorkflow distribution.
> Sample file dtd:
> --- 8< ---
> <!DOCTYPE workflow PUBLIC 
>                  "-//OpenSymphony Group//DTD OSWorkflow 2.8//EN"
>                  "http://www.opensymphony.com/osworkflow/workflow_2_8.dtd">
> --- 8< ---
> Version 2.8 isn't included. Changing this to 2.7 works because the file is in the osworkflow.jar ;-)
> Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.