Re: multilevel context path and auto reload

2006-10-10 Thread Christian Surlykke
Tirsdag 10 oktober 2006 22:54 skrev Caldarale, Charles R: > > Not true. Name the file containing your elements like this: > conf/[engine]/[host]/salg#netbutikken.xml > > The pound sign serves as the path component delimiter. Great! Thanks a lot. br. Christian Surlykke ---

Re: jvm thread dump

2006-10-10 Thread Rizwan Merchant
I had to restart tomcat, but I am not sure if there was a simpler way to solve the problem at that time. There were threads that were waiting on loading user from db (for authentication), which explains why I couldnt login. I can send the thread dump (of hen the problem occurred) tomorrow from

catalina.out not rolling

2006-10-10 Thread Rizwan Merchant
Hi, We are trying to use log4j to roll the catalina.out file on a daily basis. The attached log4j.properties file has been placed in the CATALINA_HOME/common/classes directory. But the file does not roll over. Please help. catalina file is getting long. Thanks, -Riz. # # Configures Log4j as

RE: multilevel context path and auto reload

2006-10-10 Thread Caldarale, Charles R
> From: Len Popp [mailto:[EMAIL PROTECTED] > Subject: Re: multilevel context path and auto reload > > Boy, that page is confusing. For example, it says "Each such Context > MUST have a unique context path, which is defined by the path > attribute." Left over from older levels, unfortunately. Mi

Re: The value for the useBean class attribute... is invalid

2006-10-10 Thread David Smith
Right. The issue is server side access to the class, not client side through httpd. The following link seems directly related to the OP's issue: http://forum.java.sun.com/thread.jspa?threadID=567258&messageID=2944921 Essentially the class must be a valid bean declared public with a default (n

Re: stopping jk connector threads

2006-10-10 Thread Bill Barker
If you need to (and it's only necessary on some older Linux kernals), then the usual method is to set a connectionTimeout on the element. Then if Apache doesn't send another request to that thread within the specified time, the thread will close the connection, and terminate. "Enrique Arce" <[

Re: The value for the useBean class attribute... is invalid

2006-10-10 Thread Mark Thomas
Martin Gainty wrote: > David- > > ..he could also have execute/read permissions turned off in .htaccess > > M- Martin, you are talking nonsense and confusing the issue. 1) .htaccess is an httpd configuration feature that does not exist in Tomcat 2) The OP made no mention of using httpd in his

Re: Where is the information for user authentication logged

2006-10-10 Thread Bill Barker
"Shuwen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > Pardon me for asking a simple question here. I have checked internet > but found no answer. I am using Tomcat 5.5. If the user logs in, is > there any log file that record the name of the user and login time? I

Re: change server default enconding -Where to set JAVA_OPTS in catalina.sh for UTF8?

2006-10-10 Thread Mark Thomas
Java Development Team wrote: > Hi everyone. > Iam trying to change server default enconding from ISO8859_1 to UTF8. > Till now I found 2 differrent solutions. > The fisrt one is to use the following in my catalina.sh: > set JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8 Never seen this before an

Re: Switching default index page from xml to xql

2006-10-10 Thread Kor Kiley
Thank you David! We're looking into it. Kor David Smith wrote: I've used Cocoon before and the sitemap.xmap file controls all. The welcome-file setting in web.xml won't do anything here. If you write a element to match pattern="**/" (possibly pattern="/" also), it should effectively define

Where is the information for user authentication logged

2006-10-10 Thread Shuwen
Hi, Pardon me for asking a simple question here. I have checked internet but found no answer. I am using Tomcat 5.5. If the user logs in, is there any log file that record the name of the user and login time? I have searched in Catalina_log.xxx, localhost_log.xxx, and localhsot_access_l

Re: Tomcat 5.5.20 Internal error/crash.

2006-10-10 Thread Filip Hanik - Dev Lists
The best place to file bugs are in bugzilla http://issues.apache.org/bugzilla/ Filip j.random.programmer wrote: Hi: I'm getting these at random, tomcat version: 5.5.20 These looks like a serious coding bug (there should never be ArrayIndexOutOfBoundsExceptions), but it's not clear whether thi

test

2006-10-10 Thread Shuwen
This is a test. Please ignore. Thanks - Stay in the know. Pulse on the new Yahoo.com. Check it out.

Re: multilevel context path and auto reload

2006-10-10 Thread Len Popp
Boy, that page is confusing. For example, it says "Each such Context MUST have a unique context path, which is defined by the path attribute." But then, you must NOT use a path attribute unless the Context is in server.xml. ?!? And, is that "#" trick documented anywhere? I don't see it on that pag

Tomcat 5.5.20 Internal error/crash.

2006-10-10 Thread j.random.programmer
Hi: I'm getting these at random, tomcat version: 5.5.20 These looks like a serious coding bug (there should never be ArrayIndexOutOfBoundsExceptions), but it's not clear whether this bug exists in the JDK or in the tomcat code. # java -version java version "1.5.0_06" Java(TM) 2 Runtime Environm

Best Practice for UnsatisfiedLinkError: Already loaded in another classl

2006-10-10 Thread ben.christenson
I recently wrote a webapp that leverages a proprietary application's api (in the form of a JNI wrapper api, so it requires a jar file and a set of system libraries/dlls) to allow interactions with this application using simple http calls. Running my web application alone (placing the api jar in m

RE: multilevel context path and auto reload

2006-10-10 Thread Caldarale, Charles R
> From: Christian Surlykke [mailto:[EMAIL PROTECTED] > Subject: multilevel context path and auto reload > > If I put a context file under home>/conf// or inside the the > application's META-INF, the path attribute of the Context > appears to be ignored. Correct. See the doc for the path attr

RE: IIS and Tomcat on different physical servers

2006-10-10 Thread Øyvind Roth
Well, I did just what Mladen Turk told me: Use the latest version found on http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2 .19/ (That's why I felt this a bit embarrassing...) :-) I so did and, up it was! There was a small quirk however: Opposite to what's read on the a

Re: The value for the useBean class attribute... is invalid

2006-10-10 Thread Martin Gainty
David- ..he could also have execute/read permissions turned off in .htaccess M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notifie

multilevel context path and auto reload

2006-10-10 Thread Christian Surlykke
Hi I'm trying to build an application with a 2-level context path: '/salg/netbutikken'. If I put a context file under /conf// or inside the the application's META-INF, the path attribute of the Context appears to be ignored. So it seems that the only way to make an application with a 2-level

RE: The value for the useBean class attribute... is invalid

2006-10-10 Thread Aynalem, Seblewengel (Trawick)
Yes SessionBean.class is in the WEB-INF/classes/ISOTracking directory. Any other hint? Thanks. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 4:25 PM To: Tomcat Users List Subject: Re: The value for the useBean class attribute... is inva

Re: The value for the useBean class attribute... is invalid

2006-10-10 Thread David Smith
Someone else had this problem -- essentially amounts to a ClassNotFoundException. Can you confirm the class really exists in a place accessible to the webapp, ie WEB-INF/classes/ISOTracking/SessionBean.class? --David Aynalem, Seblewengel (Trawick) wrote: I am getting the following error..

The value for the useBean class attribute... is invalid

2006-10-10 Thread Aynalem, Seblewengel (Trawick)
I am getting the following error... Login.jsp is attached below. I am using tomcat 5.5.17, jdk 1.5 & jre 1.5. org.apache.jasper.JasperException: /ISOTracking/ISOTracking/Login.jsp(1,1) The value for the useBean class attribute ISOTracking.SessionBean is invalid. org.apache.jasper.ser

Re: AOL

2006-10-10 Thread Christopher Schultz
Martin, > If I go to www.AOL.com I am on their web-server Yup. We're not talking about going to www.aol.com. We're talking about AOL customers browsing this dude's application, which is not hosted through AOL. > and if I check email I am submitting the request thru those same web > servers Huh?

Re: AOL

2006-10-10 Thread Martin Gainty
Chris- If I go to www.AOL.com I am on their web-server and if I check email I am submitting the request thru those same web servers If YOU can guarantee ME that they ARE NOT redirecting then as a way to handle the special processing for aol you could do something simple like check the HTTP_REFER

RE: AOL

2006-10-10 Thread Daniel Blumenthal
Thanks! These are good places to test. > -Original Message- > From: Paul Singleton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 3:06 PM > To: Tomcat Users List > Cc: [EMAIL PROTECTED] > Subject: Re: AOL > > Daniel Blumenthal wrote: > > We just switched from a single serv

stopping jk connector threads

2006-10-10 Thread Enrique Arce
Is there a way to stop hung jk connector threads with out restarting Tomcat? I can see threads that are hanging from the Tomcat manager server status page, but I can't kill them, only a server restart clears them. Is there a better way? Thanks, Enrique

Re: jvm thread dump

2006-10-10 Thread Martin Gainty
do we know for sure he is using hibernate? If that is the case then use this sample hibernate.cfg.xml http://hibernate.sourceforge.net/hibernate-configuration- 3.0.dtd"> uid pwd jdbc:mysql://localhost/db com.mysql.jdbc.Driver org.hibern

Re: AOL

2006-10-10 Thread Christopher Schultz
Martin, Apparently, your mail reader seems my messages as blank (due to poor handling of GPG attachments). Here is the message I was trying to send: > Dude, I think you're totally confused. > > You can replace the term "AOL" in all of these messages with "some > crappy ISP that likes to mix thin

Re: AOL

2006-10-10 Thread Martin Gainty
I didnt see your solution so I'll make another suggestion why not trap on HTTP_REFERER ? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereb

Re: Classloader Question

2006-10-10 Thread Fran Varin
Thanks for the suggestions! I'll look into these and post back either way. Fran Fran Varin wrote: > > We are running multiple Tomcat 5.5 instances as Windows services. We have > some .jar files that are common between the multiple Tomcat instances. We > have been searching for a way to conf

Re: jvm thread dump

2006-10-10 Thread Christopher Schultz
Riz, > Basically, we could not log into the system at all (which sounded like > the app could not get a connection to the db to authenticate my user > name and password). I had someone else try to log in, but he could not > either. That sounds like a wild guess at the problem. Your previous threa

Re: AOL

2006-10-10 Thread Christopher Schultz
Martin, > Saying you'll only deal with the first n addresses may lead to bigger > problems later on.. I would put a sniffer on to see if AOL is giving > you a 301/302. If that is the case you will have to configure > variables Cache-Control Expires Dude, I think you're totally confused. You can

Re: Java Bean Method Call Don't Work... Please Help!

2006-10-10 Thread Martin Gainty
we need to see the code for SessionBean.. M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communi

Re: AOL

2006-10-10 Thread Paul Singleton
Daniel Blumenthal wrote: We just switched from a single server to a cluster, with a load balancer out front to manage incoming connections. The load balancer makes the decision to go to app server 1 (app1) or app server 2 (app2) based on IP address - once a request comes in from one source IP, a

RE: Classloader Question

2006-10-10 Thread Larry Isaacs
Since you are using Tomcat 5, check out the "shared.loader" property specified in the catalina.properties file of your Tomcat instances. You could change it to use "catalina.home" instead of "catalina.base", or add an additional "path". Cheers, Larry > -Original Message- > From: Fran Var

RE: Classloader Question

2006-10-10 Thread Huy Vo \(hvo\)
Hi, I assume these instances all ran from the same Tomcat installation. If so, could you use different CATALINA_BASE for each instance since shared.loader looks into CATALINA_BASE/shared/lib? HTH. === Huy T. Vo Voice: 408-853-0535 Fax:408-853-4021 -Original Message-

RE: Classloader Question

2006-10-10 Thread King, Patrick
A possible solution would be to use the analog of a "unix file link" for windows based operating systems. One tomcat distribution would have the actual jar file, and the other tomcat distribution would have a "file link" to the same file(the file link is simply a "pointer" to the actual jar fil

Re: Switching default index page from xml to xql

2006-10-10 Thread David Smith
I've used Cocoon before and the sitemap.xmap file controls all. The welcome-file setting in web.xml won't do anything here. If you write a element to match pattern="**/" (possibly pattern="/" also), it should effectively define the default page for all folders. I'd recommend asking these qu

Cookies/Session Issues

2006-10-10 Thread Michael Andreas Omerou
Hello, We are having a web app which uses session over both plain and SSL connections. The very first time that someone accesses our initial page (i.e. never before visited the site so that there is no session cookie on his/her browser, not even an expired one) the server creates a session and se

Re: jvm thread dump

2006-10-10 Thread Rizwan Merchant
Appreciate all your help. Basically, we could not log into the system at all (which sounded like the app could not get a connection to the db to authenticate my user name and password). I had someone else try to log in, but he could not either. Here are our tomcat and dbcp settings. We are u

Re: AOL

2006-10-10 Thread Martin Gainty
Dan- Saying you'll only deal with the first n addresses may lead to bigger problems later on.. I would put a sniffer on to see if AOL is giving you a 301/302 If that is the case you will have to configure variables Cache-Control Expires Martin-- This e-mail communication and any attachments m

Re: AOL

2006-10-10 Thread Paul Singleton
Daniel Blumenthal wrote: How does the lb decide where you go for all requests after the first one? Typically, the session id is sniffed from the URL or cookie and the lb maintains a table of mappings that expires after some time. Our two choices are evidently "IP-based" and "cookie-based".

Classloader Question

2006-10-10 Thread Fran Varin
We are running multiple Tomcat 5.5 instances as Windows services. We have some .jar files that are common between the multiple Tomcat instances. We have been searching for a way to configure Tomcat in such a way where we could share the .jar files across those multiple instances. According to wh

Re: jvm thread dump

2006-10-10 Thread Christopher Schultz
Riz, > Actually, we had a bit of a situation yesterday, it seems the threads > were all locked up and/or the db connection pool was not handing out > connections. I am not sure what happened and have been monitoring the > threads ever since. Well, there's yer problem ;) > Below are some threads

Re: AOL

2006-10-10 Thread Christopher Schultz
Dan, > Our two choices are evidently "IP-based" and "cookie-based". > Currently, we're using "IP-based", so every IP address is treated as > a separate request. I'm looking into making it cookie-based, and > making cookies a requirement for the site (currently, we only use > cookies to store a co

Error sending end packet messages with mod_jk 1.2.19

2006-10-10 Thread Rudolf Schmidt
Hi, Still have the following problem after I recently updated mod_jk from 1.2.15 to 1.2.19. As it seems to work ok, I see the following error occasionally running through my logs. Does anybody know if this a thing I should bother about? It doesn't happen with jk 1.2.15. I am running apache 2.2.2

RE: Switching default index page from xml to xql

2006-10-10 Thread Caldarale, Charles R
> From: Kor Kiley [mailto:[EMAIL PROTECTED] > Subject: Re: Switching default index page from xml to xql > > Here's the web.xml for eXist: > > > > Cocoon > / > > > > index.xql > This appears to remap everything to Cocoon rather than Tomcat's def

Re: jvm thread dump

2006-10-10 Thread Rizwan Merchant
Thanks for the response Chris. Actually, we had a bit of a situation yesterday, it seems the threads were all locked up and/or the db connection pool was not handing out connections. I am not sure what happened and have been monitoring the threads ever since. Below are some threads from the

Re: AOL

2006-10-10 Thread David Kerber
Daniel Blumenthal wrote: Chris, How does the lb decide where you go for all requests after the first one? Typically, the session id is sniffed from the URL or cookie and the lb maintains a table of mappings that expires after some time. Our two choices are evidently "IP-based" and

Java Bean Method Call Don't Work... Please Help!

2006-10-10 Thread Aynalem, Seblewengel (Trawick)
I am using tomcat 5.5.17, jdk 1.5 & jre 1.5. I have the following jsp page that displays the text - Welcome, and - without the output of the java bean method call. The function is working fine... I can see the output on Tomcat console. But I could not see it on the browser. Is there a

RE: AOL

2006-10-10 Thread Daniel Blumenthal
Chris, > How does the lb decide where you go for all requests after > the first one? Typically, the session id is sniffed from the > URL or cookie and the lb maintains a table of mappings that > expires after some time. Our two choices are evidently "IP-based" and "cookie-based". Currently,

Re: jvm thread dump

2006-10-10 Thread Christopher Schultz
Riz, > When I perform a thread dump I am seeing some threads are locked on a > socketRead0 (like http-443-Processor49 in the dump below). Let's take a look: > "http-443-Processor49" daemon prio=1 tid=0xb208fe80 nid=0x40c5 runnable > [0x06fdd000..0x06fddf40] >at java.net.SocketInputStream

Re: web.xml

2006-10-10 Thread Christopher Schultz
Dies and Roberto, I've actually found that the web.xml DTD itself is quite helpful. For instance: http://java.sun.com/dtd/web-app_2_3.dtd There are lots of comments in there that tell you what everything means. Note that you might have to pick a different version from the one shown above. -chri

Re: AOL

2006-10-10 Thread Christopher Schultz
Dan, > The problem is that it appears that AOL will randomly assign an IP > address to every request a user sends. So a user could end up going > to both servers. Yup. AOL is feisty like that. > The load balancer makes the decision to go to app server 1 (app1) or > app server 2 (app2) based o

RE: AOL

2006-10-10 Thread Daniel Blumenthal
Martin, I think there might be a bit of a misunderstanding - America Online (AOL) isn't a server under my control - it's an ISP from which some of my customers come. Daniel > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 10, 2006 9:07 AM >

RE: Betr.: RE: From Tomcat 5.0.28 to 5.5.20

2006-10-10 Thread Caldarale, Charles R
> From: Roel De Nijs [mailto:[EMAIL PROTECTED] > Subject: Betr.: RE: From Tomcat 5.0.28 to 5.5.20 > > OK, i did read it --> conclusion: you don't have to set it. Not that you don't have to set it, you MUST NOT set it. > so i adjusted my web-app.xml by deleting the path-attribute, > resulting

Re: Switching default index page from xml to xql

2006-10-10 Thread Kor Kiley
Caldarale, Charles R wrote: From: Kor Kiley [mailto:[EMAIL PROTECTED] Subject: Re: Switching default index page from xml to xql When I say, "the page itself works fine," I mean, if I type the address as "http:///exist/index.xql", that works fine. Post your web.xml for the exist app, pl

Re: need to unsubscribe

2006-10-10 Thread Adriana Suarez
I Havent been able to unsubscribe either, when I send an email to [EMAIL PROTECTED] I always get this answer: I think the admin hasn't fixed the problem *This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: ** [EMAIL PROTECTE

RE: Switching default index page from xml to xql

2006-10-10 Thread Caldarale, Charles R
> From: Kor Kiley [mailto:[EMAIL PROTECTED] > Subject: Re: Switching default index page from xml to xql > > When I say, "the page itself works fine," I mean, if I type > the address as "http:///exist/index.xql", that > works fine. Post your web.xml for the exist app, please. Have you made any

Re: Switching default index page from xml to xql

2006-10-10 Thread Kor Kiley
Charles, I think the simplest way to show you how index.xql displays the page is to show you the listing of index.xql since it is very short: --- declare namespace dc="http://purl.org/dc/elements/1.1/";; declare namespace mets

RE: IIS and Tomcat on different physical servers

2006-10-10 Thread Thannhäuser
Hi! So could you tell us, what you actually did to make it running. I'm having the same problem at the moment. It's pretty working on all Windows XP Servers with IIS 5.1, but not with Windows 2000 Server and IIS 5. Thanks marcel -- View this message in context: http://www.nabble.com/IIS-and-To

Re: Switching default index page from xml to xql

2006-10-10 Thread Kor Kiley
Yes, I tried that. If I type the address as "http://name>/exist" the reponse is: Message:/usr/local/tomcat/webapps/exist (Is a directory) Just to be sure we're on the same page, I made the change to ..tomcat/webapps/exist/WEB-INF/web.xml Kor Java Development Team wrote: Hi, if Iunder

Betr.: RE: From Tomcat 5.0.28 to 5.5.20

2006-10-10 Thread Roel De Nijs
OK, i did read it --> conclusion: you don't have to set it. so i adjusted my web-app.xml by deleting the path-attribute, resulting in: but still getting the "A docBase C:\Program Files\Apache Software Foundation\Tomcat AG4W\webapps\AquaGis4Web inside the host appBase has been specified

Tomcat Embedded and Server.xml

2006-10-10 Thread Miguel Correia Ricardo
Hello, I'm having a doubt that is bugging me. And I need to solve it also. Everywhere I look, it says that by using Tomcat Embedded I don't need the server.xml configuration file. Ok, I can understand why... But, what about the Connector ports, how do I know at advance wich one are busy or not...

RE: Switching default index page from xml to xql

2006-10-10 Thread Caldarale, Charles R
> From: Kor Kiley [mailto:[EMAIL PROTECTED] > Subject: Re: Switching default index page from xml to xql > > The default eXist welcome page is index.xml. The media > librarian working on the project has created an index.xql > which she would like to be the welcome page. The page > itself works

RE: From Tomcat 5.0.28 to 5.5.20

2006-10-10 Thread Caldarale, Charles R
> From: Roel De Nijs [mailto:[EMAIL PROTECTED] > Subject: From Tomcat 5.0.28 to 5.5.20 > > i want to migrate from tomcat 5.0 to tomcat 5.5, but it's not > going very smoothly. > > but i'm very confused with the contexts. > > any tips, hints, suggestions, remarks For a start, read the 5.5

Re: Switching default index page from xml to xql

2006-10-10 Thread Java Development Team
Hi, if Iunderstood corectly you have a seperate application that you want change its welcome page. You should put the prefferred welcome page in the applications web.xml ex. prefferredfile.xql This is the default way of doing this in web apps I hope Ive helped - Original Message

Re: Switching default index page from xml to xql

2006-10-10 Thread Kor Kiley
Charles, Thank you for your response. This isn't the default application. It's an application called eXist. Here's a short description straight from the eXist web site: "eXist is an Open Source native XML database featuring efficient, index-based XQuery proce

Re: AOL

2006-10-10 Thread Martin Gainty
Good Morning Dan- It seems you're going thru alot more work because of session expiration issues Do you know if AOL supports 'sticky' sessions? Thanks, M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients

RE: AOL

2006-10-10 Thread Daniel Blumenthal
Good morning Martin, Have I misunderstood? The issue isn't switching from using Apache as a front end (for now), but rather that America Online (AOL) uses proxy banks, so that every request comes in with an arbitrary IP address. This is causing two problems: 1) Users are logged in on some page

Re: AOL

2006-10-10 Thread Martin Gainty
Good Morning Dan From what I see alot of folks are using Hardware accelerators to overcome inherent delay introduced by front ending with apache To clarify everyone's understanding What does AOL bring to your environment and How does AOL server configure in your environment? If I had to specula

change server default enconding -Where to set JAVA_OPTS in catalina.sh for UTF8?

2006-10-10 Thread Java Development Team
Hi everyone. Iam trying to change server default enconding from ISO8859_1 to UTF8. Till now I found 2 differrent solutions. The fisrt one is to use the following in my catalina.sh: set JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8 Putting this line in the start of my cata

Re: AOL

2006-10-10 Thread Mikolaj Rydzewski
Daniel Blumenthal wrote: We just switched from a single server to a cluster, with a load balancer out front to manage incoming connections. The load balancer makes the decision to go to app server 1 (app1) or app server 2 (app2) based on IP address - once a request comes in from one source IP, a

Re: balancer with remote addr

2006-10-10 Thread SSL
I found the standard rules in the catalina.balancer.jar. Theres a pretty basic RemoteAddress Rule. SSL wrote: > > > Hi all, > > I want to redirect incoming requests to different servers based on the > callers ip. > Is it possible to use the remote address in balancer rules? How? > Is there a

Re: AOL

2006-10-10 Thread SSL
The IP is that of the last proxy, which does not have to be the same between requests. But it is almost always from the same range, belonging to the provider. Daniel Blumenthal wrote: > > We just switched from a single server to a cluster, with a load balancer > out > front to manage incoming

Re: AW: Re: standard call for servlets does not work under tomcat

2006-10-10 Thread David Smith
And if all those reasons weren't enough, it's also depricated and not portable. Changing servlet engines or upgrading may break your webapp. Better to do it right from the beginning than have to recode later. --David David Delbecq wrote: - Because it way unsecure. It can invoke pretty any

Re: AW: Re: standard call for servlets does not work under tomcat

2006-10-10 Thread David Delbecq
- Because it way unsecure. It can invoke pretty any class in your webapp class path. This include legacy servlet (like com.company.TheServlet) but also your test servlet, the servlets you developped for quick admin hacks locally and you didn't remove from code. - Invoker servelt is one unique serv

AW: Re: standard call for servlets does not work under tomcat

2006-10-10 Thread fabs
ok i found some expamples but why not the invoker servlet it seems to be just the right one >I think you are looking for the Invoker servlet. That's not >recommended. See the servletexamples webapp's web.xml file for a >standards compliant way to map servlet to request uri's > >--David > >

AW: Re: standard call for servlets does not work under tomcat

2006-10-10 Thread fabs
Hmmm could you give me a link please have not found a good example >I think you are looking for the Invoker servlet. That's not >recommended. See the servletexamples webapp's web.xml file for a >standards compliant way to map servlet to request uri's > >--David > >[EMAIL PROTECTED] wrote:

From Tomcat 5.0.28 to 5.5.20

2006-10-10 Thread Roel De Nijs
Hi all, i want to migrate from tomcat 5.0 to tomcat 5.5, but it's not going very smoothly. i noticed that the -tag isn't valid anymore, so i deleted it out of server.xml and use log4j instead. but i'm very confused with the contexts. i keep getting this warning/info-message: "A docBase C:

Re: Performance decreasing if access.log enabled

2006-10-10 Thread Leon Rosenberg
I have 3-4 values. First moskito gives me an min/average/max serving time for all my servlets, actions and services. So I know whether the system really got slower and where. Second we measure cpu time spend in user mode and idle time and know how much cpu time we consume per user. In case user

Re: standard call for servlets does not work under tomcat

2006-10-10 Thread David Smith
I think you are looking for the Invoker servlet. That's not recommended. See the servletexamples webapp's web.xml file for a standards compliant way to map servlet to request uri's --David [EMAIL PROTECTED] wrote: Hi in normal case you call servelts as followed /servlet/packetName for exa

Re: How to do one time initialization with tomcat

2006-10-10 Thread David Smith
Implement a ServletContextListener to get the DataSource and store it in the ServletContext . See docs on the tomcat site and the servlet spec for details. --David Divick Kishore wrote: Hi, I want to do one time initialization of some data at my back end code when using tomcat as my cont

Re: web.xml

2006-10-10 Thread Dies Koper
Hello Roberto, Check out the Servlet specification: http://java.sun.com/products/servlet/download.html The tags under jsp-config are explained in the JSP specification: http://java.sun.com/products/jsp/reference/api/index.html Tomcat 5.x supports the Servlet 2.4 and JSP 2.0 specifications. Reg

RE: JNDI inside a JAAS LoginModule

2006-10-10 Thread Ashley Hayes
Hi John, I actually think your approach is correct, I was merely pointing out that we had a similar problem and suggested a workaround. This workaround is obviously not efficient if you have multiple contexts that would like to share the same large pool of connections. I'd be interested to

How to do one time initialization with tomcat

2006-10-10 Thread Divick Kishore
Hi, I want to do one time initialization of some data at my back end code when using tomcat as my container. To be precise I want to initialize the DB connection to mysql db and later when connection is requested from my DB layer I want to simply return the connection from a connection poo

web.xml

2006-10-10 Thread Roberto Marra
Hi guys, I would like to find some documentation about the web.xml. I would like to understand all the directive like or etc... I found some in the apache web site, but not all. Any suggestion pls cheers Roberto Marra

Client certificate error customization

2006-10-10 Thread Pere Torrodellas
Hello, I hope that someone will be able to help us with tis one. Our application relies on Tomcat to get client certificates and sends them for validation. This works well, but the problem is that if the user browser does not have any certificate that is acceptable to Tomcat, or if s/he clicks "Ca

standard call for servlets does not work under tomcat

2006-10-10 Thread fabs
Hi in normal case you call servelts as followed /servlet/packetName for example servlet/xinfo/test/Testservlet how can I reach this thanks for help - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail