Re: tomcat one more then one CPU

2006-04-04 Thread David Rees
On 4/4/06, Walter Botman <[EMAIL PROTECTED]> wrote: > Can we configure tomcat in a way that it uses more then one CPU? > It seems to use only one CPU ? > > We are using the following: > - Sun Fire v240 (with 2 CPU's) > - Solaris 8 (including patches) > - tomcat 5.5.7 > - Java 1.5.0 There isn't any

restricting webapp reloading on ressources changes

2006-04-05 Thread David Delbecq
Hello, I have configured my developpment tomcat to automatically check for ressoures changes in the webapp folder, making it easier to update JSPs. The webapp is slow to load because of a few servelt i need along with those jsps. during development, i sometimes need to update the resource bundles

Re: Private variables in custom tags on Tomcat

2006-04-05 Thread David Delbecq
hen it is safe to do so. > Thanks, > Steve > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > David Delbecq - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: New to Tomcat

2006-04-05 Thread David Delbecq
root cause Error starting modern compiler org.apache.tools.ant.taskdefs.compilers.Javac13.execute() (/usr/lib/libant-1.6.2.jar.so) org.apache.tools.ant.taskdefs.Javac.compile() check that your JAVA_HOME points to a jdk, not a jre. It may be jasper compiler don't find a suitable

Re: Caching Problem

2006-04-05 Thread David Kerber
IME, "Connection refused" usually means the service isn't running on that machine, or isn't running on the port that you expect. Pusukuri, Kishore_Kumar wrote: Please see this problem. Thanks, Kishore. -Original Message- From: Pusukuri, Kishore_Kumar Sent: Wednesday, April 05, 2006

Re: Problem whith constructs of directories?

2006-04-05 Thread David Smith
rioSVN/build or RepositorioSVN/bin for the expected web application structure similar to: +jsp +resources +WEB-INF -web.xml +classes +lib At that point all you would have to do is build the project and then start/stop the context from the manager webapp for testing. --David José Marí

Re: running two instances of tomcat

2006-04-05 Thread David Rush
I've tried following the instructions below, and tried using service.bat, but either way I always end up with a small pop-up window with "Application System ..." in the title bar, and it says "NonAlpha 45". Any clue what's going on here? David Nic Daniau wrote:

Re: running two instances of tomcat

2006-04-05 Thread David Rush
Aha. That did the trick. Thanks! David Nic Daniau wrote: service name must be A-Za-z0-9 (no space no _ or any funky character) On 05/04/06, David Rush <[EMAIL PROTECTED]> wrote: I've tried following the instructions below, and tried using service.bat, but either way I always

Re: Tomcat Out of Memory problem

2006-04-05 Thread David Smith
nning. --David Bindu Variam wrote: Hello Tomcat Users, When our web application runs overnight on Tomcat 5.0.19 we get the following error. I searched on the Tomcat Users and Developers Mailing list archives on nabble but did not find any mention of this problem. Anyone seen this before ? S

Re: Diagnosing DBCP JDBC connection leak using removeAbandoned parm

2006-04-05 Thread David Smith
ror(e); } } Shot in the dark here, but you might want to try explicitly closing your result set and first statement before attempting to open a new statement. Either that or use a different variable for your second statement and then close them both in the finally block. --David Richard

Tomcat send ThreadDeath to one of it's own Threads

