Hello, I have searched the list archives before asking this, and found that
other people posted the same question during the last years, without
receiving an answer to solve the problem.
I wonder if latest Tomcat version supports some level of truststore
reloading. If not, it looks like a dead-en
Hi thanks all you guys' comments. I agree with Filip's words that we should
spend more time on doing statis secure analysis, codes refine and bug fixing
instead of building a castle.
Thanks Kristian but unfortunately it is not that possible to persuade my
boss accept your suggestion.
Thanks Davi
Caldarale, Charles R wrote:
> [Note for Mark T:]
> If you're running on Windows, there's a bug in the Tomcat 6.0.13
> setclasspath.bat script which checks for tools.jar in the wrong place.
> You'll need to include the tools.jar location explicitly in your
> CLASSPATH environment variable. (The pro
Pedro Barragan wrote:
> Hi everyone, I wonder if you could tell me Where I´ll be able to find the
> Tomcat Web Server Administration Tool for Tomcat 6.X, because I was
> looking
> for it through the whole Tomcat site, for a lot of websites, and I wasn´t
> able to find it anywhere; I hope you could
CORRECTION: In step 5, I mean and NOT .
-Original Message-
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED]
Sent: Friday, June 08, 2007 4:41 PM
To: Tomcat Users List
Subject: RE: Using Javac instead of JDT to compile JSPs
I have been successfully using something other than Jasper
I have been successfully using something other than Jasper in my
development enviroment.
This is what I did:
1) Remove jasper-compiler-jdt.jar from /common/lib
2) Add /lib/tools.jar in /common/lib
3) Add ant.jar also to /common/lib. The ant.jat that was
compatible with
Tomcat5.5.23 was apache-
I tried looking through the archive and just couldn't find any help. The
problem has recently reproduced itself on a new Tomcat 5.5.23 install on one of
my co-worker's machine, so it's not my PC. I've also experienced it more often
with random images or other resources not loading, and when I
Red Hat 4
Tomcat 5.5.23
Apache 2.0.52
Hello,
I have Apache+Tomcat up and this works:
https://hostname.unm.edu:8443 (Tomcat welcome page)
I use mod_jk2 and workers2.properties to connect Apache and Tomcat
And this works too:
https://hostname.unm.edu:8443/appname (app's welcome login page)
I
Tomcat Admin Tool?
The only one that I am aware of is built into the server,
you should be able to access it on the machine
Tomcat is running on at:
http://localhost:8080/manager/html
Thats as much admin. as you can get for Tomcat...
as far as I know... without installing a 3rd party app.
of some
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> Subject: RE: Using Javac instead of JDT to compile JSPs
>
> Looking at the source, the Compiler needs to be a:
> org.apache.jasper.compiler.Compiler, which, clearly, javac is not.
I'm guessing this comment in the code is propbably pertinent:
When using Main. This is in the localhost.log
--
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException: com.sun.tools.javac.Main
at
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext
.jav
Kristian Rink wrote:
David kerber schrieb:
...
hardware failures won't cause problems. If they move to a completely
new machine, but you politely post a nag screen that says something to
the effect "New hardware detected; please contact Mycompany within 30
days for a new license", then that'
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> Subject: RE: Using Javac instead of JDT to compile JSPs
>
> compiler
Looking at the code in org.apache.jasper.EmbeddedServletOptions, it
appears the parameter name should be "compilerClassName" rather than
"compiler". If compilerClassName is nul
Hi everyone, I wonder if you could tell me Where I´ll be able to find the
Tomcat Web Server Administration Tool for Tomcat 6.X, because I was looking
for it through the whole Tomcat site, for a lot of websites, and I wasn´t
able to find it anywhere; I hope you could inform me about this toll.
Th
David kerber schrieb:
...
> hardware failures won't cause problems. If they move to a completely
> new machine, but you politely post a nag screen that says something to
> the effect "New hardware detected; please contact Mycompany within 30
> days for a new license", then that's not likely to off
I noted the capitalization before, but not the missing part of the package.
Here it is now.
compiler
com.sun.tools.javac.Main
It still doesn't work.
I removed the jasper-jdt.jar again as well. If I leave it, it doesn't
matter what value I state...it al
Hi Mike,
The attachment is an instruction that work well for me If you can follow
them...!
--Daniel
On Fri, 2007-06-08 at 14:25 -0400, Michael Angelo wrote:
> I have followed the instructions on the Apache web site verbatim and I still
> cannot get IIS and Tomcat 5.5 to work together. I have s
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> Subject: RE: Using Javac instead of JDT to compile JSPs
>
> Even with this fix, neither of the values below worked.
> com.sun.tools.javac.main.Main
Again, that's not the right class; from the previous message:
Try just com.sun.tools.
Opps, I actually had:
... lib/tools/jar::
Fixed to:
java.class.path=/opt/OCIEsys/tomcat/DEV_04_07/bin/java/lib/tools.jar:/ocie/t
ests/OCIEsys/tomcat/DEV_04_07/bin/bootstrap.jar:/ocie/tests/OCIEsys/tomcat/D
EV_04_07/bin/commons-logging-api.jar
Even with this fix, neither of the values below worked
On 6/8/07, Diego Rodríguez Martín <[EMAIL PROTECTED]> wrote:
It affects version 1.3 of commons pool. In tomcat 6, commons pool is
embbeded in /tomcat-dbcp.jar/, and the docs don't say with version of
commons is inside.
It's that version. A new commons-pool version will be integrated when
it's a
I have followed the instructions on the Apache web site verbatim and I still
cannot get IIS and Tomcat 5.5 to work together. I have set up the jsp-examples
like the instructions say. The isapi.log file shows the filter matching on
*.jsp and it determines it should be redirected to ‘jakarta’. I get
Hello All,
I'm in the process of setting up an environment and need a little help.
Here's the story.
2 webserver boxes in network A.
2 app server boxes in network B.
Firewall between them.
I have apache running on the webserver boxes using mod_jk to talk ajp to
the app servers. all
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> Subject: RE: Using Javac instead of JDT to compile JSPs
>
> com.sun.tools.javac.main.JavaCompiler
That appears to be the wrong class. Try just com.sun.tools.javac.Main
instead (note capitalization).
> One of my servlets prints out the classpath
Mark H. Wood wrote:
As others have noted, this may be doable but it's the wrong approach.
You are trying to solve a legal problem with information technology.
It is very rare for such an approach to accomplish much, other than to
irritate customers who are behaving properly.
MAC address is a par
Thanks for your help, and I didn't mean to raise anyone's ire. I did read
the docs, but started to loose confidence when it was not working.
The part of the documentation that is missing is the specification of the
"param-value". Is this param-value supposed to be a java class, an
executable,
As others have noted, this may be doable but it's the wrong approach.
You are trying to solve a legal problem with information technology.
It is very rare for such an approach to accomplish much, other than to
irritate customers who are behaving properly.
MAC address is a particularly poor choice:
Hi,
I have a webapp that is running ok under tomcat 5.5. I have upgrade
to Tomcat 6 and I have found a big memory leak because WebAppClassLoader
gets never garbage collected.
I have used a profiler and have found that the object that is
stopping the garbage collector could be EVICTION_
A follow-up on this issue: Downgrading to Tomcat 5.5.12 resolved the
problem. What changes between .12 and .23 could cause this?
Thank You,
Troy
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail:
I wonder if you had to tweak the in-memory document cache? Although I wouldn't
think that would do it.
I wonder if when you added the filter if it added an option to adjust the size
of uploads? I haven't added that ISAPI director myself. Fortunately haven't
needed to.
-Original Message
> From: Mark Claassen [mailto:[EMAIL PROTECTED]
> Subject: Using Javac instead of JDT to compile JSPs
>
> The docs say an alternative compiler can be specified, but
> makes no mention of how to specify it.
Actually, the docs say this:
"The servlet which implements Jasper is configured using in
Has anyone tried to get the jasper compiler to be something other than the
JDT? I tried several things, each of them not working.
The docs say an alternative compiler can be specified, but makes no mention
of how to specify it.
This seems to be controlled by settings in the web.xml.
Below is a
Mikolaj Rydzewski wrote:
Li wrote:
Our company is going to deploy a system externally. In order to prevent
illegal deployment by our customer to other tomcat in case. My boss
asked me
to embed our license ID into the tomcat by building our own tomcat.
I had
done several work such as creating
the servlet specification defines Content-Length as an int. even though
in some places tomcat has it as a long, you are still running into this
limitation
so the problem is in the spec, and needs to be corrected there
Filip
Daniel Dang wrote:
Hi All
I am using Apache-tomcat-5.5.16 version (aj
On 6/7/07, rhodebump <[EMAIL PROTECTED]> wrote:
I have 5 war files, each containing the springframework, hibernate jars,
tapestry jars, lots of jars so that each war file is 30 megs.
I wonder, from a performance/memory perspective would it be better to move
these common library jars into the /t
> From: Daniel Dang [mailto:[EMAIL PROTECTED]
> Subject: Invalid Content-Length error for the size greater than
>
> But when I tried to send 3GB binary data I got the
> following error below:
Since Bill B already answered your question the first time you sent it,
why did you send it again?
-
Well, that was silly. The Tomcat HTML Manager already provides the JRE
version at the bottom of the page, if you wanted to manually check
it. To check by script, you could use the plain Manager:
[EMAIL PROTECTED] ~ $ wget --quiet -O - --user USER --password PASSWORD
http://localhost:8080/manage
Hi All
I am using Apache-tomcat-5.5.16 version (ajp connector).
Every time when I send 2.1GB binary data the apache-tomcat-5.5.16 is
working fine. But when I tried to send 3GB binary data I got the
following error below:
I am looking for a solution to send more than 3GB data to apache-tomcat
Ma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rhodebump,
rhodebump wrote:
> I have 5 war files, each containing the springframework, hibernate jars,
> tapestry jars, lots of jars so that each war file is 30 megs.
How much space do you save if you move that stuff out of your WAR file?
Just becau
If you fetch 'java.runtime.version' in freestanding code then you'll
get the version of the current default JRE, which might not be what
Tomcat is using. But if you fetch it in a servlet, then you should
get the version of the JRE that's running Tomcat, no?
<%@ page language="java" contentType="
change
channelSendOptions="6"
to
channelSendOptions="0"
and see how that works for you
Filip
Prabhu wrote:
We have enabled tomcat 6 clustering with two machines. After doing
that we
noticed two things.
1. Tomcat is taking atleast 5 minutes to start. There are only 5 webapps
in total.
2. useD
> From: Mark H. Wood
> On Thu, Jun 07, 2007 at 11:19:06AM -0600, Larry Meadors wrote:
> [Consolidating 69 different copies of libraries from '.war's into
> ${CATALINA_HOME}/common/lib]
> > It's one of those ideas that looks
> > good on paper, but sucks in practice.
>
On Friday 08 June 2007 15:16, Leonel wrote:
> On 6/7/07, Will Parkinson <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am having a few problems with tomcat 5.5 on ubuntu feisty
> >
> > When i start the tomcat service, its outputs that its started ok, but
> > when i view the status (/etc/init.d/to
On Thu, Jun 07, 2007 at 11:19:06AM -0600, Larry Meadors wrote:
[Consolidating 69 different copies of libraries from '.war's into
${CATALINA_HOME}/common/lib]
> It's one of those ideas that looks
> good on paper, but sucks in practice.
Okay, I'll ask: why?
--
Mark
We have enabled tomcat 6 clustering with two machines. After doing that we
noticed two things.
1. Tomcat is taking atleast 5 minutes to start. There are only 5 webapps
in total.
2. useDirtyFlag="false" in Cluster tag, doesn't seem to work.
I am posting our cluster entry here.
On 6/7/07, Will Parkinson <[EMAIL PROTECTED]> wrote:
Hi All,
I am having a few problems with tomcat 5.5 on ubuntu feisty
When i start the tomcat service, its outputs that its started ok, but when i
view the status (/etc/init.d/tomcat5.5 status) it says the service is not
running.
This is in th
Hi David
thanks very much. I googled for a while and I think I am going to use
URLrewrite. antry I think it fits my needs,
cheers,
arian
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Fri 6/8/2007 1:05 PM
To: Tomcat Users List
Subject: Re: mime type prob
Hi, thanks for suggestions.
All threads are terminated properly. I got confused in profiler because
another webapplicaiton, still running, created similary named Thread. So
i thought terminated Thread were still attached to ThreadGroup, maybe
it's not the case. Am still trying to figure why some O
[Li <[EMAIL PROTECTED]> @ Fri, 8 Jun 2007 15:29:45 +0800]
> Our company is going to deploy a system externally. In order to
> prevent illegal deployment by our customer to other tomcat in case.
Why do you want to keep people from deploying your application to
another tomcat installation? Do you
Best suggestion I can offer is to have a configurable filter in the ROOT
webapp that looks at the request and does a client side redirect to the
proper target. The client side redirect will correct the url in the
browser for all future reference.
--David
Arian Abrahantes wrote:
Hi all:
mi
Li wrote:
Our company is going to deploy a system externally. In order to prevent
illegal deployment by our customer to other tomcat in case. My boss
asked me
to embed our license ID into the tomcat by building our own tomcat. I
had
done several work such as creating a manager for our customi
I would consider your license and mac id work to be a waste of time.
If they want to crack your software, they will.
Instead just attach your company's software license to it.
Instead spend the time building the application so good that they will
want to buy it from you, and buy support for it a
Hi all:
mime problem solved had to change more deeper in the config, down to
opencms. So now alias question is what's missing.
cheers and TIA,
arian
Arian Abrahantes wrote:
Hi All:
I am new to the list and to web administration as well. I used tomcat
4.1 connected via proxy to apache 2.2.
it sounds rather sick :-)
I mean, if you secure and deploy your customized tomcat version, how
does it prevent the "pirate" from simply putting your webapp in a
vanilla tomcat?
regards
Leon
On 6/8/07, Li <[EMAIL PROTECTED]> wrote:
Hi guys,
Our company is going to deploy a system externally. In
Hi All:
I am new to the list and to web administration as well. I used tomcat
4.1 connected via proxy to apache 2.2. I deployed opencms into tomcat.
Everything works fine but I am having a problem with special mime types
in my site I have some extensions quite peculiar, for instance
"whatever
Hi,
I found out why I was so consistently able to reproduce the NIO busy
wait bug: I was closing the http socket on the client side with a
SO_LINGER value of 0, causing a RST packet to be received by Tomcat
while the SelectionKey was still registered with interestOps of 0.
Commenting out the
I copied this from the wildcat source at http://coolese.100free.com/
sInfo += "OS Name: " + System.getProperty("os.name") + "\n";
sInfo += "OS Version: " + System.getProperty("os.version") +
"\n";
sInfo += "Architecture: " + System.getProperty("os.arch") +
"\n"
Will Parkinson said the following on 06/08/2007 05:14 AM:
Hi All,
I am having a few problems with tomcat 5.5 on ubuntu feisty
Your system is set to use GNU Java. Youse the update-alternatives
command to change the Java version to the Sun JREs.
Cheers,
Hakan
--
Hi guys,
Our company is going to deploy a system externally. In order to prevent
illegal deployment by our customer to other tomcat in case. My boss asked me
to embed our license ID into the tomcat by building our own tomcat. I had
done several work such as creating a manager for our customized
58 matches
Mail list logo