<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 16, 2013 at 5:31 PM, Juan José 'Peco' San Martín <span dir="ltr"><<a href="mailto:jsanmartin@gmail.com" target="_blank">jsanmartin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello.<br></div></div></div></div></div></blockquote><div><br></div><div>Hi.<br> <br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div></div>Although the general answer seems to be: "<a href="https://github.com/PerlDancer/Dancer/issues/521" target="_blank">yes, with Dancer2 it's possible to run multiple applications on the same server</a>", I'm not able to do it :-/<br>
</div></div></div></blockquote><div><br></div><div>This relates directly to the ability to have multiple applications in the same Perl processor without serilalizers, responses and so forth stepping over each other. This has been tested and approved as proper. The reason is that Dancer1 has SharedData and other singletons while Dancer2 does not.<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<br><span lang="en"><span>Is it possible</span><span>?</span><span>.</span></span></div></div></blockquote><div><br></div><div>I've never tried. I would simply run a web server (such as Starman) and inside it use Plack::Builder with URLMapper.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span lang="en"> <span>I thought</span> <span>Dancer2</span><span></span> <span>had solved it</span> <span>(instead of</span> <span>Dancer1</span><span>)</span><span>.</span></span><br>
</div></div></blockquote><div><br></div><div>Yes. The parts I noted were indeed solved. I have no idea what specific problem you're experiencing and you haven't provided any information to help us understand what you're seeing.<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
<br><span lang="en"><span>With</span> <span>the following configuration</span><span>, I can only run</span> <span>one application</span><span> correctly.</span> <span>If I</span> <span>start</span> <span>both</span><span>,</span> <span>I have</span> <span>a mess</span> <span>...</span></span><br>
</div></div></blockquote><div><br></div><div>Could you please provide more information other than "I have a mess"?<br></div><div>Example of your situation and the problem you're experiencing will help us find the problem.<br>
<br></div><div>Sawyer.<br></div></div></div></div>