esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imtiaz Ahmed H E" <in.imt...@gmail.com>
Subject Re: api2/session not found...
Date Mon, 12 Jul 2010 06:38:33 GMT
I mean, everything from the UI works fine...

----- Original Message ----- 
From: "Imtiaz Ahmed H E" <in.imtiaz@gmail.com>
To: <esme-dev@incubator.apache.org>
Sent: Monday, July 12, 2010 12:05 PM
Subject: Re: api2/session not found...


>I use this war file name -
>    esme-server-apache-esme-1.0-RC1-incubating.war
> and there is a directory
>    esme-server-apache-esme-1.0-RC1-incubating
> in the webapps directory
>
> and everything else work fine.
>
> ----- Original Message ----- 
> From: "Richard Hirsch" <hirsch.dick@gmail.com>
> To: <esme-dev@incubator.apache.org>
> Sent: Monday, July 12, 2010 12:02 PM
> Subject: Re: api2/session not found...
>
>
>> What is the name of the war file you used to deploy esme on Tomcat? If
>> you deployed it via a war file called esme.war then there should be a
>> directory called "esme" in the webapps directory.
>>
>> The call to the API2 would then look like this
>> $ curl --dump-header headers -d
>> "token=HEZTQKM525SAMIPN4EDVRUOGHI40AKBL"
>> http://localhost:8080/esme/api2/session
>>
>> D.
>>
>> On Mon, Jul 12, 2010 at 7:05 AM, Imtiaz Ahmed H E <in.imtiaz@gmail.com> 
>> wrote:
>>> Simple question, I guess ---
>>>
>>> I started up Esme in Tomcat...
>>>
>>> Then at the cygwin prompt ( I work on Windows XP SP3.... ) I typed and 
>>> got the following --- What could be the problem ?
>>>
>>> $ curl --dump-header headers -d "token=HEZTQKM525SAMIPN4EDVRUOGHI40AKBL" 
>>> http:/
>>> /localhost:8080/api2/session
>>> <html><head><title>Apache Tomcat/5.5.29 - Error 
>>> report</title><style><!--H1 {fon
>>> t-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:
>>> 22px;} H2 
>>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525
>>> D76;font-size:16px;} H3 
>>> {font-family:Tahoma,Arial,sans-serif;color:white;backgro
>>> und-color:#525D76;font-size:14px;} BODY 
>>> {font-family:Tahoma,Arial,sans-serif;col
>>> or:black;background-color:white;} B 
>>> {font-family:Tahoma,Arial,sans-serif;color:w
>>> hite;background-color:#525D76;} P 
>>> {font-family:Tahoma,Arial,sans-serif;backgroun
>>> d:white;color:black;font-size:12px;}A {color : black;}A.name {color : 
>>> black;}HR
>>> {color : #525D76;}--></style> </head><body><h1>HTTP
Status 404 - 
>>> /api2/session</
>>> h1><HR size="1" noshade="noshade"><p><b>type</b> Status

>>> report</p><p><b>message<
>>> /b> <u>/api2/session</u></p><p><b>description</b>
<u>The requested 
>>> resource (/ap
>>> i2/session) is not available.</u></p><HR size="1" 
>>> noshade="noshade"><h3>Apache T
>>> omcat/5.5.29</h3></body></html>
>>> imtiaz@imtiaz-20100131 /cygdrive/d/temp
>>> $ cat headers
>>> HTTP/1.1 404 Not Found
>>> Server: Apache-Coyote/1.1
>>> Content-Type: text/html;charset=utf-8
>>> Content-Length: 991
>>> Date: Mon, 12 Jul 2010 04:56:49 GMT
>>>
>>>
>>> imtiaz@imtiaz-20100131 /cygdrive/d/temp
>>> $
>>>
>>> Imtiaz
> 


Mime
View raw message