You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Sandeep Raman (JIRA)" <tu...@ws.apache.org> on 2008/03/12 10:08:46 UTC

[jira] Created: (TUSCANY-2074) Component Service not coming up.

Component Service not coming up.
--------------------------------

                 Key: TUSCANY-2074
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
             Project: Tuscany
          Issue Type: Test
          Components: Java SCA Tomcat Integration
    Affects Versions: Java-SCA-1.1
         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
            Reporter: Sandeep Raman
            Priority: Critical
             Fix For: Java-SCA-1.1


summary of the Issue:

I have an issue with the component service not coming up. below mentioned 
is my scenario.

I have a JSP (default.jsp) which does the following:

<%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
      System.out.println("RunTime Composite Started");
%>

and the Runtime.composite is as follows:

    <component name="TwoWSService">
        <implementation.java class="eai.Compose" />
        <service name="Compose">
             interface="http://eai#wsdl.interface(TwoWSService)" /> 
            <binding.ws uri="http://localhost:8080/TwoWSService" />
        </service>
    </component>


Now I create a war of all my Java classes , wsdl , composite files and 
with the default.jsp as the default run target.
This war gets deployed in tomcat and the jsp page comes up. It creates a 
new instance of Runtime.composite too , but it doesnt seem to be starting 
the
component service which i have mentioned in the composite file : 
<binding.ws uri="http://localhost:8080/TwoWSService" />.


------------------------------------------------------------------------------------------------------------------------------------------------------




Following Mails explain the scenario::

> I see everything in console, like
>
> INFO: initContextPath: /TwoWS
> INFO: Added Servlet mapping: /TwoWSService
>
> Even if i try to Run my low lying services which i am composing it Runs
> fine and can see the output in the console..
> The issue is the wsdl url which i need to publish and not able to find it
> anywhere.
>
> As per the samples , in my case
> http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> tht doesnt seem to exist
>
> Regards
> Sandeep
>
>
> "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
>
> > A difference between this and the calculator sample is the way the jsp
> gets
> > the SCADomain object, the Tuscany jsp samples do:
> > <%
> >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > org.apache.tuscany.sca.SCADomain");
> >    CalculatorService calculatorService =
> > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > "CalculatorServiceComponent");
> > %>
> >
> > whereas this code does:
> > <%
> >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> >      System.out.println("RunTime Composite Started");
> > %>
> > I've never tried that so i don't know if it will work.
> >
> > If Tuscany is activating the WS endpoint you should see the messages on
> the
> > tomcat console about it, for example, with the calculator ws sample you
> see:
> >
> > INFO: ContextPath: /sample-calculator-ws-webapp
> > and
> > INFO: Added Servlet mapping: /AddServiceComponent
> >
> > so you can add those and you tomcat host and port to get
> >
> > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> >
> > You can test thats working by appending ?wsdl to that and url and
> entering
> > it in a browser which should return the wsdl document for the service.
> >
> > If you don't see the above messages then something is going wrong and
> the WS
> > endpoint is not being registered correctly.
> >
> >    ...ant
> >
> > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I have done pretty much in the same way as the sample.
> > > i need to see my wsdl , my component service which is running . I am
> not
> > > able to figure out the URL for the wsdl file.
> > >
> > > I am stuck up there, since all my external requests need this wsdl URL
> to
> > > process, any help or suggestion will be highly appreciated
> > >
> > > Regards
> > > Sandeep Raman
> > >
> > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > >
> > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> <sa...@tcs.com>
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I have an issue with the component service not coming up. below
> > > mentioned
> > > > > is my scenario.
> > > > >
> > > > > I have a JSP (default.jsp) which does the following:
> > > > >
> > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > <%
> > > > >      SCADomain scaDomain =
> SCADomain.newInstance("RunTime.composite");
> > > > >      System.out.println("RunTime Composite Started");
> > > > > %>
> > > > >
> > > > > and the Runtime.composite is as follows:
> > > > >
> > > > >    <component name="TwoWSService">
> > > > >        <implementation.java class="eai.Compose" />
> > > > >        <service name="Compose">
> > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> <
> > http://eai#wsdl.interface%28TwoWSService%29>
> > > <
> > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > />
> > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > >        </service>
> > > > >    </component>
> > > > >
> > > > >
> > > > > Now I create a war of all my Java classes , wsdl , composite files
> and
> > > > > with the default.jsp as the default run target.
> > > > > This war gets deployed in tomcat and the jsp page comes up. It
> creates
> > > a
> > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > starting
> > > > > the
> > > > > component service which i have mentioned in the composite file :
> > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > >
> > > > > What could be wrong in this, Can you please guide me.
> > > > >
> > > > > Regards
> > > > > Sandeep Raman.
> > > > >
> > > >
> > > > It could be there is a dependency missing but its hard to tell from
> just
> > > > that description. Are there any odd messages produce on the tomcat
> > > console
> > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > normal
> > > > way to start the runtime, have you seen how the calculator-ws sample
> > > does
> > > > this? There's two significant bits - the config in the web.xml [1]
> and
> > > the
> > > > code in the jsp [2].
> > > >
> > > >    ...ant
> > > >
> > > > [1]
> > > > https://svn.apache.
> > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > [2]
> > > > https://svn.apache.
> > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > webapp/src/main/webapp/calc.jsp
> > >
> > > > ForwardSourceID:NT00006F7A
> > > =====-----=====-----=====
> > > Notice: The information contained in this e-mail
> > > message and/or attachments to it may contain
> > > confidential or privileged information. If you are
> > > not the intended recipient, any dissemination, use,
> > > review, distribution, printing or copying of the
> > > information contained in this e-mail message
> > > and/or attachments to it are strictly prohibited. If
> > > you have received this communication in error,
> > > please notify us by reply e-mail or telephone and
> > > immediately and permanently delete the message
> > > and any attachments. Thank you
> > >
> > >
> > >
>
> > ForwardSourceID:NT00007012
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>

ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: two-ws-reference.jar

