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
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
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
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
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
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...
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
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
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
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
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
Ø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
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
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
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
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
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
.
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
> 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
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
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,
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
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
23 matches
Mail list logo