buffer in that call of InputStream.read().
You have just demonstrated that one cannot read all contentLength
bytes of data in one call.
The easiest fix here will be to use a loop, see Christopher Schultz's
message for an example.
Best regards,
Konstantin Kolinko
2008/8/13 Mark Thomas [EMAIL PROTECTED]:
The privileged attribute needs to be set on the context.
In your own web application create a file,
META-INF/context.xml, with the following content:
?xml version=1.0 encoding=UTF-8?
Context privileged=true /
See the manager application for an
All this sounds like a browser issue.
Firefox 3.0 now supports zooming of the whole page (as compared to
scaling the font sizes only). Press Ctrl+0 to reset the page to 100%
(see the View menu for details).
2008/8/12 Szűcs Attila [EMAIL PROTECTED]:
Christopher,
Even if I am opening it
Hi, sam wun!
It is
https://issues.apache.org/bugzilla/show_bug.cgi?id=44463
The problem is in the manager application, not in yours.
The commons-io*.jar should be placed into
{your tomcat 5.5 installation folder}/server/webapps/manager/WEB-INF/lib
Best regards,
Konstantin Kolinko
2008/8/23
there.
4. Is your Microsoft Internet Security and Acceleration (ISA) 2006
server on the same PC?
You mentioned it, but where it comes into play here? I do not
have experience with that product.
Best regards,
Konstantin Kolinko
2008/8/30 Mostafa Mossaad [EMAIL PROTECTED]:
Can you please tell me how
be displayed by this instance of the server.
What is the configuration of your ISA? How your publishing the server
through it is configured?
So, what is not working?
Best regards,
Konstantin Kolinko
2008/9/8 Mostafa Mossaad [EMAIL PROTECTED]:
Konstantin, any ideas?
Guys?
-Original
:
SettingsService.getProperty(sublima.joseki.endpoint);
is the address to where it opens an HttpURLConnection.
What is that address? Judging from the behavior, it occurs that it makes
request back to itself.
Best regards,
Konstantin Kolinko
2008/9/5 Kjetil Kjernsmo [EMAIL PROTECTED]:
Hi all!
I'm
firefox plugin, or
using wget --save-headers, or connecting through telnet.
In my case, the Content-Type: of the 404 page is text/html;charset=utf8,
and the browser (Firefox 3) correctly detects that the page encoding is
UTF-8.
Best regards,
Konstantin Kolinko
what is their status now.
Some of them might be more mature than WST/JST.
Best regard,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
.
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
my question is: how should a I handle the nested double quotes in the
pattern attribute? How should i escape them?
quot; or #34;
See 4.6 Predefined Entities in XML Spec for details,
http://www.w3.org/TR/2006/REC-xml-20060816/#sec-predefined-ent
2008/9/11 Jonathan Mast [EMAIL PROTECTED]:
display the pound sign
irregardless of what encoding the browser thinks that your page uses.
Use the #..; notation if generic xml processing is involved (the
pound; entity is defined
for (X)HTML only).
Best regards,
Konstantin Kolinko
regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
are present
in my response and are always in sync.
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2008/9/12 André Warnier [EMAIL PROTECTED]
Konstantin Kolinko wrote:
2008/9/12 André Warnier [EMAIL PROTECTED]:
Caldarale, Charles R wrote:
I'm not sure these days what the normal web character set really is.
If
you're referring to ASCII (aka Basic Latin), then no, the Pound Sterling
://msdn.microsoft.com/en-us/library/aa366559(VS.85).aspx
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
want to call
Thread.setDaemon(true), because non-demon (default) threads
prevent JVM from shutdown.
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED
2008/9/27 Dave [EMAIL PROTECTED]:
For img src=http://domain.com/servlet/pictures/image.jpg/
in servlet get method,
InputStream is = new FileInputStream(/apphome/pictures/image.jpg);
OutputStream os = response.getOutputStream();
byte[] buffer = new byte[256*1024]; //256k
while (true) {
2008/9/28 Maxim Veksler [EMAIL PROTECTED]:
Are you perhaps familiar with a programmatic / configurable method to
output putting the full list of properties recognized by tomcat during
Catalina start up ?
System.getProperties() shows them all.
/ binaries are
not compatible...
All the above was just out of my curiosity, trying to find the
sources...
Best regards,
Konstantin Kolinko
2008/9/30 Serge Fonville [EMAIL PROTECTED]:
Thank you so far, I will definitely look into Quercus.
Still, I would like to understand why output is sent
their output in a file. Maybe there are some oddities
there, like too many quotes, backslashes, expanded variables.
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
the results of my running catalina start without the echo off
statements.
On Tue, Sep 30, 2008 at 8:56 PM, Konstantin Kolinko [EMAIL PROTECTED]
wrote:
2008/9/30 Bai Shen [EMAIL PROTECTED]:
Okay, if I keep this up I'll be able to fit both feet in my mouth.
Apparently setclasspath.bat does
2008/10/3 Bhagwat, Vinit (Vinit) [EMAIL PROTECTED]:
Hi,
I am getting following exception
org.apache.jasper.JasperException: ServletException in
'/testapp/dir1/test1.jsp': File /testapp/dir2/def.jsp not found
when I ported my web application from tomcat 5.5.9 to 5.5.26
Following is code
?
Thanks and Regards,
Vinit
-Original Message-
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2008 7:08 PM
To: Tomcat Users List
Subject: Re: Problem with jasper-compiler when ported web application
from tomcat 5.5.9 to 5.5.26
2008/10/3 Bhagwat, Vinit (Vinit
to include jsp page which is not in the same directory.
Can you please look into Bug 37326 for 5.5.25 I think this is related
with my problem.
Thanks and Regards,
Vinit
-Original Message-
From: Konstantin Kolinko [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 4:27 PM
To: Tomcat
that it refers, [1]:
[1] http://www.mail-archive.com/[EMAIL PROTECTED]/msg04338.html
I do not know, if that applies to your case. That message thread ([1]) is
of December 2003, thus I do not know whether it is still applicable.
Just my 0.02 EUR.
Best regards,
Konstantin Kolinko
/show_bug.cgi?id=45585
The message with no class name is caused by passing an
empty argument to /usr/bin/java.
Also, you are missing /work subdirectory in your ${catalina.base}. Maybe
it is auto-created, but just in case.
Best regards,
Konstantin Kolinko
In cmd.exe window type
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
or whetever the path to your jdk is, or JRE_HOME= .. if you only have a JRE.
Also, if your Glassfish, or some other Tomcat instance (like some HP printer
management page) is already running, there can be port numbers conflict.
2008/10/11 IceManPat [EMAIL PROTECTED]:
It still says environment variable not correctly defined ..and i also
closed the Glassfish ...I do not use any printers nowthere should not
have any conflict on port 8080.
In cmd.exe window
In cmd.exe window I type
C:\set JAVA_HOME
\SAM_MPP\WEB-INF\classesjava
-classpath . admintool.CSVParser
Also, if you are not the only java developer there, try asking your
colleagues for help.
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users
, the following issue is present in 5.5.26, but fixed in 5.5.27:
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
Tony,
have you seen
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
In general, implementing classloader hierarchies, as the one in tomcat
5.5, is not a simple matter.
Citing from those pages:
As mentioned above,
1. Tomcat 4.0.3 is pretty old and unsupported. The last version in the
4.x series is 4.1.36.
2. Trying to google checkHead site:mail-archives.apache.org shows
some mentions of similar issues in the year 2002, e.g.
(note: The bugzilla server name has changed, but bug ids are the same)
This is likely because Tomcat expects all the resources for a web app to
be available at deployment time, rather than randomly appearing during
the life of the deployed webapp.
Jsps are recompiled when modified, and are compiled on the first
access. Thus I do not see why they cannot appear
When class cannot be loaded, it usually is a classloader issue.
Are you familiar with Tomcat classloaders hierarchy?
See here:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
Note that although Webapp classloader is a child of all the others,
but it is being asked first, as if it
For tomcat you can define JAVA_OPTS system variable to supply
additional parameters for the java machine. That includes the
possibility to define -Dyour.property=
See the comments at the begin of catalina.bat or catalina.sh.
You can either modify catalina.bat/.sh or whatever bat file that is
used
1. Read RUNNING.txt that comes with Tomcat distribution. There is a
chapter entitled Advanced Configuration - Multiple Tomcat Instances.
The trick is to have several $CATALINA_BASE directories for different
instances of Tomcat.
2. Make sure that your $CATALINA_BASE\conf\server.xml specify
What is your configuration?
What version of Tomcat?!
Is there Apache HTTPD in front of it?
What versions of Acegi, Spring do you use?
Can you reproduce your problem with a simple example? E.g. explicitly
sending the redirect, using response.sendRedirect().
Please look at this message
I'm still not sure
why the ${CATALINA_HOME}/common/lib version isn't picked up via tomcat.
./server/webapps/admin/WEB-INF/lib/[commons-collections].jar
./common/lib/[commons-collections-tomcat5].jar
./common/lib/[commons-dbcp-tomcat5].jar
I have seen the documentatio many and many times...
My question is clear? The response to my question is:
Isn't possible get dataSource reference if is not defined on webApp
context...
Yes, it is not possible.The reference should be defined
(either in context.xml, or in web.xml, but it should
I have a folder in my application which I would like to deploy in a
separate sub context. This is because it includes content media, and is very
large to include in the main application war every time I deploy it.
You have not mentioned your Tomcat version.
That media is just a
It is No such file or directory.
I can't find what errno 2 represents.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Isn't is obvious? Why do you expect it to become value2?
What are you changing? Are you changing the source code for the class?
I do not expect hot-swapping of compiled classes to be available here.
If it is the same class instance, it will still be value. Restart
your webapp, or reload your
Get the request parameters from the request object from a page, concatenate
them into a string, store the string in the db.
Do you url-encode the names and the values before concatenating them
into the string?
If not, there might be '', '=' symbols in the value string that break
your parsing.
Do you have Serve modules without publishing option in Eclipse
configuration for the server turned on or off?
(Double click the server on the servers view to open the configuration dialog).
2007/12/8, kkus [EMAIL PROTECTED]:
In my another project (JBoss+Spring+Hibernate), I see my changes
Also, you may want to search Bugzilla (http://issues.apache.org/) or
user/dev list archives for those strings,
Cannot create a session after the response has been committed,
Cannot forward after response has been committed
E.g., I have found
In this case should I expect to see ... due to Java hot-swapping when
breakpoint is reached?
Obviously, if you do not see it working, it probably does not.
You should familiarize yourselves with code hot-swapping technology,
its implications, and how it works upon tomcat, web application
1. Why do you need xerces.jar? Isn't Java API for XML processing,
available since Java 1.4, enough for you?
2. Read http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
There is a chapter on using an alternate XML parser implementation.
2007/12/13, Salvatore Capolupo [EMAIL
Please note that it is fixed in the sources (aka SVN) only, but not in
any released version.
The fix was committed on May 19th in revision
http://svn.apache.org/viewvc?view=revrevision=539759
4.1.36 released in April does not contain the fix.
2007/12/17, Mary Joseph [EMAIL PROTECTED]:
Looks
I am not sure, but it MAY be that a jar is being loaded twice:
a) directly, as any other jar located in WEB-INF/lib
b) indirectly, if it is mentioned in Class-Path directive of the
manifest file of some other jar.
If the name mentioned in manifest file differs from the actual name of
the jar, I
When stop command is invoked on tomcat (catalina), the value of the
shutdown password is being read by catalina from the same server.xml
file. So, it just has to be some random string. It is not mentioned
anywhere in the scripts files.
Of course, tomcat instance must be stopped while you change
On windows my issues appears to be that the context.xml from the
auth.war is being cached inside tc/conf/Catalina/localhost/...
cached is not the right word. It is how deployment mechanism works
in tomcat. The presence of app_name.xml in
tc/conf/Catalina/localhost/ means that you application
You should search through the list archives, e.g. at Nabble.com. In
this list there were several reports of successfully running Tomcat on
64-bit Windows during the last 6 months. Though that required some
manual configuration or tweaks.
Have a look at
1)
What exactly tomcat, log4j versions are you using?
It may be a classloader issue. Some of them are occasionally found and fixed.
That looks like commons-logging resorts to use log4j for the Digester
class (instead of java logging aka juli for the server classes), but
cannot find configuration.
You should use Content-Disposition header in your response.
It allows you to provide filename of the file, and that includes its extension.
Also, I suppose that the save as dialog honors the mime-type of your
response. If that mime-type is known at your client computers, it may
offer the relevant
I think that java thread dump can be printed even if workload is heavy.
kill -3 command will produce it under UNIXes.
2008/1/24, maggie [EMAIL PROTECTED]:
Is there any tool to provide such information Remotely even if the
workload of Tomcat is very heavy?
It is strange. Looks like it should be working.
1) Please check how WEB-INF, classes, mvcs directories and web.xml
file names are spelled on the Linux machine.
2) You may configure AccessLogValve in your META-INF/context.xml to
log all requests that are coming to your application. See
- Disable 8005 Port on Tomcat instance. Users can shutdown
tomcat from that port.
Only if you give them telnet or other direct access to the machine
Tomcat is running on. The shutdown port is used only with 127.0.0.1, no
other IP address.
Yes, and you also may change the shutdown
The file /javax/servlet/resources/web-app_2_3.dtd is in
servlet-api.jar in common/lib, both in 5.5.25 and 5.5.20.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
You cannot and must not show that your page is secure, because it is not.
The problem is that your page is vulnerable to a man-in-the-middle
attack: there is no guarantee that the text of your web page or of the
javascript files that it is using was not altered by someone while it
was transmitted
How do you package and deploy your application?
If you are seeing
java.lang.NoClassDefFoundError: test/filter/TestFilter$1
please check, that the class file TestFilter$1.class is present in
your app's WEB-INF/classes/test/filter/ directory on the web server.
still present. The localhost log
Hi, Ole
In this case I just recompiling the filter and copying it over the the classes
folder of the webapp. It's definitely there.
Once again, just to be sure.
The compiler creates two files, TestFilter.class and
TestFilter$1.class. Do you copy both of them? You wrote it, not
they.
Yes. I manage the log4j configuration myself when my webapp loads -
from a props file - I'm not using any of log4j's auto configure /
discovery stuff.
Tomcat uses commons-logging for its logging needs. Apache commons
logging does decide what logging implementation to use at the time
when a
You do
1) GET call
int_result = httpClient.executeMethod( getMethod );
The server caches your request and returns html page that contains the
login form.
2) POST call
postMethod = new PostMethod(
https://localhost:8444/j_security_check; );
int_result =
You may look into FormAuthenticator.java of package
org.apache.catalina.authenticator and see it with your own eyes.
2008/2/3, Ashok Venkat [EMAIL PROTECTED]:
Thanks for the detailed explanation, as you mentioned it seems that the
second request is being ignored ,but i am not clear how come
It is browser configuration issue.
You should add 172.168.0.15 or 172.168.0.* to the list of
not-proxied servers in your browser.
In Internet Explorer look where the proxy is configured (on the
Connections tab), and there is Advanced... button. Click it to open
advanced proxies configuration
I guess the cause is the same as for tomcat 6.0.16.
See messages entitles Cookies are broken in 6.0.16?.
http://www.nabble.com/Cookies-are-broken-in-6.0.16--to15369118.html
-
To start a new topic, e-mail: users@tomcat.apache.org
See
https://issues.apache.org/jira/browse/NET-190
https://issues.apache.org/jira/browse/NET-188
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
-Problem:
when I try to access using other computer, I typed
http://192.168.0.1/webapplication/login.jsp, error page occured.
where ip address is address of machine where Tomcat is installed.
(Page cannot be displayed -- from IE 6.0)
If you are using Windows XP SP2 or something later,
And also there is
http://tomcat.apache.org/migration.html
Is there any documentation available where I can read about
all the changes that has happened from TC 5 to TC6.
http://tomcat.apache.org/tomcat-6.0-doc/changelog.html
Also, see options for java in the list of tools in documentation for
your version of Java SDK, e.g.
http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html
http://java.sun.com/javase/6/docs/technotes/tools/index.html#basic
2008/3/11, Owen Rees [EMAIL PROTECTED]:
--On Tuesday, March
Take a look at Acegi Security for Spring Framework,
http://acegisecurity.org/
It is a complete, container non-specific framework. The web part of it
is configured as a filter (a chain of filters) in your web.xml.
The SecurityContextHolderAwareRequestFilter class there publishes
acegi-specific
It looks like ps ax | grep ... lists several processes for the same
JVM, due to threads behavior is Linux,
(see
1. http://tomcat.apache.org/faq/unix.html#ps
2. http://java.sun.com/developer/technicalArticles/Programming/linux/index.html
(scroll down to About Linux Threads)
3.
When compiling with Ant the debug information is off by default.
Look for the debug option of javac task in Ant manual here:
http://ant.apache.org/manual/CoreTasks/javac.html
-
To start a new topic, e-mail:
How can I specify the Tomcat installation directory?
What am I missing in the configurations of the Eclipse?
The answer is that you specify the Tomcat installation directory when you
are configuring Server Runtime Environment. It is like Java Runtime Environment,
but for Java EE.
In the main
Just a hypothesis.
During these off-peak hours some other applications are actively running
(maintenance etc.), and as java is not intensively used, its memory is swapped
to the hard disks.
Thus, when it awakens and does the GC, it takes so much time to wake up
the memory walking through it to
Hi, Andrei!
You may consider looking at existing mock implementations of
HttpServletRequest/Response that are available.
For example, Spring Framework (http://springframework.org) has
org.springframework.mock.web.MockHttpServletRequest,
org.springframework.mock.web.MockHttpServletResponse
Those
What is this.
I am getting an outofmemory error on running QuartzScheduler. Does this has
anything to do with that?
No, Apache Tomcat Native library is not related to your out-of-memory
errors. You may note,
that the message shows even if you do not have your webapp deployed.
in
catalina.properties file.
Best regards,
Konstantin Kolinko
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Isn't it http://issues.apache.org/jira/browse/DBCP-28 ? Connection leak ...
It was fixed in DBCP 1.2.2.
You may want to read through the Release History of DBCP for other
bugs that have been already found and fixed,
http://commons.apache.org/dbcp/changes-report.html
You may consider upgrading from Tomcat 5.0 to Tomcat 5.5.
+ It implements the same version of the specification (Servlets
2.4/JSP 2.0), thus there must be no impact for your webapp.
+ It is designed to run on JVM 1.5 in its default configuration.
(Running with JVM 1.4 requires additional
Is your third-party jar placed into the shared libraries folder as it should be?
See
http://wiki.apache.org/tomcat/HowTo#head-a4b7185ee95d0cf14a48f92c08d1eb66b561139d
http://forum.java.sun.com/thread.jspa?threadID=780109
See also
http://java.sun.com/docs/books/jni/html/design.html
chapters
Does the native library consist of a single .so file, or there are several ones?
See the second NOTE MEG here:
http://wrapper.tanukisoftware.org/doc/english/prop-java-library-path-n.html
It is about requirements for LD_LIBRARY_PATH if there are several libraries.
Does your printenv mention the
be relevant?
Konstantin Kolinko wrote:
Does the native library consist of a single .so file, or there are several
ones?
See the second NOTE MEG here:
http://wrapper.tanukisoftware.org/doc/english/prop-java-library-path-n.html
It is about requirements for LD_LIBRARY_PATH
You may try some tools to edit those files.
E.g., I am using this one as a plugin for Eclipse, but it may run separately:
http://propedit.sourceforge.jp/index_en.html
2007/10/17, Billy Ng [EMAIL PROTECTED]:
This is the major problem for the people to localize context. \u
unicode format
I do not have recent experience with JNDI, so the following are just
my guesses, trying to help.
May be someone will provide a better answer, or You will be able to
find it by yourself.
Thus said, it looks to me that what you are trying is not possible.
As seen from [1], Tomcat 5.5 already has
Is it possible to call the digester of the web.xml by hand?
Hmm, I can imagine a couple of ways how I am able to call it, thus it
is theoretically possible.
Why do you need it? Do you need to go that way?
See, that
1. You have not said about your reasons.
2. You have not said about your
Just to be sure. I hope that others have more fruitful thoughts.
1) Do you invalidate the session when the users log out ?
2) I do not like the following fragment:
req.getSession().setAttribute(user, p);
req.getSession().setAttribute(prev_session_time,
You should have asked this question at Spring Framework community
support forum,
http://forum.springframework.org/forumdisplay.php?f=33
Acegi Security is implemented as a filter, and its configuration is
independent of Tomcat.
I have not an example at hand, so the following is from the reference
Download Tomcat Connectors Archive
That is
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/source/
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/
2008/3/16, [EMAIL PROTECTED] [EMAIL PROTECTED]:
where can I download older versions of JK, e.g. JK 1.2.19 ?
It is a bug of 6.0.16 / 5.5.26. See
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
It occurs for requests that use multibyte code pages (like UTF-8).
Single-byte ones AFAIK are working fine.
-
To start a new topic,
Created a new web app, and tried to see the index.html page, just to
test. Comes up blank.
Have you tried
http://localhost:8080/your project name/index.html ?
There is no context in server.xml for my project.
Yes, there should not be any.
Have a look into
Program: ...Software Foundation\Tomcat 5.0\bin\tomcat5.exe
File: CheckFailureSnippet.cpp
Line: 41
Whose code it is?
AFAIK, service startup code for TC 5.5 and 6.0 for Windows comes from
procrun project (http://commons.apache.org/daemon/procrun.html, search
this mailing list archives for
Aren't you using some national characters in your user name or password?
Admin application specifies SetCharacterEncodingFilter in its web.xml
and uses FORM authentication. The Manager one does not specify the
filter and uses BASIC authentication.
Also,
As you may see from your logs:
[Wed May 28 18:45:28 2008] [1316:1392] [info] jk_ajp_common.c (869):
Failed opening socket to (127.0.0.1:8009) (errno=61)
You forgot to specify different ports for your AJP/1.3 connectors.
They both try to start listening on port 8009, but that is not
possible,
The answer is correct as a direct match to the question, but I would
recommend using the following code instead:
System.getProperty(catalina.home)
System.getProperty(catalina.base)
The catalina.bat / catalina.sh script passes values of CATALINA_*
environment variables as system properties, when
.
Konstantin Kolinko wrote:
The answer is correct as a direct match to the question, but I would
recommend using the following code instead:
System.getProperty(catalina.home)
System.getProperty(catalina.base)
The catalina.bat / catalina.sh script passes values of CATALINA_*
environment variables
1) What is in your worker.properties file?
2) The following lines in Apache log:
[Thu May 29 20:25:56 2008] [1264:2008] [info] jk_connect.c (566):
connect to 10.10.16.63:8009 failed (errno=61)
mod_jk tries to connect to 10.10.16.63. Is the IP address correct?
In the worker.properties that you
The default webpage does belong to the default application (the name
of that application is ROOT). If ROOT application is not deployed on
the server, there is no default page to be displayed.
See also,
at run time.
JMX servlet in Tomcat Manager application is an example of using it.
(search the archives for more info on JMX)
Best regards,
Konstantin Kolinko
2008/7/7 Jonas Wagner [EMAIL PROTECTED]:
Good morning,
I'm still trying to figure out how I can cause tomcat to re-read JNDI
resources
1 - 100 of 2345 matches
Mail list logo