Hi,
I am using tc 6.0.16 with jdk 1.6.0.
I get the following error on startup:
java.lang.IllegalAccessException:
Class org.apache.catalina.core.StandardContext
can not access a member of class
com.mycom.Myclass
with modifiers private
web.xml:
listener
Hi, there.
Does anyone know how to trace session replication in a cluster?
Thank you.
Hi,
at tomcat 5.5 cluster you can use the cluster logging. Look at tomcat
docs
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
Cluster
className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
i think, this error is self-expalnatory. you have a problem in the code
itself,try changing the private modifier to public...or either post your
program. can you run this program independently (that is, out of server
root) ?
On Tue, 22 Jul 2008 11:55:01 +0530, Fu-Tung Cheng [EMAIL
Hello list.
Actually, when I want to access to the main page of my web application,
I write ip/directory1/directory2/main_page.html
I would need that when I write the url-- http://ip, directly shows the
main_page file, in order when I publish the web application
http://www.grupmicros.com
Have you tried adding
welcome-file-list
welcome-filemain_page.html/welcome-file
/welcome-file-list
to your application's web.xml file?
-- Bill
-Original Message-
From: jeusdi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 4:28 AM
To: users@tomcat.apache.org
Carol Cheung wrote:
Hi,
I'm reading about DataSourceRealm at
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
and step 2 under Quick Start is confusing.
It says Configure a database username and password for use by Tomcat ...
What does this mean? What should the username and password
Sorry, I'm running 6.0.13. Does it work the same?
- Original Message
From: Peter Rossbach [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 11:10:04 AM
Subject: Re: clustering: session replication
Hi,
at tomcat 5.5 cluster you can use the
Gi,
Can you please point me to a link where it clearly says in step by step way
how to do cgi programming with tomcat5.5 with some examples.
The Documentation of tomcat 5.5 is not that much helpful, very brief without
any examples.
Also I am unable to make cgi-servlet up. I tried the steps
Hi,
Can you please point me to a link where it clearly says in step by step way
how to do cgi programming with tomcat5.5 with some examples.
The Documentation of tomcat 5.5 is not that much helpful, very brief without
any examples.
Also I am unable to make cgi-servlet up. I tried the steps
Hi guys,
I am having this strange problem: I had Apache Roller + Ja-Sig (CAS) on my
tomcat working
perfectly for the past couple of months. A few days ago the machine was
restarted and now I see
that whenever I try to load some of the applications I see that it starts
loading it, loads the title
suman wrote:
Can you please point me to a link where it clearly says in step by step way
how to do cgi programming with tomcat5.5 with some examples.
The Documentation of tomcat 5.5 is not that much helpful, very brief without
any examples.
Also I am unable to make cgi-servlet up. I tried the
This is part of a learning program, so I need this for assignments. I know
CGIs are bad.
Thank you.
-suman
On Tue, Jul 22, 2008 at 4:07 PM, Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
suman wrote:
Can you please point me to a link where it clearly says in step by step
way
how to do cgi
From: Caldarale, Charles R
Subject: Server.xml Host Configuration
Remove the Context element; it should never be placed in server.xml and
you don't need one.
As an addendum. If you want to remove the Context element but still create
an access log, you can create a context.xml file.
Place
Hello, again.
Well, I'm asking about how to enable cluster logging because I'm running an
apache/mod_jk balanced two node cluster (without sticky session).
Whenever a request is being sent to a tomcat different than the one which
started the session, then the session is lost. Btw,
this is an
Hi All,
My app does some significant initialization in the class AppListener
implements ServletContextListener,
including processing the application configuration. When it receives
an inconsistent, unrecoverable configuration,
what is the best way to exit from contextInitialized(...) and
Hi,
I'm trying to use FastCommonAccessLogValve to log the bytes send over
the network, but I have gzip compression actived while in the log goes
the bytes count before compression (I've checked it with a sniffer):
192.168.0.64 - - [22/Jul/2008:14:01:15 +0200]
GET /standard-atlante-plus/ HTTP/1.1
From: Radcliffe, William H. [mailto:[EMAIL PROTECTED]
Subject: RE: Server.xml Host Configuration
As an addendum. If you want to remove the Context
element but still create an access log, you can create
a context.xml file.
Note that the OP's AccessLogValve was inside the Host, not the
Hello,
i am using one instance of tomcat 6.00.16, which is accessable through two
domains (.com and .de).
My application contains an english and a german html file.
Is there a way to display the englisch html file for the .com address and the
german html file for the .de address?
Thanks in
From: ich eben [mailto:[EMAIL PROTECTED]
Subject: i18n deployment
Is there a way to display the englisch html file for the .com
address and the german html file for the .de address?
Thanks in advance for any advice!
Configure two Host elements in server.xml, one for each domain. Each Host
Hi,
I want to use Microsoft Integrated Windows Authentication based on Kerberos in
Tomcat using Microsoft IE browsers.
I found this: http://appliedcrypto.com/files/tomcat_spnego.pdf
Do you know of any other free solutions? Are there better alternatives?
Has anyone tried this before? If
I will try to remove/increase socket_timeout to see what happens..
Unfortunately, Tomcat hung again today. It managed to work again without
manually restarting, but again, the 503 message for a while..
I attached two thread dumps and an excerpt of today's isapi_redirect.log.
BTW, this is APR
Date sent: Tue, 22 Jul 2008 15:52:34 +0200
From: Faris Ahmed [EMAIL PROTECTED]
Subject:Integrated Windows Authentication in Tomcat
To: users@tomcat.apache.org
Send reply to: Tomcat Users List users@tomcat.apache.org
Hi,
I want to use Microsoft Integrated Windows
I had a web site with my previous employer and when I quit my job I saved my
web site...
I installed Fedora core 9 with Tomcat 6
I just want to add my site to Tomcat that's all
I can see the default Tomcat site with the http://localhost/ (I changed the
port to 80)
I have eclipse on my
My environment:
NetBeans 6.1
Tomcat 6.0
In my webapp I have a ContextListener class in which I initialize a DB
connection. I've noticed that when I run the project this code executes
twice.
Anyone know why this would happen?
Thanks.
Bob
I found the issue. Listeners must implement a public zero argument
constructor.
Fu-Tung
--- On Tue, 7/22/08, Deepak Mishra [EMAIL PROTECTED] wrote:
From: Deepak Mishra [EMAIL PROTECTED]
Subject: Re: IllegalAccessException for listener
To: Tomcat Users List users@tomcat.apache.org
Date:
- Original Message -
From: suman [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 12:32 PM
Subject: How to do CGI programming in Tomcat5.5
Gi,
Can you please point me to a link where it clearly says in step by step
way
how to do cgi programming with
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: ContextListener executes twice
In my webapp I have a ContextListener class in which I
initialize a DB connection. I've noticed that when I run
the project this code executes twice.
Is your app being deployed twice? Improper Context
From: slytheman [mailto:[EMAIL PROTECTED]
Subject: Help configuring Tomcat
Tomcat is installed on /opt/tomcat/
my site is installed on /var/www/html/ROOT/
Edit the Host element in Tomcat's conf/server.xml file, changing appBase to
/var/www/html.
- Chuck
THIS COMMUNICATION MAY CONTAIN
Looks that way.
I do get this message in deploying:
INFO: The listener MyContextListener is already configured for this
context. The duplicate definition has been ignored.
Default settings from context.xml:
Context
!-- Default set of monitored resources --
Hi,
When a user logs into the system he is given a session. If that same user logs
into the system he is given another session - if the browser is different such
that there is no cookie collision.
In this case I'd like to invalidate the original session on login.
How can I accomplish this?
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: RE: ContextListener executes twice
INFO: The listener MyContextListener is
already configured for this context. The
duplicate definition has been ignored.
That's a purely cosmetic error in the current 6.0 version; fixed in 6.0.17,
whenever
Hi Ken,
I use a very similar approach in my applications; and my answer was
to subclass Error with ConfigurationError and throw it when I realize
I cannot initialize completely. This will prevent your application
from servicing requests; as well as play nicely within the container
(tomcat).
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 11:12 AM
To: Tomcat Users List
Subject: RE: ContextListener executes twice
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: RE: ContextListener executes twice
INFO: The listener
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Subject: RE: Server.xml Host Configuration
Remove the Context element; it should never be placed in server.xml and
you don't need one.
If he wants to have an access log, he needs the Valve element. The Valve
element was inside Context,
From: Radcliffe, William H. [mailto:[EMAIL PROTECTED]
Subject: RE: Server.xml Host Configuration
If he wants to have an access log, he needs the Valve
element. The Valve element was inside Context
Look at the original post more carefully:
http://marc.info/?l=tomcat-userm=12197029041w=2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
Ken Bowen wrote:
| All connections are /supposed/ to be closed when the interaction if
| finished, but there still could be one slipping through.
I find it useful in development to set the connection pool size to
exactly 1 connection, and, of
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: RE: ContextListener executes twice
1) Where is your webapp deployed?
On my dev machine - localhost. Is that what you mean?
No, what directory is it in? Is it a .war or an expanded webapp?
2) Do you have a META-INF/context.xml file
Hi there
I did the changes and now I get an error..
Jul 22, 2008 1:08:49 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 111 column 42: Element type Host must be
followed by either attribute specifications, or /.
org.xml.sax.SAXParseException: Element
This is my server.xml file
!-- Note: A Server is not itself a Container, so you may not
define subcomponents such as Valves at this level.
Documentation at /docs/config/server.html
--
Server port=${shutdown.port} shutdown=SHUTDOWN
!--APR library loader. Documentation at
Might have to do with this:
Any declared listener will be reported as declared twice due to this bug
http://www.mail-archive.com/[EMAIL PROTECTED]/msg23408.html
Fu-Tung
--- On Tue, 7/22/08, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Caldarale, Charles R [EMAIL
in tomcat 6, you configure it using logging.properties
for example
org.apache.catalina.ha.level=FINE
org.apache.catalina.tribes.level=FINE
Filip
nch wrote:
Sorry, I'm running 6.0.13. Does it work the same?
- Original Message
From: Peter Rossbach [EMAIL PROTECTED]
To: Tomcat
sending to tomcat-user list,
Original Message
Subject:Re: Tomcat throws UnsupportedOperationException when is starting
Date: Tue, 22 Jul 2008 11:14:13 -0600
From: Filip Hanik - Dev Lists [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 11:52 AM
To: Tomcat Users List
Subject: RE: ContextListener executes twice
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: RE: ContextListener executes twice
1) Where is your
Forgot to say it is HP-UX, and in this link indicated, we didnt find...any
other hints?
Txs
Ingrid
-Original Message-
From: Steve Ochani [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 6:51 PM
To: Tomcat Users List
Subject: RE: Question about the connector Apache x Tomcat
On
found the problem..
Host name=localhost appBase=/var/www/html syntax error...
now I get a status 404.. I will try to troubleshoot it.
--
View this message in context:
http://www.nabble.com/Help-configuring-Tomcat-tp18591522p18594566.html
Sent from the Tomcat - User mailing list
also, post your configuration, to make sure you have it right
(server.xml and context.xml)
Filip
nch wrote:
Hello, again.
Well, I'm asking about how to enable cluster logging because I'm running an
apache/mod_jk balanced two node cluster (without sticky session).
Whenever a request is being
Nice technique ... thanks ... might help to zero in on it.
On Jul 22, 2008, at 12:48 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
Ken Bowen wrote:
| All connections are /supposed/ to be closed when the interaction if
| finished, but there still could be
Thanks.
Does anyone know of a patch for this? I couldn't find one.
In org.apache.catalina.startup.WebRuleSet you'll see this twice:
digester.addCallMethod(prefix + web-app/listener/listener-class,
addApplicationListener, 0);
-Original Message-
From:
On 22 Jul 2008 at 14:21, Tan, Liao wrote:
Forgot to say it is HP-UX, and in this link indicated, we didnt
find...any other hints?
Build from src. It is easy to do, just need apxs, c compiler and make installed.
Txs
Ingrid
-Original Message-
From: Steve Ochani [mailto:[EMAIL
Hello all,
Could anyone help me, please?, I've been trying to solve this mistake but it's
impossible and I don't know what I can do.
This is the mistake:
org.apache.jasper.JasperException: Exception in JSP: /sendmail.jsp:25
22:
23: Store store=s.getStore(pop3);
24:
Hi all,
I'm wondering if there is a way to configure Tomcat to share session
between two URLs from the same webapp? I have an application with
billingual URLs and when users toggle between the languages the session
passed (using jsessionid) does not contain log in information and the user
is
Hi,
I have found it the argument for logging the content length header in
the access log is %B.
Thanks
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2008 10:29 PM
To: Tomcat Users List
Subject: RE: logging!!
From: Shahar Cohen
What is the tomcat mailing list spam score, and why am I unable to send
my email to post a question?
Patrick
Patrick Markiewicz wrote:
What is the tomcat mailing list spam score, and why am I unable to send
my email to post a question?
You just posted a question.
I don't know what you mean by spam score.
-
To start a new topic,
For some reason, my original question is undeliverable, and the tomcat
mailing list sends me:
users@tomcat.apache.org on 7/22/2008 2:28 PM
The e-mail system was unable to deliver the message, but did
not report a specific reason. Check the address and try again. If it
still fails,
I don't use Yahoo! email so take this with a grain of salt, but this
error looks pretty clear cut to me. Yahoo's SMTP server wants username
and password, but you aren't sending any.
--David
Carlos Morales Diego wrote:
Hello all,
Could anyone help me, please?, I've been trying to solve
Don't know ... looks like you can send.
--David
Patrick Markiewicz wrote:
What is the tomcat mailing list spam score, and why am I unable to send
my email to post a question?
Patrick
-
To start a new topic,
Tan, Liao wrote:
Forgot to say it is HP-UX, and in this link indicated, we didnt find...any
other hints?
Hi.
I seem to remember, quite a long time ago on this same list, in response
to a similar question, to have recommended that, for an HPUX system, you
have a look at the pre-packaged
Hi,
I have a question about the isapi redirector. I am using
Plesk. On port 80, the redirector works fine. On port 8880, the
redirector fails to retrieve the specified tomcat application and
returns a status code of not found for slash jakarta slash isapi
underscore redirect dot
If you can't re-post the original email successfully, try:
- posting in plain text format, not HTML
- removing URLs
- posting from a different email account, or from a web gateway such
as nabble.com
Perhaps the mailing list admin can give us some hints about what to
avoid when sending email to
Attempt to post the original question:
I'm running into trouble trying to use the isapi_redirect
that comes with Plesk 8.2. Basically, if my web application is on a
port other than 80, the redirector appears to present the url
/jakarta/isapi_redirect.dll to Tomcat instead of the url
Apparently the plain text suggestion worked. Thanks.
-Original Message-
From: Len Popp [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2008 2:55 PM
To: Tomcat Users List
Subject: Re: Spam Score
If you can't re-post the original email successfully, try:
- posting in plain text format,
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: RE: ContextListener executes twice
Does anyone know of a patch for this? I couldn't find one.
The bug does *not* cause the Listener to be executed twice, since the second
registration attempt is ignored; the message is purely cosmetic. If
At 02:38 PM 7/22/2008, you wrote:
What is the tomcat mailing list spam score, and why am I unable to send
my email to post a question?
Patrick
Well, your first message that made it in looked like this:
X-ASF-Spam-Status: No, hits=4.1 required=10.0
The line which you say I have it. It's this one
store.connect(pop.correo.yahoo.es,chikichiki,bezos11); where chikichiki
is the user name and bezos11 is the password.
Date: Tue, 22 Jul 2008 14:38:19 -0400 From: [EMAIL PROTECTED] To:
users@tomcat.apache.org Subject: Re:
From: slytheman [mailto:[EMAIL PROTECTED]
Subject: Re: Help configuring Tomcat
now I get a status 404.. I will try to troubleshoot it.
Look in the Tomcat logs to see if the application deployed properly.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
From: Riaz, Bob [mailto:[EMAIL PROTECTED]
Subject: RE: ContextListener executes twice
Ok. Removed it. But if the conf/Catalina/[host]/[appName].xml
overrides this, this should make no difference, right?
True, but there's no point in leaving invalid junk lying around just waiting to
cause
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Session sharing between two URLs
I'm wondering if there is a way to configure Tomcat to share
session between two URLs from the same webapp?
Are you sure both URLs access the same webapp? Or do you really have the
webapp deployed
javax.mail.AuthenticationFailedException
...
javax.mail.Transport.send(Transport.java:98)
org.apache.jsp.sendmail_jsp._jspService(sendmail_jsp.java:71)
That's not what I'm seeing ... the stack trace clearly shows the
problem to be in your call to Transport.send(),
Hello, this is the scenario:
I have an application that must have two interfaces: as a desktop application
and as a web application
I've put the business logic inside a JAR library (client_bpm.jar), which must
connect to an Oracle 9i database
I configured the web application so it can use a db
Thank you Chuck! I'm using Tomcat 5.5.25, and we are using our own
authentication system so Single Sign On Vale cannot be used. I set
emptySessionPath=true to make the path on the jsessionid cookie less
restrictive.
I'm using both URLs www.domain1.com and www.domain2.com to access the same
Ravi Sharma wrote:
Hi Andre,
Thanks for reply and sorry for my incomplete reply.
So here is what i have done now.
First i have reinstalled everything again,So i have fresh environment with
apache (version 2.2.3) and tomcat (version 5.5).
JK module(1.2.26 ) is already installed in apache,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: RE: Session sharing between two URLs
I simply want a way to be able to switch between English
and French URLs with the same jsessionid.
O.k., this sounds like it's really a cookie problem, rather than one where
you're appending
Sorry, there is a typo in my previous message :
The JkMount lines should be :
JkMount /servlets-examples ajp13w
JkMount /servlets-examples/* ajp13w
(I forgot an s in the second one)
Ravi Sharma wrote:
Hi Andre,
Thanks for reply and sorry for my incomplete reply.
So here is what i have
STEP 1 :
Stop Tomcat and Apache
Go back to the original configuration files.
Really. Forget your changes for now. Put back
- the original Tomcat server.xml
- the original Apache httpd.conf
- the original workers.properties
[...]
Stoped the tomcat and Apache
Restored all these files which i
Jesse Klaasse schrieb:
I will try to remove/increase socket_timeout to see what happens..
Unfortunately, Tomcat hung again today. It managed to work again without
manually restarting, but again, the 503 message for a while..
I attached two thread dumps and an excerpt of today's
Alejandro,
I've dealt with a similar problem by utilizing the Primrose database
connection pool (http://www.primrose.org.uk/) for my application in
desktop mode. I've used MySQL or postgreSQL, and used Tomcat's db
pool when my app runs in web mode.
For desktop mode, one sets up a
Thanks for the advice, but it seems like only the application/context of the
defaultHost is used. (If i change the default host to .de, i only get the
German site - even for the .com domain) I tried it with an empty and a 'non
empty' context path in the applications context.xml file.
An other
For some reason, this thing does not seem to want to let you go through
port 8009 (or 8010), or it refuses to redirect these URLs.
Could you refresh the copy of jk.log accessible through the web page,
and your new httpd.conf ?
By the way, I can see your Tomcat examples pages also when I
Hi all,
I'm having a few problems - so I'm trying to get rid of error messages
during start up and shut down to try and track down the issue.
First, I have several error messages in the catalina log that reference
applications that I have removed from my web site. How do I prevent
them being
From: ich eben [mailto:[EMAIL PROTECTED]
Subject: RE: i18n deployment
Thanks for the advice, but it seems like only the
application/context of the defaultHost is used.
Post your server.xml and any Context elements you have, along with where
they're located. Look in conf/Catalina/[host]
From: Matt Burkhardt [mailto:[EMAIL PROTECTED]
Subject: Uninstalling Applications
You seem to be expecting us to guess the Tomcat version you're using.
First, I have several error messages in the catalina log that
reference applications that I have removed from my web site.
What are the
As I see it you are mixing two different things, your web application will
always run inside Tomcat server but your desktop application can be
anywhere(not just on TC server).
The simplest way to do this might be to write your own database connection
helper class which would go to the context
Hello - Is there any way to setup digest or basic authentication to
cover an entire host.? Basically I would like to create a blanket
authorization setup for a host without having to modify individual
applications. So anything deployed in that host would require some
simple level of
From: Nathan Wilhelmi [mailto:[EMAIL PROTECTED]
Subject: Configure authentication across an entire host...
Hello - Is there any way to setup digest or basic authentication to
cover an entire host.?
Haven't tried it, but you may be able to put appropriate security-constraint,
login-config,
I'm using tomcat6. If what is written in tomcat docs is not inconsistent
then why I am not able to set an explicit context for my web application by
the following entries in myapp.xml (placed at /conf/Catalina/localhost)
Context path= docBase=myapp debug=0 privileged=true /
You have written that
87 matches
Mail list logo