Hey Everybody,
I'm trying to access setup access for
www.mycompany.com,
however I get a 404.
If I try accessing tomcat on my internal network like
this (This is from a machine different than from what
tomcat is running on):
http://192.168.1.4:8080/manager/html
I get access.
However, when tryin
Whoops - Sorry - I should have thought about that -
Thanks for the heads up.
Cheers,
- Ole
--- Mark Thomas <[EMAIL PROTECTED]> wrote:
> When starting a new thread (ie sending a message to
> the list about a
> new topic) please do not reply to an existing
> message and change the
> subject line.
making a copy. Thank you.
>
> - Original Message -
> From: "Ole Ersoy" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Sunday, June 04, 2006 4:14 PM
> Subject: 404
>
>
> > Hey Everybody,
> >
> > I'm tryi
Hi,
Does anyone know if a Tomcat maven build exists
anywhere?
Thanks,
- Ole
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
---
Hi,
Reading through the classloader documentation for 6.0 I noticed this:
...
However, the standard Tomcat 5 startup scripts
...
It seems like this should be:
the standard Tomcat 6 startup scripts
But I figured I'd check before filing a ticket.
Also it seems like this section could be simp
Hi,
I was wondering whether Tomcat 6.0 still has a classloader for classes that
should be globally visible to all webapps only? I read through the classloader
documentation and it seems to be saying that $CATALINA_HOME/lib contains
classes that are visible to both Tomcat and the webapps.
How
I think its because its just hard to explain, but maybe it could be made
clearer.
I think *ignores* is the wrong word.
Especially if someone actually looks at catalina bat and sees this line.
set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar
Doesnt look like that script is ignoring CLA
I was wondering whether Tomcat 6.0 still has a classloader
for classes that should be globally visible to all webapps
only?
Not by default. However, you can edit conf/catalina.properties to create any
classloader hierarchy you want.
So I take it:
common.loader = Tomcat's classes/jars visibl
So if I wanted hibernate-3.0.14.jar to be visible to all
webapps I could stick in in CATALINA_HOME/shared/lib and set
shared.loader =
${catalina.home}/shared/lib/hibernate-3.0.14.jar and now it's
visible to all webapps, but not to Tomcat?
Also correct, but I don't know why you'd go to that troub
Hi,
I would really appreciate it if someone could elaborate on the case for these
logging properties:
# Facility specific properties.
# Provides extra control for each logger.
##
Quick correction:
# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
#org.apache.catalina.startup.ContextConfig.level = FINE
#org.apache.catalina.startup.HostConfig.level = FINE
#org.apache.catalina.session.ManagerBase.level = FINE
Should the left side of the equal sign be
Rainer Jung wrote:
SNIP
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager]
is the name of a logger, in this case the name of the logger associated
with the context /manager in host localhost in Engine Catalina.
Most loggers get their names from class names, but context
SNIP
Close to that. Since "Catalina" and "localhost" are names of elements in
server.xml, and those names can be changed, this logger name is
generated dynamically. So you won't find it verbosely in the code. Look
at method logName() in ContainerBase.java.
Thanks for the tip - I will do.
No
SNIP
I think one of the confusing things about the current logging environment is
the lack of documentation about the mapping between commons-logging and
java.util.logging levels and APIs, as implemented by JULI. For example, c-l
has six logging levels, whereas as j.u.l has seven; some of th
SNIP
No it would grab the logger for the context, which will automatically be
the one for [/mywebapp] and not [/manager]. It can't log to the logger
of another context. Look at javax.servlet.ServletContext.log().
OOh - OK - The gears are starting to turn...maybe. The context logger confi
Super - Thanks for the elaboration!
- Ole
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ole,
Ole Ersoy wrote:
| I hope the mappings are all inclusive from java.util.logging's
| perspective so that if I set the a level to INFO I get info, plus
| possibly some
Martin wrote:
Found this helpful
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
default logging is commons-logging with known limitation to Engines and
Hosts
this limitation of JDK Logging appears to be the genesis of per-web
application logging as the configuration is per-VM
That sou
| From what I understand Tomcat 6 logging has been overhauled and the
| java.util.logging implementation was replaced with JULI, which
| understands how to load per web app configuration files and make the
| corresponding configuration available via the LogManager to the web app.
I think that ha
Hi,
Initially I was going to add to the WIKI FAQ, but all the Logging questions are so inter
related that I decided to write a tutorial instead. I have not "Tested" this
so there may be some inaccuracies. I'd appreciate feedback and will update the tutorial.
As soon as the dust settles I'll
ess anyone has additional modification.
I still need to go through a few more of the earlier responses to the thread.
Thanks again,
- Ole
Caldarale, Charles R wrote:
From: Ole Ersoy [mailto:[EMAIL PROTECTED]
Subject: [Logging] Tutorial Contribution
Thanks for putting this together. I have a few com
Hexsel, Gustavo wrote:
That helps!
Whh. Good! I was a little worried people would say "This stinks! I'm more
confused than ever!!!"...And then I would have to go back to the drawing board
again. :-)
A few suggestions for the tomcat deployment:
- make using log4j easier (either
Christopher Schultz wrote:
SNIP
There are things that I suspect are much easier to do using log4j (such
as rolling logs on a schedule other than once per day) or things that
cannot be done without either implementing a lot of stuff yourself or
switching to log4j (such as logging to a database
OK - It's up:
http://wiki.apache.org/tomcat/Logging_Tutorial
Plus a few additions to the FAQ:
http://wiki.apache.org/tomcat/FAQ/Logging
Thanks for all the feedback and earlier QA!
Ole
-
To start a new topic, e-mail: users@to
Hi,
I'm trying to get the APR native capabilities working on Fedora. I first
checked that apr and opensll was installed like this:
[EMAIL PROTECTED] ~]$ rpm -qa | grep apr
apr-util-1.2.8-7
apr-1.2.8-6
[EMAIL PROTECTED] native]# rpm -qa | grep openssl
openssl-0.9.8b-12.fc7
openssl-devel-0.9.8b
:-)
Thanks tough,
- Ole
Hassan Schroeder wrote:
On 8/15/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
Then I try to compile like this:
[EMAIL PROTECTED] native]# ./configure && make && make install
--with-apr=/usr/lib/
? Shouldn't you run ./configure --with-apr=/usr/lib
hen Morris
Security Technician, IT Security Access Management
Technology Security & Risk, National Australia Bank
Level 8, 800 Bourke St, Melbourne VIC 3000
Tel: +61 (0) 3 8634 1755 | Mob: 0438 537 569
Email: [EMAIL PROTECTED]
Ole Ersoy <[EMAIL PROTECTED]>
16/08/2007 08:02 AM
Pl
chroeder wrote:
On 8/15/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
I have a lot more progress now! I get the following (The only important part
is the bottom i think):
[EMAIL PROTECTED] native]# ./configure
--with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/
...
libtool: install: error: rel
ve the
config script, but libs and headers are in lib/ and include/ below some
dir, this dir will be a code value for with-apr.
HTH.
Rainer
Ole Ersoy wrote:
Hi Hassan,
I did the following:
rm -dfr tomcat-native-1.1.10-src/ tar xvfz tomcat-native.tar.gz
cd tomcat-native-1.1.10-src/jni/native
configure
about the pathes of libs and headers. Lastly if you don't have the
config script, but libs and headers are in lib/ and include/ below some
dir, this dir will be a code value for with-apr.
HTH.
Rainer
Ole Ersoy wrote:
Hi Hassan,
I did the following:
rm -dfr tomcat-native-1.1.1
or which ldd
can not resolve? If yes: which libraries, and which path resp. which
libraries without path? Maybe just post the result of the ldd command.
Ole Ersoy wrote:
Hi Rainer,
Thanks again for that great fix. When I fired up Tomcat, I still get
this message:
Aug 16, 2007 9:53:05 AM org.ap
- Ole
Filip Hanik - Dev Lists wrote:
ok, in your catalina.sh script you will need to do
export LD_LIBRARY_PATH=/usr/local/apr/lib:$LD_LIBRARY_PATH
the file it finds is the correct one.
the CLASSPATH variable only applies to java libraries, this is a native
C library.
Filip
Ole Ersoy wrote
Hi,
I'm trying to run tomcat with jsvc. I did all the things in the manual, and
now I'm trying to run it with:
./bin/jsvc -cp ./bin/bootstrap.jar \
-outfile ./logs/catalina.out -errfile ./logs/catalina.err \
org.apache.catalina.startup.Bootstrap
And I get this in catalina.err:
love. I'll keep trying with more and more parameters.
Cheers,
- Ole
Markus Schönhaber wrote:
Ole Ersoy schrieb:
I'm trying to run tomcat with jsvc. I did all the things in the manual, and
now I'm trying to run it with:
./bin/jsvc -cp ./bin/bootstrap.jar \
Hi,
Tomcat runs fine, but the log contains this message:
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
- find_vma failed
Another thread said this was most likely due to the tomcat user not having
access to the /proc file system, and that it's not a biggie. Ju
Hi,
I'm trying to get the -server option working with jsvc. When inserting -server
I get this:
[EMAIL PROTECTED] init.d]# service tomcat start
Starting tomcat
27/08/2007 21:11:08 10371 jsvc error: Invalid option -server
27/08/2007 21:11:08 10371 jsvc error: Cannot parse command line arguments
Hi,
I ran ./jsvc help and notice it had a -jvm option. So I tried this:
CATALINA_HOME=/usr/share/apache-tomcat
JAVA_HOME=/usr/lib/jvm/java
DAEMON_LAUNCHER=$CATALINA_HOME/bin/jsvc
TOMCAT_USER=tomcat
TMP_DIR=/var/cache/apache-tomcat/temp
CLASSPATH=$JAVA_HOME/lib/tools.jar:$CATALINA_HOME/bin/commo
It looks like they are repackaging Tomcat to use an FHS layout for all the
directories and files. You would place webapps in
/var/lib/apace-tomcat/webapps and secure the directory correspondingly with the
group as tomcat and the user as root, only giving root write permissions, etc.
JPackage
Chuck and Chris,
Thank you for the tips! I'll probably code a little servlet that has a peak,
but now that I'm aware of Lambda Probe, I just have to play with it :-)
Extremely cool toy!
Thanks again,
- Ole
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sub
Incidentally - since we are talking about pooling - should the executor
configuration be a tip? It allows the connectors to share a single thread
pool, rather than each connector having its own. This seems like a memory and
performance slurpee to me.
Cheers,
- Ole
myrealbruno wrote:
IMHO t
Hi,
I'm trying to point the catalina handler to /var/log/apache-tomcat like by
configuring the logging.properties file like this:
1catalina.org.apache.juli.FileHandler.level = FINE
1catalina.org.apache.juli.FileHandler.directory = /var/log/apache-tomcat/
1catalina.org.apache.juli.FileHandler.pr
cases yet. Right now I'm just leaving the permissions as 644 and 755, rather
than 640 and 750, although I'd prefer the latter.
Cheers,
- Ole
Ole Ersoy wrote:
Hi Markus,
Thank you for the suggestion. I tried that as well, but I still get the
same message. I think there is somet
Hi,
I was wondering whether there is a possibility for collisions for multiple
servers running with jsvc on the same machine. JSVC stores the tomcat process
ID in:
/var/run/jsvc.pid
What if another server tried to do the same? Is this a valid concern and if so
is there a way to change the
Hi,
Does anyone know if the SSLCertificateFile attribute of the connector element
supports URIs? So for instance if there were 10 hosts for example.com and each
host wanted to share the same certificate and private key they could do
something like:
SSLCertificateFile = http://shared/host/tom
different pid file location for each
server. Otherwise you won't be able to start both servers
simultaneously.
e.g
-pidfile /var/run/server1/jsvc.pid
-pidfile /var/run/server2/jsvc.pid
OR
-pidfile /var/run/jsvc1.pid
-pidfile /var/run/jsvc2.pid
Thanks,
-Azhar
On 9/1/07, Ole Ersoy <[EMAIL P
?
Thanks,
- Ole
Ole Ersoy wrote:
Hi,
I'm getting an exception with myfaces when adding a dependency to the
webapp. This dependency contains a component and renderer, but I
removed the META-INF directory, so it should just be interpreted as a
"simple" java dependency. If I co
Hi,
I'm trying to get SSL working real quick for some experiments, and I did this:
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
Answered the questions, got .keystore to appear in my home directory and then I
uncommented the SSL Connector element in server.xml and filled out the
ke
0, 2008 11:11 AM, Ole Ersoy <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to get SSL working real quick for some experiments, and I did
this:
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
Answered the questions, got .keystore to appear in my home directory and
then I uncommen
27;s what I did:
[EMAIL PROTECTED] ~]$ rm .keystore
[EMAIL PROTECTED] ~]$ $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
-storetype JKS
Enter keystore password:
Re-enter new password:
What is your first and last name?
[Unknown]: Ole Ersoy
What is the name of your organizational unit?
[U
eystore as well as the key (you can generate
one with password "secret" say)? May be I can investigate if there is
something wrong with the keystore. Also, what JDK/JVM are you using?
++Vamsi
On Jan 30, 2008 8:12 PM, Ole Ersoy <[EMAIL PROTECTED]> wrote:
Hi Vamsi,
I tried:
$JAV
r the keystore as well as the key (you can generate
one with password "secret" say)? May be I can investigate if there is
something wrong with the keystore. Also, what JDK/JVM are you using?
++Vamsi
On Jan 30, 2008 8:12 PM, Ole Ersoy <[EMAIL PROTECTED]> wrote:
Hi Vamsi,
I
Hi,
I'm getting a:
org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
When inluding an HttpServletRequestWrapper in a filter. The code compiles fine
and the filter part causing the ruckus looks like this:
HttpServletRequestWrapper wrapper =
new HttpServletRequestW
Actually I probably got this one. I'm compiling the filter with IcedTea, but
using the Sun JDK to run tomcat, since IcedTea has issues with keystore
certificates. So if I compile with the Sun JDK I think the issue will go away.
Cheers,
- Ole
Ole Ersoy wrote:
Hi,
I'm
quals(name))
{
return "bar";
}
else
{
return super.getParameter(name);
}
}
};
Without this code the filter runs fine. Any ideas?
Thanks,
- Ole
Ole Ersoy wrote:
s?
Thanks,
- Ole
Ole Ersoy wrote:
Well, I was certain it had to be the difference in the JDKs causing it,
but after compiling the filter with the Sun JDK, the same exception is
still present. The localhost log has this:
SEVERE: Exception starting filter testFilter
java.lang.NoClassDefFoundError: t
Hi Konstantin,
In this case I just recompiling the filter and copying it over the the classes
folder of the webapp. It's definitely there. If I compile and copy with a
statement like this in the filter:
HttpServletRequestWrapper wrapper = new HttpServletRequestWrapper((HttpServletRequest)ser
Konstantin,
Man - you are so right. Thanks for hanging in there. I should have looked at the target/classes directory and the log a little closer :-).
Thanks again,
- Ole
Once again, just to be sure.
The compiler creates two files, "TestFilter.class" and
"TestFilter$1.class". Do you c
Hi,
I'm trying to build tomcat with IcedTea. I get the following types of errors
while DBCP is being built:
[javac]
/usr/share/java/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/cpdsadapter/PoolablePreparedStatementStub.java:34:
isClosed() in org.apache.tomcat.dbcp.dbcp.Delegatin
Chuck,
That must be it (Even though the build instructions for Tomcat 6 say 1.5.x or later). Thanks again for the heads up.
- Ole
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTE
Hi,
I'm attempting to install Tomcat 6.0.18 on Linux. Right now I'm getting this:
19-Dec-08 2:39:58 PM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError:
org.apache.catalina.mbeans.ServerLifecycleListener
at java.lang.Class.i
Hmmm - I'm running with OpenJDK 1.6 (Should that have gcj stuff in it - I'm
also using jsvc and APR - maybe it got mixed in somehow?):
java -version
java version "1.6.0_0"
IcedTea6 1.4 (fedora-7.b12.fc10-i386) Runtime Environment (build 1.6.0_0-b12)
OpenJDK Client VM (build 10.0-b19, mixed mode)
Hi,
I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During
startup I get this:
SEVERE: Error initializing endpoint
java.lang.Exception: Socket bind failed: [22] Invalid argument
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
at
org.
Mark,
Thanks - yeah - I read up on the ubuntu ticket, and decided to give 6.0.20 a
try. I built the rpm package using the following dependencies:
Requires: apr-devel = 1.3.5
Requires: apr = 1.3.5
Requires: apr-util = 1.3.7
I'm going to try just doing a manual install next to make sure it work
Hi Mladen,
I tried adding the address attribute like this:
I also tried:
But I still get the same message. I'll try it without jsvc next.
Thanks,
- Ole
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.
Hi,
I just tried a manual install and start using only the startup.sh script and it
works fine.
[r...@ole bin]# chmod u+x *.sh
[r...@ole bin]# ./startup.sh
Using CATALINA_BASE: /home/ole/apache-tomcat-6.0.20
Using CATALINA_HOME: /home/ole/apache-tomcat-6.0.20
Using CATALINA_TMPDIR: /home/ol
omcat says it's using 1.1.14? Any ideas?
Thanks again,
- Ole
On 07/15/2009 01:10 PM, Mark Thomas wrote:
With the latest APR/native (1.1.16) and 6.0.20 ipv6 should work. At least it
does for me on Ubuntu.
Mark
--- Original Message ---
From: Ole Ersoy
To: Tomcat Users List
Sent:
Mark,
(And everyone) Thanks a gazillion for helping to clarify this. I was building
the APR connector with the wrong version number (1.1.14). I must have had old
apr connector files laying around from when I was building earlier tomcat
versions. The log is clean now.
Thanks again,
- Ole
-
Hi,
I have a working file upload servlet, with the exception that it calls the uploaded file
"samplefile" instead of using the name of the file. So if I upload different
files, they all overwrite each other. Any ideas on how to fix this? I used this
tutorial to get it working:
http://www.s
Never mind...I see the example hard codes the name of the file. Sorry for the
noise.
On 09/02/2011 05:50 PM, Ole Ersoy wrote:
Hi,
I have a working file upload servlet, with the exception that it calls
the uploaded file "samplefile" instead of using the name of the file. So
i
Hi,
Anyone know if the the keys for the various javax.servlet.http.Part headers are
available as constants anywhere? I'd like to do something like:
part.getHeader(Part.FILENAME);...instead of
part.getHeader("filename");
TIA,
- Ole
-
Hi,
Anyone know whether it's possible to monitor progress of a file upload?
TIA,
- Ole
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
ame");
Then instead of part.write("samplefile");
do:
part.write(filename);
Jonathan Soons
________
From: Ole Ersoy [ole.er...@gmail.com]
Sent: Friday, September 02, 2011 6:50 PM
To: Tomcat Users List
Subject: Servlet 3.0 File Upload
Hi,
I have a wo
ame");
Then instead of part.write("samplefile");
do:
part.write(filename);
Jonathan Soons
________
From: Ole Ersoy [ole.er...@gmail.com]
Sent: Friday, September 02, 2011 6:50 PM
To: Tomcat Users List
Subject: Servlet 3.0 File Upload
Hi,
I have a wo
und to see
if anything something similar could be done with servlet 3.0.
Thanks,
- Ole
On 09/05/2011 03:12 PM, André Warnier wrote:
Ole Ersoy wrote:
Hi,
Anyone know whether it's possible to monitor progress of a file upload?
What do you mean by "monitoring" ?
Is it a question o
Thanks guys!
Ole
On 09/03/2011 10:51 AM, Konstantin Preißer wrote:
Hi,
-Original Message-
From: Jonathan Soons [mailto:jso...@juilliard.edu]
Sent: Saturday, September 03, 2011 2:24 PM
To: Ole Ersoy; Tomcat Users List
Subject: RE: Servlet 3.0 File Upload
You need to add a line in in
Hi,
In the past I have been able to run tomcat on port 80 under a "tomcat" user.
It seems like the latest versions of Fedora require that tomcat either be run as root or
requests to 8080 have to be redirected using iptables. Can anyone confirm this?
TIA,
- Ole
-
entry/install_tomcat_7_on_centos
Cheers,
- Ole
On 02/07/2012 11:38 AM, John Renne wrote:
On Feb 7, 2012, at 6:14 PM, Ole Ersoy wrote:
Hi,
In the past I have been able to run tomcat on port 80 under a "tomcat" user.
It seems like the latest versions of Fedora require that tomcat either be
Hi,
I have a very simple jsp page like this:
<%@ page language="java"
contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
${pageContext.request.contextPath}
${pageContext.request.contextPath} is not resolving.
I have the following maven dep
So, is it rendering it as text or is it throwing an exception?
Just rendering as text.
What is your jsp-config in web.xml?
http://java.sun.com/dtd/web-app_2_3.dtd"; >
Archetype Created Web Application
-
To unsubscribe
Super - Thanks!
- Ole
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi,
I noticed that the tomcat 7 documentation has removed the "Shared" classloader
description. Has the shared classloader been removed from tomcat?
TIA,
- Ole
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
On 06/01/2011 02:12 PM, Caldarale, Charles R wrote:
From: Ole Ersoy [mailto:ole.er...@gmail.com]
Subject: Tomcat 7 Shared Class Loader Removed?
I noticed that the tomcat 7 documentation has removed the "Shared"
classloader description. Has the shared classloader been removed
f
Caldarale, Charles R wrote:
From: Ole Ersoy [mailto:ole.er...@gmail.com]
Subject: Re: Tomcat 7 Shared Class Loader Removed?
I was thinking about putting the jars in the shared repository,
rather than deploying them with the war. Could you please help
me understand why this is bad?
1) You would
82 matches
Mail list logo