You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Slava Zimine <sl...@japgod.mine.nu> on 2002/04/08 03:07:47 UTC

Explorer newapp access problem, continued

Hi. 
Few days ago i've posted a message explaining my unhappiness to access a
tdk2.2b1 newapp  from explorer. 


tdk2.2b1 newapp was built successfully after reading list posts, and
with Akmal's help. 

http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html


essentially, trying to access  the 
yourserver:8080/newapp/servlet/newapp in  explorer is successful but 
it takes about 1.5 minutes for Explorer to load the login page

If i click in a URL adress field  and hit an 'Enter'  the login page
loads immediately.

in netscape6.2 linux, there is no such a problem.  the login page loads
after 4 secs. 


in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer, loading
newapp is quick. 

in scarab, there is no such a problem for explorer. (turbine3,
tomcat-4.0.4)


I've tried to copy  webapps/newapp from tdk2.1  to a standalone
jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
the Login page. 


I invite those using  IE5.x  try to access my newapp  at

http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak

see if you observe a delay.

and have their opinion if possible. 

Slava. 

p.s.
Given  that explorer is a dominan web-browser  and average user does not
hit 'Enter' in adress URL field, I think the issue should be resolved. 


attached adre jpegs from ethereal  for  linux netscape 6 local access
and ie5.5 access stopped during the waiting period









Re: setTemplate() vs doRedirect()

Posted by Jeff Jones <jj...@trap9.com>.
Hello Turbine-Users,

If a user isn't logged in, I want them to be taken to a login screen.

However, if I use setTemplate() (or data.setScreenTemplate()) in
isAuthorized() to redirect them (as suggested in the turbine documentation,
and in the newapp sample), the doBuildTemplate() method is not called in the
target page, so my context is not populated and the target login page fails.

Is this the correct behavior for setTemplate() / data.setScreenTemplate()?

If I use doRedirect instead (as listed below), it works fine - halting the
current screen and forwarding to the other.  But I'm not sure I'm supposed
to do that (for example, what is the return value of isAuthorized() used
for?)...

Any thoughts on when to use doRedirect instead of setTemplate() and why?

Jeff

PS.  Thanks for a great framework, Turbine team.

--

public class OnlineMainScreen extends VelocitySecureScreen {

    public void doBuildTemplate(RunData data, Context context) {
        System.out.println("building online,main screen");
        OnlineScreen.insertScreenTools(data,context);
    }

