Re: multiple service tags in server.xml

2006-04-20 Thread Bill Barker
"Rumpa Giri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am going through the the documentation on configuring tomcat, and it >mentions that in the server.xml I can have multiple service tags with >different connectors. > > Under what kind of circumstances, is this kind of co

Re: maxProcessor attribute question

2006-04-20 Thread Bill Barker
"Rumpa Giri" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I had 2 questions regarding tomcat configuration: > > 1) We are currently trying to reconfigure our IIS to point to the tomcats > as follows: > > We will have 4 web servers. And 3 app servers each running 4 tomcat > insta

Re: server.xml question on Tag (ignore the question)

2006-04-20 Thread Rumpa Giri
Ignore the question, found the answer reading docs. Our tomcat instances did not open the http port only uses the Coyote/JK2 AJP 1.3 Connector. Thanks, Rumpa Giri Rumpa Giri <[EMAIL PROTECTED]> wrote: Hello, While configuring tomcat can I do the following in the server.xml? In the current ser

multiple service tags in server.xml

2006-04-20 Thread Rumpa Giri
I am going through the the documentation on configuring tomcat, and it mentions that in the server.xml I can have multiple service tags with different connectors. Under what kind of circumstances, is this kind of configuration useful? having multiple each with different connector port conifgur

Re: multiple service tags in server.xml

2006-04-20 Thread Rumpa Giri
I am new to this forum, it won't happen again. Thanks for reminding me. Thanks again, Rumpa Giri Mark Thomas <[EMAIL PROTECTED]> wrote: When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many

Re: multiple service tags in server.xml

2006-04-20 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Th

Re: server.xml question on Tag

2006-04-20 Thread Mark Thomas
Rumpa Giri wrote: I believe the intention was to create only the AJP connector, so doing the following should suffice right? Yep, this is fine if you only want access through IIS. enableLookups="false" redirectPort="8443" debug="0" protocol="AJP/1.3" />

maxProcessor attribute question

2006-04-20 Thread Rumpa Giri
I had 2 questions regarding tomcat configuration: 1) We are currently trying to reconfigure our IIS to point to the tomcats as follows: We will have 4 web servers. And 3 app servers each running 4 tomcat instance each configured to only have AJP connectors. In total 12 tomcat instance running

Re: Tomcat clustering session data

2006-04-20 Thread Len Popp
I'm starting to look at a similar problem. Where can I find info about the Tomcat Tribes module? -- Len On 4/20/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: > In tomcat 6, maybe 5.5.x we will have a ReplicatedContext, meaning that > the context attributes are replicated. > So you can sto

Re: server.xml question on Tag

2006-04-20 Thread Rumpa Giri
I am trying to understand our existing configuration. On our production servers, we use IIS as webserver, and I think we disabled the http connector by putting the extra protocol attribute right in the http connector tag. Thats why so many attributes. I believe the intention was to create only

multiple service tags in server.xml

2006-04-20 Thread Rumpa Giri
I am going through the the documentation on configuring tomcat, and it mentions that in the server.xml I can have multiple service tags with different connectors. Under what kind of circumstances, is this kind of configuration useful? having multiple each with different connector port conifgur

Re: server.xml question on Tag

2006-04-20 Thread Mark Thomas
Rumpa Giri wrote: Hello, While configuring tomcat can I do the following in the server.xml? Probably not. What are you trying to achieve? What you have done is to create a AJP connector with a bunch of attributes it doesn't understand and will therefore ignore. Mark

Properties file problem

