- Original Message -
From: nlif [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, October 23, 2008 4:56 PM
Subject: How to serve two docBases under the same context path
Hi all,
I am using Tomcat 6, and I have the following problem:
I am trying to separate the static
Hi Tomcat gurus,
The question I have is rather philosophical and not really technical
(I'm evaluating Tomcat 6 integration into OpenSolaris).
While compiling Tomcat 6.0.16 it requires:
Apache Commons Daemon
Apache Commons Collections
Apache Commons DBCP
Apache Commons Pool
But after
Petr Sumbera schrieb:
Hi Tomcat gurus,
The question I have is rather philosophical and not really technical
(I'm evaluating Tomcat 6 integration into OpenSolaris).
While compiling Tomcat 6.0.16 it requires:
Apache Commons Daemon
Apache Commons Collections
Apache Commons DBCP
Apache
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
I have developped a web application on Tomcat (5.0.28).
My webapp use Hibernate 3 and i have a Singleton pattern too.
I want have my webapp deployed N time in same Tomcat Server.
But i don't want to share context, hibernate and Singleton
Hi Jerome.
If you save everything that is specific to the context in that context, they
operate as separate.
Regards,
Serge Fonville
On Fri, Oct 24, 2008 at 12:02 PM, Jerome Lepage - AKEROZ
[EMAIL PROTECTED] wrote:
Hi, Thanks for quick answers
My app is a Cms
The sources, wars, deploy
Hi, Thanks to you too for your answers.
Have you tried just deploying it N times, making sure all the jars are in
WEB-INF/lib?
Each webapp should get its own classloader, and hence will have its own copies
of Hibernate and your singleton. I *think* they'll have different contexts,
too,
Hi Folks!
What is the best way for an administrator to tell
Tomcat (or maybe tell a specific servlet) to
temporarily stop accepting new requests for a running
servlet?
I'm thinking of a scheme like this: I put code in the
servlet doGet()/doPost() processing block of the
servlet and have it
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
But when i launch tomcat with this env vars :
JAVA_OPTS=-XX:MaxPermSize=512m -Xms24m -Xmx512m
Well, yes :-). That should give you enough perm space.
Tomcat looks like not really care about the memory i grant to JVM.
It's seems that
Hi All,
I just wanted to know if I can first obfuscate my
selvlet
with ProGuard before I deploy it in Tomcat
environment.
Will doing this really protect my servlet and make it
really difficult for someone to reverse engineer or
decompile it, as people seem to say?
Thank you.
Jeng
First a few questions;
What does the app do
Do the deployed applications differ
What is the reason you want them separate
Do they share anything, reaml,db,files,
Do you need to be able to update them easily (all in one go)
How do you intend to deploy them, war, copy, remote
Is it an option to
Hi @ll,
I have developped a web application on Tomcat (5.0.28).
My webapp use Hibernate 3 and i have a Singleton pattern too.
I want have my webapp deployed N time in same Tomcat Server.
But i don't want to share context, hibernate and Singleton from one webapp to
other.
(Like database access
Hi, Thanks for quick answers
My app is a Cms
The sources, wars, deploy method is the same.
Only a Environement String (pointing to a specific config dir) is différent
with Context.
I don't want to they share anything at all, because is not same customers for
each context.
So for security
From: Jeng Yu [mailto:[EMAIL PROTECTED]
I just wanted to know if I can first obfuscate my
selvlet
with ProGuard before I deploy it in Tomcat
environment.
As long as ProGuard doesn't hack around with the servlet interface calls, you
should have no problem. However, I've never tried.
Will
I'd suggesting implementing a filter.
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/Filter.html
Ronald.
Op vrijdag, 24 oktober 2008 om 12:21 uur schreef Tomcat Users List
users@tomcat.apache.org:
Subject: Suspending Servlet Request Acceptance?
Date: Fri Oct 24 12:21:31
Hi,
Obfuscation makes it harder to reverse engineer your code, nothing more.
If your code is of interest, there a people who can reverse engineer it.
If you want to make sure people can't read your code.
Use a wrapper to encrypt it and decrypt it through a value you can provide
through the
What is the risk?
Do you deploy it in your own Tomcat environment where only you have access or
do you distribute your class files?
Ronald.
Op vrijdag, 24 oktober 2008 om 12:28 uur schreef Tomcat Users List
users@tomcat.apache.org:
Subject: Obfuscating a Servlet
Date: Fri Oct 24 12:28:50
If someone can get your .class file - someone can reverse engineer it.
Obfuscating will slow someone down, not prevent.
If people only have access via web browser, then only server side code
is being executed and people can never see your binaries on your server
so the only way to reverse
Hello,
I'm trying to use JavaMail and the necessary libraries are in the
WEB-INF/lib of my application. It works fine in my development
environment. However, the problem is that after it is installed in the
production environment and tries to send an email, it always throws
Rainer Jung-3 wrote:
Commons collections seems to be a relict and not really used.
DBCP and pool is contained in tomcat-dbcp.jar. We ranem the packages in
order to make to dbcp and pool classes independant of any webapp bundled
dbcp or pool versions.
And what about Eclipse JDT Runtime
PetrS schrieb:
Rainer Jung-3 wrote:
And what about Eclipse JDT Runtime Binary? Are these also renamed into
jasper-jdt.jar? The same reason?
Here it's slightly different: The jar file used to include JDT is named
non-standard, but the classes contained in it still have the original
Hi,
I have Tomcat installed on a server that already has Default Website
configured for other use and I cannot use
it to redirect to Tomcat. So I created another website that should listen to
port 80 and authenticate users via AD authentication.
After authentication it should redirect requests
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED]
Subject: How can I use a class in javax package from the jar
file in WEB-INF/libinstead of the one in common/lib.
it must be designed to work in any Tomcat server
with default Tomcat libraries and the server admin
also said he has to keep
Kevin SeongHyun Lee wrote:
Hello,
I'm trying to use JavaMail and the necessary libraries are in the
WEB-INF/lib of my application. It works fine in my development
environment. However, the problem is that after it is installed in the
production environment and tries to send an email, it
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Subject: RE: Question about Tomcat context
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
JAVA_OPTS=-XX:MaxPermSize=512m -Xms24m -Xmx512m
For server environments, you usually want to set Xms to the same value as Xmx
to avoid heap
Dear TomCat community,
I need to your advice and I appreciate it very much. We are porting Sun
J2SE to our platform and would like to know if TomCat can run on J2SE.
Will Tomcat run with J2SE or does it require J2EE?
I appreciate your input here.
Thank you,
Bose
That depends on the all important version of tomcat you are using.
Versions 5.5.x and 6.0.x at least should run on a j2se no problem.
--David
Ghanta, Bose wrote:
Dear TomCat community,
I need to your advice and I appreciate it very much. We are porting Sun
J2SE to our platform and would
From: Ghanta, Bose [mailto:[EMAIL PROTECTED]
Will Tomcat run with J2SE or does it require J2EE?
The ones I have here run just fine on J2SE.
- Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Dear Peter Crowther and David Smith,
Thank you very much for your prompt response and I very much appreciate
it. You both assured me that TomCat would run fine on J2SE.
Have a nice weekend!
Thank you,
Bose
-Original Message-
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Sent: Friday,
Mikko,
Please elaborate what you mean by doesn't work? Errors or IIS 404 or
Tomcat Errors?
Multiple sites - is it multiple Tomcat instances or 1 Tomcat instance
with multiple apps?
Mikko Pukki wrote:
Hi,
I have Tomcat installed on a server that already has Default Website
configured for
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Subject: RE: TomCat question
From: Ghanta, Bose [mailto:[EMAIL PROTECTED]
Will Tomcat run with J2SE or does it require J2EE?
The ones I have here run just fine on J2SE.
Tomcat must be run on J2SE, not J2EE. The J2EE download includes jars
I am installing Tomcat 5.5.27 on Windows XP as the servlet container for
a Spring MVC app we will be hosting. I have installed many older
versions of Tomcat with no problems but I'm stuck on this installation.
In older Tomat versions when an application is started, in my case a
Spring based
Thanks Chuck for your reply.
Well, that javamail.jar in the common/lib is, as far as I know, from the
repository of the Linux server.
Yeah, I think so too. I may need to provide to or I can simply document it
so the client can know what to do.
Regards,
Kevin
2008/10/25 Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED]
Subject: Re: TomCat question
That depends on the all important version of tomcat you are using.
Versions 5.5.x and 6.0.x at least should run on a j2se no problem.
I think you're confusing the OP's question with the more typical one about JRE
vs
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED]
Subject: Re: How can I use a class in javax package from the
jar file in WEB-INF/libinstead of the one in common/lib.
Well, that javamail.jar in the common/lib is, as far as I
know, from the repository of the Linux server.
Hence my comment
Thank you P for your reply.
Well, it sounds weird, doesn't it? :D
It's indeed not a company but a university so the application is running on
the server at the uni. However, the application development is funded by
some other organisation. :)
We are now offering the service of the application
Yeah, absolutely. :)
Well, they have their policy though. So I have to respect that.
Thanks Chuck.
Regards,
Kevin
2008/10/25 Caldarale, Charles R [EMAIL PROTECTED]
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED]
Subject: Re: How can I use a class in javax package from the
jar file
Good Point..
be aware there exists a predefined connection limit (I believe of 10) to quote
Mladen
Just like Apache Web server for Windows, Microsoft IIS maintains
a separate child process and thread pool for serving concurrent client
connections. For non server products like Windows 2000
Generally handled by level= which specifies how much logging is requested from
common/classes/logging.properties
e.g.
1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix =
Martin, read the OP's information?
From: Martin Gainty [mailto:[EMAIL PROTECTED]
[...]
For non server products like Windows 2000 Professional or
Windows XP the number of concurrent connections is limited to 10
[...]
Mikko Pukki wrote:
System is Windows Server 2003
That's a server
Suppose I have 1 webapp named code-stuff that sits in my webapps
directory. Now lets say i set up 2 subdomains of my website, foo.mysite.comand
bar.mysite.com and each have an context that points to code-stuff. Will
code in these two contexts be visible to each other? I know Tomcat copies
to
Mikko Pukki schrieb:
Hi,
I have Tomcat installed on a server that already has Default Website
configured for other use and I cannot use
it to redirect to Tomcat. So I created another website that should listen to
port 80 and authenticate users via AD authentication.
After authentication
Unless specifically coded to do so, no thread can talk to another by default
since there is no way of talking to another instance with an unknown name or
identifier
On Fri, Oct 24, 2008 at 7:09 PM, Jonathan Mast
[EMAIL PROTECTED]wrote:
Suppose I have 1 webapp named code-stuff that sits in my
OK, thats what I thought. The problem that I'm worried about is how a
certain class in my webapp is going to behave when 2 instances are of it are
running.
I have a class called MultiLogger I use like this:
MultiLogger logger = MultiLogger.getInstance(com.mysite.stuff.foo.log);
We plan to tag Tomcat connectors (mod_jk and isapi/nsapi redirector) on
Sunday. If there are any more test results and observed problems. please
let us know.
I just updated the sources on
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source
to the most recent revision (r707693), and
I am initiating client ssl in my webapp by requesting attr
org.apache.coyote.request.X509Certificate
User is prompted for the client cert at the browser and logs in just fine.
When the user logs out, we invalidate the Http session.
However, when the user tries to access another protected
From: atul [mailto:[EMAIL PROTECTED]
Subject: Force getting Client Cert from browser
Tomcat never initiates ssl renegotiation - probably because
it hangs onto sslsocket and sslsession object for performance.
No - it's because the *browser* uses the same sessionid and connection.
Nothing
From: Jonathan Mast [mailto:[EMAIL PROTECTED]
Subject: Re: Are multiple contexts of the same code code base
visible to each other?
The problem that I'm worried about is how a certain
class in my webapp is going to behave when 2 instances
are of it are running.
Each webapp has its own
From: Wm.A.Stafford [mailto:[EMAIL PROTECTED]
Subject: Tomcat 5.5 logging confusion
I am installing Tomcat 5.5.27 on Windows XP as the servlet
container for a Spring MVC app we will be hosting.
Are you running Tomcat as a service or from the command line? I'd recommend
doing it from the
Chuck, Thanks for your prompt response.
Invalidate the session after every request - but only if you really want to
annoy your users.
which session ? Is there somehow I can invalidate SSLSession ?
I tried invalidating httpsession but that didnt work.
I put a trace to make sure that browser
Chuck,
Thanks for the advise, I fixed the problem. IT was definitely related to
the way contexts were defined and not to the servlet mappings. Some of
your replies to older postings helped me figure out the problem.
As a solution, I put the context files for the applications in
From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat 6 and subdirectories
I had to remove the appBase attribute from the host definition
and provide an absolute path in the context's docBase.
That's not right. Each Host should have an appBase; you just need to insure
that
OK, I will put the appBase back in the host.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 3:38 PM
To: Tomcat Users List
Subject: RE: tomcat 6 and subdirectories
From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
Subject: RE:
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED]
Subject: Re: How can I use a class in javax package from the
jar file in WEB-INF/lib instead of the one in common/lib.
I believe, if a class is in java or javax package it might not
be loaded from the libraries in the WEB-INF/lib directory
First of all, thanks to Martin and Chuck for the replies to my original
question about Tomcat 5.5 logging.
To reiterate: I've installed Tomcat5.5.27 on Windows XP as a stand alone
(not service) server and I do not see any of the logged info that I
would expect when I start Tomcat. At the
Wm.A.Stafford wrote:
First of all, thanks to Martin and Chuck for the replies to my original
question about Tomcat 5.5 logging.
To reiterate: I've installed Tomcat5.5.27 on Windows XP as a stand alone
(not service) server and I do not see any of the logged info that I
would expect when I
I tried sending a http (using http/1.1) Connection: close header on the
response which didnt work either...sigh.
From: atul [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 24, 2008 2:03:20 PM
Subject: Re: Force getting
Hey, Chuck.
Thanks :D
I read that tomcat doc as well yet missed that. I probably didn't really pay
attention. :( Thank you. :)
Yeah, I think you're right. After I said common/lib one is loaded first, I
found something weird. Even if it is loaded first, I believe, it should work
as both
From: Kevin SeongHyun Lee [mailto:[EMAIL PROTECTED]
Subject: Re: How can I use a class in javax package from the
jar file in WEB-INF/lib instead of the one in common/lib.
Even if it is loaded first, I believe, it should work
as both libraries are the same javamail
What frequently happens is
58 matches
Mail list logo