The jar containing all the resources is attached.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip, two-ws-reference.jar
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment:     (was: java.zip)

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580293#action_12580293 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

I have done a new instance in RunTimeServlet to enable the start of RunTime.composite , since there are two composite files , i felt thatz the way to specify which one to start instance of.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip, two-ws-reference.jar
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580318#action_12580318 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

HI, The war is attached as TwoWS.war

Its almost the same as i had sent earlier.
I have deleted all the Tuscany jar files from it.

The war doesnt inculde the Java src files, since i wont be deploying that to the web server
The src files are attached as src.zip

Ths same java file have been compiled in the war. 
In case you want to do ny change in the java file, you will have to manually put tht new class to the war file or use the build.xml in the war.

Regards
sandeep.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder updated TUSCANY-2074:
-------------------------------

    Fix Version/s:     (was: Java-SCA-1.1)
                   Java-SCA-Next

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: two-ws-reference.jar

All resources are attached as JAR. ignore the earlier one.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip, two-ws-reference.jar
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578230#action_12578230 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

I will paste the entire lof from the time it starts depoloying the war file:


INFO: Deploying web application archive TwoWS.war
Mar 13, 2008 9:35:59 AM org.apache.catalina.loader.WebappClassLoader validateJar
File
INFO: validateJarFile(D:\Tomcat\tomcat5.5\webapps\TwoWS\WEB-INF\lib\servlet-api-
2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
 javax/servlet/Servlet.class
Mar 13, 2008 9:35:59 AM org.apache.tuscany.sca.host.webapp.WebAppServletHost ini
tContextPath
INFO: initContextPath: /TwoWS
sandeep-->http://localhost/EAI.RunTime
Mar 13, 2008 9:36:00 AM org.apache.tuscany.sca.contribution.processor.Validating
XMLStreamReader$1 error
WARNING: XMLSchema validation problem in: file:/D:/Tomcat/tomcat5.5/webapps/TwoW
S/WEB-INF/classes/RunTime.composite, line: 14, column: 9
http://www.w3.org/TR/xml-schema-1#cvc-complex-type.2.3?{http://www.osoa.org/xmln
s/sca/1.0}service
Mar 13, 2008 9:36:00 AM org.apache.tuscany.sca.contribution.processor.Validating
XMLStreamReader$1 error
WARNING: XMLSchema validation problem in: file:/D:/Tomcat/tomcat5.5/webapps/TwoW
S/WEB-INF/classes/TwoWS.composite, line: 47, column: 5
http://www.w3.org/TR/xml-schema-1#cvc-complex-type.4?reference&promote
- Unable to find required classes (javax.activation.DataHandler and javax.mail.i
nternet.MimeMultipart). Attachment support is disabled.
[INFO] Could not find axis2.xml, loading default org/apache/axis2/deployment/axi
s2_default.xml from classpath
[INFO] No modules directory was found under D:\Tomcat\tomcat5.5\webapps\axis2\WE
B-INF.


