Re: [mynajs-general] Commandline, Was: Myna Issue

1 view
Skip to first unread message

Mark Porter

unread,
Sep 10, 2010, 11:19:03 PM9/10/10
to mynajs-...@googlegroups.com

The commandline mode launches a myna thread in a private jvm outside of winstone/tomcat etc. It doesn't have access to any servlet functions but those don't make sense from the commandline anyway. It also does not launch the cluster manager, so none of the cluster functions will work.

Once processing is complete any output generated is sent to standard out and the jvm is shut down.

> So what exactly happens when you use the command line? An instance of Myna
> is started up, the script is run, and then Myna shuts down? Just wondering
> what is available to the Myna scripts and what is in the environment.
>
> Thanks,
>
> Tony
>
>
> On Thu, Sep 9, 2010 at 10:40 AM, Mark Porter <ma...@porterpeople.com> wrote:
>
>> I have uploaded a fixed zip to
>> http://drop.io/myna_debug/asset/myna-server-1-0-beta-6-1-zip
>>
>> I also added the ability to end your URL with "_index" to force a file
>> listing even if there is a valid index file.
>>
>> Have a look at "Myna Commandline" in the API docs for a description of how
>> commandline mode works (and let me know if it makes sense)
>>
>> ----------------------------------------------------------
>> Mark Porter
>>
>> Myna JavaScript Application Server
>> Easy web development with server-side JavaScript
>> http://www.mynajs.org
>>
>>
>>
>> On Wed, Sep 8, 2010 at 8:42 PM, Tony Zakula <tonyz...@gmail.com> wrote:
>>
>>> Great. I do quite a bit of admin work with the app server. Will be
>>> interested to see that.
>>>
>>>
>>>
>>> On Wed, Sep 8, 2010 at 9:37 PM, Mark Porter <ma...@porterpeople.com>wrote:
>>>
>>>> Nice catch. I'll check it out. I'm looking for an excuse for new release
>>>> anyway. I just added a commandline mode that allows for writing shell
>>>> scripts that run independent of the app server.
>>>> On Sep 8, 2010 8:21 PM, "Tony Zakula" <tonyz...@gmail.com> wrote:
>>>>
>>>>> While it is a small issue, I noticed when there isn't any default page
>>>>> in the default directory, you get a script timeout and error. To create the
>>>>> issue, just rename the index.html to indexold.html and make a request.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Tony Z
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "MynaJS-General" group.
>>>>> To post to this group, send email to mynajs-...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> mynajs-genera...@googlegroups.com<mynajs-general%2Bunsu...@googlegroups.com>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/mynajs-general?hl=en.
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups
>>>> "MynaJS-General" group.
>>>> To post to this group, send email to mynajs-...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> mynajs-genera...@googlegroups.com<mynajs-general%2Bunsu...@googlegroups.com>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/mynajs-general?hl=en.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "MynaJS-General" group.
>>> To post to this group, send email to mynajs-...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> mynajs-genera...@googlegroups.com<mynajs-general%2Bunsu...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/mynajs-general?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "MynaJS-General" group.
>> To post to this group, send email to mynajs-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> mynajs-genera...@googlegroups.com<mynajs-general%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/mynajs-general?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups "MynaJS-General" group.
> To post to this group, send email to mynajs-...@googlegroups.com.
> To unsubscribe from this group, send email to mynajs-genera...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mynajs-general?hl=en.
>
Reply all
Reply to author
Forward
0 new messages