List Info

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




Problem in running two JRoR applications on GF V3 trunk
user name
2007-10-18 12:47:18
Hi all,

I built GF V3 from the current CVS and deployed two JRoR applications, springbook and mosn. When I first call


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.

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
Re: Problem in running two JRoR applications on GF V3 trunk
user name
2007-10-18 13:02:52
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/sho
w.rhtml
>
> You can check out this behavior by 
> invoking http://lab
s.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 ?

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-unsubscribeglassfish.dev.java.net
For additional commands, e-mail: dev-helpglassfish.dev.java.net


Re: Problem in running two JRoR applications on GF V3 trunk
user name
2007-10-18 13:11:51

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>

 &nbsp;       ProxyPass /mosn http://127.0.0.1:8080/mosn
&nbsp;        ProxyPassReverse /mosn http://127.0.0.1:8080/mosn
&nbsp;        ProxyPass /springbook http://127.0.0.1:8080/springbook
 &nbsp;       ProxyPassReverse /springbook http://127.0.0.1:8080/springbook
 &nbsp;       SetEnv force-proxy-request-1.0 1
 &nbsp;       SetEnv proxy-nokeepalive 1

 &nbsp;       <Location /mosn>
 &nbsp;           Order allow,deny
 &nbsp;               Allow from all
 ;                </Location>
&nbsp;        <Location /springbook>
&nbsp;            Order allow,deny
 &nbsp;               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-unsubscribeglassfish.dev.java.net">dev-unsubscribeglassfish.dev.java.net
For additional commands, e-mail: dev-helpglassfish.dev.java.net">dev-helpglassfish.dev.java.net


Re: Problem in running two JRoR applications on GF V3 trunk
user name
2007-10-18 21:43:08
I changed the URL for testing. Please open


with your browser. It comes and goes as you repeat refreshing the page.

Cheers,

ias

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 ?

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-unsubscribeglassfish.dev.java.net">dev-unsubscribeglassfish.dev.java.net
For additional commands, e-mail: dev-helpglassfish.dev.java.net">dev-helpglassfish.dev.java.net


Re: Problem in running two JRoR applications on GF V3 trunk
user name
2007-10-23 01:03:08
Hi all,

Is there any progress on this issue?


Cheers,

ias

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 ?

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-unsubscribeglassfish.dev.java.net">dev-unsubscribeglassfish.dev.java.net
For additional commands, e-mail: dev-helpglassfish.dev.java.net">dev-helpglassfish.dev.java.net


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )