SEVERE: Unable to perform replication request

2007-12-04 Thread Theparanoidone Theparanoidone
Hello, I'm having trouble getting apache-tomcat-6.0.14 to replicate session data. I have node01, and node02 I can start them up, they will autodetect each other, and they will create a new session object only at the beggining of a new session. If you try and update the session, I get the follow

Tomcat Task Eclipse Mylin Manager

2007-12-04 Thread Jacob Rhoden
Hi Guys, I am trying to find some simple project task manager to improve my small project management. Does anyone know of any tomcat based "task repositories" that integrate with Eclipse, and are small and simple. There is JIRA but it is large and expensive. (I would much prefer to have a si

IIS redirect

2007-12-04 Thread Jing Chen
Hello, I have two applications installed at two different Tomcat 5.5 on the same box, and I want to setup IIS to redirect for both applications. Is it possible? Can I define two ajp13 workers? Here is my current workers2.properties which on can redirect to one application: [shm] file=D:/Te

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. > Subject: Re: How to Deploy WAR using a sub-context path? > > I see that there is a "lock" on it by the Tomcat process. You need to set the antiJARLockin

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Eric B. wrote: >> "Mark Thomas" <[EMAIL PROTECTED]> wrote in message >>> Great. If you need a pointer or two - just ask. >> >> >> Ok - have looked through the code, and actually, turns out to be quite a >> simplistic patch

RE: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Eric B. > Subject: Re: How to Deploy WAR using a sub-context path? > > I see that there is a "lock" on it by the Tomcat process. You need to set the antiJARLocking and antiResourceLocking attributes of the element to true. This should only be

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Eric B. wrote: >> "Mark Thomas" <[EMAIL PROTECTED]> wrote in message >>> Great. If you need a pointer or two - just ask. >> >> >> Ok - have looked through the code, and actually, turns out to be quite a >> simplistic patch

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-04 Thread Delian Krustev
On Thu, 29 Nov 2007 07:51:07 + Mark Thomas wrote: > It should show more information. If there is something subtle going on with > the permissions then it should make it easier to figure out. Well, here we go. The problem appeared once again after the next restart. I've hidden the username and

Re: Hundreds of Instances

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Breno, Breno Jacinto wrote: >> /foo/bar.jsp?id=1324 27ms >> /foo/bar/jsp?id=1235 31ms >> /foo/baz.jsp 897234ms > > Is this filter provided by Tomcat? Is there any documentation on > this? The information would be very helpful, indeed. Nope. You

RE: Tomcat 4 Successfully Authentication Logout

2007-12-04 Thread Propes, Barry L
sorry...I'd never seen a LogOut button implemented anywhere, and swore that once or twice on this forum I'd seen that only checking for a session to be active was available, but if it can be done (destroying the session and starting it over) that's wonderful. Like I said on the previous email I

RE: Tomcat 4 Successfully Authentication Logout

2007-12-04 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 4 Successfully Authentication Logout > > Is this really NOT possible?! I think it must be possible, since Tomcat's admin webapp uses form-based login and implements a Log Out button that returns the user to the login page.

RE: Tomcat 4 Successfully Authentication Logout

2007-12-04 Thread gerocoma-forophp
Really!??? :| Is this really NOT possible?! :S --- "Propes, Barry L " <[EMAIL PROTECTED]> escribió: > I didn't think (or know) that it was possible. From > previous posts I'd seen I got the idea it was not. > > I could be wrong on that, though. > > -Original Message- > From: [EMAI

RE: Preventing War files from redeploying

2007-12-04 Thread primus
Caldarale, Charles R wrote: > >> From: primus [mailto:[EMAIL PROTECTED] >> Subject: RE: Preventing War files from redeploying >> >> It is a clustered environment, the war is dropped into a >> deployment folder on the main node which distributed the war >> to the vhost folder on both servers,

RE: Preventing War files from redeploying

2007-12-04 Thread Caldarale, Charles R
> From: primus [mailto:[EMAIL PROTECTED] > Subject: RE: Preventing War files from redeploying > > It is a clustered environment, the war is dropped into a > deployment folder on the main node which distributed the war > to the vhost folder on both servers, the war then expands. I'm not familiar

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Mark Thomas
Eric B. wrote: > "Mark Thomas" <[EMAIL PROTECTED]> wrote in message >> Great. If you need a pointer or two - just ask. > > > Ok - have looked through the code, and actually, turns out to be quite a > simplistic patch for the autodeployer to handle wars with #s. How / where > do I submit a pat

RE: Tomcat 4 Successfully Authentication Logout

2007-12-04 Thread Propes, Barry L
I didn't think (or know) that it was possible. From previous posts I'd seen I got the idea it was not. I could be wrong on that, though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 2:06 PM To: users@tomcat.apache.org Subject: Tom

Re: How to Deploy WAR using a sub-context path?

2007-12-04 Thread Eric B.
"Mark Thomas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >From a cursory inspection, it looks like the # naming convention >wasn't thoroughly tested out for these types of scenarios in Tomcat's autodeployer. >>> The >>> # convention is currently only for webap

Tomcat 4 Successfully Authentication Logout

2007-12-04 Thread gerocoma-forophp
Hello Everybody, I've a problem logging out from tomcat form-realm-based authentication. I've been googling but cant' find anything. I just want to logout the signed user. That's it. I'm using JSF with NB visual web pack. I added a hiperlink which action event has the following code: currentSes

Re: Tomcat data source

2007-12-04 Thread Juha Laiho
If you want to access a resource defined in GlobalNamingResources from a webapp, the context description for the webapp must contain a ResourceLink for the resource. ResourceLink is what you use to "map" a server resource name to the resource name expected by the application (so, is something that

RE: tomcat.conf JAVA_OPTS

2007-12-04 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat.conf JAVA_OPTS > > c. wrote: > > I'm wondering what the JAVA_OPTS -Xminf0.1 and > > -Xmaxf0.3 are. Anyone know? > > MinHeapFreeRatio and MaxHeapFreeRatio (divided by 100). I'd recommend not setting these unless you really know

RE: How to change docroot?

2007-12-04 Thread Caldarale, Charles R
> From: linuxChique [mailto:[EMAIL PROTECTED] > Subject: How to change docroot? > > How do I change the docroot in Tomcat? > > I'm currently serving from > /usr/local/apache-tomcat-5.5.25/webapps/ROOT > and I want to be serving from /var/www/html. Delete the webapps/ROOT directory and create the

Re: tomcat.conf JAVA_OPTS

2007-12-04 Thread Rainer Jung
c. wrote: I'm wondering what the JAVA_OPTS -Xminf0.1 and -Xmaxf0.3 are. Anyone know? Also, is there a way to start tomcat and have it spit out what JAVA_OPTS it's using? MinHeapFreeRatio and MaxHeapFreeRatio (divided by 100). This is used, in case you configure your maximum heap size differe

RE: Preventing War files from redeploying

2007-12-04 Thread primus
primus wrote: > > > > Caldarale, Charles R wrote: >> >>> From: primus [mailto:[EMAIL PROTECTED] >>> Subject: Preventing War files from redeploying >>> >>> Is it possible to have tomcat not redeploy the last >>> war and just start up with the existing files? >> >> Not redeploying from the

Re: Hundreds of Instances

2007-12-04 Thread Breno Jacinto
Hi Christopher, 2007/12/4, Christopher Schultz <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Breno, > > Breno Jacinto wrote: > > http://www.freeunix.com.br/tomcat/all-2007-12-04-after-restart.html > > It looks like your JSPs are doing a /lot/ of work: > > jsp [ *.jsp ,

Re: Hundreds of Instances

2007-12-04 Thread Breno Jacinto
Hi Christopher, > You could turn on the AccessLogValve and then simply look at the log > files. Another option would be to write your own Valve or Filter and > record the accesses yourself, but the AccessLogValve is already there. I > think it can easily be configured to emit "standard" httpd-sty

Re: Docs for POST requests encodings, was: Yet again a problem with POSTs and encodings

2007-12-04 Thread Mark Thomas
Александър Шопов wrote: > http://wiki.apache.org/tomcat/HowTo?action=diff&rev2=68&rev1=67 > http://wiki.apache.org/tomcat/HowTo#head-6a12841c323da7a0d07d9372b71079053ae830b5 Cool. Thanks for this. I have pulled this and some other encoding stuff into a new Encoding FAQ. Mark ---

RE: Split Tomcat standard out into files for each context in 5.5

2007-12-04 Thread Jason Perrone
Thanks Mark. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 12:58 PM To: Tomcat Users List Subject: Re: Split Tomcat standard out into files for each context in 5.5 Christopher Schultz wrote: > Mark, > > Mark Thomas wrote: >> Not strictl

Re: Split Tomcat standard out into files for each context in 5.5

2007-12-04 Thread Mark Thomas
Christopher Schultz wrote: > Mark, > > Mark Thomas wrote: >> Not strictly true. > >> http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > >> You want the swallowOutput parameter of the context. > > Wow, I had never seen that. How does Tomcat subvert java.lang.System.out > like that? I'

Re: OCI vs THIN

2007-12-04 Thread Breno Jacinto
Hi, I recall that I had to use OCI drivers because the THIN driver did not support XML DB capabilites. Is that still true today? cheers, -- -- :: Breno Jacinto :: :: breno - at - gprt.ufpe.br :: :: FingerPrint :: 2F15 8A61 F566 E442 8581 E3C0 EFF4 E202 74B7 7484 :: Persistir no difíci

Re: Tomcat 6.0.14 Supports HTTP DIGEST Authentication.

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > Christopher Schultz wrote: >> See above. > > Like it ;) Points for style? Always worth it. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.

How to change docroot?

2007-12-04 Thread linuxChique
How do I change the docroot in Tomcat? I need file-editing instructions, not admin interface instructions, because I do not have the admin interface installed. I'm currently serving from /usr/local/apache-tomcat-5.5.25/webapps/ROOT and I want to be serving from /var/www/html. Any help would be ap

Re: Supporting accented characters in URL with URIEncoding=UTF-8

2007-12-04 Thread Mark Thomas
Rohit Seth wrote: > 1. Added URIEncoding="UTF-8" in connector element. > 2. Modified code to set encoding for request and response. > > After these changes we are observing following behavior: > > 1. If url doesn't contain any special character, everything is fine. > 2. If url contains a latin ch

Re: How to config tomcat 5.5 to display project in sub directoryinurl

2007-12-04 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: How to config tomcat 5.5 to display project in >> sub directoryinurl >> >> Recently, I have seen that folks are referring to the Wiki. Do we have >> redundant sources of information out there? > >

Re: Tomcat 6.0.14 Supports HTTP DIGEST Authentication.

2007-12-04 Thread Mark Thomas
Christopher Schultz wrote: > See above. Like it ;) Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Yet again a problem with POSTs and encodings

2007-12-04 Thread Mark Thomas
Alexander Shopov wrote: > Hi Mark, >> You mean like the one that has been there for as long as I can remember? > Exactly the same. > I will file an enhancement request in Bugzilla for the FAQs to be > updated. Will that be the best strategy? The FAQs are now on the Wiki. I would add it there. Mar

Value can't be changed in bean extended from AbstractController of Spring

2007-12-04 Thread kkus
Hi, For the following code, I put String urlReq = "value" first and set up a breakpoint there. Then I run app in debug mode. It shows me "value" when breakpoint is reached. Then I change String urlReq = "value2" and fire http request again. When breakpoint is reached again this time urlReq still

tomcat.conf JAVA_OPTS

2007-12-04 Thread c .
I'm wondering what the JAVA_OPTS -Xminf0.1 and -Xmaxf0.3 are. Anyone know? Also, is there a way to start tomcat and have it spit out what JAVA_OPTS it's using?

Re: Hundreds of Instances

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Breno, Breno Jacinto wrote: > http://www.freeunix.com.br/tomcat/all-2007-12-04-after-restart.html It looks like your JSPs are doing a /lot/ of work: jsp [ *.jsp , *.jspx ] Processing time: 28.512 s Max time: 14843 ms Request count: 8 Error count: 0

Re: Hundreds of Instances

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Breno, Breno Jacinto wrote: > Hi Christopher, > > >>> Not really. I dont have the exact numbers, but I think we'd get at >>> most 50 users every 10 minutes = 5 users / min. I believe that´s >>> pretty low. >> Is that estimated, or measured? > >

Re: Hundreds of Instances

2007-12-04 Thread Breno Jacinto
Hi Chuck, 2007/12/3, Caldarale, Charles R <[EMAIL PROTECTED]>: > > From: Breno Jacinto [mailto:[EMAIL PROTECTED] > > Subject: Re: Hundreds of Instances > > > > when does tomcat creates a new thread, and > > when and how does it get deallocated? > > This is controlled by the maxThreads, maxSpareThr

RE: Preventing War files from redeploying

2007-12-04 Thread primus
Caldarale, Charles R wrote: > >> From: primus [mailto:[EMAIL PROTECTED] >> Subject: Preventing War files from redeploying >> >> Is it possible to have tomcat not redeploy the last >> war and just start up with the existing files? > > Not redeploying from the .war is Tomcat's normal behavior

RE: How to config tomcat 5.5 to display project in sub directoryinurl

2007-12-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: How to config tomcat 5.5 to display project in > sub directoryinurl > > Recently, I have seen that folks are referring to the Wiki. Do we have > redundant sources of information out there? Numerous, especially if you include t

Re: Hundreds of Instances

2007-12-04 Thread Breno Jacinto
Hi Christopher, > > Not really. I dont have the exact numbers, but I think we'd get at > > most 50 users every 10 minutes = 5 users / min. I believe that´s > > pretty low. > > Is that estimated, or measured? It's just estimation. BTW, is there any tool that could help me with effectively

Re: How to config tomcat 5.5 to display project in sub directoryin url

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: How to config tomcat 5.5 to display project in >> sub directoryin url >> > >> Can I nominate this as a FAQ? > >> Can I nominate this as a FAQ

RE: How to config tomcat 5.5 to display project in sub directoryin url

2007-12-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: How to config tomcat 5.5 to display project in > sub directoryin url > > Can I nominate this as a FAQ? > Can I nominate this as a FAQ answer? Fine by me. Note that the above information actually is in the doc for for both

Re: Tomcat 6.0.14 Supports HTTP DIGEST Authentication.

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See above. 罗时飞 wrote: > See above. > > Thx. > > > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVW1A9CaO5/Lv0PARAo5BAJwJr9411SaSrAFHlvVPhr0vUvVG/QCgu6s/ rZib9b

Re: How to config tomcat 5.5 to display project in sub directory in url

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Tim [mailto:[EMAIL PROTECTED] >> Subject: How to config tomcat 5.5 to display project in sub >> directory in url >> >> I tried to write context: >> >> in "\conf\Catalina\localhost\projectName.xml" but doe

Re: Split Tomcat standard out into files for each context in 5.5

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > Not strictly true. > > http://tomcat.apache.org/tomcat-6.0-doc/config/context.html > > You want the swallowOutput parameter of the context. Wow, I had never seen that. How does Tomcat subvert java.lang.System.out like tha

Re: Hundreds of Instances

2007-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Breno, Breno Jacinto wrote: >> Tomcat itself is extremely stable. This is most likely an application >> problem. Perhaps your application does well with little traffic but does >> not scale well. You got a burst of traffic and everything fell apart. ?

Supporting accented characters in URL with URIEncoding=UTF-8

2007-12-04 Thread Rohit Seth
I tried to search the issue in forum but couldn't find any solution. We need to support special characters in URL (like ます or õñü). After going through various articles we have done following changes to accomplish the same 1. Added URIEncoding="UTF-8" in connector element. 2. Modified code to se

Docs for POST requests encodings, was: Yet again a problem with POSTs and encodings

2007-12-04 Thread Александър Шопов
http://wiki.apache.org/tomcat/HowTo?action=diff&rev2=68&rev1=67 http://wiki.apache.org/tomcat/HowTo#head-6a12841c323da7a0d07d9372b71079053ae830b5 Hopefully it will be picked by search engines. Kind regards: al_shopov - To start

Re: Tomcat data source

2007-12-04 Thread Roberto Pellegrino
DataSource defined on webApp context are accessed by similar url : java:comp/env/jdbc/dataSourceName. Now. Is't possible use with a url datasource that are only defined in GlobalNamingResources (in server.xml) using the name ??? - Robert - David Smith wrote: Then you might want to incorporate

Re: Tomcat data source

2007-12-04 Thread David Smith
Then you might want to incorporate your own DBCP pool and a brief config page in your webapp. - Store config data in a properties file inside WEB-INF or somewhere else. - Use a ServletContextListener to initialize the DataSource and store it in the ServletContext. - Implement a secured jsp or s

Re: Tomcat data source

2007-12-04 Thread Roberto Pellegrino
I have a particular application who make select query and show results. The dataSource are dinamic and defined by the administrator, not know at develop time. I want to be able to use the tomcat dataSource to use the pool... - Robert - David Smith wrote: I don't think you can just define a glo

Re: Tomcat data source

2007-12-04 Thread David Smith
I don't think you can just define a global datasource and not make a reference to it in the context.xml file. --David Roberto Pellegrino wrote: Hi all, i use Tomcat *5.5.17 *my question is quite simple: it's possible to use a dataSource that are not defined on webApp context??? I define the

Tomcat data source

2007-12-04 Thread Roberto Pellegrino
Hi all, i use Tomcat *5.5.17 *my question is quite simple: it's possible to use a dataSource that are not defined on webApp context??? I define the dataSource on server.xml as follow: maxActive="100" maxIdle="30" maxWait="1" name="jdbc/DataSourceName" password="pass" type="j

Tomcat 6.0.14 Supports HTTP DIGEST Authentication?

2007-12-04 Thread 罗时飞
See above. Thx. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [Tomcat 6] jsp on the fly

2007-12-04 Thread Manca Davide
I found the right way to make it work: In $CATALINA_HOME/conf/web.xml there was the parameter development set to false so Tomcat didn't recompile on the fly my jsps. I just set it to true and it started to work! Thanks to everyone. Ciao. Dave. -Original Message- From: Manca Davide [ma