On Fri, Apr 25, 2008 at 6:33 PM, Abraham Washington <[EMAIL PROTECTED]>
wrote:

> hi,  it looks like tuscany is being fired up, but the endpoint doesn't seem
> accessable.  strange that running within eclipse, it outputs the endpoints,
> but tomcat doesn't (maybe it doesn't).  here's the output from tomcat:
> Apr 25, 2008 11:27:43 AM org.apache.catalina.core.AprLifecycleListener
> lifecycle
> Event
> INFO: The Apache Tomcat Native library which allows optimal performance in
> produ
> ction environments was not found on the java.library.path:
> C:\work\jdk1.5.0_12\b
>
> in;.;C:\Windows\system32;C:\Windows;C:\work\oracle11g\product\11.1.0\client_1\bi
> n;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files
> (x86)
> \Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common
> Files\Roxio
> Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio
> Shared\9.0\DLLShared
> \;C:\Program Files (x86)\QuickTime\QTSystem\
> Apr 25, 2008 11:27:43 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8087
> Apr 25, 2008 11:27:43 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 1138 ms
> Apr 25, 2008 11:27:43 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Apr 25, 2008 11:27:43 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
> Apr 25, 2008 11:27:43 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Apr 25, 2008 11:27:44 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive dcri-finance-composite.war
> Apr 25, 2008 11:27:44 AM
> org.apache.tuscany.sca.host.webapp.WebAppServletHost in
> itContextPath
> INFO: initContextPath: /dcri-finance-composite
> Apr 25, 2008 11:27:46 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8087
> Apr 25, 2008 11:27:46 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Apr 25, 2008 11:27:46 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/26  config=null
> Apr 25, 2008 11:27:46 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Apr 25, 2008 11:27:46 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3236 ms
> my web.xml is virtually identical to the tuscany sample
> helloworld-ws-sdo-webapp.  below is my web.xml:<?xml version="1.0"
> encoding="ISO-8859-1"?><web-app version="2.4" xmlns="
> http://java.sun.com/xml/ns/j2ee"xmlns:xsi=";
> http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation=";
> http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";><display-name>Finance SOA
> Composite</display-name><filter><filter-name>tuscany</filter-name><filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class></filter><filter-mapping><filter-name>tuscany</filter-name><url-pattern>/*</url-pattern></filter-mapping></
> i figured it was best to get it working within tomcat, since that's where
> some samples are and tested.  once i can get it working there, i'll move
> back to jboss...
> thanks abe
>
>
> ----- Original Message ----
> From: Simon Laws <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Friday, April 25, 2008 8:00:54 AM
> Subject: Re: noobie wsdl location question
>
> On Fri, Apr 25, 2008 at 2:40 PM, Abraham Washington <[EMAIL PROTECTED]>
> wrote:
>
> > sorry...i'm using tuscany version sca-1.1-incubating
> > thx simon/ant for the responses.  if i can just get the wsdl from the
> war,
> > that would be great.
> >
> >
> >
> > ----- Original Message ----
> > From: Abraham Washington <[EMAIL PROTECTED]>
> > To: [email protected]
> > Sent: Friday, April 25, 2008 6:50:14 AM
> > Subject: Re: noobie wsdl location question
> >
> > i changed the code so and now i'm able to bring up the wsdl document when
> > starting the SCADomain:SCADomain scaDomain = SCADomain.newInstance(
> > when i go to the page,
> > http://127.0.0.1:8080/TrialServiceComponent/TrialService?wsdl, it comes
> up
> > fine.  but, i tried to deploy the war within jboss and it's not coming
> up.
> > deployment from tomcat:
> > Apr 25, 2008 6:40:24 AM org.apache.catalina.startup.HostConfig deployWAR
> > INFO: Deploying web application archive dcri-finance-composite.war
> > Apr 25, 2008 6:40:35 AM
> > org.apache.tuscany.sca.host.webapp.WebAppServletHost ini
> > tContextPath
> > INFO: initContextPath: /dcri-finance-composite
> > Apr 25, 2008 6:40:38 AM org.apache.coyote.http11.Http11BaseProtocol start
> > INFO: Starting Coyote HTTP/1.1 on http-8087
> > here's my composite:<?
> >        <xml version="1.0" encoding="UTF-8"?>composite xmlns="
> > http://www.osoa.org/xmlns/sca/1.0";                xmlns:t="
> > http://tuscany.apache.org/xmlns/sca/1.0";                xmlns:c="
> > http://finance.dcri.org";                name="DCRI-Finance-Composite">
> >        <component name="TrialServiceComponent">
> > <implementation.java class="org.dcri.finance.TrialServiceImpl">
> >    </implementation.java>                <service name="TrialService"
> > promote="TrialServiceComponent">
> <binding.wsuri="TrialService"/>                </service>
> <reference
> > name="createTrialService" >                    <interface.java
> > interface="org.dcri.finance.CreateTrialService" />
> > </reference>        </component>        <component
> > name="CreateTrialServiceComponent">                <implementation.java
> > class="org.dcri.finance.CreateTrialServiceImpl"/>
> > <service name="CreateTrialService">
> <interface.java
> > interface="org.dcri.finance.CreateTrialService" />
> <
> > binding.ws/>                    </service>
> </component></composite>
> > i tried going to
> >
> http://127.0.0.1:8087/dcri-finance-composite/TrialServiceComponent/TrialService?wsdlbut
> > the page doesn't come up.  if i go to http://127.0.0.1:8087/ tomcat
> shows
> > up and if i go to http://127.0.0.1:8087/dcri-finance-composite/ my
> > index.jsp file comes up fine.  just can't find the wsdl ?...
> > thx abe
> >
> >
> > ----- Original Message ----
> > From: Abraham Washington <[EMAIL PROTECTED]>
> > To: [email protected]
> > Sent: Thursday, April 24, 2008 2:48:53 PM
> > Subject: noobie wsdl location question
> >
> > hi all...
> >
> >  just a quick noobie question.  i have the composite below.  the war file
> > deploys fine in tomcat, but I can't figure out where the wsdl location
> would
> > be for the trial and create trial services.
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
> >        xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0";
> >        xmlns:c="http://org.dcri.finance";
> >        name="DCRI-Finance-Composite">
> >    <component name="TrialServiceComponent">
> >        <implementation.java class="org.dcri.finance.TrialServiceImpl">
> >        </implementation.java>
> >        <reference name="createTrialService" >
> >        <interface.java interface="org.dcri.finance.CreateTrialService" />
> >        <binding.ws uri="
> > http://127.0.0.1:8087/dcri-finance-composite/CreateTrialServiceComponent
> > "/>
> >        </reference>
> >    </component>
> >    <component name="CreateTrialServiceComponent">
> >            <implementation.java
> > class="org.dcri.finance.CreateTrialServiceImpl"/>
> >            <service name="CreateTrialService">
> >                    <interface.java
> > interface="org.dcri.finance.CreateTrialService" />
> >                    <binding.ws/>
> >            </service>
> >    </component>
> > </composite>
> >
> > tomcat log:
> > INFO: Deploying web application archive dcri-finance-composite.war
> > Apr 24, 2008 2:35:05 PM
> > org.apache.tuscany.sca.host.webapp.WebAppServletHost initContextPath
> > INFO: initContextPath: /dcri-finance-composite
> >
> >
> > also, I'm curious to know if it's possible to change the port when
> running
> > within eclipse.  I'm testing within eclipse using:
> >
> > SCADomain scaDomain =
> > SCADomain.newInstance("DCRI-Finance-Composite.composite");
> >
> > and I'm wondering if it's possible to change the port 8080.
> >
> > thx - abe
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > "DCRI-Finance-Composite.composite");
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
>
> Hi
>
> On the tomcat front do you see the messages in the log where Tuscany says
> that it is adding servlet mappings. If so can you post them here? If not
> can
> you post whatever error you are seeing in the log? If you are not seeing
> anything in the log to do with Tuscany it maybe that your webapp is not
> configured to fire up Tuscany. In that case take a look at one of our
> webapp
> samples to see how the web.xml is configured and what is deployed in the
> webapp.
>
> You don't say if you are seeing messages in the JBoss log. Did you get past
> the problems from the other thread [1]?
>
> Regards
>
> Simon
>
> [1] http://www.mail-archive.com/tuscany-user%40ws.apache.org/msg02980.html
> web-app>
>
>
>
>  
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile.  Try it now.
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>

Reply via email to