Hello,
They may use RemoteIpValve to fetch "real" ip from "x-forwarded-for" and set
it to "remote_addr" where getRemoteAddr will get it.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
>-Original Mess
Hello,
I do not think destination NAT is good solution because it works on TCP
layer and knows nothing about domain names and URLs (both are application
level (http) knowledge). So you would need to use separate IP/port for
that and in case you have it you can bind tomcat there directly) So
appl
t
answers to nginx and it forwards it to you.
That is pretty common solution.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
>-Original Message-
>From: Anil Goyal -X (anigoyal - Aricent Technologies at Cisco)
>[mailto:anig
I've never heard about it but looks like JDBC PostgreSQL driver has memory
leak. What version of driver do you use? Try to google "postgre SQL JDBC
memory leak"
Actually any memory leak should be investigated using profiler tool. Google
for "java profile memory leaks"
Ilya.
>-Original Messag
>-Original Message-
>From: Tim Colletto [mailto:tcolle...@cra.com]
>Sent: Thursday, June 06, 2013 9:36 PM
>To: Tomcat Users List
>Subject: RE: Keystore error trying to use SSL JSSE
>>${user.home} I think is for linux? I tried quickly %USERPROFILE%/keystore
No, this is for Java:
http://do
Hello,
1) keystoreFile (letter F should be in upper case)
2) Use / instead of \
3) Use ${user.home} instead path (and I am not sure c:\ works, you probably
need file:///c:/ but ${user.home} is better anyway)
Ilya Kazakevich,
>-Original Message-
>From: Tim Colletto [mailto:
Hello,
I use "probe" app for several tomcats.
It's security model is based on servlet API security: security roles and
constraints are provided in web.xml and mapped for each servlet it has.
I use JNDIRealm to authenticate users via LDAP (actually AD is used).
I want to grant access to Probe on "T
Tomcat itself runs inside JVM, so you need 2 JVMs each with tomcat and your
app.
Separating apps is a good practice because of classpath issues
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
>-Original Message-
>From: S Ahmed
to the client?
Is it possible to use JMX directly over the one TCP port with out of all
that RMI stuff?
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-
To unsubscribe, e-m
>>Don't use it. Why build applications on a platform you have doubts
>>about? I think you should build all of your applications using snobol.
>>See http://en.wikipedia.org/wiki/SNOBOL for websites.
I do prefer Ook, but not sure if there are good web frameworks for it:
http://www.dangermouse.net/eso
Navigate to "Windows Service Installer" link and click it.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
Sent: Friday, December 02, 2011 10:00
http://tomcat.apache.org/download-55.cgi
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: srilaxmi deevela [mailto:deevelasrila...@gmail.com]
Sent: Friday, December 02, 2011 9:56 PM
To: users@tomcat.apache.o
>>Does the fact of having a system with a 64-bit CPU (and OS) necessarily
(or usually) imply
>>that data transfers between CPU and RAM happen also 64-bit in parallel ?
That depends on front bus width. Modern PCs has 64-bit bus AFAIK.
In "64-bit CPU" 64 is register size and nothing else (although
Just disable HTTP connector (comment it in server.xml).
You can use firewall to protect AJP port from remote clients too.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: cpanon [mailto:cpa...@yahoo.com]
Sent:
esses, there's no need for
>the overhead of 64-bit even if you have 16GiB or more.
You can run 32bit apps on 64bit windows (that's called WoW64). Processor and
Windows support it and it works pretty well.
Ilya Kazakevich,
Develope
Hello,
>As Ilya hints, you'll have to use NTLM to get this to work. IIRC, this
>requires that you use IIS with mod_jk to capture the authentication
>information and forward it over to Tomcat. If you want to be able to
>use NTLM for authentication into your webapp, you'll need to use a
>specific ty
http://www.coderanch.com/t/450781/Tomcat/Tomcat-Windows-Server-Permissions
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: Martin O'Shea [mailto:app...@dsl.pipex.com]
Sent: Wednesday, November 16,
Which file do you run? "service.bat" ?
What do you have in your event logs?
Which account do you use for service? Does it have requried rights?
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From:
should log any unsuccessful authentication).
Use tools like "wireshark / winpcap " to sniff tomcat-to-remote-machine
conversation to see what has happened
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: A
You need user ssesion to access windows station via SMB anyway.
You can set this script as "log in script" using group policies in windows
for the user your tomcat runs as.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-
Not sure Java IO supports windows UNC.
Try to do the following:
1) mount this share as disk: (in cmd type "net use z:
\\storage\share\pictures")
2) configure tomcat to work with "z:\"
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com <http://www.jetbrai
i.org/wiki/ActiveDirectoryIntegration
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: Josh Gooding [mailto:josh.good...@gmail.com]
Sent: Monday, November 14, 2011 10:19 PM
To: Tomcat Users List
Subject: Grabbing
implementation)
Servlet does not have to care about SSL/TLS. Tomcat's connector implements
it.
Please read http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html to
configure it.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message
>>A Servlet itself is always executed by
>>Tomcat (if you have ever seen the stacktraces printed by servlets).
I understand that servlet runs in tomcat's thread-pool.
>>It does not prevent Servlet form using proper logging framework, or
>>those old log() methods in Servlet API.
But when my servl
>Do you know there are ~30 different versions of 6.0.x ?
6.0.32
>What docs?
http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Console
I believe uncought exception should be printed to stderr as it does by
java.lang.ThreadGroup.uncaughtException.
That is my tomcat misconfiguration not a tom
.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Friday, November 11, 2011 8:17 PM
To: Tomcat Users List
Subject: Re: Log exception logging
2011/
engine to send me
emails and save trace to files and so on.
Thanks.
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apac
/log4j.properties
I can't put log4j directly in tomcat so all apps would use one config (and
it is not what I want).
I can't put a copy to the each .war file too because admin would not be able
to reconfigure them.
Does there is a nice solution (with out of custom code)?
Thank you.
Ilya Kazakevich,
Hello.
Http connector is able to compress data ("compress" param), right?
So, why filters like pjl-comp-filter exist?
Did anybody compare them? Any benchmarks or pitfalls?
I am asking because some people in our company uses pjl, and I do not
understand why do I need some third-party solution
Which code exactly you use to create directory?
-Original Message-
From: raga2 [mailto:ragabo...@gmail.com]
Sent: Friday, April 03, 2009 2:44 PM
To: users@tomcat.apache.org
Subject: Re: Which user executes JSP in Tomcat?
Thanks guys for the reply.
ps -aef tells me it's root running to
Which user tomcat runs at?
BTW, you do not need JSP to create directory and file. JSP is for template
tasks only. Use simple servlet instead.
-Original Message-
From: raga2 [mailto:ragabo...@gmail.com]
Sent: Friday, April 03, 2009 2:11 PM
To: users@tomcat.apache.org
Subject: Which user
You need some front-end proxy.
Apache web-server could do it.
Squid could (AFAIK).
Nginx could do it also.
-Original Message-
From: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk]
Sent: Tuesday, March 31, 2009 8:59 PM
To: users@tomcat.apache.org
Subject: redirection
Hello
I have
Use context, and IT would be able to configure your app outside of war file.
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Tuesday, March 31, 2009 2:58 PM
To: Tomcat Users List
Subject: Re: WebApp configuration
> For starters, I'd point out the jsp page compiler does this as well...
1) BTW, you do not have to use JSP.
I have a very big app, which gives XML as output.
I do not need JSP to generate XML, so I use sevlet output directly.
2) You can precompile JSP (well, you can precompile PHP too, see Zend
Number of users is not the only one thing, you need to think about, when you
are choosing technology.
PHP is a _scripting_ language with out of _static typization_,
multi-threading, full OOP support and its API is pretty weak too.
Also it is _not_ designed for servlet ideology: each request runs s
Mighty,
Here is good and small HTML tutorial, which I advice you to read:
http://www.w3schools.com/html/default.asp
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Wednesday, March 18, 2009 7:41 PM
To: Tomcat Users List
Subject: RE: Newline doesn
Install it as windows service and make sure you set it to "automatic" start
mode.
http://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html
You should also check logs (catalina.out). Maybe it starts, but stops
because of errors.
-Original Message-
From: Dharani [mailto:vishgnan
>>I used Tomcat 5.5 with multiple elements in the server.xml Now I
read that this has to be done differently in Tomcat
No, it is not.
You should have one element for every virtual host you need.
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html
-Original Message-
From: Jeroen K
Check your stdout (or catalina.out), it should have something like
org.apache.coyote.http11.Http11AprProtocol init.
Http11AprProtocol means you use APR,
Http11Protocol -- no.
-Original Message-
From: markov.ya...@neftochim.bg [mailto:markov.ya...@neftochim.bg]
Sent: Friday, March
Some proxies send client IP as "X-FORWARDER-FOR" header.
I am not sure, but probably tomcat uses it instead of REMOTE_ADDR in
getRemoteAddr()?
That is just a guess.
Kazakevich Ilya,
MCP, SCJP
-Original Message-
From: Christopher Schultz [mailt
Use profiler.
Take a look at: http://www.yourkit.com/overview/index.jsp
It is a good profiler with manual which will teach you how to use yourkit to
find memory leaks.
Kazakevich Ilya,
MCP, SCJP
-Original Message-
From: Black Friday [mailto:bf
You can use VPN than:)
But RDP (remote desktop) is better, because RPC calls used in all MMC
(management consoles) are designed for local network and work pretty slow on
the Internet.
Remote desktop connection (mstsc) is the best solution, I think.
-Original Message-
From: Laura Bartolo
Hello.
Give us:
1) Tomcat versions
2) log files (catalina and localhost)
3) URLs of these links
How do you run tomcat? What command do you use?
-Original Message-
From: koppisetty bhavani naga satish [mailto:kbnsat...@gmail.com]
Sent: Wednesday, February 25, 2009 9:46 PM
To: users@to
Hello,
I want to implement the following scenario:
Developer creates .war file, which expects all config to be in context.
He sends this file to IT guy who should create [engine]/[host]/[app].xml
with all config he need, and copy .war file to webapps. Tomcat then should
depoly this app (or re
Hi,
Web-server is a tool, which handles HTTP requests. Apache is web-server.
Microsoft IIS is web-server. Thttpd is web-server too.
Servlet-container (according to specification of servlets) is something,
that runs servlets in special environment.
Web-server may work with CGI or static pages or
45 matches
Mail list logo