Re: tomcat session id

2012-07-14 Thread André Warnier

Elias Kopsiaftis wrote:

Well basically, For the output servlet, I am using comet to keep the
connection alive and push things out to the client when they are available.
This program is a chat program with a drawing capability, so two people can
draw on the same canvas and chat with each other.


Isn't this just the kind of thing that websocket(s) is supposed to be made 
for ?
You may want at least to look it up :
http://en.wikipedia.org/wiki/WebSocket

I also think that I remember a discussion a couple of days/weeks ago on this list about 
it. You may also want to check the list archives.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Solved - Connecting Tmcat and IIS

2012-07-14 Thread André Warnier

Vijaya wrote:

Hello Everyone,

 


I want to post this message so that if you are struggling with
isapi_redirector to connect Tomcat and IIS. From one of the posts in
forums.iis.net, I came to know about a new redirector for IIS7
http://tomcatiis.riaforge.org. after wasting around a month to make the
isapi redirector failed in my server.  This new redirector installation has
an automatic installation that will make necessary changes automatically. No
need to change the registry, properties file and add virtual directories.
This one worked very well for me.



Vijaya,

it is always nice to hear about alternative open-source methods to fill particular 
requirements, and from their homepage at least, this new connector looks really nice.
So thank you for the information, and hopefully this will result in more people trying it 
out and reporting about it.


This being said, a note : in your message above, you seem to imply that isapi_redirector 
(the Windows version of mod_jk), which is a project under the Tomcat umbrella and which is 
supported on this list, is difficult to install and configure etc. and that this other 
software is much better and easier.
Not to take anything away from the Boncode AJP connector (as it is named on the 
webpage), but for a balanced interpretation of the above I would advise any readers to 
first scan the list archives, for the thread entitled iis not looking for jsp in tomcat 
webapps folder for the full story.


The isapi_redirector/mod_jk connector has been around for many years, has been installed 
and configured and is being used succesfully by many thousands of people on production 
websites worldwide, in a very wide range of configurations and circumstances.

It is also well-supported and kept very closely in sync with changes in Tomcat.
And, the configuration and usage of mod_jk and isapi_redirector being practically the 
same, it is in effect multi-platform, running under Windows as well as under Linux and 
multiple Unix variations.

In contrast, the Boncode AJP connector is one year old, and is 
single-platform(Windows).
This is not at all to say that this new connector is not an excellent piece of software (I 
don't know, I have not tried it yet), but the fact that for Vijaya it was much easier to 
deal with is not necessarily a general circumstance, yet.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



OOME while expanding a war with tomcat 7.0.29 but not with tomcat 7.0.28

2012-07-14 Thread Alberto Aresca
Hi all,

I've just upgraded my tomcat from version 7.0.28 to the newly released
7.0.29 but while before my webapp was being expanded without any
problem, now it is causing an OOME.

Of course this can be easily fixed by increasing the heap size but
before going forward in the upgrade i'd like to know if anyone else
have been experiencing something similar or if something in the
expansion implementation  changed recently (i couldn't find anything
in the release note)

Regards

-- 
Alberto Aresca

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat session id

2012-07-14 Thread Christopher Schultz
André,

On Jul 14, 2012, at 6:03, André Warnier a...@ice-sa.com wrote:

 Elias Kopsiaftis wrote:
 Well basically, For the output servlet, I am using comet to keep the
 connection alive and push things out to the client when they are available.
 This program is a chat program with a drawing capability, so two people can
 draw on the same canvas and chat with each other.
 
 Isn't this just the kind of thing that websocket(s) is supposed to be made 
 for ?

Comet is basically a precursor to Websocket: the ideas are vaguely the same and 
the use cases are nearly identical.

Elias, if I were you, I would focus on Websocket moving forward... Comet is 
going to see less and less action (globally, not just in Tomcat) a time goes on.

-chris
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: OOME while expanding a war with tomcat 7.0.29 but not with tomcat 7.0.28

2012-07-14 Thread Christopher Schultz
Alberto,

On Jul 14, 2012, at 8:42, Alberto Aresca alberto.are...@gmail.com wrote:

 I've just upgraded my tomcat from version 7.0.28 to the newly released
 7.0.29 but while before my webapp was being expanded without any
 problem, now it is causing an OOME.
 
 Of course this can be easily fixed by increasing the heap size but
 before going forward in the upgrade i'd like to know if anyone else
 have been experiencing something similar or if something in the
 expansion implementation  changed recently (i couldn't find anything
 in the release note)

Can you provide any other information? Stack trace or heap dump? Is this 
regular heap or permgen? What are your heap settings?

Is there anything else we should know about your web app? Do you have 500 jar 
files in your lib directory? Do you cache a large dataset on startup?
 

-chris
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org