FYI

-----Original Message-----
From: Luciano Resende [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 06, 2008 12:41 PM
To: Mohan, Mithun
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: TUSCANY doubt regardin web service

It looks like we might not be escaping the URL, and folder with spaces
would then create invalid URL.

Caused by: java.net.URISyntaxException: Illegal character in path at
index 18: file:/C:/Documents and Settings/mmithun/workspace/ws1/bin

Would you mind sending this e-mail to the user list, and create a JIRA ?

On Fri, Jun 6, 2008 at 9:36 AM, Mohan, Mithun <[EMAIL PROTECTED]>
wrote:
> Hello,
>
>
> I was following your instruction for creating web service using 
> Tuscany thru the link below First Steps - Building your first web 
> services using Tuscany But when I compile the program I get the 
> following error message . Do you have any idea about this ?
>
> It will be great if you can reply ,
>
>
> Thanks and Regads,
> Mithun
>
>
>



--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Jun 6, 2008 12:31:36 PM 
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main
INFO: Apache Tuscany SCA Domain Manager starting...
Jun 6, 2008 12:31:36 PM org.apache.tuscany.sca.node.launcher.NodeLauncherUtil 
collectJARFiles
INFO: Runtime classpath: 148 JARs from C:\Documents and 
Settings\mmithun\Desktop\tuscany-sca-1.2-incubating\lib
Jun 6, 2008 12:31:36 PM org.apache.tuscany.sca.node.launcher.NodeLauncherUtil 
collectJARFiles
INFO: Runtime classpath: 93 JARs from C:\Documents and 
Settings\mmithun\Desktop\tuscany-sca-1.2-incubating\modules
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/ui/home/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/ui/workspace/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/ui/files/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/ui/composite/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/ui/cloud/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/workspace/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/contribution/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/feed/files/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/files/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/composite/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/composite-source/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/deployable/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/composite-resolved/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/cloud/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/cloud-source/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/composite-image/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/node-image/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/quickstart/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/processes/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/node/processes/*
Jun 6, 2008 12:31:39 PM org.apache.tuscany.sca.http.jetty.JettyServer 
addServletMapping
INFO: Added Servlet mapping: http://mmithun-lxp:9990/ping/*
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main
INFO: SCA Domain Manager started.
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main
INFO: Press enter to shutdown.
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.implementation.node.launcher.PingServiceImpl doGet
INFO: ping
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.QuickStartServiceImpl doGet
INFO: Composite Quick Start.
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.QuickStartServiceImpl doGet
INFO: Contribution URI: ws1
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.QuickStartServiceImpl doGet
INFO: Contribution location: file:/C:/Documents and 
Settings/mmithun/workspace/ws1/bin
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.QuickStartServiceImpl doGet
INFO: Composite URI: helloworld.composite
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImpl getAll
INFO: getAll
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImpl post
INFO: post ws1
Jun 6, 2008 12:31:39 PM 
org.apache.tuscany.sca.workspace.admin.impl.QuickStartServiceImpl doGet
SEVERE: Could not start composite
java.lang.IllegalArgumentException
        at java.net.URI.create(URI.java:842)
        at 
org.apache.tuscany.sca.workspace.admin.impl.DomainAdminUtil.locationURL(DomainAdminUtil.java:130)
        at 
org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImpl.post(ContributionCollectionImpl.java:226)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:109)
        at 
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
        at $Proxy10.post(Unknown Source)
        at 
org.apache.tuscany.sca.workspace.admin.impl.QuickStartServiceImpl.doGet(QuickStartServiceImpl.java:122)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:109)
        at 
org.apache.tuscany.sca.binding.http.provider.HTTPServiceListenerServlet.service(HTTPServiceListenerServlet.java:79)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at org.apache.tuscany.sca.core.work.Jsr237Work.run(Jsr237Work.java:61)
        at 
org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork.run(ThreadPoolWorkManager.java:214)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.URISyntaxException: Illegal character in path at index 18: 
file:/C:/Documents and Settings/mmithun/workspace/ws1/bin
        at java.net.URI$Parser.fail(URI.java:2809)
        at java.net.URI$Parser.checkChars(URI.java:2982)
        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
        at java.net.URI$Parser.parse(URI.java:3014)
        at java.net.URI.<init>(URI.java:578)
        at java.net.URI.create(URI.java:840)
        ... 37 more

Reply via email to