2006-04-20 Thread VIKASS NAGPAL
Hi All, I have a problem here. I have Pproperties file. It has the following code: File f = new File(propertyFolder); if (!f.exists()) f.mkdir(); f = new File(propertyFolder + System.getProperty("file.separator") + propertyFileName); if (!f.exists()) { String s = ((this.getClass().getResource(

server.xml question on Tag

2006-04-20 Thread Rumpa Giri
Hello, While configuring tomcat can I do the following in the server.xml? In the current server.xml the following is present : >> snipped from server.xml >> end snippet Can I merge them together in one Connector tag like following? We are

Re: Make my Session Variable j_username Persist

2006-04-20 Thread Mark Thomas
Any reason you can't just use getRemoteUser() when you need the user name? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat cache

2006-04-20 Thread Mark Thomas
Jonathan Pare wrote: > Hi guys, another question: > > is there some kind of cache in Tomcat that I have to manually clean up ? > Here's what I did: I replaced the default index.jsp welcome page in > webapps/root/ (the one that says the server is up and running...) with a page > of my own who ac

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

2006-04-20 Thread Rolf Schumacher
David Smith wrote: I would say no. This is an issue for build management, not tomcat. May I suggest you put together a short script that explodes the war, replaces the web.xml, and then re-zips the webapp back to a war. The whole thing could easily be done with a shell script or batch file -

RE: more trouble with 5.5.16+

2006-04-20 Thread Corey Kaiser
Thanks, I've been over the changelog myself. While the changes are "nearly non existent", there are in fact changes to Jasper. While I'm not ruling out a configuration issue, I've spent a fair amount of time making sure that my setup is correct. The issue boils down to, with the exact same fairly s

Re: Setting up to use 443

2006-04-20 Thread Dhaval Patel
Hi, Couple of things: 1) Make sure you change 8443 to 443 on all places in server.xml (there are 2 places.) 2) Make sure that no other service running on 443 port. This way Tomcat can use that port. 3) What tomcat version you are running? Do you want to use APR? Now I dont know which version

Re: Tomcat clustering session data

2006-04-20 Thread Filip Hanik - Dev Lists
In tomcat 6, maybe 5.5.x we will have a ReplicatedContext, meaning that the context attributes are replicated. So you can store data in the ServletContext and it will be available on the other nodes. In your situation right now, you can use the Tomcat "Tribes" module for communicating between

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Gustavo Noronha
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 > case the java virtual machine). The sun java machine has the behaviour > to dump a full stacktrace of all it's threads when it receive this. Of > course you won't

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Gustavo Noronha
2006/4/20, Leon Rosenberg <[EMAIL PROTECTED]>: > > do you see those often? The developers tell me that this is part of a process that generates an XML file that goes in a new clob column of the database. They are running a batch process during the night that is generating the XML for each of the

Re: Setting up to use 443

2006-04-20 Thread David Shaw
Nothing shows up on the logs. On Mozilla, this alert is displayed - "The connection to localhost has terminated unexpectedly. Some data may have been transferred." Not sure what data you want from TCPView, but accessing https shows a TIME_WAIT state for that process when it is using port 443

Make my Session Variable j_username Persist

2006-04-20 Thread VIKASS NAGPAL
Hi All, I have a problem here. I have Signon.jsp page. In the Action of Form element of this page I am pointing to the InitServlet. This InitServlet uses the Request.getparamater(j_username) and puts this j_username into Session using session.setattribute. Now it is very must for me to make j_user

Tomcat clustering session data

2006-04-20 Thread erich.oliphant
Hi, I have a situation that requires some information be shared across a cluster. The issue is that the classes that manage this info are not particular to a given session but global to the application such that at session on all servers in the cluster would need to read/write to these classes.

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread David Delbecq
Gustavo Noronha a écrit : > >Any hints on how to associate a thread with an OS PID? Or any other way of >identifying what thread is the culprit? I have played with the kill -3 >feature, but didn't get very far investigating the output. =( > >Thanks! > > > the kill -3 send a signal, that is you m

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Leon Rosenberg
do you see those often? Leon "http-8080-Processor56" daemon prio=1 tid=0x0834f0a8 nid=0x598c runnable [0x7059d000..0x7059e5c0] at java.util.HashMap.hash(HashMap.java:264) at java.util.HashMap.get(HashMap.java:320) at java.util.Collections$SynchronizedMap.get(Collections.java:1979) - l

Re: exception in jspc with 5.5.16

2006-04-20 Thread Leon Rosenberg
I found that same issue was discussed by Allistair and Remy in 2005 with 5.5.11, and haven't been resolved : http://mail-archives.apache.org/mod_mbox/tomcat-users/200508.mbox/[EMAIL PROTECTED] Seems that jspc is broken? Leon On 4/20/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > no environm

Re: servlet mapping request

2006-04-20 Thread David Rush
I've got the example invoker servlet stuff uncommented from conf/web.xml, and have restarted Tomcat, but am unable to get a simple test servlet to function. The test servlet class file (SimpleServlet.class) file is under WEB-INF/classes/SimpleServlet.class. A simple HTML file located in the

Summary: Cannot load files from a SMB share into Tomcat 5.5.12

2006-04-20 Thread Goerke, Michael
Hi, The problem was caused by symbolic links used to address the SMBshare directory. Thanks for replying, MG > -Original Message- > From: Goerke, Michael > Sent: Wednesday, 19 April, 2006 15:40 > To: Tomcat Users List > Subject: RE: Cannot load files from a SMB share into Tomcat 5.5.12

RE: Question About Garbage Collector Logging in Tomcat5.5 on Windows

2006-04-20 Thread John Powers
I don't know about editing the registry, but as a service, can't you use the java tab in the tomcat settings? That's where we put our details. -Original Message- From: Farid Izem [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 9:39 AM To: Tomcat Users List Subject: Question Abo

Question About Garbage Collector Logging in Tomcat5.5 on Windows

2006-04-20 Thread Farid Izem
Hi, i'm using tomcat 5.5 on Windows 2003. I'd like to specify GC Logging in the Java Options such as -Xloggc:gc_log_file.txt -XX:+PrintGCDetails -XX:+PrintGCTimeStamps) How do i specify them in the Windows Registry as we start Tomcat as a Windows Service ? Kind Regards, Farid.

RE: Tomcat cache

2006-04-20 Thread Caldarale, Charles R
> From: Jonathan Pare [mailto:[EMAIL PROTECTED] > Subject: Tomcat cache > > Here's what I did: I replaced the default index.jsp welcome > page in webapps/root/ I hope you used webapps/ROOT, not webapps/root. > Then I wanted to put the default welcome page back but > it's still my own page who

RE: redirecting administration page to another webapp

2006-04-20 Thread Caldarale, Charles R
> From: rtsen [mailto:[EMAIL PROTECTED] > Subject: redirecting administration page to another webapp > > However, if the user just entered this: > http://mypage.com:8080/ > He'll get directed to the Administration page. Sounds like your directory setup is different from what Tomcat expects. You

RE: Trouble building JK Connector for Win32 from source

2006-04-20 Thread Derrick Koes
Moving the Directories up works great! Thanks again Mladen. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 2:08 AM To: Tomcat Users List Subject: Re: Trouble building JK Connector for Win32 from source Derrick Koes wrote: > Ah yes, I seem

Re: exception in jspc with 5.5.16

2006-04-20 Thread Leon Rosenberg
no environment. just calling from bash on a debian machine: $ java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) $ echo $JAVA_HOME /usr/local/java/ which is lrwxr-xr-x 1 root sta

Re: exception in jspc with 5.5.16

2006-04-20 Thread Marc Farrow
What ide are you using? If you set a property at the start of the build script that sets java.home to your SDK, then it should use that. I know in NetBeans that properties are immutable, so once set they will not be set again. I am not sure about other environments, but I would guess this is a f

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Leon Rosenberg
could you attach the thread dump? Leon On 4/20/06, Gustavo Noronha <[EMAIL PROTECTED]> wrote: > 2006/4/20, opensta <[EMAIL PROTECTED]>: > > > > > > Just Type kill -QUIT command you will get the thread dump > > in > > catalina.out file of tomcat log folder > > > > u can identify the ur thread whic

Re: exception in jspc with 5.5.16

2006-04-20 Thread Leon Rosenberg
On 4/20/06, Marc Farrow <[EMAIL PROTECTED]> wrote: > jsp: > [echo] /home/frs/test_web_tomcat > [echo] /usr/local/jdk1.5.0_06_32bit/jre > [echo] /usr/local/jdk1.5.0_06_32bit/jre > [echo] Generating java files out of root jsps > [jasper2] java.lang.IllegalStateException: No Java compi

Re: Java process segfaulting and using 100% CPU

2006-04-20 Thread Gustavo Noronha
2006/4/20, opensta <[EMAIL PROTECTED]>: > > > Just Type kill -QUIT command you will get the thread dump > in > catalina.out file of tomcat log folder > > u can identify the ur thread which are culprit from that Like I said in a previous email, I know about dumping thread information, but I am un

Re: exception in jspc with 5.5.16

2006-04-20 Thread Marc Farrow
jsp: [echo] /home/frs/test_web_tomcat [echo] /usr/local/jdk1.5.0_06_32bit/jre [echo] /usr/local/jdk1.5.0_06_32bit/jre [echo] Generating java files out of root jsps [jasper2] java.lang.IllegalStateException: No Java compiler available This looks like your "compiler" is pointing to a

Re: [OT] A question on webapp building with ant with respect to changing property values in context.xml for non-local deployments only

2006-04-20 Thread Marc Farrow
This is probably not the answer you are looking for, but we have a similar situation here and this is how we have it managed. Each programmer has his/her own instance of Tomcat5.5.9 (actually through NetBeans). We put all our Resources (Data Resources) in the Global area. We then add all the reso

Tomcat cache

2006-04-20 Thread Jonathan Pare
Hi guys, another question: is there some kind of cache in Tomcat that I have to manually clean up ? Here's what I did: I replaced the default index.jsp welcome page in webapps/root/ (the one that says the server is up and running...) with a page of my own who access a MySql table and output its

Re: redirecting administration page to another webapp

2006-04-20 Thread Marc Farrow
Easiest way is to put a redirect (either javascript document.location or meta-refresh) in your index.html/index.jsp page in your ROOT folder. On 4/20/06, rtsen <[EMAIL PROTECTED]> wrote: > > Hi, new to the tomcat environment. > I have created a small webapp to show my photos to my friends. > Let'

Access server from outside

2006-04-20 Thread Jonathan Pare
Hi, Why can't I access my websites from outside my network ? On the computer running the server everything's fine: I can access via - http://localhost/ - http://[myipaddress]/ - http://[mydyndnsservice.com]/ But when I try from work, the page never loads. I'm using Ubuntu 5.10, Tomcat 5.5.16

Re: CMS and JAAS

2006-04-20 Thread Chapoor Chapoor
Thanks guys, I want to do my own authentication (in this case using JAAS) because the available once are not sufficient. The requirement are so, and I cant go deep in those. So the basic, form, client-cert are not OK to use for authentication. That is why I do my own servlet/filter that will call

Re: Tomcat releases

2006-04-20 Thread Tim Funk
5.5.17 was called beta because it needed to be called something. It could also be called alpha, moe, larry, or curly too. But it can't quite be called stable. But it CAN be called stable once some time (typically a few days) go by and the Release Manager calls for a vote on stability of the re

RE: CMS and JAAS

2006-04-20 Thread Tim Lucia
Why do you wish to do this? Perhaps elaborating on the " exchange with the user in a front filter" bit will get you a more satisfactory answer? Tim -Original Message- From: Chapoor Chapoor [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 4:34 AM To: Tomcat Users List Subject: Re

Re: more trouble with 5.5.16+

2006-04-20 Thread Remy Maucherat
On 4/19/06, Corey Kaiser <[EMAIL PROTECTED]> wrote: > 5.5.17 beta exhibits all of the same issues as 5.5.16. > 5.5.12 works just as great as 5.5.15. The differences between 5.5.15 and 5.5.16+ are fairly safe looking bugfixes (especially in Jasper, the changes are nearly non existent). IMO, you are

exception in jspc with 5.5.16

2006-04-20 Thread Leon Rosenberg
Hi, in our deployment scripts we precompile jsps for live deployment. However, we are in the process of switching from 5.0.x to 5.5.16 and the precompilation fails. I've searched the net and checked the 5.5 docs but haven't found any hints. Here's the exception: [EMAIL PROTECTED]:~/bin/testsyste

[OT] A question on webapp building with ant with respect to changing property values in context.xml for non-local deployments only

2006-04-20 Thread Allistair Crossley
Hi All, Apologies for the OT, but I hoped I could source some expertise :) Our development environment looks a bit like this: VSS | Eclipse | LOCAL | STAGING | PRE-LIVE | LIVE1/LIVE2 | == | | DEV1 | | |

Re: Shuttind down an embedded server does not clean up properly.

2006-04-20 Thread Dawid Weiss
Ok, it took me a while, but I eventually got it working -- maybe it'll help someone. Indeed the problem is related to a left-over stale connector. If you have a keep alive TCP connection then even shutting down the entire engine leaves the connection open and active. I suppose this should be

Re: CMS and JAAS

2006-04-20 Thread Chapoor Chapoor
Thanks Rolf, but it is not what I m looking for. The major difference in my structure is that I want do authentication manually (like from a servlet/filter to call Jaas, I dont want to use basic, form, cert methods) and in some way notify the container with credentials (so the authorization can be

Re: CMS and JAAS

2006-04-20 Thread mailinglist
The JSPWiki team has done something into the same direction. I tested the deployment of Andrews implementation and collected a checklist. It's not exactly what you are asking for but it could help to inspire you where look for errors. http://wiki.jcrud.org/jcrud/Wiki.jsp?page=ChecklistForContainer

Re: CMS and JAAS

2006-04-20 Thread Chapoor Chapoor
It is strange that it is so quiet about this issue. I can't be the only one who gets affected, many projects must have come across this. Thank you On 4/18/06, Chapoor Chapoor <[EMAIL PROTECTED]> wrote: > > Hi, > > I m stucked in a security authentication/authorization issue, which I hope > you