2006-04-06 Thread David Delbecq
Hello, I experienced a strange behaviour of tomcat a few minutes ago. Container is configured to do webapp auto reloading when classes changes. I updated a few WEB-INF/classes/*.properties. Tomcat decided it's time to reload the webapp because classes did change. However, it killed it's own webapp

Re: Tomcat 5.0.27 and java sdk

2006-04-06 Thread David Kerber
Reis, Tom wrote: I was wondering what version of the java sdk I should use with tomcat 5.0.27. I am currently using sdk 1.4.1_04b05 and it seems that Tomcat goes down once a day. I was wondering if sdk 1.4.1.11 might run better. Thanks. I'd go all the way to the latest 1.4.2.x -

How do disable session in tomcat 5.5?

2006-04-06 Thread David Gagnon
Hi, I need to have a sessionless tomcat. I surely easy to do but I'm searching without success for a while now. I need a servlet without session. Thanks for your help Best regards /David - To unsubscribe, e-mail: [

Re: FW: Tomcat5 Service.

2006-04-07 Thread David Smith
Jayesh, this is not a tomcat problem, but a Windows administration problem. Learn how to use the MMC to manage your server. Microsoft's website should be able to help. For the record, I'm a Linux guy which is why I've never answered this question before. --David Gohil, Jayes

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread David Gagnon
In fact I need to know How to have a sessionless Servlet? I search the tomcat source and it seems I have nothing to do. But when I do a request.getSession() I do receive a session object? Is that normal behavior? Thanks for your help /David Franck Borel wrote: Use <%@ page sess

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread David Gagnon
need it? I want to use Tomcat to hold a reportServer. It will receive request from different users from different webApp to craft reports. It needs to be sessionless, in fact since I don't need session I just wanted to avoid a memory leak... Thanks for your help /David regards Le

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread David Gagnon
each connection for a given time (let say 15 minutes). So if 1000 uses ask for a report in 15 minute it's 1000 session object. But my numbers are too high anyway so probably this leak is not a problem .. if leak exists :-) Regards /David regards Leon On 4/7/06, David Gagnon <[

Re: Tomcat send ThreadDeath to one of it's own Threads

2006-04-10 Thread David Delbecq
Darryl L. Miles a écrit : > David Delbecq wrote: > >> I experienced a strange behaviour of tomcat a few minutes ago. Container >> is configured to do webapp auto reloading when classes changes. I >> updated a few WEB-INF/classes/*.properties. Tomcat decided it's

Re: Remote User with request.getRemoteUser()

2006-04-10 Thread David Smith
By default, tomcat drops external headers like REMOTE_USER in favor of it's own auth scheme. You can change this by setting the attribute tomcatAuthentication="false" in your AJP connector definition in server.xml and restarting. --David Sergio Stateri Jr wrote: > Hi, >

Re: webapp slow on first access every morning

2006-04-11 Thread David Delbecq
Could it simply be your tomcat service is restarted let's say at midnight ? Edward Quick a écrit : > Hi, > > We have a third party jsp/servlet application deployed on Tomcat > 4.1.31 (Solaris 2.8). This works fine except for every morning, on the > first access, it's very slow to load up. This is

Re: webapp slow on first access every morning

2006-04-11 Thread David Delbecq
And no mention about a webapp shutdown or other curiosities in catalina.out ? Edward Quick a écrit : > Good idea, but no: > > ovapache 6305 6304 0 Apr 05 ?1:01 > /usr/j2sdk1.4.2_06/bin/java -Xms128m -Xmx256m -Dapp=ovprd01 > -Djava.endorsed.dir > > >> >> Could it simply be your tomcat

Re: tomcat start/stop

2006-04-11 Thread David Smith
Actually, configured in this way, 'service tomcat55 start' and 'service tomcat55 stop' should be able to start and stop the service. --David François Conil wrote: > eoghan a écrit : > >> Hi >> Im using tomcat 5.5 on freeBSD 6.0. I have enabled tomcat in m

"Full GC" vs regular GC?

2006-04-13 Thread David Kerber
Can somebody tell me what the difference is between a "full GC" and a regular "GC"? Here's an excerpt from my jakarta-service log, when I have the verbose gc option set. You can see that the total memory used drops hugely. I was intentionally letting my app continue to run to see what would

Setting up to use 443

2006-04-13 Thread David Shaw
Any idea what I need to set in order to get 443 working? Thanks, David _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave

changes in tomcat realms between 5.5.7 and 5.5.16?

2006-04-14 Thread David Delbecq
Hello, I have a webapp here which comes with it's own realms. It's working prefectly in tomcat 5.5.7. I deployed this application and copied the realm files (common/lib/MyRealm-api.jar and server/lib/MyRealm-impl-1.0.jar) to a new tomcat installation. I the deployed to webapp and tried to access a

Re: Setting up to use 443

2006-04-14 Thread David Shaw
pr 2006 20:05:16 -0500 run as root else nothing less than 1024 David Shaw wrote: I have troubled setting up server.xml to use port 443 - always report that "The page cannot be displayed" in IE. 8080 and 8443 works fine though. Using the same setting in server.xml and just changing the po

Re: Setting up to use 443

2006-04-14 Thread David Smith
connected ports as well. -- David David Shaw wrote: Sorry, I forgot to mention that I have root (or administrative) access and on an WindowsXP system. Original Message Follows From: Mike Sabroff <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users L

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread David Smith
Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="true", tomcat will unpack to the work directory instead of the webapps dir. --David V D wrote: Tha

Re: [OT] How to write/use Tomcat's war classloader

2006-04-17 Thread David Smith
Oops, meant unpackWars="false" David Smith wrote: Tomcat does unpack war files before starting the context. That's because of performance issues if it really tried to run the app from an archive. Typically if unpackWars="true", tomcat will unpack to the work directo

Re: 404

2006-04-17 Thread David Kerber
If you took all the defaults, as it says in that document, Tomcat is on 8080, not 80. So try: http://localhost:8080 [EMAIL PROTECTED] wrote: Sorry guys about my reply to another thread, I didn't realize. I'm new at this so... I only installed tomcat following this guide: http://www.ubunt

Re: Directory listing... what happened ?

2006-04-17 Thread David Smith
Have you looked at your logs? This stinks of Apache HTTPd on port 80 instead of Tomcat. You might also want to use netstat to see what is running and on what ports. --David Jonathan Pare wrote: I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who'

Re: what about a server specific web.xml tailoring?

2006-04-18 Thread David Smith
need ant. --David Rolf Schumacher wrote: Dear long time Tomcat operators, I get new versions of a war file very often. Due to authorization constrains I have to place some extra security-constraints clauses into it - every time I deploy a new version. Is there a way to tell Tomcat to get the we

Re: Post request to 'j_security_check' after tomcat restart or se ssio n timeout produces error 400

2006-04-18 Thread David Delbecq
ng the sessions (See output at tomcat shutdown/startup and check for session persistence errors) regards, David Delbecq Amol Upadhye a écrit : >Anybody know about the problem I have as described in below email? > >Thanks, >Amol > >-Original Message- >From: Amol Upad

Re: IP Masking

2006-04-18 Thread David Smith
It appears your redirect page is responsible for that. If. I replace the IP with your domain name, everything appears to work and the domain name is retained when links are followed. How is your redirect code composing the URL? --David Carl Crawford wrote: System: Tomcat 4.1 Using

Re: multiple tomcat on one server??

2006-04-19 Thread David Delbecq
I confirm the link does not work here too 'host www.adcworks.com unknown' $ nslookup adcworks.com Server: 193.190.249.143 Address:193.190.249.143#53 ** server can't find adcworks.com: NXDOMAIN looking in whois database the reason it does not work is obvious, $whois adcworks.co

Re: Java process segfaulting and using 100% CPU

2006-04-19 Thread David Delbecq
Hi, "or other processes may end up using 100% CPU as well and presenting the same behavior while on strace" If you mean also non java processes have similar problems, randomly, i bet you may have either an OS issue (which affect all processes randomly) either an hardware issue (corrupting RAM seg

CATALINA_BASE and multiple instances

2006-04-19 Thread David Rush
nce of tomcat to use its own CATALINA_BASE/common directory? There's also the problem of getting multiple service-based tomcat instances to have their own idea of what CATALINA_BASE points to. David - To unsubscribe, e-ma

Re: CATALINA_BASE and multiple instances

2006-04-19 Thread David Rush
me. I was hoping for a more elegant solution, but now "what works" beats "elegant". Thanks. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: servlet mapping request

2006-04-20 Thread David Rush
mple work before I press on to other stuff. What could be wrong? David You are trying to use the invoker servlet. This is evil. See http://tomcat.apache.org/faq/misc.html#invoker If you insist on doing this you will need to enable the invoker servlet in conf/web

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread David Delbecq
dAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) "VM Thread" prio=1 tid=0x080a0970 nid=0x765d run

Re: Setting up to use 443

2006-04-20 Thread David Shaw
using port 443. Original Message Follows---- From: David Smith <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: Setting up to use 443 Date: Fri, 14 Apr 2006 14:28:35 -0400 Can you tell us the exact error? Internet Explorer throws up that err

Re: Java process segfaulting and using 100% CPU

2006-04-21 Thread David Delbecq
d(OgnlRuntime.java:785) at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61) .. Gustavo Noronha a écrit : >Hey David! > >2006/4/20, David Delbecq <[EMAIL PROTECTED]>: > > >>the kill -3 send a signal, that is you must send it to a process (in you >&

Re: Java process segfaulting and using 100% CPU

2006-04-21 Thread David Delbecq
Leon Rosenberg a écrit : >I don't know it depends on your implementation of hashCode() method. >Are you using 1.5? > >static int hash(Object x) { >int h = x.hashCode(); <-- your programm is here > >h += ~(h << 9); >h ^= (h >>> 14); >h += (h << 4); >h ^

Re: Tomcat WIKI only in polish??? -> http://wiki.apache.org/tomcat/

2006-04-21 Thread David Delbecq
ROFLMAO!! MichalDziczkowski did the polish translation on 18 april, but it seems he did all his commits on wrong web page :D The english version is still accessible in the page history. http://wiki.apache.org/tomcat/FrontPage?action=recall&rev=21 You probably must warn a wiki maintainer of this

Re: Access server from outside

2006-04-21 Thread David Kerber
Does your ISP allow you to run a server? Mine blocks pretty much all incoming requests. Jonathan Pare wrote: Any of you have an idea why I can't access my websites from outside my home ? Thanks. From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Access server from outside

Re: Access server from outside

2006-04-21 Thread David Kerber
Some ISP's (not all!) will make exceptions for non-commercial, low-volume personal web sites if you ask nicely. You have nothing to lose by explaining what you want to do, and asking them to allow a single port in to your system. Dave . Jonathan Pare wrote: I contacted my ISP and they are b

Re: Access server from outside

2006-04-21 Thread David Kerber
Or you could pay for a business line, which would allow servers. Of course it will cost more... Jonathan Pare wrote: I contacted my ISP and they are blocking the port 80. They also forbid to run any type of server "FTP, HTTP, IRC, MP3, PROXY, SMTP, POP or other". So basicaly, that mean that I

Re: Access server from outside

2006-04-21 Thread David Kerber
If you keep the data transfer volume low, they probably won't notice... Jonathan Pare wrote: Yeah but in my area, I don't have that much choices ! Plus, I have I package deal with that ISP (IP phone + log distance call + television + internet). Maybe I'll try the "other port" suggestion and se

Logging?

2006-04-21 Thread David Rush
g file, but none of these seem to have request/result info. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread David Smith
This question comes up every so often and the answer is always no. The webapp load order cannot be relied upon. In your case, might I suggest the database webapp be run on a separate instance of tomcat? Can the connection be done via TCP/IP? --David SOA Work wrote: Hi there, I&#

Re: jsvc creates LOTS of processes

2006-04-24 Thread David Smith
x27;t. --David Mark Shifman wrote: I noticed that jsvc creates about 68 processes on one of my servers. I start it using an init.d script under redhat 9. I don't think I have done anything egregious. ...snip CATALINA_OPTS=" -Djava.awt.headless=true -Xmx750m -Xms750m" ...snip start(

Re: A docbase ... inside the host appBase has been specified

2006-04-24 Thread David Smith
ctory. The message is more or less info level logging and does not indicate an error. Nothing to do with your web.xml file. Are you having trouble getting your servlet to run when you call it? --David [EMAIL PROTECTED] wrote: I apologize for the rookie mistake, but I can't figure out

Re: is there a possibility to define the startup order for webapps?

2006-04-24 Thread David Smith
As pointed out by another, load-on-startup only refers to servlets within a specific webapp. It does not have any influence over the load order of web applications themselves. --David Eric Haszlakiewicz wrote: On Mon, Apr 24, 2006 at 11:20:54AM -0400, David Smith wrote: This question

Re: Tomcat 5.0 : how to "redirect" a 401 error to a specific page

2006-04-25 Thread David Delbecq
See section 10.4.2 of http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html You have to understand the page user see when he hit cancel has been send by tomcat before the user hit cancel. This is the page which is shown to user to indicate him he requires authentification. If you want to customiz

Re: A docbase ... inside the host appBase has been specified

2006-04-25 Thread David Smith
I would start by reading the tomcat docs: http://tomcat.apache.org/tomcat-5.5-doc/logging.html -- David [EMAIL PROTECTED] wrote: Thanks so much for your helpful response. I mistakenly thought that was the problem with my servlet. Now I see that it is actually running (I was trying to hit

Re: Problems with tomcat hanging

2006-04-25 Thread David Kerber
It kind of sounds like your connection to the database is timing out. Does this happen after the tomcat instance in question has been idle for an extended time? james edwards wrote: We are running separate tomcat and apache servers, the http requests are being proxied from the apache server

Re: Blank page after tomcat install

2006-04-27 Thread David Smith
me of the request? Also, have you verified no other process is on 8080 instead of tomcat? Logs will show that to. --David Steve Ochani wrote: On 27 Apr 2006 at 15:15, Darren Hall wrote: Steven, What web server are you running, and have you correctly connected the web server to your app ser

Re: Apache 1.3.19 and Tomcat 3.2

2006-04-27 Thread David Smith
I should offer fair warning -- this setup is very old and very few will have/remember their experiences with tomcat 3.2 and apache 1.3.19. You may be stuck attempting to diagnose this on your own. --David Sachin Lohar wrote: Hi, I am using apache 1.3.19 and Tomcat 3.2. I am facing a

Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-27 Thread David Gagnon
or my needs but it seems strictly related to HTTP request handling. I hope to find a way without changing the tomcat code base. Thanks for your help. Best Regards /David - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: i want to know load on Tomcat

2006-04-28 Thread David Smith
As I remember, the same is true of of Tomcat 4.1 -- David tang jie wrote: On 4/27/06, Tim Lucia <[EMAIL PROTECTED]> wrote: Rajeev i need some more Help, I searched in my Tomcat manager but did not find any link of 'server status'. Can u tell where it resides!, i

Re: Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-28 Thread David Gagnon
Bill Barker wrote: "David Gagnon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I need to have my tomcat servers to broadcast their state (custom information) in order for them to collaborate. I look into the cluster code, org.apache.catalina.clus

Re: can't access database after timcat idle for several hours

2006-04-28 Thread David Kerber
Sounds to me like your database is timing out the connection. See if you can extend the timeout so it won't drop it during an overnight lull. james edwards wrote: No, different machines. But, it works all day and works right after a restart of tomcat. j On 4/28/06, ALEX HYDE <[EMAIL PROTEC

Re: Class loading from within a servlet: interface definition not found

2006-05-01 Thread David Smith
stead. If possible, move the handler.jar from shared/lib to WEB-INF/lib of your webapp and the problem should go away. --David Christopher Piggott wrote: >I have something happening with class loading from within a server, and I >don't understand it. > >My servlet defin

Re: Server reboot, Tomcat ok, but app needs starting

2006-05-01 Thread David Rees
On 5/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On my RHEL server, running tomcat 5.5.12, jvm 1.5.0_06-b05 when I litterally reboot the server, tomcat restarts, which I then access via the tomcat manager; and everything is "Running = true" except for my application. I can click "Start" a

Re: Connection between Tomcat and JSP

2006-05-03 Thread David Smith
to the webapps folder renaming it ROOT. Then restart tomcat. After that, if you haven't changed anything in server.xml, you should be able to see iScholar by accessing http://localhost:8080 in your favorite web browser. -- David Gustav Wiberg wrote: Hi! I'm a newbie using this Tomc

Re: jndi.properties

2006-05-03 Thread David Smith
This works whether the file is in a war or a webapp folder. The code above assumes you are executing from a servlet or jsp. --David abdurrahman sahin wrote: >i never tried it with default ctor, used it as >new InitialContext(jndiProperties); >using DirectoryFinding methods may help you

Re: Allow web access to /WEB-INF?

2006-05-03 Thread David Smith
Options I've seen suggested to this: 1) Write a servlet that passes through the content of resources. 2) Internal redirect via a servlet or filter. Either should work. All that's really forbidden is direct client access to the contents of WEB-INF. --David Marc Farrow wrote: >

Re: Limiting the number of connection threads per application

2006-05-04 Thread David Rees
On 5/4/06, Ken Dombeck <[EMAIL PROTECTED]> wrote: Thanks. The problem with this solution is that the end user will then see the SC_SERVICE_UNAVAILABLE error. The desired behavior is for the users request to wait until a thread is freed up to process their request. Is there way to do that? Not

Re: Limiting the number of connection threads per application

2006-05-05 Thread David Rees
On 5/5/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: you could send the user to a waiting page, which should automatically retry the action (via http redirect or js redirect) after some amount of time. On the other hand, if the waiting condition is almost permanent your should think about other s

Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread David Goodenough
=9000 and .authenticate=false and .ssl=false, but when I try to connect I just get a connection failed reply. I am obviously failing to do something really basic, but I can not see it. All the howtos just assume it works. Anyone got any clues? David

Re: Enabling JMX and jconsole in Tomcat 5.5 - SOLVED

2006-05-08 Thread David Goodenough
I could not get this to work at all on Tomcat 5.5.9, so I installed 5.5.17, copied across the changes I had made to 5.5.9, and it worked first time. Bizaar. David. On Monday 08 May 2006 12:02, Tim Lucia wrote: > I have the following settings in my (Windows) service configuration on the >

Re: Enabling JMX and jconsole in Tomcat 5.5

2006-05-08 Thread David Goodenough
found > stuff related to JMX on the 5.5 docs. Who mentioned 5.0, the subject and all subsequent replies say 5.5? David > > Thanks, > > -- > Gustavo Noronha Silva > Coordenação de Segurança e Sustentação > Ministério do Desenvolvimento Social - Brasil --

Re: Newbie: Deploying .war file, getting it working with MySQL

2006-05-08 Thread David Smith
Yes, authority in the url is the name of the database being accessed. URL syntax looks something like this: jdbc:mysql//[DNS_name|IP][:portNum]/database portNum is 3306 if not specified and you can add a ? and connect options after the database name as needed. Hugh Morgan wrote: > Franck Borel

Is anyone here using ha-jdbc with database clusters?

2006-05-09 Thread David Goodenough
s a Tomcat Cluster. My problem comes when I bring up the second tomcat and it complains that the resource (the cluster) already exists, which of course it does on the first tomcat, but as the cluster is distibutable it should join the existing set rather than trying to create a new one. Regards Da

Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread David Ron
t; really means, how can you know if a person is actually logged in or not? --David Ron Peter Hubbard wrote: Quite simply, if you have already logged in to the system, you get kicked out until later. Like so: HttpSession session = request.getSession(true); if (session.getAttrib

Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread David Rees
On 5/11/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: On 5/11/06, Peter Hubbard <[EMAIL PROTECTED]> wrote: > how > to allow individual browser windows and tabs to have individual session > data. Is there a real solution for this, and if so could some kind soul > please point me in the right di

How to embed server hostname in JSP page on clustered Tomcat

2006-05-12 Thread David Goodenough
. Anyone know how to do this (short of writing some Java code that is, I would rather use simple JSP and JSTL). David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Displaying Photos stored in Oracle in HTML generated by servlet

2006-05-17 Thread David Smith
ple: The servlet mapped to /path/to/servlet.jpg would use the id to retrieve the binary data and just stream it straight to the client via the response. --David Calvin Deiterich wrote: Rhino, That for getting back to me. I am coding with Java 1.5(or whatever they call the latest version). I

Re: FW: tomcat hangs with error msg-"All Threads are Busy....."

2006-05-18 Thread David Delbecq
SIGQUIT to tomcat process, it will force the sun JVM to dump all threads stacks. Regards, David Delbecq Ajit Narayanan wrote: hi, My tomcat 4.1.27 is running on sun Solaris 8 box but ocassionally it hangs out giving the error " All threads are busy, waiting. Please increase maxThrea

Re: FW: tomcat hangs with error msg-"All Threads are Busy....."

2006-05-18 Thread David Delbecq
at-JDK and the POSIX lib of solaris? Or can it be that the gc is not able to execute as generally the load on this proxy is very high leading to such a problem. Thanks and regards, Ajit. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 20

Re: FW: tomcat hangs with error msg-"All Threads are Busy....."

2006-05-18 Thread David Delbecq
or check the servlet status75 75 -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 2:35 PM To: Tomcat Users List Subject: Re: FW: tomcat hangs with error msg-"All Threads are Busy." ok, i bet then you problem is

Re: javamail for numerous mail servers on tomcat

2006-05-19 Thread David Kerber
Dynamically-defined mail servers work fine in Tomcat; I'd be in deep kimshe if they didn't. Here are some excerpts from the code I use: Properties props = new Properties(); props.put( "mail.smtp.host", server name> ); Session mailSession = Ses

Re: Problems with Realms and authorization

2006-05-22 Thread David Delbecq
Hi Alberto. A user can be in two states in tomcat's point of view. 1) anonymous (that is the user has not yet provided user / password) 2) Authenticated (user has provided user / password) Aside from this, there are 2 kinds of urls for tomcat 1) unrestricted ones (anyone can access them) 2) url

Re: How to limit placing of jar-files in the user webapps?

2006-05-22 Thread David Delbecq
Ok, i suppose by user, you mean the webmaster owning a specific webapp. If so, could you tell me what is the point? It's pretty impossible to do anything without .jar files in a java webapp :) If what you want to avoid is people browsing a uploading .jar files Unless you have a very badly wr

Re: How to limit placing of jar-files in the user webapps?

2006-05-22 Thread David Delbecq
ebapp classloader code Corobitsyn Roman wrote: Hello David. Thank you for reply I am sorry, that I have insufficiently clearly formulated a question We admit, I am a hoster, and at me am hosting buyers. In shared/lib and common/lib I have 3rd libraries of the certain versions. That there were no

filtering tomcat logging using default logging configuration

2006-05-22 Thread David Goodenough
messages for this prefix. I guess I need to modify $TOMCAT_HOME/conf/logging.properties, but what do I need to add? I have read the Tomcat 5.5 logging page, but I am none the wiser as that does not seem to give any examples of filtering non-Tomcat messages. Thanks David

Re: Can't find ajp13 connector

2006-05-23 Thread David Smith
grep is case sensitive and will only match ajp13, not Ajp13. If you want to find Ajp13Connector, the command should be written: jar -tvf *.jar | grep Ajp13 or even: jar -tvf *.jar | grep -i ajp13 to ignore case. --David Williams, Allen wrote: >I tried changing CATALINA_BASE to make

Re: Paul Grimwood/GNS is out of the office.

2006-05-24 Thread David Delbecq
This one is timestamped from 13:33 my time. This is perfect :D. I think i will add a special bell on this subject. 4 more and it will be the end of work day bell :D Paul Grimwood wrote: I will be out of the office starting 24/05/2006 and will not return until 29/05/2006. I will respond to you

Re: ewbie to Tomcat

2006-05-24 Thread David Delbecq
[EMAIL PROTECTED] wrote: Where can I go and look for a solution to this problem. Struts mailing list can be a good start :) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Tomcat Memory Leak

2006-05-24 Thread David Kerber
I had a leak of that kind when I wasn't closing inputstream and outputstream objects. It's one thing to check anyway. Petkov, Rossen wrote: ... Using a profiler, doesn't seem to help me much. I can see the memory being used by certain classes go up (mainly char[] and byte[] and some tomc

Re: Tomcat on a Memory Stick

2006-05-25 Thread David Smith
I'm not sure I see how this should be different than running it from a hard drive or any other file system location. Have you tried to do it? Are you having problems? --David Markus-Alexander Metz wrote: > Hi ... I wanna run my tomcat server on a memory stick but I have no > idea

Re: how to persist a session

2006-05-25 Thread David Smith
Option 3: Use a bit of javascript to refresh a small, invisible gif image on a timed basis. The session timeout can be short and the session will stay around as long as the browser windows is open or until the user clicks a logout link. --David Peter Crowther wrote: >>From: Vikas Jain [

Re: how to persist a session

2006-05-25 Thread David Smith
Because tomcat's sessions will timeout if left unattended long enough regardless of expiration date/time on a cookie. --David Lung Chan wrote: > I'm pretty new in web design, but why can't you use cookies to > do what you want? > > Will that work?? > > >

Re: how to persist a session

2006-05-25 Thread David Smith
That's true and I've restled with the javascript or no javascript question myself a few times. I think with all the AJAX and web 2.0 stuff out there, it's getting so those cases are fewer and fewer. --David Peter Crowther wrote: >>From: David Smith [mailto:[EMAIL PROTECTE

load balancer

2006-05-25 Thread David Durham
From the docs [1], it's slightly unclear to me what the load-balancer is exactly. I've kind of gleaned from other sources that it's perhaps an apache httpd running modjk? Thanks, Dave 1. http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html -

System down web.xml partially working when restart webapp via tomcat manager

2006-05-28 Thread David Wall
re a way to allow this to work using the Manager app? This would be preferable as we'd like to be able to do maintenance on a given webapp without affecting all of the others. We're using Tomcat 5.5.12 with JDK 1.5 on Red Hat Linux. Thanks, David P.S. Here's that we

Re: System down web.xml partially working when restart webapp via tomcat manager

2006-05-28 Thread David Wall
I may have found this was fixed in 5.5.17 since I see this line in the changelog: Correctly reset listeners when reloading a webapp (remm) I'll give that a try.... David David Wall wrote: We have multiple webapps running in a single Tomcat instance, and when we need to upgrade a

TC 5.5.17 problem with multiple webapps using JCE provider and security manager

2006-05-29 Thread David Wall
-security) under RedHat Linux using BouncyCastle JCE 1.33 with JDK 1.5. Thanks, David java.security.NoSuchAlgorithmException: class configured for SecretKeyFactory(provider: BC)cannot be found. at java.security.Provider$Service.getImplClass(Provider.java:1178)

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread David Smith
route it to your servlet per the spec. --David [EMAIL PROTECTED] wrote: >My problem is that my servlet running at Tomcat 5.05.17 and my servlet is >the default servlet, now i am trying to call this servlet by a Java >program that open socket connection... I want Tomcat run this def

Re: Tomcat 5.5 Context Files

2006-05-30 Thread David Smith
It should also be noted that with the context xml file in config/Catalina/www.iboserver.com/ibo4.xml, the path and docbase attributes may be ignored under tomcat 5.5. Open your manager webapp to see what's deployed and under what names. --David Chris Walker wrote: >Thanks Mark.

<    4   5   6   7   8   9   10   11   12   13   >