Hi John,

If I understood correctly now your concern is to run APIM in "background
mode" right? If so what Rajith suggested is not the solution as I believe,
hope I am not missing some thing. Also in the initial mail I missed out
what you meant by "space" which made me suggest the previous solution.

How ever I  got APIM 1.8.0 to run "wso2server.sh start" out of the box
which resided in a folder which did not have a space in between the folder
name. But when I tried to do the same where the APIM was in a folder which
had a name with space in between it did not start successfully.

Is this what you are facing too?

Regards
Jason

On Mon, Jun 22, 2015 at 6:22 PM, John Hawkins <[email protected]> wrote:

> Hi Rajith,
> Sure, I understand that is the workaround. But this a bug in the script -
> and if I found it then so will others?
> As I'm a newbie - What's the best way to raise this as a bug ?
>
>
> On Monday, June 22, 2015, Rajith Roshan <[email protected]> wrote:
>
>> Hi John,
>> Change the directory to the " bin"  folder inside the "wso2am-1.8.0"
>> directory in command line .
>> Then enter "./wso2server.sh" to start the server
>> and press "ctrl+c" to stop the server.
>>
>> Thanks.
>> Rajith
>>
>>
>>
>> On Mon, Jun 22, 2015 at 5:21 PM, John Hawkins <[email protected]> wrote:
>>
>>> HI Jason,
>>>
>>> this isn't the same problem as I'm seeing is it?
>>> My scenario is this...
>>>
>>> UNZIP e.g. APIM into directory with a <space> in the path e.g. /my
>>> spaced path/APIM
>>>
>>> wso2server.sh start - doesn't appear to work. Pid file is created but I
>>> can't see a running process
>>> wso2server.sh stop - fails because the cmd line produced needs quoting.
>>> Presumably this is why the above fails as well.
>>>
>>> cheers,
>>> John.
>>>
>>>
>>> On Monday, June 22, 2015, Jason De Silva <[email protected]> wrote:
>>>
>>>> Hi John,
>>>>
>>>> I did try it with Application Server 5.2.1 and it seems to not work out
>>>> the box. However I found out a jira issue raised for carbon [1]. And I did
>>>> the relevant change [2] to the wso2server.sh file and ran the commands
>>>> wso2server.sh start
>>>> wso2server.sh stop
>>>>
>>>> After the change made, I observed that it works fine and you can start
>>>> / stop the server. Hope this helps
>>>>
>>>>
>>>> Regards
>>>> Jason
>>>>
>>>>
>>>> 1. https://wso2.org/jira/browse/CARBON-14477
>>>> 2. https://wso2.org/jira/secure/attachment/32361/CARBON-14477.diff
>>>>
>>>> On Mon, Jun 22, 2015 at 2:37 PM, John Hawkins <[email protected]> wrote:
>>>>
>>>>> HI Folks,
>>>>>
>>>>> Possibly a newbie error but when I’ve unzipped wso2 server (API
>>>>> manager in this case if that makes a difference) into a directory with a
>>>>> space in it e.g.
>>>>>
>>>>> /wso2 servers/wso2am-1.8.0
>>>>>
>>>>> then starting and stopping the server seems to fail using the syntax
>>>>>
>>>>> wso2server.sh start
>>>>> wso2server.sh stop
>>>>>
>>>>> I can see when I try the stop that it can’t find the pid file as it
>>>>> interprets the file tree wrongly however I don’t think the start is 
>>>>> working
>>>>> anyhow so it wouldn’t find anything to stop :-)
>>>>>
>>>>> Any thoughts ?
>>>>>
>>>>>
>>>>> many thanks,
>>>>> John.
>>>>>
>>>>> John Hawkins
>>>>> Director Solutions Architecture
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Jason De Silva
>>>> *Software Engineer - QA*
>>>> Mobile: +94 (0) 772 097 678
>>>> Email: [email protected]
>>>> WSO2 Inc. www.wso2.com
>>>>
>>>
>>>
>>> --
>>> John Hawkins
>>> Director: Solutions Architecture
>>>
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Roshan
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>>
>
>
> --
> John Hawkins
> Director: Solutions Architecture
>
>
>


-- 
Jason De Silva
*Software Engineer - QA*
Mobile: +94 (0) 772 097 678
Email: [email protected]
WSO2 Inc. www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to