Now this gets deployed and i access the url pointed by the initial context path as:

http://localhost:8080/TwoWS/


At tht point of time logs in Tomcat console are as follows:

Mar 13, 2008 11:11:22 AM org.apache.tuscany.sca.contribution.processor.Validatin
gXMLStreamReader$1 error
WARNING: XMLSchema validation problem in: file:/D:/Tomcat/tomcat5.5/webapps/TwoW
S/WEB-INF/classes/RunTime.composite, line: 14, column: 9
http://www.w3.org/TR/xml-schema-1#cvc-complex-type.2.3?{http://www.osoa.org/xmln
s/sca/1.0}service
Mar 13, 2008 11:11:22 AM org.apache.tuscany.sca.contribution.processor.Validatin
gXMLStreamReader$1 error
WARNING: XMLSchema validation problem in: file:/D:/Tomcat/tomcat5.5/webapps/TwoW
S/WEB-INF/classes/TwoWS.composite, line: 47, column: 5
http://www.w3.org/TR/xml-schema-1#cvc-complex-type.4?reference&promote
Mar 13, 2008 11:11:23 AM org.apache.tuscany.sca.host.webapp.WebAppServletHost ad
dServletMapping
INFO: Added Servlet mapping: /TwoWSService
.....RunTime Composite Started
Mar 13, 2008 11:11:23 AM org.apache.tuscany.sca.contribution.processor.Validatin
gXMLStreamReader$1 error
WARNING: XMLSchema validation problem in: file:/D:/Tomcat/tomcat5.5/webapps/TwoW
S/WEB-INF/classes/RunTime.composite, line: 14, column: 9
http://www.w3.org/TR/xml-schema-1#cvc-complex-type.2.3?{http://www.osoa.org/xmln
s/sca/1.0}service
Mar 13, 2008 11:11:23 AM org.apache.tuscany.sca.contribution.processor.Validatin
gXMLStreamReader$1 error
WARNING: XMLSchema validation problem in: file:/D:/Tomcat/tomcat5.5/webapps/TwoW
S/WEB-INF/classes/TwoWS.composite, line: 47, column: 5
http://www.w3.org/TR/xml-schema-1#cvc-complex-type.4?reference&promote
Mar 13, 2008 11:11:23 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeB
uilderImpl$1 problem
WARNING: Reference not found for component reference: HelloWorldServiceComponent
/stock


I dont have access to gtalk and other messengers here:(
i think mail is the only way i can respond . 

I think since i have pasted the entire log, u will probably be able to relate to what you are getting there.


> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-1.1
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578603#action_12578603 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

Thanks for the  suggestion which helped me remove the errors.

There is no specific reason that both the RunTimeServlet and default.jsp creating the domain instance. Only one of them will be used, You can delete the default.jsp itself.

The error coming up in the console is i guess due to the promote attribute being used. I think the source code which i have attached should enable you to guide me regarding that.

Now i would ask you to comment of this line in the RunTimeServlet:
		   //   boolean flag =  Compose.start("TwoWS.composite");
		   //   po.println("......output of calling the granular service is ::   " + flag);

I now visit the URI specified in binding.ws uri "http://localhost:8080/TwoWSService"  where i am supposed to see the component service but i am unable to. Can you have a look at this.


I have attached the source code of all the files being used. I am getting the error in console as:


.....RunTime Composite Started
Mar 14, 2008 9:55:30 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBu
ilderImpl$1 problem
WARNING: Reference not found for component reference: HelloWorldServiceComponent
/stock
Mar 14, 2008 9:55:30 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBu
ilderImpl$1 problem
WARNING: Promoted component reference not found: HelloWorldServiceComponent/Hell
oWorldService
Mar 14, 2008 9:55:30 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBu
ilderImpl$1 problem
WARNING: Promoted component reference not found: StockServiceComponent/StockQuot
eService
....................Calling HelloWorldService
Injected helloWorldService
Called getGreetings
org.osoa.sca.ServiceUnavailableException: Service not found for component HelloW
orldServiceComponent reference helloWorldService (bindingURI=null operation=getG
reetings). Ensure that the composite containing the service is loaded and starte
d somewhere in the SCA domain and that if running in a remote node that the inte
rface of the target service marked as @Remotable
        at org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingPro
vider.createInvoker(RuntimeSCAReferenceBindingProvider.java:242)
        at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addBindingInterc
eptor(RuntimeWireImpl.java:213)
        at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationCh
ains(RuntimeWireImpl.java:155)
        at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationCha
ins(RuntimeWireImpl.java:97)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvoca
tionChain(JDKInvocationHandler.java:206)
        at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JD
KInvocationHandler.java:140)
        at $Proxy24.getGreetings(Unknown Source)
        at helloworld.HelloWorldServiceComponent.getGreetings(HelloWorldServiceC
omponent.java:30)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
ionInvoker.invoke(JavaImplementationInvoker.java:105)
        at org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.i