    protected boolean isAuthorized( RunData data )  throws Exception {
        boolean isAuthorized = false;
        if(customerAuthenticated()) {
            System.out.println("customer authenticated");
            isAuthorized = true;
        } else {
            System.out.println("customer not authenticated - sending to
online,Default.vm");
            //data.setScreenTemplate("online,Default.vm");
            //OnlineScreen.insertScreenTools(data,getContext(data));
            //setTemplate(data,"online,Default.vm");
            doRedirect(data, "online,Default.vm");
        }
        return isAuthorized;
    }
}



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem. Resolved

Posted by Eric Dobbs <er...@dobbse.net>.
On Monday, April 8, 2002, at 03:27  PM, Slava Zimine wrote:

> Eric Dobbs wrote a patch for turbine-2 to handle this and it is now in
> cvs src jakarta-turbine-2

I only reviewed and applied the patch.
The original author was Peter Lynch.
-Eric

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem. Resolved

Posted by Slava Zimine <sl...@japgod.mine.nu>.
Hi. 

I've managed to resolve this  problem.

in tdk2.2b1 it is caused by infinite redirects   and appending of   
"redirect/true" to each URL. 

Eric Dobbs wrote a patch for turbine-2 to handle this and it is now in
cvs src jakarta-turbine-2

Thank you for this patch!

Steps I did to compile  jakarta-turbine-2


from  http://jakarta.apache.org/site/cvsindex.html

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout
jakarta-turbine-2


cd jakarta-turbine-2

mv build.properties.sample  build.properties

ant env  # check your lib.repo  is defined to lib

ant  # this compiles and jars turbine-2  into bin/turbine-2.2-b2-dev.jar



if compile failes, try  first 
ant update-jars


replace turbine-2.2-b1.jar  in your newapp/WEB-INF/lib  by   the
compiled  bin/turbine-2.2-b2-dev.jar


restart tomcat where newapp is deployed to see the effect. 




Accessing japgod.mine.nu:8080/newapp22/servlet/newapp22  is quick  in
explorer. 
Minor problem is that  

<img src="$ui.image($ui.logo)">  in DefaultTop.vm  is resolved as

<img
src="http://127.0.0.1:8080/newapp22/resources/ui/skins/default/images/tdm.jpg">

and not as 

http://japgod.mine.nu:8080/newapp22/resources/ui/skins/default/images/tdm.jpg

and the image therefore is not showed in  explorer. 

Anybody has a thought  on UI configuration  to correct this ? 

Regards to all,

Slava












On Mon, 2002-04-08 at 03:07, Slava Zimine wrote:
> Hi. 
> Few days ago i've posted a message explaining my unhappiness to access a
> tdk2.2b1 newapp  from explorer. 
> 
> 
> tdk2.2b1 newapp was built successfully after reading list posts, and
> with Akmal's help. 
> 
> http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
> 
> 
> essentially, trying to access  the 
> yourserver:8080/newapp/servlet/newapp in  explorer is successful but 
> it takes about 1.5 minutes for Explorer to load the login page
> 
> If i click in a URL adress field  and hit an 'Enter'  the login page
> loads immediately.
> 
> in netscape6.2 linux, there is no such a problem.  the login page loads
> after 4 secs. 
> 
> 
> in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer, loading
> newapp is quick. 
> 
> in scarab, there is no such a problem for explorer. (turbine3,
> tomcat-4.0.4)
> 
> 
> I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
> the Login page. 
> 
> 
> I invite those using  IE5.x  try to access my newapp  at
> 
> http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> 
> see if you observe a delay.
> 
> and have their opinion if possible. 
> 
> Slava. 
> 
> p.s.
> Given  that explorer is a dominan web-browser  and average user does not
> hit 'Enter' in adress URL field, I think the issue should be resolved. 
> 
> 
> attached adre jpegs from ethereal  for  linux netscape 6 local access
> and ie5.5 access stopped during the waiting period
> 
> 
> 
> 
> 
> 
> 
> 
> ----
> 

> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Slava Zimine <sl...@japgod.mine.nu>.
here are the request headers in two cases

===================================================
acessing newapp22ak in tdk2.2, (where there is a delay)

HTTP/1.1 302 Moved Temporarily
Connection: close
Date: Mon, 08 Apr 2002 11:39:21 GMT
Location:
http://localhost:8080/newapp22ak/servlet/newapp22ak/redirected/true
Server: Apache Tomcat/4.0.4-b1 (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=3CDCA4DE4BE5F1430B991B079422E53C;Path=/newapp22ak


===================================================
accessing newapp21 in tdk2.1  (where there is no delay)

HTTP/1.0 302 Moved Temporarily
Connection: close
Date: Mon, 08 Apr 2002 11:46:27 GMT
Location:
http://localhost:8080/newapp21/servlet/newapp21/redirected/true;jsessionid=5115B0429695E2012300956259B41017
Server: Apache Tomcat/4.0-b6-dev (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=5115B0429695E2012300956259B41017;Path=/newapp21

==============================================================

As you see in tdk2.2

jsessionid value is not appended  to  Location field. 


Can this be the problem? 


Slava


On Mon, 2002-04-08 at 13:15, Matthew Koranda wrote:
> 
> ----- Original Message -----
> From: "Slava Zimine" <sl...@japgod.mine.nu>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Monday, April 08, 2002 10:26 AM
> Subject: Re: Explorer newapp access problem, continued
> 
> 
> > hi, Matthew.
> > thanx for the input
> >
> > few remarks.
> >
> > 1. i didn't change at all the source code of newapp.  i.e
> > the image  tdm.jpg  is loaded from
> > newapp22ak/templates/app/navigations/DefaultTop.vm
> >
> 
> =========================================================================
> > with <img src="$ui.image($ui.logo)">
> 
> Just a thought, but try removing the line above completely and see if the
> problem persists. I could try accessing it again
> 
> ===========================================================================
> >
> > 2.
> > I use linux as my primary platform. Yet i've tried to compile the newapp
> > in tdk2.2b1  on W2K.
> >
> > I have the same problem accessing the Login page on W2K with tdk2.2b1's
> > tomcat running locally
> >
> 
> 
> How are you calling it, with localhost:8080 or 127.0.0.1:8080 or
> <your-domain>:8080?
> 
> 
> 
> >
> > 3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
> > tomcat (v 4.0b1) is launched.  But when i've copied  this newapp dir to
> > a fresh standalon tomcat-4.0.4b2  and tried to access it with this
> > latest tomcat, I got the same problem with IE.
> > And this is annoying.
> >
> > What to see next to trace the problem ?
> >
> >
> > slava
> >
> >
> >
> > On Mon, 2002-04-08 at 10:25, Matthew Koranda wrote:
> > > I accessed the site listed and experienced the same delay, however, it
> is
> > > not a turbine issue. Look at the source code the browser receives, the
> > > 'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
> > > japgod.mine.nu:8080. I believe there is a delay because the browser, (at
> > > least mine) is not rendering the page because it is still trying to get
> an
> > > image from an ip address it can't find. Whan I tried it in Mozilla, it
> > > rendered quickly but was still working quite hard after trying to find
> > > something.....
> > > If this is not the main problem, it is at least part of the problem, at
> > > least for external viewers.
> > > HTH,
> > > Matt
> > >
> > >
> > > ----- Original Message -----
> > > From: "Slava Zimine" <sl...@japgod.mine.nu>
> > > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > > Cc: <ak...@hotmail.com>
> > > Sent: Monday, April 08, 2002 3:07 AM
> > > Subject: Explorer newapp access problem, continued
> > >
> > >
> > > > Hi.
> > > > Few days ago i've posted a message explaining my unhappiness to access
> a
> > > > tdk2.2b1 newapp  from explorer.
> > > >
> > > >
> > > > tdk2.2b1 newapp was built successfully after reading list posts, and
> > > > with Akmal's help.
> > > >
> > > >
> > >
> http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
> > > >
> > > >
> > > > essentially, trying to access  the
> > > > yourserver:8080/newapp/servlet/newapp in  explorer is successful but
> > > > it takes about 1.5 minutes for Explorer to load the login page
> > > >
> > > > If i click in a URL adress field  and hit an 'Enter'  the login page
> > > > loads immediately.
> > > >
> > > > in netscape6.2 linux, there is no such a problem.  the login page
> loads
> > > > after 4 secs.
> > > >
> > > >
> > > > in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer,
> loading
> > > > newapp is quick.
> > > >
> > > > in scarab, there is no such a problem for explorer. (turbine3,
> > > > tomcat-4.0.4)
> > > >
> > > >
> > > > I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> > > > jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
> > > > the Login page.
> > > >
> > > >
> > > > I invite those using  IE5.x  try to access my newapp  at
> > > >
> > > > http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> > > >
> > > > see if you observe a delay.
> > > >
> > > > and have their opinion if possible.
> > > >
> > > > Slava.
> > > >
> > > > p.s.
> > > > Given  that explorer is a dominan web-browser  and average user does
> not
> > > > hit 'Enter' in adress URL field, I think the issue should be resolved.
> > > >
> > > >
> > > > attached adre jpegs from ethereal  for  linux netscape 6 local access
> > > > and ie5.5 access stopped during the waiting period
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> > --------------------------------------------------------------------------
> --
> > > ----
> > >
> > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Slava Zimine <sl...@japgod.mine.nu>.
> 
> =========================================================================
> > with <img src="$ui.image($ui.logo)">
> 
> Just a thought, but try removing the line above completely and see if the
> problem persists. I could try accessing it again
> 
> ===========================================================================

did it. does not help


> >
> > 2.
> > I use linux as my primary platform. Yet i've tried to compile the newapp
> > in tdk2.2b1  on W2K.
> >
> > I have the same problem accessing the Login page on W2K with tdk2.2b1's
> > tomcat running locally
> >
> 
> 
> How are you calling it, with localhost:8080 or 127.0.0.1:8080 or
> <your-domain>:8080?

on W2K  it was  http://localhost:8080
> 
> 
> 
> >
> > 3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
> > tomcat (v 4.0b1) is launched.  But when i've copied  this newapp dir to
> > a fresh standalon tomcat-4.0.4b2  and tried to access it with this
> > latest tomcat, I got the same problem with IE.
> > And this is annoying.

are you successfull in deploying  tdk2.1, tdk2.2 sample webapp on a
standalone tomcat 4.0.x ? 

If so, do you  touch  tomcat/conf/server.xml ? 

could I look throug your  webapps/sample/WEB-INF/build/build.properties, 
 webapps/sample/WEB-INF/conf/Turbine.properties

? 

regards, 
Slava



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


AW: Explorer newapp access problem, continued

Posted by Gunter Miessbrandt <mi...@ixtern.de>.
Hi,

i have the same problem, but i think its not directly a tdk2.2-b1 Problem.
Because i use tdk2.1. When i deploy a webapp to tomcat 4.0.4-b1 the same
happens
as described below!

Gunter M.

> -----Ursprüngliche Nachricht-----
> Von: Conway Tse [mailto:kl_tse@yahoo.com]
> Gesendet: Montag, 8. April 2002 15:04
> An: Turbine Users List
> Betreff: Re: Explorer newapp access problem, continued
>
>
> Hi Matthew,
> I have the same problem, my configuration is :
> IE5 access from Win98 to
> Linux 6.2 server
> running tdk 2.2-b1 / tomcate 4.0.04-b1 ( That is come with tdk 2.2-b1)
>
> Conway
> ----- Original Message -----
> From: "Matthew Koranda" <ma...@orkan.no>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Monday, April 08, 2002 7:15 PM
> Subject: Re: Explorer newapp access problem, continued
>
>
> >
> > ----- Original Message -----
> > From: "Slava Zimine" <sl...@japgod.mine.nu>
> > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > Sent: Monday, April 08, 2002 10:26 AM
> > Subject: Re: Explorer newapp access problem, continued
> >
> >
> > > hi, Matthew.
> > > thanx for the input
> > >
> > > few remarks.
> > >
> > > 1. i didn't change at all the source code of newapp.  i.e
> > > the image  tdm.jpg  is loaded from
> > > newapp22ak/templates/app/navigations/DefaultTop.vm
> > >
> >
> >
> =========================================================================
> > > with <img src="$ui.image($ui.logo)">
> >
> > Just a thought, but try removing the line above completely and
> see if the
> > problem persists. I could try accessing it again
> >
> >
> ==================================================================
> =========
> > >
> > > 2.
> > > I use linux as my primary platform. Yet i've tried to compile
> the newapp
> > > in tdk2.2b1  on W2K.
> > >
> > > I have the same problem accessing the Login page on W2K with
> tdk2.2b1's
> > > tomcat running locally
> > >
> >
> >
> > How are you calling it, with localhost:8080 or 127.0.0.1:8080 or
> > <your-domain>:8080?
> >
> >
> >
> > >
> > > 3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
> > > tomcat (v 4.0b1) is launched.  But when i've copied  this
> newapp dir to
> > > a fresh standalon tomcat-4.0.4b2  and tried to access it with this
> > > latest tomcat, I got the same problem with IE.
> > > And this is annoying.
> > >
> > > What to see next to trace the problem ?
> > >
> > >
> > > slava
> > >
> > >
> > >
> > > On Mon, 2002-04-08 at 10:25, Matthew Koranda wrote:
> > > > I accessed the site listed and experienced the same delay,
> however, it
> > is
> > > > not a turbine issue. Look at the source code the browser
> receives, the
> > > > 'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
> > > > japgod.mine.nu:8080. I believe there is a delay because the browser,
> (at
> > > > least mine) is not rendering the page because it is still trying to
> get
> > an
> > > > image from an ip address it can't find. Whan I tried it in
> Mozilla, it
> > > > rendered quickly but was still working quite hard after
> trying to find
> > > > something.....
> > > > If this is not the main problem, it is at least part of the problem,
> at
> > > > least for external viewers.
> > > > HTH,
> > > > Matt
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Slava Zimine" <sl...@japgod.mine.nu>
> > > > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > > > Cc: <ak...@hotmail.com>
> > > > Sent: Monday, April 08, 2002 3:07 AM
> > > > Subject: Explorer newapp access problem, continued
> > > >
> > > >
> > > > > Hi.
> > > > > Few days ago i've posted a message explaining my unhappiness to
> access
> > a
> > > > > tdk2.2b1 newapp  from explorer.
> > > > >
> > > > >
> > > > > tdk2.2b1 newapp was built successfully after reading list
> posts, and
> > > > > with Akmal's help.
> > > > >
> > > > >
> > > >
> >
> http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg0
> 7255.html
> > > > >
> > > > >
> > > > > essentially, trying to access  the
> > > > > yourserver:8080/newapp/servlet/newapp in  explorer is
> successful but
> > > > > it takes about 1.5 minutes for Explorer to load the login page
> > > > >
> > > > > If i click in a URL adress field  and hit an 'Enter'  the
> login page
> > > > > loads immediately.
> > > > >
> > > > > in netscape6.2 linux, there is no such a problem.  the login page
> > loads
> > > > > after 4 secs.
> > > > >
> > > > >
> > > > > in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer,
> > loading
> > > > > newapp is quick.
> > > > >
> > > > > in scarab, there is no such a problem for explorer. (turbine3,
> > > > > tomcat-4.0.4)
> > > > >
> > > > >
> > > > > I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> > > > > jakarta-tomcat-4.0.4b2.  In explorer I got the same problem
> accessing
> > > > > the Login page.
> > > > >
> > > > >
> > > > > I invite those using  IE5.x  try to access my newapp  at
> > > > >
> > > > > http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> > > > >
> > > > > see if you observe a delay.
> > > > >
> > > > > and have their opinion if possible.
> > > > >
> > > > > Slava.
> > > > >
> > > > > p.s.
> > > > > Given  that explorer is a dominan web-browser  and
> average user does
> > not
> > > > > hit 'Enter' in adress URL field, I think the issue should be
> resolved.
> > > > >
> > > > >
> > > > > attached adre jpegs from ethereal  for  linux netscape 6 local
> access
> > > > > and ie5.5 access stopped during the waiting period
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
> --------------------------------------------------------------------------
> > --
> > > > ----
> > > >
> > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>  _________________________________________________________ Do You
> Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Conway Tse <kl...@yahoo.com>.
Hi Matthew,
I have the same problem, my configuration is :
IE5 access from Win98 to
Linux 6.2 server
running tdk 2.2-b1 / tomcate 4.0.04-b1 ( That is come with tdk 2.2-b1)

Conway
----- Original Message -----
From: "Matthew Koranda" <ma...@orkan.no>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, April 08, 2002 7:15 PM
Subject: Re: Explorer newapp access problem, continued


>
> ----- Original Message -----
> From: "Slava Zimine" <sl...@japgod.mine.nu>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Monday, April 08, 2002 10:26 AM
> Subject: Re: Explorer newapp access problem, continued
>
>
> > hi, Matthew.
> > thanx for the input
> >
> > few remarks.
> >
> > 1. i didn't change at all the source code of newapp.  i.e
> > the image  tdm.jpg  is loaded from
> > newapp22ak/templates/app/navigations/DefaultTop.vm
> >
>
> =========================================================================
> > with <img src="$ui.image($ui.logo)">
>
> Just a thought, but try removing the line above completely and see if the
> problem persists. I could try accessing it again
>
>
===========================================================================
> >
> > 2.
> > I use linux as my primary platform. Yet i've tried to compile the newapp
> > in tdk2.2b1  on W2K.
> >
> > I have the same problem accessing the Login page on W2K with tdk2.2b1's
> > tomcat running locally
> >
>
>
> How are you calling it, with localhost:8080 or 127.0.0.1:8080 or
> <your-domain>:8080?
>
>
>
> >
> > 3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
> > tomcat (v 4.0b1) is launched.  But when i've copied  this newapp dir to
> > a fresh standalon tomcat-4.0.4b2  and tried to access it with this
> > latest tomcat, I got the same problem with IE.
> > And this is annoying.
> >
> > What to see next to trace the problem ?
> >
> >
> > slava
> >
> >
> >
> > On Mon, 2002-04-08 at 10:25, Matthew Koranda wrote:
> > > I accessed the site listed and experienced the same delay, however, it
> is
> > > not a turbine issue. Look at the source code the browser receives, the
> > > 'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
> > > japgod.mine.nu:8080. I believe there is a delay because the browser,
(at
> > > least mine) is not rendering the page because it is still trying to
get
> an
> > > image from an ip address it can't find. Whan I tried it in Mozilla, it
> > > rendered quickly but was still working quite hard after trying to find
> > > something.....
> > > If this is not the main problem, it is at least part of the problem,
at
> > > least for external viewers.
> > > HTH,
> > > Matt
> > >
> > >
> > > ----- Original Message -----
> > > From: "Slava Zimine" <sl...@japgod.mine.nu>
> > > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > > Cc: <ak...@hotmail.com>
> > > Sent: Monday, April 08, 2002 3:07 AM
> > > Subject: Explorer newapp access problem, continued
> > >
> > >
> > > > Hi.
> > > > Few days ago i've posted a message explaining my unhappiness to
access
> a
> > > > tdk2.2b1 newapp  from explorer.
> > > >
> > > >
> > > > tdk2.2b1 newapp was built successfully after reading list posts, and
> > > > with Akmal's help.
> > > >
> > > >
> > >
>
http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
> > > >
> > > >
> > > > essentially, trying to access  the
> > > > yourserver:8080/newapp/servlet/newapp in  explorer is successful but
> > > > it takes about 1.5 minutes for Explorer to load the login page
> > > >
> > > > If i click in a URL adress field  and hit an 'Enter'  the login page
> > > > loads immediately.
> > > >
> > > > in netscape6.2 linux, there is no such a problem.  the login page
> loads
> > > > after 4 secs.
> > > >
> > > >
> > > > in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer,
> loading
> > > > newapp is quick.
> > > >
> > > > in scarab, there is no such a problem for explorer. (turbine3,
> > > > tomcat-4.0.4)
> > > >
> > > >
> > > > I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> > > > jakarta-tomcat-4.0.4b2.  In explorer I got the same problem
accessing
> > > > the Login page.
> > > >
> > > >
> > > > I invite those using  IE5.x  try to access my newapp  at
> > > >
> > > > http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> > > >
> > > > see if you observe a delay.
> > > >
> > > > and have their opinion if possible.
> > > >
> > > > Slava.
> > > >
> > > > p.s.
> > > > Given  that explorer is a dominan web-browser  and average user does
> not
> > > > hit 'Enter' in adress URL field, I think the issue should be
resolved.
> > > >
> > > >
> > > > attached adre jpegs from ethereal  for  linux netscape 6 local
access
> > > > and ie5.5 access stopped during the waiting period
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> --
> > > ----
> > >
> > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Slava Zimine <sl...@japgod.mine.nu>.
As I see, there are now a number of people experiencing the same problem

to first time access newapp built  on linux tdk2.2   with Explorer  from windows


beyond that I'm experiencing the same problem to access newap built in
tdk2.1, and deployed in a standalone tomcat (4.0.x)  other than the one
bundled with tdk2.1


May I ask folks, who've successfully deployed their  tdk2.1, tdk2.2  webapps on
standalone apache on linux, and have no problem to access webapps with
Explorer,  to manifest themselves.

What are the tips to deploy  a turbine-based  webapp on a standalone
tomcat ? 

Sincere Regards,

Slava


On Mon, Apr 08, 2002 at 01:15:43PM +0200, Matthew Koranda wrote:
> 
> ----- Original Message -----
> From: "Slava Zimine" <sl...@japgod.mine.nu>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Sent: Monday, April 08, 2002 10:26 AM
> Subject: Re: Explorer newapp access problem, continued
> 
> 
> > hi, Matthew.
> > thanx for the input
> >
> > few remarks.
> >
> > 1. i didn't change at all the source code of newapp.  i.e
> > the image  tdm.jpg  is loaded from
> > newapp22ak/templates/app/navigations/DefaultTop.vm
> >
> 
> =========================================================================
> > with <img src="$ui.image($ui.logo)">
> 
> Just a thought, but try removing the line above completely and see if the
> problem persists. I could try accessing it again
> 
> ===========================================================================
> >
> > 2.
> > I use linux as my primary platform. Yet i've tried to compile the newapp
> > in tdk2.2b1  on W2K.
> >
> > I have the same problem accessing the Login page on W2K with tdk2.2b1's
> > tomcat running locally
> >
> 
> 
> How are you calling it, with localhost:8080 or 127.0.0.1:8080 or
> <your-domain>:8080?
> 
> 
> 
> >
> > 3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
> > tomcat (v 4.0b1) is launched.  But when i've copied  this newapp dir to
> > a fresh standalon tomcat-4.0.4b2  and tried to access it with this
> > latest tomcat, I got the same problem with IE.
> > And this is annoying.
> >
> > What to see next to trace the problem ?
> >
> >
> > slava
> >
> >
> >
> > On Mon, 2002-04-08 at 10:25, Matthew Koranda wrote:
> > > I accessed the site listed and experienced the same delay, however, it
> is
> > > not a turbine issue. Look at the source code the browser receives, the
> > > 'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
> > > japgod.mine.nu:8080. I believe there is a delay because the browser, (at
> > > least mine) is not rendering the page because it is still trying to get
> an
> > > image from an ip address it can't find. Whan I tried it in Mozilla, it
> > > rendered quickly but was still working quite hard after trying to find
> > > something.....
> > > If this is not the main problem, it is at least part of the problem, at
> > > least for external viewers.
> > > HTH,
> > > Matt
> > >
> > >
> > > ----- Original Message -----
> > > From: "Slava Zimine" <sl...@japgod.mine.nu>
> > > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > > Cc: <ak...@hotmail.com>
> > > Sent: Monday, April 08, 2002 3:07 AM
> > > Subject: Explorer newapp access problem, continued
> > >
> > >
> > > > Hi.
> > > > Few days ago i've posted a message explaining my unhappiness to access
> a
> > > > tdk2.2b1 newapp  from explorer.
> > > >
> > > >
> > > > tdk2.2b1 newapp was built successfully after reading list posts, and
> > > > with Akmal's help.
> > > >
> > > >
> > >
> http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
> > > >
> > > >
> > > > essentially, trying to access  the
> > > > yourserver:8080/newapp/servlet/newapp in  explorer is successful but
> > > > it takes about 1.5 minutes for Explorer to load the login page
> > > >
> > > > If i click in a URL adress field  and hit an 'Enter'  the login page
> > > > loads immediately.
> > > >
> > > > in netscape6.2 linux, there is no such a problem.  the login page
> loads
> > > > after 4 secs.
> > > >
> > > >
> > > > in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer,
> loading
> > > > newapp is quick.
> > > >
> > > > in scarab, there is no such a problem for explorer. (turbine3,
> > > > tomcat-4.0.4)
> > > >
> > > >
> > > > I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> > > > jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
> > > > the Login page.
> > > >
> > > >
> > > > I invite those using  IE5.x  try to access my newapp  at
> > > >
> > > > http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> > > >
> > > > see if you observe a delay.
> > > >
> > > > and have their opinion if possible.
> > > >
> > > > Slava.
> > > >
> > > > p.s.
> > > > Given  that explorer is a dominan web-browser  and average user does
> not
> > > > hit 'Enter' in adress URL field, I think the issue should be resolved.
> > > >
> > > >
> > > > attached adre jpegs from ethereal  for  linux netscape 6 local access
> > > > and ie5.5 access stopped during the waiting period
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> > --------------------------------------------------------------------------
> --
> > > ----
> > >
> > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Matthew Koranda <ma...@orkan.no>.
----- Original Message -----
From: "Slava Zimine" <sl...@japgod.mine.nu>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, April 08, 2002 10:26 AM
Subject: Re: Explorer newapp access problem, continued


> hi, Matthew.
> thanx for the input
>
> few remarks.
>
> 1. i didn't change at all the source code of newapp.  i.e
> the image  tdm.jpg  is loaded from
> newapp22ak/templates/app/navigations/DefaultTop.vm
>

=========================================================================
> with <img src="$ui.image($ui.logo)">

Just a thought, but try removing the line above completely and see if the
problem persists. I could try accessing it again

===========================================================================
>
> 2.
> I use linux as my primary platform. Yet i've tried to compile the newapp
> in tdk2.2b1  on W2K.
>
> I have the same problem accessing the Login page on W2K with tdk2.2b1's
> tomcat running locally
>


How are you calling it, with localhost:8080 or 127.0.0.1:8080 or
<your-domain>:8080?



>
> 3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
> tomcat (v 4.0b1) is launched.  But when i've copied  this newapp dir to
> a fresh standalon tomcat-4.0.4b2  and tried to access it with this
> latest tomcat, I got the same problem with IE.
> And this is annoying.
>
> What to see next to trace the problem ?
>
>
> slava
>
>
>
> On Mon, 2002-04-08 at 10:25, Matthew Koranda wrote:
> > I accessed the site listed and experienced the same delay, however, it
is
> > not a turbine issue. Look at the source code the browser receives, the
> > 'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
> > japgod.mine.nu:8080. I believe there is a delay because the browser, (at
> > least mine) is not rendering the page because it is still trying to get
an
> > image from an ip address it can't find. Whan I tried it in Mozilla, it
> > rendered quickly but was still working quite hard after trying to find
> > something.....
> > If this is not the main problem, it is at least part of the problem, at
> > least for external viewers.
> > HTH,
> > Matt
> >
> >
> > ----- Original Message -----
> > From: "Slava Zimine" <sl...@japgod.mine.nu>
> > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > Cc: <ak...@hotmail.com>
> > Sent: Monday, April 08, 2002 3:07 AM
> > Subject: Explorer newapp access problem, continued
> >
> >
> > > Hi.
> > > Few days ago i've posted a message explaining my unhappiness to access
a
> > > tdk2.2b1 newapp  from explorer.
> > >
> > >
> > > tdk2.2b1 newapp was built successfully after reading list posts, and
> > > with Akmal's help.
> > >
> > >
> >
http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
> > >
> > >
> > > essentially, trying to access  the
> > > yourserver:8080/newapp/servlet/newapp in  explorer is successful but
> > > it takes about 1.5 minutes for Explorer to load the login page
> > >
> > > If i click in a URL adress field  and hit an 'Enter'  the login page
> > > loads immediately.
> > >
> > > in netscape6.2 linux, there is no such a problem.  the login page
loads
> > > after 4 secs.
> > >
> > >
> > > in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer,
loading
> > > newapp is quick.
> > >
> > > in scarab, there is no such a problem for explorer. (turbine3,
> > > tomcat-4.0.4)
> > >
> > >
> > > I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> > > jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
> > > the Login page.
> > >
> > >
> > > I invite those using  IE5.x  try to access my newapp  at
> > >
> > > http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> > >
> > > see if you observe a delay.
> > >
> > > and have their opinion if possible.
> > >
> > > Slava.
> > >
> > > p.s.
> > > Given  that explorer is a dominan web-browser  and average user does
not
> > > hit 'Enter' in adress URL field, I think the issue should be resolved.
> > >
> > >
> > > attached adre jpegs from ethereal  for  linux netscape 6 local access
> > > and ie5.5 access stopped during the waiting period
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
> --------------------------------------------------------------------------
--
> > ----
> >
> >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Slava Zimine <sl...@japgod.mine.nu>.
hi, Matthew.
thanx for the input

few remarks. 

1. i didn't change at all the source code of newapp.  i.e
the image  tdm.jpg  is loaded from
newapp22ak/templates/app/navigations/DefaultTop.vm  

with <img src="$ui.image($ui.logo)">

2. 
I use linux as my primary platform. Yet i've tried to compile the newapp
in tdk2.2b1  on W2K. 

I have the same problem accessing the Login page on W2K with tdk2.2b1's
tomcat running locally


3. With tdk2.1's newapp, which is accessed fine from IE when tdk2.1's
tomcat (v 4.0b1) is launched.  But when i've copied  this newapp dir to
a fresh standalon tomcat-4.0.4b2  and tried to access it with this
latest tomcat, I got the same problem with IE. 
And this is annoying. 

What to see next to trace the problem ? 


slava



On Mon, 2002-04-08 at 10:25, Matthew Koranda wrote:
> I accessed the site listed and experienced the same delay, however, it is
> not a turbine issue. Look at the source code the browser receives, the
> 'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
> japgod.mine.nu:8080. I believe there is a delay because the browser, (at
> least mine) is not rendering the page because it is still trying to get an
> image from an ip address it can't find. Whan I tried it in Mozilla, it
> rendered quickly but was still working quite hard after trying to find
> something.....
> If this is not the main problem, it is at least part of the problem, at
> least for external viewers.
> HTH,
> Matt
> 
> 
> ----- Original Message -----
> From: "Slava Zimine" <sl...@japgod.mine.nu>
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Cc: <ak...@hotmail.com>
> Sent: Monday, April 08, 2002 3:07 AM
> Subject: Explorer newapp access problem, continued
> 
> 
> > Hi.
> > Few days ago i've posted a message explaining my unhappiness to access a
> > tdk2.2b1 newapp  from explorer.
> >
> >
> > tdk2.2b1 newapp was built successfully after reading list posts, and
> > with Akmal's help.
> >
> >
> http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
> >
> >
> > essentially, trying to access  the
> > yourserver:8080/newapp/servlet/newapp in  explorer is successful but
> > it takes about 1.5 minutes for Explorer to load the login page
> >
> > If i click in a URL adress field  and hit an 'Enter'  the login page
> > loads immediately.
> >
> > in netscape6.2 linux, there is no such a problem.  the login page loads
> > after 4 secs.
> >
> >
> > in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer, loading
> > newapp is quick.
> >
> > in scarab, there is no such a problem for explorer. (turbine3,
> > tomcat-4.0.4)
> >
> >
> > I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> > jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
> > the Login page.
> >
> >
> > I invite those using  IE5.x  try to access my newapp  at
> >
> > http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
> >
> > see if you observe a delay.
> >
> > and have their opinion if possible.
> >
> > Slava.
> >
> > p.s.
> > Given  that explorer is a dominan web-browser  and average user does not
> > hit 'Enter' in adress URL field, I think the issue should be resolved.
> >
> >
> > attached adre jpegs from ethereal  for  linux netscape 6 local access
> > and ie5.5 access stopped during the waiting period
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Explorer newapp access problem, continued

Posted by Matthew Koranda <ma...@orkan.no>.
I accessed the site listed and experienced the same delay, however, it is
not a turbine issue. Look at the source code the browser receives, the
'tdm.jpg' logo has an address of 192.168.1.3:8080 instead of
japgod.mine.nu:8080. I believe there is a delay because the browser, (at
least mine) is not rendering the page because it is still trying to get an
image from an ip address it can't find. Whan I tried it in Mozilla, it
rendered quickly but was still working quite hard after trying to find
something.....
If this is not the main problem, it is at least part of the problem, at
least for external viewers.
HTH,
Matt


----- Original Message -----
From: "Slava Zimine" <sl...@japgod.mine.nu>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Cc: <ak...@hotmail.com>
Sent: Monday, April 08, 2002 3:07 AM
Subject: Explorer newapp access problem, continued


> Hi.
> Few days ago i've posted a message explaining my unhappiness to access a
> tdk2.2b1 newapp  from explorer.
>
>
> tdk2.2b1 newapp was built successfully after reading list posts, and
> with Akmal's help.
>
>
http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07255.html
>
>
> essentially, trying to access  the
> yourserver:8080/newapp/servlet/newapp in  explorer is successful but
> it takes about 1.5 minutes for Explorer to load the login page
>
> If i click in a URL adress field  and hit an 'Enter'  the login page
> loads immediately.
>
> in netscape6.2 linux, there is no such a problem.  the login page loads
> after 4 secs.
>
>
> in tdk2.1 (tomcat 4.0)  there is no such a problem for explorer, loading
> newapp is quick.
>
> in scarab, there is no such a problem for explorer. (turbine3,
> tomcat-4.0.4)
>
>
> I've tried to copy  webapps/newapp from tdk2.1  to a standalone
> jakarta-tomcat-4.0.4b2.  In explorer I got the same problem accessing
> the Login page.
>
>
> I invite those using  IE5.x  try to access my newapp  at
>
> http://japgod.mine.nu:8080/newapp22ak/servlet/newapp22ak
>
> see if you observe a delay.
>
> and have their opinion if possible.
>
> Slava.
>
> p.s.
> Given  that explorer is a dominan web-browser  and average user does not
> hit 'Enter' in adress URL field, I think the issue should be resolved.
>
>
> attached adre jpegs from ethereal  for  linux netscape 6 local access
> and ie5.5 access stopped during the waiting period
>
>
>
>
>
>
>
>
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>