RE: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Per Johnsson
Thanks. We'll remove the timeout and sync the maxthreads to the iis. And if tomcat (java/jsp) itself is reading xml from itself we should take that in account I presume or is java it going on the other connector 8080/80? /regards per jonsson -Original Message- From: Mladen Turk [mail

RE: tomcat external property file

2006-10-02 Thread ScottAnders
You can pass it as a variable in tomcat's startup.sh (unix, linux) or startup.bat (windows) in the bin directory. Modify that file and add something like this right before the last line: #Added link to external property file JAVA_OPTS='-Dmy.props.dir=/opt/tomcat/properties' export JAVA_OPTS

RE: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Per Johnsson
Hi! If I had a clear answare to that I would give you one but I don't have that :-) (If I know what the problem was I would fix it :-) It seems like the server get to many connections but the server is not running at 100% which they should if they get a loot of work. But that is just a thought,

Re: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Mladen Turk
Per Johnsson wrote: Hi! (Now own thread, sorry about the previouse stealing) Great :) worker.ajp13w.connection_pool_size=100 //from the docs: It means: The maximum number of connections from IIS to Tomcat worker.ajp13w.connection_pool_timeout=60 Comment (delete) this one. Connectio

RE: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Caldarale, Charles R
> From: Per Johnsson [mailto:[EMAIL PROTECTED] > Subject: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS > 6.0 (own thread) > > We have had some major problems today on our productions > serves with the config below. Want to give us a hint what the problems are? - Chuck THIS COMMUNICAT

Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0 (own thread)

2006-10-02 Thread Per Johnsson
Hi! (Now own thread, sorry about the previouse stealing) We have had some major problems today on our productions serves with the config below. We have had a hard time localizing the problem and therefor I ask you here if you have any comments. There seems to be a some Whe have Apache Tomc

RE: IIS 6.0 with JK 1.2.19

2006-10-02 Thread Fisher, Mitchell L
Turk, Mladen wrote: > One of the problems can be caused by the access rights for > the folder having isapi_redirect.dll > Also the IIS process must have full access rights to logs > folder. I changed security of \tomcat\bin\native & \tomcat\logs to: . IIS_WPG to Allow Full Control .

Re: Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0

2006-10-02 Thread Mladen Turk
Per Johnsson wrote: Hi! We have had some major problems today on our productions serves with the config below. We have had a hard time localizing the problem and therefor I ask you here if you have any comments. There seems to be a some Please do not steal the threads. It will never be answe

Help on settings jk 1.2.19, tomcat 5.5.12 with IIS 6.0

2006-10-02 Thread Per Johnsson
Hi! We have had some major problems today on our productions serves with the config below. We have had a hard time localizing the problem and therefor I ask you here if you have any comments. There seems to be a some Whe have Apache Tomcat 5.5.12 running Tomcat Native Java Library 1.1 (apr) An

tomcat external property file

2006-10-02 Thread yaliu07
hi. i like to have tomcat to load an external property file that i can declare some variable only local to the machine, such as image path. can anybody give me any help how to load an external property file when tomcat starts?? thanks -- View this message in context: http://www.nabble.com/tom

My web application using tomcat server sometime make my CPU goes to 100%

2006-10-02 Thread Minh Tu Thanh Tran
Dear friends, Sometime, when I click on different link in my jsp page quickly, then the tomcat server can not response to the requests anymore because the CPU goes to 100%. If I publish my website, and when it may happens again the CPU goes to 100% long enough to break down the CPU. That would b

Re: IIS and Tomcat on different physical servers

2006-10-02 Thread Mladen Turk
Øyvind Roth wrote: Windows 2000 Server SP4 (with IIS v. 5 I assume...) JK2 v. 2.0.3 Do not use JK2. It is unsupported for more then 2 years. See: http://tomcat.apache.org/connectors-doc/news/20041100.html#20041115.1 Use JK 1.2.19 instead: http://www.apache.org/dist/tomcat/tomcat-connectors/j

Re: Problem about css render in jsp frame page

2006-10-02 Thread David Smith
I'm guessing you are referring to the css as a relative path -- ie path/to/css. If the CSS file is referred to as ${pageContext.request.contextPath}/webappRel/path/to/css, it will always be found regardless of webapp context or servlet path. The browser doesn't have to guess anymore. The same goes

RE: Tomcat5.5.17 JNDI configure error

2006-10-02 Thread Propes, Barry L
should that not go in the common/lib directory? -Original Message- From: red phoenix [mailto:[EMAIL PROTECTED] Sent: Friday, September 29, 2006 8:04 PM To: Tomcat Users List Subject: Re: Tomcat5.5.17 JNDI configure error I use Oracle9i,so I put oracle\ora90\jdbc\lib\classes12.jar file in

RE: Problem about css render in jsp frame page

2006-10-02 Thread Propes, Barry L
I've encountered similar problems with a session variable hitting a servlet then calling a JSP page. I accounted for it by making two CSS paths -- one for the regular, initial JSP and then a second for the calling JSP from the servlet. Not what I wanted to do, but it did work ok. -Original

RE: IIS and Tomcat on different physical servers

2006-10-02 Thread Propes, Barry L
I don't think you can do it that way, Oyvind. Is there a reason you don't have Tomcat running on the IIS server? You might try changing the port configuration in the server.xml file from port 8080 to port 80 then try it. -Original Message- From: Øyvind Roth [mailto:[EMAIL PROTECTED] Sent

configurations for as LDAP JNDI resource

2006-10-02 Thread Qiao Xin
Hi, I found out there are samples for jdbc and javamail as JNDI data sources in the webpage. I need to use LDAP as well as JDBC as JNDI data sources. Are the parameters(usernamem, password, driverClassName,url, etc) the same for LDAP? Can anybody give me a sample code? I am not sure say what is

Classloader hierarchy viewer?

2006-10-02 Thread Timothy Collett
Greetings. Does anyone know of a tool that can be used to show all the classes available at each level of the classloader hierarchy? I have been having various problems with classes not being available in the right places, and such a tool would be extremely useful in troubleshooting...

Tomcat 5.5 problem with JRE 1.5 (Xalan and jstl 1.1 problem with transformer)

2006-10-02 Thread Valeria Pesce
Hello everyone, I hope someone in this list can help me with this. I developed a simple XML based document repository using JSTL xml tags 1.0 under Tomcat 4.0. Now I am trying to do the same with Tomcat 5.5.12 using JSTL 1.1 but I keep receiving an error message about the instantiation of the tra

extending JDBCRealm

2006-10-02 Thread Magnus Bergman
Hi, I'm using the JDBCRealm to authorize users to access my applications. I would like to "log" users when they login or tries to login to any application on my tomcat, to do this I have extended the JDBCRealm and overridden the authenticate-methods, by this I can log when and which user login

IIS and Tomcat on different physical servers

2006-10-02 Thread Øyvind Roth
I am trying to get IIS and Tomcat to communicate on two different machines. With no luck. It seems like almost all questions on the web regarding IIS/Tomcat asssume the two servers run on the same machine. In my case, not. On Server1: Windows 2000 Server SP4 (with IIS v. 5 I assume...) JK2

Re: Tomcat 4.1 with MS SQL2005

2006-10-02 Thread Piero Cavalieri
There are new drivers for SQL2005 here: http://msdn.microsoft.com/data/ref/jdbc/ In the package there are some samples applications and detailed instructions. Connection string should like: jdbc:sqlserver://localhost:1433; databaseName=AdventureWorks;user=UserName;password=* But if you

Re: threads, performance, and exceptions

2006-10-02 Thread Leon Rosenberg
Hmm, I would suggest you stop having continuos connections. 30 seconds is a lot of time, maybe you should re-establish connections on request. I know re-establishing costs 3 additional tcp packets, but it negligible since you have small packets sent seldomly. I assume your chat is an applet, since