You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Andrew Borley (JIRA)" <tu...@ws.apache.org> on 2006/06/14 15:49:29 UTC

[jira] Created: (TUSCANY-471) Crash when 2 WS EntryPoint services with different System Root paths are accessed

Crash when 2 WS EntryPoint services with different System Root paths are accessed
---------------------------------------------------------------------------------

         Key: TUSCANY-471
         URL: http://issues.apache.org/jira/browse/TUSCANY-471
     Project: Tuscany
        Type: Bug

  Components: C++ SCA  
    Versions: Cpp-current    
    Reporter: Andrew Borley


I have 2 WS EntryPoint services deployed to the same axis2c server, each with a different System Root path defined.
The first starts and runs fine but the second causes a crash with an EntryPointNotFoundException. 

I'm not sure this is an allowed scenario at the moment anyway - does the runtime currently support changes of System Root?

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [jira] Updated: (TUSCANY-471) Crash when 2 WS EntryPoint services with different System Root paths are accessed

Posted by Pete Robbins <ro...@googlemail.com>.
Works a treat. Patch is checked in.

Thanks


On 27/06/06, Pete Robbins <ro...@googlemail.com> wrote:
>
> Sounds good. I'll give it a go.
>
>
> On 27/06/06, Andrew Borley (JIRA) <tu...@ws.apache.org> wrote:
> >
> >     [ http://issues.apache.org/jira/browse/TUSCANY-471?page=all ]
> >
> > Andrew Borley updated TUSCANY-471:
> > ----------------------------------
> >
> >    Attachment: TUSCANY-471.patch
> >
> > This patch uses a singleton pattern to keep a single EntryPointProxy
> > object (containing a single TuscanyRuntime object). When a new WS request
> > comes in, the SystemRoot & Module/EntryPoint strings are compared - if
> > different, TuscanyRuntime is stopped, changed and restarted - if the same,
> > TuscanyRuntime is left unaltered.
> >
> > > Crash when 2 WS EntryPoint services with different System Root paths
> > are accessed
> > >
> > ---------------------------------------------------------------------------------
> > >
> > >          Key: TUSCANY-471
> > >          URL: http://issues.apache.org/jira/browse/TUSCANY-471
> > >      Project: Tuscany
> > >         Type: Bug
> >
> > >   Components: C++ SCA
> > >     Versions: Cpp-current
> > >     Reporter: Andrew Borley
> > >  Attachments: TUSCANY-471.patch
> > >
> > > I have 2 WS EntryPoint services deployed to the same axis2c server,
> > each with a different System Root path defined.
> > > The first starts and runs fine but the second causes a crash with an
> > EntryPointNotFoundException.
> > > I'm not sure this is an allowed scenario at the moment anyway - does
> > the runtime currently support changes of System Root?
> >
> > --
> > 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: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
>
> --
>
> Pete
>



-- 
Pete

Re: [jira] Updated: (TUSCANY-471) Crash when 2 WS EntryPoint services with different System Root paths are accessed

Posted by Pete Robbins <ro...@googlemail.com>.
Sounds good. I'll give it a go.

On 27/06/06, Andrew Borley (JIRA) <tu...@ws.apache.org> wrote:
>
>     [ http://issues.apache.org/jira/browse/TUSCANY-471?page=all ]
>
> Andrew Borley updated TUSCANY-471:
> ----------------------------------
>
>    Attachment: TUSCANY-471.patch
>
> This patch uses a singleton pattern to keep a single EntryPointProxy
> object (containing a single TuscanyRuntime object). When a new WS request
> comes in, the SystemRoot & Module/EntryPoint strings are compared - if
> different, TuscanyRuntime is stopped, changed and restarted - if the same,
> TuscanyRuntime is left unaltered.
>
> > Crash when 2 WS EntryPoint services with different System Root paths are
> accessed
> >
> ---------------------------------------------------------------------------------
> >
> >          Key: TUSCANY-471
> >          URL: http://issues.apache.org/jira/browse/TUSCANY-471
> >      Project: Tuscany
> >         Type: Bug
>
> >   Components: C++ SCA
> >     Versions: Cpp-current
> >     Reporter: Andrew Borley
> >  Attachments: TUSCANY-471.patch
> >
> > I have 2 WS EntryPoint services deployed to the same axis2c server, each
> with a different System Root path defined.
> > The first starts and runs fine but the second causes a crash with an
> EntryPointNotFoundException.
> > I'm not sure this is an allowed scenario at the moment anyway - does the
> runtime currently support changes of System Root?
>
> --
> 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: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>


-- 
Pete

[jira] Updated: (TUSCANY-471) Crash when 2 WS EntryPoint services with different System Root paths are accessed

Posted by "Andrew Borley (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-471?page=all ]

Andrew Borley updated TUSCANY-471:
----------------------------------

    Attachment: TUSCANY-471.patch

This patch uses a singleton pattern to keep a single EntryPointProxy object (containing a single TuscanyRuntime object). When a new WS request comes in, the SystemRoot & Module/EntryPoint strings are compared - if different, TuscanyRuntime is stopped, changed and restarted - if the same, TuscanyRuntime is left unaltered.

> Crash when 2 WS EntryPoint services with different System Root paths are accessed
> ---------------------------------------------------------------------------------
>
>          Key: TUSCANY-471
>          URL: http://issues.apache.org/jira/browse/TUSCANY-471
>      Project: Tuscany
>         Type: Bug

>   Components: C++ SCA
>     Versions: Cpp-current
>     Reporter: Andrew Borley
>  Attachments: TUSCANY-471.patch
>
> I have 2 WS EntryPoint services deployed to the same axis2c server, each with a different System Root path defined.
> The first starts and runs fine but the second causes a crash with an EntryPointNotFoundException. 
> I'm not sure this is an allowed scenario at the moment anyway - does the runtime currently support changes of System Root?

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-471) Crash when 2 WS EntryPoint services with different System Root paths are accessed

Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-471?page=all ]
     
Pete Robbins closed TUSCANY-471:
--------------------------------

    Fix Version: Cpp-M1
     Resolution: Fixed

> Crash when 2 WS EntryPoint services with different System Root paths are accessed
> ---------------------------------------------------------------------------------
>
>          Key: TUSCANY-471
>          URL: http://issues.apache.org/jira/browse/TUSCANY-471
>      Project: Tuscany
>         Type: Bug

>   Components: C++ SCA
>     Versions: Cpp-current
>     Reporter: Andrew Borley
>      Fix For: Cpp-M1
>  Attachments: TUSCANY-471.patch
>
> I have 2 WS EntryPoint services deployed to the same axis2c server, each with a different System Root path defined.
> The first starts and runs fine but the second causes a crash with an EntryPointNotFoundException. 
> I'm not sure this is an allowed scenario at the moment anyway - does the runtime currently support changes of System Root?

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org