Hi,
A website is running on server A (Tomcat 5.0) and it has to move to server B
(Tomcat 6.0.18).
I have configured everything which should be configured. But somehow the
server is not able to locate the webapp.
The apaches httpd.conf (on Server A) shows the following:
IfModule mod_jk.c
I searched a lot for the setting of the jconsole to monitor tomcat
locally..i got every where it is saying to set or edit
CATALINA_OPTS=-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=9004 \
-Dcom.sun.management.jmxremote.ssl=false \
I can see the problem, but I don't yet have a solution. Usually the
filter part of the redirector hecks whether to forward, saves the URL
and sets the special URL /jakarta/isapi_redirect.dll. Then IIS calls the
extension part of the redirector, which extracts the saved URL and does
the forwarding.
Hello everybody!!!
I have 2 tomcats with the same configuration in 2 diferent servers with the
same configuration, one tomcat manager appears in spanish and the other one
appears in english, one have dd/MM/ and the other MM/dd/.
Where can i configure this?
Thanks in advance.
This is normal.
When you start Tomcat manually, it uses YOUR-TOMCAT-HOME/webapps as
default webapp directory. This directory contains ROOT webapp (visible
on context /), and that is the welcome page you see.
On the other side, when you start Tomcat inside Eclipse, it uses some
other webapp
Hi everybody
I have a problem with Apache Tomcat in Netbeans 6.5 and Apache Tomcat
separated...
I made my project with Netbeans 6.5, the server is Apache Tomcat who is
included with it...
When I deploy, it work very good
But when a made my *.WAR and I installe Apache Tomcat separeted and I
dave massie wrote:
I do not know how to determine where the problem is.
Can anyone suggest something? I would be most grateful for any ideas or
help.
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
16:44:34.315 [main] ERROR o.s.web.context.ContextLoader - Context
initialization failed
Xie Xiaodong wrote:
Hello,
IMHO, it would be better to use java concurrency package now than to use
the old synchronize mechanism. The old mechanism is to low level and error
prone. I think you could have a thread pool and some handler pattern to
handle the request from your customer.
Ties wrote:
Hi,
A website is running on server A (Tomcat 5.0) and it has to move to server B
(Tomcat 6.0.18).
I have configured everything which should be configured. But somehow the
server is not able to locate the webapp.
So clearly you haven't configured everything. Care to show us the
Anamika raj wrote:
I searched a lot for the setting of the jconsole to monitor tomcat
locally..i got every where it is saying to set or edit
CATALINA_OPTS=-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=9004 \
-Dcom.sun.management.jmxremote.ssl=false \
Rafa Orteu wrote:
Hello everybody!!!
I have 2 tomcats with the same configuration in 2 diferent servers with the
same configuration, one tomcat manager appears in spanish and the other one
appears in english, one have dd/MM/ and the other MM/dd/.
Where can i configure this?
Looks
Mosab Hsis wrote:
Hi everybody
I have a problem with Apache Tomcat in Netbeans 6.5 and Apache Tomcat
separated...
I made my project with Netbeans 6.5, the server is Apache Tomcat who is
included with it...
When I deploy, it work very good
But when a made my *.WAR
How did you do this?
Hi,
When i try the chat example. it asks me to enter some details in text box
after filling the text box and hitting the enter the same page is displayed
asking me to enter details in text box. what aspect of Comet is this example
representing.
Thank you,
bala.
Mosab Hsis wrote:
Hi everybody
I have a problem with Apache Tomcat in Netbeans 6.5 and Apache Tomcat
separated...
I made my project with Netbeans 6.5, the server is Apache Tomcat who is
included with it...
When I deploy, it work very good
But when a made my *.WAR
How did you do this?
In
From: David Kerber [mailto:dcker...@verizon.net]
The synchronized section doesn't do a whole lot, so it
doesn't take long to process.
Indeed. So take a thread dump and see what's happening before making *any*
changes to this key part.
My question is, what kinds of operations need to be
-Ursprüngliche Nachricht-
Von: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Gesendet: Donnerstag, 7. Mai 2009 15:54
An: Tomcat Users List
Betreff: RE: Multiple Context and Websites
From: Alexander Diedler [mailto:adied...@tecracer.de]
Subject: AW: Multiple Context and
Mark Thomas wrote:
Xie Xiaodong wrote:
Hello,
IMHO, it would be better to use java concurrency package now than to use
the old synchronize mechanism. The old mechanism is to low level and error
prone. I think you could have a thread pool and some handler pattern to
handle the request from
Peter Crowther wrote:
From: David Kerber [mailto:dcker...@verizon.net]
The synchronized section doesn't do a whole lot, so it
doesn't take long to process.
Indeed. So take a thread dump and see what's happening before making *any*
changes to this key part.
I'm trying; if I use
Hi All,
I'm not so experienced in how Java/Tomcat handle timezone matters, but I've
come across a running instance of a container which claims to be in GMT for
some webapps, and US/Eastern for others.
The container itself appears to be logging in US/Eastern.
I've verified through a heapdump
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
if I use tomcat5w.exe to take a thread dump, where does it
leave the file?
If you can take a thread dump with tomct5w.exe, please let us know how, because
I'm certainly not aware of it having
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
if I use tomcat5w.exe to take a thread dump, where does it
leave the file?
If you can take a thread dump with tomct5w.exe, please let us know how, because
I'm
Hello, Im working with Rafa Orteu, and we´re are having the same problem. So Im
answering for him.
Both server have the same locale configuration for machine and user owner,
es_es.iso885...@euro, same time zone machine, same java version.
Even in the same machine we have one her tomcat with
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
If you right-click on the icon in the system try, one of the items says
Thread dump.
Right - sorry for forgetting that. I never install from the .exe download (too
restrictive), so I never
Hello,
Take a look at http://java.sun.com/j2se/1.3/docs/api/java/text/DateFormat.html
(I just did a quick google - please verify for the java version you are on)
maybe use a different method where you can specify the format type since it
sounds like you want it the same way regardless of
From: A A [mailto:masvalesolo...@yahoo.es]
Subject: Re: Tomcat Language
Checking java variables with and jsp in each tomcat, we see that
java.text.DateFormat.getInstance() returns mm/dd/yy in the english
manager and dd/mm/yy in the spanish manager.
Any suggestion?
Examine the system
From: Alexander Diedler [mailto:adied...@tecracer.de]
Subject: AW: Multiple Context and Websites
Yes, that it is what we want, to have one domain for one webapps.
Then you will need multiple Host elements, each with a unique appBase
setting. Deploy the default webapp as ROOT under each
Caldarale, Charles R wrote:
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
If you right-click on the icon in the system try, one of the items says
Thread dump.
Right - sorry for forgetting that. I never install from the .exe download
my guess is that when you store a hibernate object in your session, it
doesn't transfer well,
Filip
dhanesh kk wrote:
List,
I am trying a transparent failover cluster with 2 separate TC-6.0.8
nodes with a apache2.2 node as LoadBalancer with mod_proxy_ajp
JDK 1.5.0_15 and platform
no all operating systems support a bind address for multicast sockets
socket = new MulticastSocket(new InetSocketAddress(address,port));
Filip
sudhakar p wrote:
Hi
I am trying to configure Clustering/Session Replication in Tomcat 6.0.18 and
am getting this message when I start the tomcat
Peter Crowther wrote:
From: David Kerber [mailto:dcker...@verizon.net]
The synchronized section doesn't do a whole lot, so it
doesn't take long to process.
Indeed. So take a thread dump and see what's happening before making *any*
changes to this key part.
My question is, what kinds of
Pid wrote:
Peter Crowther wrote:
From: David Kerber [mailto:dcker...@verizon.net]
The synchronized section doesn't do a whole lot, so it
doesn't take long to process.
Indeed. So take a thread dump and see what's happening before making *any*
changes to this key part.
My
I am working on windows vista and using Tomcat 5.0.28.0 and JDK 1.6
so please tell me the steps for windows.
thanx
Mark Thomas-18 wrote:
Anamika raj wrote:
I searched a lot for the setting of the jconsole to monitor tomcat
locally..i got every where it is saying to set or edit
-Original Message-
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
That said, any idea where that might leave the thread dump?
After some experimentation, I found it in jakarta_service_MMDD.log in
Tomcat's logs directory.
-
From: Pid [mailto:p...@pidster.com]
Subject: Re: Performance with many small requests
Would a single thread executor service alongside an atomic counter be
useful here? (my concurrency knowledge isn't so hot).
Sounds like overkill just for ordering. Synchronization with the single thread
From: Anamika raj [mailto:rajnam...@gmail.com]
Subject: Re: how to setup jconsole to monitor tomcat locally
I am working on windows vista
Our deepest sympathies.
so please tell me the steps for windows.
The steps Mark outlined are the same; just substitute .bat for .sh. All
.bat files
Caldarale, Charles R wrote:
-Original Message-
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
That said, any idea where that might leave the thread dump?
After some experimentation, I found it in jakarta_service_MMDD.log in
Hi
I want a parameter such as the following:
Parameter name=companyName value=My Company, Incorporated
override=false/
to have different values on different tomcat servers. Say 3 applications on 2
different tomcat boxes, all of which will use element companyName. However,
From: Anamika raj [mailto:rajnam...@gmail.com]
Subject: Re: how to setup jconsole to monitor tomcat locally
using Tomcat 5.0.28.0
Please note that Tomcat 5.0 has been deprecated for some time; you would be
better off moving to 5.5.x, or better yet, 6.0.x.
- Chuck
THIS COMMUNICATION MAY
From: David kerber [mailto:dcker...@verizon.net]
Also, right now I'm doing a .flush() after the .write() to the log
file. Is that usually necessary, other than to avoid losing
data lines in case of a system failure?
No, other than that.
What disk subsystem are you running on? Start
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
Apparently it doesn't spit out the thread dump if the logging level is
set to error, because I had looked there, and looked again just now (in
case it took longer than I expected).
Mine is
Peter Crowther wrote:
From: David kerber [mailto:dcker...@verizon.net]
Also, right now I'm doing a .flush() after the .write() to the log
file. Is that usually necessary, other than to avoid losing
data lines in case of a system failure?
No, other than that.
What disk subsystem are you
From: David kerber [mailto:dcker...@verizon.net]
I'll look into that to be sure, but I don't think the HD is limiting.
I think I agree with you, but it's a classic area that people miss - Intel have
done entirely too good a job of branding the CPU as the only place where speed
matters!
From: Paul M [mailto:pjm...@yahoo.com]
Subject: Parameter value based on server
I thought of putting this in the context.xml or web.xml file.
However, my understanding is that these files are used by Servlets
only?
They're available to any code that has access to ServletContext, which
Hi,
I'm using Tomcat for a Java web application (created with GWT).
The application needs to access a server-side database. Initially my choice
was MySQL but for reasons beyond my control it will have to be SQL Server.
Is it problematic to use SQL Server from Tomcat?
I mean, as long as I have a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 5/6/2009 10:26 PM, Martin Gainty wrote:
With redirect-prefix, instead of executing baz action's execute() method (by
default it isn't overriden in struts.xml to be something else), [...]
What is your obsession with Struts these days? It
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Guojun,
On 5/8/2009 12:22 AM, Guojun Zhu wrote:
Thank you very much. I can get the link redirect. But the tomcat's
container security seems to happen before it.
The container's security mechanism will always execute before your code.
Keep that
Hi Filip,
Thanks for your reply
My server OS is Linux Red Hat Enterprise Linux Server release 5.3 which will
be support MULTICAST.
Please help to fix the problem
Thanks in Advance
Raju
On Fri, May 8, 2009 at 8:50 AM, Filip Hanik - Dev Lists
devli...@hanik.comwrote:
no all operating
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brandy,
On 5/6/2009 4:52 PM, Jack, Brandy wrote:
If we don't restart, the users cannot access the application.
It is java based (I think) and they blame it on the SQL server (of
course) which is an entirely different server.
I wonder if your
Problem fixed!
In summary Tomcat requires a .keystore file under c:\document and
settings\default user and as such the one there was not the one details
within server.xml.
I changed the entries within this default keystore, restarted tomcat and
excellent problem resolved.
Q: Whats the point of
From: Andrews, Wayne [mailto:wayne.andr...@sap.com]
Subject: RE: SSL Mysterious Self Signed Certificate - FIXED
In summary Tomcat requires a .keystore file under c:\document and
settings\default user and as such the one there was not the one details
within server.xml.
That's simply not
I am stuck on same issue. I tried reconfiguring Tomcat on Eclipse using
sysdeo plugin but when I try to run simple jsp page am getting same 404
error.
Any help would be highly appreciated ?
Thanks,
Ados
On Fri, May 8, 2009 at 8:51 AM, Chris Lenart clen...@comcast.net wrote:
I'm getting simular
From: tomas_bar [mailto:barto...@gmail.com]
Subject: Tomcat SQL Server Integration Question
Is it problematic to use SQL Server from Tomcat?
No.
I mean, as long as I have a ODBC driver for my java program to
communicate with the database
Never, never, never use ODBC. You need a JDBC
I don't think Linux supports binding to an interface for multicast.
Multicast still works, you just can't bind it, instead you setup your
routing table to make sure you route it the way you want.
the other way you can do is setup static memberships, where you define
your tomcat instances
On Fri, May 8, 2009 at 8:03 AM, Andrews, Wayne wayne.andr...@sap.com wrote:
In summary Tomcat requires a .keystore file under c:\document and
settings\default user and as such the one there was not the one details
within server.xml.
That would be terribly awkward for all of us running Tomcat
David kerber wrote:
Caldarale, Charles R wrote:
-Original Message-
From: David kerber [mailto:dcker...@verizon.net]
Subject: Re: Performance with many small requests
That said, any idea where that might leave the thread dump?
After some experimentation, I found it in
From: David kerber [mailto:dcker...@verizon.net]
Now that I've got a thread dump, what am I looking for?
You found it first time :-). Now the hard part - fixing it.
I've got a
bunch of sections like this, pretty much all of which are waiting to
lock 0x057c73e0. Is there any way to figure
Peter Crowther wrote:
From: David kerber [mailto:dcker...@verizon.net]
Now that I've got a thread dump, what am I looking for?
You found it first time :-). Now the hard part - fixing it.
Yeah, that's what I figured!
I've got a
bunch of sections like this, pretty much all of which
From: David kerber [mailto:dcker...@verizon.net]
I also have quite a few blocks like this:
[...]
[2009-05-08 10:43:23] [info] - locked 0x0510e6e0 (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
[...]
I assume these are just threads waiting for something to do
(waiting for a
Hi Ados,
Ognjen is right; the default setting in the eclipse plugin for tomcat6 is to
use the workspace metadata;
this way when you start tomcat from eclipse only the projects you have deployed
on it inside of eclipse will be the running apps.
If you want you can alter this setting by double
It was the heap space. I had entered a value but forgot to put the m after
it. So, I guess it was allocating 512 bytes. No wonder it failed.
Thanks for your help!
Dave
On Fri, May 8, 2009 at 6:31 AM, Mark Thomas ma...@apache.org wrote:
dave massie wrote:
I do not know how to determine where
From: Peter Crowther [mailto:peter.crowt...@melandra.com]
Subject: RE: Performance with many small requests
They look like spares in the pool, but my knowledge of Tomcat's
internals is limited.
Yes, they are just waiting for requests to show up.
Only one thread can get into the method
Caldarale, Charles R wrote:
From: Peter Crowther [mailto:peter.crowt...@melandra.com]
Subject: RE: Performance with many small requests
They look like spares in the pool, but my knowledge of Tomcat's
internals is limited.
Yes, they are just waiting for requests to show up.
Only one
This information applies to the Tomcat support found in the Eclipse Web Tools
Platform, see http://www.eclipse.org/webtools. I believe Ados has stated he is
using the Sysdeo Tomcat plug-in, which is quite different. For those using or
considering the Web Tools Tomcat support, see
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Strictly speaking, that's one thread per *servlet* object; if
using the SingleThreadModel (let's hope not), the container
is allowed to create multiple instances.
Good point in the general case, but I rather suspect David would
From: Peter Crowther [mailto:peter.crowt...@melandra.com]
Subject: RE: Performance with many small requests
Meh, why don't I bow out and leave Chuck to give all the good answers?
A) I don't have them all.
B) What I do have is meetings, bloody meetings and won't be answering promptly.
:-(
Peter Crowther wrote:
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Strictly speaking, that's one thread per *servlet* object; if
using the SingleThreadModel (let's hope not), the container
is allowed to create multiple instances.
Good point in the general case, but I
Mike,
What would you do if you want to get it working so you can code and
test?
-Original Message-
From: Mike Altieri [mailto:mca...@yahoo.com]
Sent: Friday, May 08, 2009 11:12 AM
To: Tomcat Users List
Subject: Re: Tomcat Configuration in Eclipse
Hi Ados,
Ognjen is right; the
Please excuse my previous kludge question.,
Let me start with my first question.
My classes are contained and loaded in a jar from ./common/lib (also tried
./shared/lib). When
the my common class is instantiated by my web application, the
getContextClassLoader
reports WebAppClassLoader ..
Hi Chris,
Make sure to check out Larry's post - he picked up that a different plug-in may
be being used in the original post.
The sysdeo plugin has something similar in its config:
they're doc:
http://www.eclipsetotale.com/articles/tomcat/tomcatPluginDocFR.html
(Its in french but using
Hello all.
My name is Dave and I am new to this list and new to tomcat. I have been
trying to set up tomcat with apache 2.2 for the last few days and have
been unsuccessful in getting the connectors working with the supplied
example files. It should be noted that accessing the tomcat server
From: scarlson [mailto:scarl...@i2s.com]
Subject: Re: Tomcat / Java JNI and Classloading issues
Please excuse my previous kludge question.
O.k. It was way too verbose and rambling for anyone to make much sense of.
My question is, should getContextClassLoader report WebAppClassLoader??
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Configuration help with tomcat connectors
I have been trying to set up tomcat with apache 2.2 for the last
few days and have been unsuccessful in getting the connectors
working with the supplied example files.
Before proceeding any
The redirect dll name is isapi_redirect.dll
On the IIS: I am running IIS 6.0, .net Framework 3.5. I have a default
website with several virtual directories. Most of them are asp.net sites.
jakarta is also another virtual directory with execute access. The
default App pool is configured to
It's on a pc / xp. I had it working before and had reformat my drive.
Nothing has changed.
-Original Message-
From: Mike Altieri [mailto:mca...@yahoo.com]
Sent: Friday, May 08, 2009 1:03 PM
To: Tomcat Users List
Subject: Re: Tomcat Configuration in Eclipse
Hi Chris,
Make sure to
No. The contextClassLoader for any thread executing in a webapp will be
an instance of WebAppClassLoader. A WebAppClassLoader will delegate to
the common or shared classloader if it fails to find the requested class
in WEB-INF/lib or WEB-INF/classes.
So if the WebAppClassLoader delegates
Hi,
I have to setup phpmyadmin on a server that use tomcat. I installed
phpmyadmin according to the instruction but when I try to reach
http://my_ip/phmyadmin, I received HTTP Status 404 - /phpmyadmin/,
description The requested resource (/phpmyadmin/) is not available.
I think some twist has
From: Bernard Fay [mailto:bernard@gmail.com]
Subject: phpmyadmin and tomcat
I installed phpmyadmin according to the instruction
What instruction would that be?
Please, understand that I am very newbie to phpmyadmin and tomcat.
The first thing to learn is to always provide the
Well, the installation instruction as found at phpmyadmin.net. That part
seems rather simple but with the result I have it might not be that simple.
java -version
java version 1.5.0_15
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build
From: Bernard Fay [mailto:bernard@gmail.com]
Subject: Re: phpmyadmin and tomcat
Well, the installation instruction as found at phpmyadmin.net.
httpd is a good bit better at running PHP than Tomcat is, so since you've
already got httpd running, better to use that for phpmyadmin.
Caldarale, Charles R wrote:
From: A A [mailto:masvalesolo...@yahoo.es]
Subject: Re: Tomcat Language
Checking java variables with and jsp in each tomcat, we see that
java.text.DateFormat.getInstance() returns mm/dd/yy in the english
manager and dd/mm/yy in the spanish manager.
Any suggestion?
Hi.
Just for a start, add a line after this one :
# Send JSPs for context /jsp-examples to worker named default
JkMount /jsp/*.jsp worker1
JkMount /jsp worker1
and just try again (after restarting Apache)
Note : I also think you've got way too many workers there, including a
load balancer
Caldarale, Charles R wrote:
From: Dave Filchak [mailto:sub...@zuka.net]
Subject: Configuration help with tomcat connectors
I have been trying to set up tomcat with apache 2.2 for the last
few days and have been unsuccessful in getting the connectors
working with the supplied example files.
Hello,
I'm new to the list.
I'm having an issues with Tomcat. I'm using version 1.2.28 of
the redirect, and I've tried Tomcat versions 6.0.18 and 5.5.27 and Java
versions 1.5u18 and 1.6u13. No matter what Tomcat or Java version I
use, I have the same issues; redirect is the only
We are setting our infrastructure to run tomcat servers with stateful
two-tier Web UI applications (WEB Tier (Tomcat) --jdbc-- Database).
Broadly speaking the infrastructure has to satisfy 99.9% of up time as far
as HA is concerned. As far as applications are concerned, in case a server
fails it
Dear Chris,
I am sorry, but I am not sure that I understand what you mean. All
your solutions is to modify the login.jsp. But we have already reach
there by http unsecurely whenever I try to access any restricted
pages. I have set things like this with the form authentication as
last post.
From: Nenad Kovacevic [mailto:micami...@yahoo.com]
Subject: Getting the Right High Availability Architecture for Tomcat
If the session is replicated across the cluster should it not be
irrelevant where a request gets processed?
The problem is that multiple requests associated with a single
Hello,
In my web application, I am using tomcat's form based authentication for
protecting my secure web pages. Thus whenever user starts accessing webapp
by providing an URL of protected page, it is redirected to login page.
However, while doing so it creates a session. I do not want my web
Paul M pjm...@yahoo.com wrote in message
news:402632.36770...@web44811.mail.sp1.yahoo.com...
Hi
I want a parameter such as the following:
Parameter name=companyName value=My Company, Incorporated
override=false/
If you set a system property via -DcompanyName=My Company, Incorporated,
then you
along that recommendation an axis2 examples
web.xml
web-app
servlet
servlet-nameAxisServlet/servlet-name
display-nameApache-Axis Servlet/display-name
servlet-classorg.apache.axis2.transport.http.AxisServlet/servlet-class
param-nameaxis2.xml.path/param-name
89 matches
Mail list logo