nvoke(PassByValueInterceptor.java:88)

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580290#action_12580290 ] 

ant elder commented on TUSCANY-2074:
------------------------------------

The attached zip has the Java src but not the rest of the files any more, could you attach a zip of the complete application including all the files - src, .composite, web.zml etc? 

Looking in the src for the RunTimeServlet.java I dont understand why it needs to have the SCADomain.newInstance call, if the web.xml defines the Tuscany servlet filter the SCADomain shoul dget started automatically.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: java.zip

Src Files.
The change in the RunTimeServelt also is done which i mentioned in the comments.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "wangfeng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12582886#action_12582886 ] 

wangfeng commented on TUSCANY-2074:
-----------------------------------

In your sample,there are three places to init the scadomain.
If you use the TuscanyServletFilter,the filter will init the scadomain and not need to init too.
You can get SCADomain  instance through 
application.getAttribute("org.apache.tuscany.sca.SCADomain")  in jsp or servletContext.setAttribute(""org.apache.tuscany.sca.SCADomain"") in servlet.

There is a sample in tuscany sample dir calculator-ws-webapp.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: src.zip, two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment:     (was: two-ws-reference.jar)

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip, two-ws-reference.jar
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583526#action_12583526 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

I could make this work with Tomcat. But webpshere is giving problem.
On going to the URL it says:

</Exception>Error 404: SRVE0190E: File not found: /ComposerService
on touching my URL:
http://172.19.103.18:9080/LOSComposite/ComposerService
in websphere while calling up my composite application with a binding.ws specified.
The end points are established and i get the information in the log. No errors appear.


When i go to the address
http://172.19.103.18:9080/LOSComposite/ComposerService?wsdl

i get Invalid at the top level of the document. Error processing resource 'http://172.19.103.18:9080/LOSComposite/ComposerService...
</wsdl:definitions>
I am using websphere 6.1.0.3 with a patch 6.1.0.9 as specified in sebastain's blog from this place:

http://download2.boulder.ibm.com/sdfdl/v2/sar/SGA/0047m/0/Xa.2/Xb.jusyLTSp44S0eYxWV1yoxfaHur9diONMfhYYqdyhZIPsFSpruXzpCkiZnme0Zs_J6NNSEqo/Xc.SGA/0047m/0/6.1.0-WS-WASSDK-WinX32-FP0000009.pak/Xd./Xf.Lpr./Xg.4351989/Xi.habanero/XY.habanero/XZ.tKSPQaseCq48656mEQBGug3o0R0/6.1.0-WS-WASSDK-WinX32-FP0000009.pak

IS Any other patch required.




> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: src.zip, two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: src.zip

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: src.zip, two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: TwoWS.war

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment:     (was: TwoWS.war)

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: TwoWS.war

Have removed the Jars from the war to reduce the size.
Pls inculde all the tuscany jars before deploying.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-1.1
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578244#action_12578244 ] 

