dev@glassfish.java.net

Re: Problem in running two JRoR applications on GF V3 trunk

From: Changshin Lee <iasandcb_at_gmail.com>
Date: Tue, 13 Nov 2007 13:39:40 +0900

Hi all,

I don't need to resolve this issue now as I found out some workaround.

Thanks for your attention,

ias

2007. 10. 31, ¿ÀÀü 7:14, Pramod Gopinath ÀÛ¼º:

> Pramod Gopinath wrote:
>>
>> Hi
>> I have been trying to reproduce the problem that you have
>> reported and have not succeeded so far. Hence sending out this
>> email to get more information. Could you provide the exact steps
>> required to deploy the springbook application. I was following the
>> steps listed under :
>> http://labs.openmaru.com/projects/springbook/pages/493683
>>
>> I have installed Metro code and am lost on the step that states :
>> Replace Metro-springnote client library with the built-in library.
>>
>> In the meantime I deployed cookbook and mephisto sample to my V3
>> installation and was not able to reproduce the issue. Hence wanted
>> to try out the "springbook" application to see if I could reproduce
>> the problem that you have reported.
>>
>> Thanks
>> Pramod
>>
>>>> From: Changshin Lee <iasandcb_at_gmail.com>
>>>> Date: October 18, 2007 11:11:51 AM PDT
>>>> To: dev_at_glassfish.dev.java.net
>>>> Subject: Re: Problem in running two JRoR applications on GF V3
>>>> trunk
>>>> Reply-To: dev_at_glassfish.dev.java.net
>>>>
>>>>
>>>> 2007. 10. 19, ¿ÀÀü 3:02, Jerome Dochez ÀÛ¼º:
>>>>
>>>>> Changshin Lee wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I built GF V3 from the current CVS and deployed two JRoR
>>>>>> applications, springbook and mosn. When I first call
>>>>>>
>>>>>> http://127.0.0.1:8080/mosn
>>>>>>
>>>>>> then, it's ok, but call it again, then
>>>>>>
>>>>>> Template is missing
>>>>>>
>>>>>> Missing template /home/sysop/www/labs/projects/springbook/app/
>>>>>> views/pages/show.rhtml
>>>>>>
>>>>>> You can check out this behavior by invoking http://labs.openmaru.com/mosn/pages/541239
>>>>>> twice with your browser.
>>>>> yes I am able to reproduce your problem connecting to the above
>>>>> url. Just to confirm, this template is supposed to be only used
>>>>> in the springbook RoR app, right ? the mosn application should
>>>>> not be requesting that template ?
>>>>
>>>> Actually both are instances from SpringBook, of which source code
>>>> is available at http://labs.openmaru.com/hg/springbook
>>>> (Mercurial). In addition, there is no show.rhtml in app/views/
>>>> pages in SpringBook.
>>>>
>>>> Thanks,
>>>>
>>>> ias
>>>>
>>>> P.S. http://labs.openmaru.com uses Apache to connect requests to
>>>> GF V3. Here's the relevant configuration in Apache 2.2:
>>>>
>>>> ProxyRequests Off
>>>> ProxyPreserveHost On
>>>>
>>>> <Proxy *>
>>>> Order deny,allow
>>>> Allow from all
>>>> </Proxy>
>>>>
>>>> ProxyPass /mosn http://127.0.0.1:8080/mosn
>>>> ProxyPassReverse /mosn http://127.0.0.1:8080/mosn
>>>> ProxyPass /springbook http://127.0.0.1:8080/springbook
>>>> ProxyPassReverse /springbook http://127.0.0.1:8080/springbook
>>>> SetEnv force-proxy-request-1.0 1
>>>> SetEnv proxy-nokeepalive 1
>>>>
>>>> <Location /mosn>
>>>> Order allow,deny
>>>> Allow from all
>>>> </Location>
>>>> <Location /springbook>
>>>> Order allow,deny
>>>> Allow from all
>>>> </Location>
>>>>
>>>>
>>>>>
>>>>>
>>>>> thx
>>>>>>
>>>>>> It seems that GF V3 has some problem in dealing with routing
>>>>>> requests to multiple JRoR applications.
>>>>>>
>>>>>> Note that if this problem is resolved, I can use GF V3 to run a
>>>>>> live web site :-)
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> ias
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>
>>
>>
>