You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2006/11/13 12:46:37 UTC

[jira] Created: (AXIS2-1694) generate.service ant target creates an invalid service archive for pojoguidespring sample

generate.service ant target creates an invalid service archive for pojoguidespring sample
-----------------------------------------------------------------------------------------

                 Key: AXIS2-1694
                 URL: http://issues.apache.org/jira/browse/AXIS2-1694
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: samples
    Affects Versions: 1.1
         Environment: JDK 1.5, Win XP
            Reporter: Charitha Kankanamge


I went through instructions given in the pojoguide.html and README file located at Axis_Home/samples/pojoguidespring. However weatherServiceSpring.aar was deployed as a faulty service in both tomcat and Axis2servers. 

Following error was given in the logs.

Invalid service  WeatherSpringService.aar due to Processing Operations Modules IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist; 

This occurs when ant generate.service creates the archive, it does not add applicationContext.xml file in to the service archive. I manually added this applicationContext file to the service archive and it worked properly.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1694) generate.service ant target creates an invalid service archive for pojoguidespring sample

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-1694:
------------------------------------

    Assignee: Sanka Samaranayake

> generate.service ant target creates an invalid service archive for pojoguidespring sample
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1694
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1694
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.1
>         Environment: JDK 1.5, Win XP
>            Reporter: Charitha Kankanamge
>         Assigned To: Sanka Samaranayake
>
> I went through instructions given in the pojoguide.html and README file located at Axis_Home/samples/pojoguidespring. However weatherServiceSpring.aar was deployed as a faulty service in both tomcat and Axis2servers. 
> Following error was given in the logs.
> Invalid service  WeatherSpringService.aar due to Processing Operations Modules IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist; 
> This occurs when ant generate.service creates the archive, it does not add applicationContext.xml file in to the service archive. I manually added this applicationContext file to the service archive and it worked properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1694) generate.service ant target creates an invalid service archive for pojoguidespring sample

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-1694.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.3)

> generate.service ant target creates an invalid service archive for pojoguidespring sample
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1694
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1694
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: JDK 1.5, Win XP
>            Reporter: Charitha Kankanamge
>            Assignee: Sanka Samaranayake
>            Priority: Blocker
>
> I went through instructions given in the pojoguide.html and README file located at Axis_Home/samples/pojoguidespring. However weatherServiceSpring.aar was deployed as a faulty service in both tomcat and Axis2servers. 
> Following error was given in the logs.
> Invalid service  WeatherSpringService.aar due to Processing Operations Modules IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist; 
> This occurs when ant generate.service creates the archive, it does not add applicationContext.xml file in to the service archive. I manually added this applicationContext file to the service archive and it worked properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1694) generate.service ant target creates an invalid service archive for pojoguidespring sample

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507517 ] 

Davanum Srinivas commented on AXIS2-1694:
-----------------------------------------

I can see the following line in build.xml now. Guess that does the trick.

<copy file="src/applicationContext.xml" tofile="${dest.dir.classes}/applicationContext.xml" overwrite="true" />

thanks,
dims

> generate.service ant target creates an invalid service archive for pojoguidespring sample
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1694
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1694
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: JDK 1.5, Win XP
>            Reporter: Charitha Kankanamge
>            Assignee: Sanka Samaranayake
>            Priority: Blocker
>
> I went through instructions given in the pojoguide.html and README file located at Axis_Home/samples/pojoguidespring. However weatherServiceSpring.aar was deployed as a faulty service in both tomcat and Axis2servers. 
> Following error was given in the logs.
> Invalid service  WeatherSpringService.aar due to Processing Operations Modules IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist; 
> This occurs when ant generate.service creates the archive, it does not add applicationContext.xml file in to the service archive. I manually added this applicationContext file to the service archive and it worked properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1694) generate.service ant target creates an invalid service archive for pojoguidespring sample

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe updated AXIS2-1694:
-------------------------------------

        Fix Version/s: 1.3
             Priority: Blocker  (was: Major)
    Affects Version/s:     (was: 1.1)
                       1.3

> generate.service ant target creates an invalid service archive for pojoguidespring sample
> -----------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1694
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1694
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.3
>         Environment: JDK 1.5, Win XP
>            Reporter: Charitha Kankanamge
>            Assignee: Sanka Samaranayake
>            Priority: Blocker
>             Fix For: 1.3
>
>
> I went through instructions given in the pojoguide.html and README file located at Axis_Home/samples/pojoguidespring. However weatherServiceSpring.aar was deployed as a faulty service in both tomcat and Axis2servers. 
> Following error was given in the logs.
> Invalid service  WeatherSpringService.aar due to Processing Operations Modules IOException parsing XML document from class path resource [applicationContext.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist; 
> This occurs when ant generate.service creates the archive, it does not add applicationContext.xml file in to the service archive. I manually added this applicationContext file to the service archive and it worked properly.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org