ant elder commented on TUSCANY-2074:
------------------------------------

Lets first fix some of those error messages:

- deleting servlet-api-2.5.jar from the web-inf/lib folder fixes the first

- in RunTime.composite there's an XML syntax error on line 12: "interface=" should be "<interface.wsdl interface="

- in TwoWS.composite the <reference> at the bottom (line 47) is missing the promote attribute and should be:

    <reference name="StockQuoteService"  promote="StockServiceComponent/StockQuoteService" requires ="authentication">
 
(guessing  StockQuoteService is the service name as i don't have the source code)

With those changes the application starts up with no errors.

Going to the url http://localhost:8080/TwoWS/ now gives:
 
org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException: org.apache.tuscany.sca.interfacedef.wsdl.impl.WSDLInterfaceImpl
        at org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
        at org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:69)
        at helloworld.RunTimeServlet.doGet(RunTimeServlet.java:25)

That looks like it could be due to the way the application is using several different SCADomain instances, i'll debug it a bit futher but could you comment on if there's a specific reason that the jsp and RunTimeServlet are creating new SCADomain instances?



> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-1.1
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment:     (was: java.zip)

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Updated: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandeep Raman updated TUSCANY-2074:
-----------------------------------

    Attachment: java.zip

All the  java src files are attached.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579806#action_12579806 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

ny luck..

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: java.zip
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589825#action_12589825 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

I tried downloading another patch :
6.1.0.3-WS-WAS-IFPK33090
>From the address:
ftp://ftp.software.ibm.com/software/websphere/appserv/support/fixes/PK33090/6.1.0.3-WS-WAS-IFPK33090.pak

But i Couldnt get this problem solved. I am using IBM websphere Express Version. 6.1.0.3.
Any other suggestions?

..Sandeep

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: src.zip, two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578197#action_12578197 ] 

ant elder commented on TUSCANY-2074:
------------------------------------

When i try deploying that war I get the following errors on the Tomcat log, do you see these?

I ask becuase previously you've said you do see the Tuscany "IinitContextPath" and "Added Servlet mapping" which indicates success so i wonder if thats not exactly the same war that I have?

13-Mar-2008 09:23:01 org.apache.tuscany.sca.contribution.processor.ValidatingXML
StreamReader$1 error
WARNING: XMLSchema validation problem in: file:/C:/Tomcat/apache-tomcat-6.0.10/w
ebapps/TwoWS/WEB-INF/classes/RunTime.composite, line: 14, column: 9
cvc-complex-type.2.3: Element '{http://www.osoa.org/xmlns/sca/1.0}service' canno
t have character [children], because the type's content type is element-only.
13-Mar-2008 09:23:01 org.apache.tuscany.sca.contribution.processor.ValidatingXML
StreamReader$1 error
WARNING: XMLSchema validation problem in: file:/C:/Tomcat/apache-tomcat-6.0.10/w
ebapps/TwoWS/WEB-INF/classes/TwoWS.composite, line: 47, column: 5
cvc-complex-type.4: Attribute 'promote' must appear on element 'reference'.



> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-1.1
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Sandeep Raman (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578232#action_12578232 ] 

Sandeep Raman commented on TUSCANY-2074:
----------------------------------------

Its the same war that i have deployed and gave to you.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-1.1
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "Luciano Resende (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583550#action_12583550 ] 

Luciano Resende commented on TUSCANY-2074:
------------------------------------------

I'd recommend configuring your WAS to use port 8080, and also configure your WSDL and COMPOSITE to use port 8080, that should get things working for you.

> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-Next
>
>         Attachments: src.zip, two-ws-reference.jar, TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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


[jira] Commented: (TUSCANY-2074) Component Service not coming up.

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578254#action_12578254 ] 

ant elder commented on TUSCANY-2074:
------------------------------------

Two other fixes:

- the meta-inf/sca-contribution.xml should be using the namespace "http://helloworld" instead of "http://sample" to match trhe .composite file

- in RunTime.composite the <interface.wsdl> element points to a non-existent wsdl portType, i've just deleted the <interface.wsdl> element 

Fixing those and going to http://localhost:8080/TwoWS/RunTimeServlet (should i be usingthe jsp or servlet url?) gives this warning:

WARNING: Promoted component reference not found: StockServiceComponent/StockQuoteService

I don't have the src code to see what the service name should be?







> Component Service not coming up.
> --------------------------------
>
>                 Key: TUSCANY-2074
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2074
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Tomcat Integration
>    Affects Versions: Java-SCA-1.1
>         Environment: Windows , Tomcat 5.5 , Apache tuscany 1.1 , Java 5.0
>            Reporter: Sandeep Raman
>            Priority: Critical
>             Fix For: Java-SCA-1.1
>
>         Attachments: TwoWS.war
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> summary of the Issue:
> I have an issue with the component service not coming up. below mentioned 
> is my scenario.
> I have a JSP (default.jsp) which does the following:
> <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> <%
>       SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
>       System.out.println("RunTime Composite Started");
> %>
> and the Runtime.composite is as follows:
>     <component name="TwoWSService">
>         <implementation.java class="eai.Compose" />
>         <service name="Compose">
>              interface="http://eai#wsdl.interface(TwoWSService)" /> 
>             <binding.ws uri="http://localhost:8080/TwoWSService" />
>         </service>
>     </component>
> Now I create a war of all my Java classes , wsdl , composite files and 
> with the default.jsp as the default run target.
> This war gets deployed in tomcat and the jsp page comes up. It creates a 
> new instance of Runtime.composite too , but it doesnt seem to be starting 
> the
> component service which i have mentioned in the composite file : 
> <binding.ws uri="http://localhost:8080/TwoWSService" />.
> ------------------------------------------------------------------------------------------------------------------------------------------------------
> Following Mails explain the scenario::
> > I see everything in console, like
> >
> > INFO: initContextPath: /TwoWS
> > INFO: Added Servlet mapping: /TwoWSService
> >
> > Even if i try to Run my low lying services which i am composing it Runs
> > fine and can see the output in the console..
> > The issue is the wsdl url which i need to publish and not able to find it
> > anywhere.
> >
> > As per the samples , in my case
> > http://localhost:8080/TwoWS/TwoWSService?wsdl should point to my wsdl, but
> > tht doesnt seem to exist
> >
> > Regards
> > Sandeep
> >
> >
> > "ant elder" <an...@gmail.com> wrote on 03/11/2008 05:03:44 PM:
> >
> > > A difference between this and the calculator sample is the way the jsp
> > gets
> > > the SCADomain object, the Tuscany jsp samples do:
> > > <%
> > >    SCADomain scaDomain = (SCADomain) application.getAttribute("
> > > org.apache.tuscany.sca.SCADomain");
> > >    CalculatorService calculatorService =
> > > (CalculatorService)scaDomain.getService(CalculatorService.class,
> > > "CalculatorServiceComponent");
> > > %>
> > >
> > > whereas this code does:
> > > <%
> > >      SCADomain scaDomain = SCADomain.newInstance("RunTime.composite");
> > >      System.out.println("RunTime Composite Started");
> > > %>
> > > I've never tried that so i don't know if it will work.
> > >
> > > If Tuscany is activating the WS endpoint you should see the messages on
> > the
> > > tomcat console about it, for example, with the calculator ws sample you
> > see:
> > >
> > > INFO: ContextPath: /sample-calculator-ws-webapp
> > > and
> > > INFO: Added Servlet mapping: /AddServiceComponent
> > >
> > > so you can add those and you tomcat host and port to get
> > >
> > > http://localhost:8080//sample-calculator-ws-webapp/AddServiceComponent
> > >
> > > You can test thats working by appending ?wsdl to that and url and
> > entering
> > > it in a browser which should return the wsdl document for the service.
> > >
> > > If you don't see the above messages then something is going wrong and
> > the WS
> > > endpoint is not being registered correctly.
> > >
> > >    ...ant
> > >
> > > On Tue, Mar 11, 2008 at 11:07 AM, Sandeep Raman <sa...@tcs.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I have done pretty much in the same way as the sample.
> > > > i need to see my wsdl , my component service which is running . I am
> > not
> > > > able to figure out the URL for the wsdl file.
> > > >
> > > > I am stuck up there, since all my external requests need this wsdl URL
> > to
> > > > process, any help or suggestion will be highly appreciated
> > > >
> > > > Regards
> > > > Sandeep Raman
> > > >
> > > > "ant elder" <an...@gmail.com> wrote on 03/11/2008 02:28:13 PM:
> > > >
> > > > > On Tue, Mar 11, 2008 at 3:38 AM, Sandeep Raman
> > <sa...@tcs.com>
> > > > > wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have an issue with the component service not coming up. below
> > > > mentioned
> > > > > > is my scenario.
> > > > > >
> > > > > > I have a JSP (default.jsp) which does the following:
> > > > > >
> > > > > > <%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
> > > > > > <%@ page contentType="text/html;charset=UTF-8" language="java" %>
> > > > > > <%
> > > > > >      SCADomain scaDomain =
> > SCADomain.newInstance("RunTime.composite");
> > > > > >      System.out.println("RunTime Composite Started");
> > > > > > %>
> > > > > >
> > > > > > and the Runtime.composite is as follows:
> > > > > >
> > > > > >    <component name="TwoWSService">
> > > > > >        <implementation.java class="eai.Compose" />
> > > > > >        <service name="Compose">
> > > > > >             interface="http://eai#wsdl.interface(TwoWSService)<http://eai#wsdl.interface%28TwoWSService%29>
> > <
> > > http://eai#wsdl.interface%28TwoWSService%29>
> > > > <
> > > > > http://eai#wsdl.interface%28TwoWSService%29>"
> > > > > > />
> > > > > >            <binding.ws uri="http://localhost:8080/TwoWSService" />
> > > > > >        </service>
> > > > > >    </component>
> > > > > >
> > > > > >
> > > > > > Now I create a war of all my Java classes , wsdl , composite files
> > and
> > > > > > with the default.jsp as the default run target.
> > > > > > This war gets deployed in tomcat and the jsp page comes up. It
> > creates
> > > > a
> > > > > > new instance of Runtime.composite too , but it doesnt seem to be
> > > > starting
> > > > > > the
> > > > > > component service which i have mentioned in the composite file :
> > > > > > <binding.ws uri="http://localhost:8080/TwoWSService" />.
> > > > > >
> > > > > > What could be wrong in this, Can you please guide me.
> > > > > >
> > > > > > Regards
> > > > > > Sandeep Raman.
> > > > > >
> > > > >
> > > > > It could be there is a dependency missing but its hard to tell from
> > just
> > > > > that description. Are there any odd messages produce on the tomcat
> > > > console
> > > > > or logs? One thing is having the jsp create the SCADomain is not the
> > > > normal
> > > > > way to start the runtime, have you seen how the calculator-ws sample
> > > > does
> > > > > this? There's two significant bits - the config in the web.xml [1]
> > and
> > > > the
> > > > > code in the jsp [2].
> > > > >
> > > > >    ...ant
> > > > >
> > > > > [1]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/WEB-INF/web.xml
> > > > > [2]
> > > > > https://svn.apache.
> > > > > org/repos/asf/incubator/tuscany/java/sca/samples/calculator-ws-
> > > > > webapp/src/main/webapp/calc.jsp
> > > >
> > > > > ForwardSourceID:NT00006F7A
> > > > =====-----=====-----=====
> > > > Notice: The information contained in this e-mail
> > > > message and/or attachments to it may contain
> > > > confidential or privileged information. If you are
> > > > not the intended recipient, any dissemination, use,
> > > > review, distribution, printing or copying of the
> > > > information contained in this e-mail message
> > > > and/or attachments to it are strictly prohibited. If
> > > > you have received this communication in error,
> > > > please notify us by reply e-mail or telephone and
> > > > immediately and permanently delete the message
> > > > and any attachments. Thank you
> > > >
> > > >
> > > >
> >
> > > ForwardSourceID:NT00007012
> > =====-----=====-----=====
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain
> > confidential or privileged information. If you are
> > not the intended recipient, any dissemination, use,
> > review, distribution, printing or copying of the
> > information contained in this e-mail message
> > and/or attachments to it are strictly prohibited. If
> > you have received this communication in error,
> > please notify us by reply e-mail or telephone and
> > immediately and permanently delete the message
> > and any attachments. Thank you
> >
> >
> >
> ForwardSourceID:NT0000721A    

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