Zemian Deng wrote:
am I sure? I think it is.
Well, I gave explicit 4 little instructions to repeat exactly what I found.
I read your post and by simply touch/create a empty file under
$CATALINA_BASE/conf/logging.properties and that indeed fixed the problem and
server starts up fine.
Thank's
Hi everybody,
I am using
- Tomcat 6.0.18 ( but I've also tested the same scenario with Tomcat 6.0.16
and Tomcat 6.0.14 and I got the same problem);
- in cluster ( two machines);
- on Debian x64, 4.0.
When using DeltaManager (with or without sticky sessions) the cluster works
fine, but for some
Date sent: Wed, 06 Aug 2008 11:25:23 -0700 (PDT)
From: wskent <[EMAIL PROTECTED]>
Subject:Re: Tomcat 6 classpath issue
To: users@tomcat.apache.org
Send reply to: Tomcat Users List
>
> I looked at the Tomcat HowTo, so wha
am I sure? I think it is.
Well, I gave explicit 4 little instructions to repeat exactly what I found.
I read your post and by simply touch/create a empty file under
$CATALINA_BASE/conf/logging.properties and that indeed fixed the problem and
server starts up fine.
So call it same problem or not,
Are we sure, that you experience the same problem? In other words, is
CATALINA_HOME/conf/logging.properties missing in your setup and does the
suggested workaround to catalina.sh solve the problem for you?
Regards,
Rainer
Zemian Deng schrieb:
> Hum... so it is a confirmed bug then. I don't see a
To Ben & Mark,
Thanks for the replies. I've been trying various things based on your
suggestions. I find my best tool at the moment is "Lambda Probe" -
though it hasn't been updated in a while, it does show me all the things
(for the most part) that I wanted to watch.
There's definitely some
Mark,
Somewhat odd. I've been slowly reworking the app (significant
rebuilding) for a couple of months, and have routinely been
seeing that log4j complaint, although everything was working ok -- so
of course I wasn't even seeing the complaint anymore,
expecting that everything would clean u
I suggest you look at ServletRequest.setAttribute()
In programming Servlets - you can work with parameters which are the fun
little things which come off the query string or via the POST body.
These items should be thought readonly - and only set/sent from the
HttpClient (aka - the web browse
Saltzman, Robert B (GE, Research) wrote:
I have installed tomcat 5.5.26 and JK 1.2.26 on a Windows 2003 Standard
Server running IIS 6.
isapi_redirect.properties, workers.properties, uriworkermap.properties,
server.xml are all configured, and IIS to tomcat jvm AJP connection is
working fine.
How
Hi Jonathan,
About ServletRequest and ServletResponse Interfaces not having a
"setParameter(name, value)" method...depending on your situation, you may
not need to do that. Are you forwarding to another URI within your web
app? If so, you could use request/session.setAttribute( String name, Obje
I have installed tomcat 5.5.26 and JK 1.2.26 on a Windows 2003 Standard
Server running IIS 6.
isapi_redirect.properties, workers.properties, uriworkermap.properties,
server.xml are all configured, and IIS to tomcat jvm AJP connection is
working fine.
However I need to do URL rewriting (may also b
I looked at the Tomcat HowTo, so what do I use in place of
"System.getProperty("java.class.path",".");"
Ageed on not including the 2.4 jar!
--
View this message in context:
http://www.nabble.com/Tomcat-6-classpath-issue-tp18853872p18856933.html
Sent from the Tomcat - User mailing list archive a
good pointcleaning your work folders!
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endor
Ken Bowen wrote:
That's what's frustrating. I'm using a new Tomcat unzip with simple
JULI logging
So what is the log4j message doing in this trace?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscri
Hi!,
Could someone please tell the acceptable values for sslprotocol parameter
for the HTTP Connector. The default is set to TLS1.0. However, I
wanted to know if it could be set to both TLS1.0 and SSLv3.
The How-to document lists only two of the values SSL and TLS1.0 and does
not provid
Wierd. I checked all of your points and they seemed fine. I 'cleaned'
my project, and the warning went away. I know I did that before
Thanks for the help.
~ Geoff ~
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 10:38 AM
To: To
I suggest you start with a working example and modify it once you have it
working.
You might also provide the following information if you expect help. In
general though I think you should have a read of the following:
http://www.catb.org/~esr/faqs/smart-questions.html
What realm do you hav
That's what's frustrating. I'm using a new Tomcat unzip with simple
JULI logging, so the files of interest are catalina.out
and catalina.2008-08-06.log, which are essentially identical.
Normally when a listener class fails, the trace is
shown in catalina.out, before/after the "Error listener
In my conf folder inside of my Tomcat directory in my server.xml I have this:
- Mensaje original
De: Carlos Morales <[EMAIL PROTECTED]>
Para: Tomcat Users List
Enviado: miércoles, 6 de agosto, 2008 19:52:36
Asunto: Re: j_security_check
I have my login and password to
| This is really the only way to do it. The other option is to create a
| new request object and stuff your own parameters into it (or, better
| yet, wrap the original request and add your parameters only to the
wrapper).
How would I do this? This is basically what Jakarta Commons HTTPClient
pack
I have my login and password to access onto my web which I try to go after
authenticate my login and password in a form called login.jsp where I use the
j_security_check, well when I press logon, it doesn't work. It stays in the
same page login.jsp but I use my password and login well and I don'
Hi,
I was wondering what solutions people are using to monitor their tomcat
processes.
I've been having a look at the following:
http://code.google.com/p/tomcat-monitor/wiki/TomcatMonitor
Are there better scripts or alternatives for handling restarting the vm
in the case of out of memory er
Yes, it appears to be valid XML. I checked it with 3 validation
services online.
~ Geoff ~
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2008 10:22 AM
To: Tomcat Users List
Subject: Re: CHKJ4014W Warning
Does your web.xml pass a xml vali
Geoff-
did you verify security-context.xml contains the required context attributes
and is located on classpath e.g.?
Basic
ROLE_MANAGERS
ROLE_USERS
also i see null value entries for your supplied init params
serviceNames
AND
serviceCl
- Original Message -
From: "Fu-Tung Cheng" <[EMAIL PROTECTED]>
To: "tomcat-u"
Sent: Wednesday, August 06, 2008 12:50 AM
Subject: Monitoring tomcat process
Hi,
I was wondering what solutions people are using to monitor their tomcat
processes.
I've been having a look at the follow
Does your web.xml pass a xml validation check? It looks like it's
complaining you might have a ...
element that's empty.
--David
Bell, Geoffrey T. wrote:
I'm getting a warning that I can't seem to find an answer for. The
Eclipse console is stating:
Severity and Description:
CHKJ4
Hum... so it is a confirmed bug then. I don't see a ticket open on those
threads. Should I create one?
On Wed, Aug 6, 2008 at 11:14 AM, Rainer Jung <[EMAIL PROTECTED]>wrote:
> See also
>
> http://marc.info/?t=12180313421&r=1&w=2
>
> Regards,
>
> Rainer
>
> Zemian Deng schrieb:
>
> Hi Mark, I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Carlos,
Carlos Morales wrote:
| I'm having problems with j_security_check because when I try to log
| in my login.jsp it doesn't work and I don't know why.
Care to elaborate?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
Jonathan Mast wrote:
| I can't figure out how to use the pageContext.forward() method like it's
| equivalent script element:
Do you mean that you want to add parameters to a forwarded URL without
using JSP?
| How do I pass the name-value
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johnny,
Johnny Kewl wrote:
| Dave this is how I do it...
|
|Enumeration paramNames = request.getParameterNames();
Go back and read the OP: he says that he's got a String and he wants to
treat it as a URL and check for parameters. He's no
Hello all,
I'm having problems with j_security_check because when I try to log in my
login.jsp it doesn't work and I don't know why. Here is my web.xml :
< ?xml version="1.0" encoding="UTF-8"? >
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="
Ken Bowen wrote:
Ok, I fixed that (see below), but that does seem to change the problem
at all. The catalina.out trace is the same.
Have a look at the files in the logs directory. One of them should have
more information (like the stacktrace from the failed listener).
Mark
---
I can't figure out how to use the pageContext.forward() method like it's
equivalent script element:
How do I pass the name-value pair "foo":"bar" using pageContext.forward()? I
thought there would be a method like forward(String path, Map params) but
there isn't.
Nor is there a setParamet
- Original Message -
From: "David Wall" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, August 06, 2008 1:17 AM
Subject: Parsing a URL to see if a param exists
Is there an API call to parse an URL I have as a String so that I can
determine if a given param exists?
I k
Thanks for the code idea. I like what you wrote.
If there's no '?' in the URL, then you can return false right away,
right?
Indeed!
public boolean isParamInUrl(String url, String paramName)
{
~ return url.contains('?' + paramName + '=')
~ || url.contains('&' + paramName + '=');
}
T
Sure, here it is:
http://java.sun.com/dtd/web-app_2_3.dtd";>
emtk-air
LiveCycle Data Services Application
flex.class.path
/WEB-INF/flex/hotfixes,/WEB-INF/flex/jars
contextConfigLocation
classpath:/security-context.xml
> From: Maduranga Kannangara [mailto:[EMAIL PROTECTED]
> Below is my dump and thanks a lot for your time.
[...]
> Thread [EMAIL PROTECTED]: (state = BLOCKED)
> - java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
> - org.quartz.core.QuartzSchedulerThread.run() @bci=870, line=420
> (Interpret
Ok, I fixed that (see below), but that does seem to change the problem
at all. The catalina.out trace is the same.
Current web.xml:
com.connectedtrading.listener.AppListenerlistener-class>
com.connectedtrading.database.HibernateListenerlistener-class>
com.connecte
Hi Geoff-
masking out the propietary vits can you supply your web.xml
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential na
Peter and all,
Earlier was from my MAC. This thread dump is from RedHat (production
server).
Your help is much appreciated.
Attaching to process ID 12649, please wait...
Debugger attached successfully.
Client compiler detected.
JVM version is 1.5.0_09-b01
Thread 12649: (state = BLOCKED)
Threa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
You could use HttpUtils.parseQueryString, but the entire class is
deprecated. I like your home made parser below, with a couple of tweaks:
David Wall wrote:
| Not really since I just need to process the query string portion to see
| if a give
I'm getting a warning that I can't seem to find an answer for. The
Eclipse console is stating:
Severity and Description:
CHKJ4014W: Empty Entry of Type Parameter Name.
Path:
emtk-air/src/main/webapp/WEB-INF
Resource:
web.xml
Location:
[EMAIL PROTECTED]
e (paramName: n
Each listener should be in it's own ... element
block. Don't try to put all three in one.
--David
Ken Bowen wrote:
Hi all,
Using: Mac OS X 10.4.5 running Tomcat 5.5.26 -- this is a brand-new
copy downloaded from Apache & unzipped; no changes.
This project used to work; I'm trying to fig
Date sent: Wed, 06 Aug 2008 08:36:48 -0700 (PDT)
From: wskent <[EMAIL PROTECTED]>
Subject:Tomcat 6 classpath issue
To: users@tomcat.apache.org
Send reply to: Tomcat Users List
>
> I have the following jars in my web proj
wskent wrote:
I have the following jars in my web projects \web\WEB-INF\lib dirdectory -
log4j-1.2.13.jar, mysql-connector-java-5.0.5.jar, servlet-api-2.4.jar,
standard-1.1.2.jar
When I retrieve the classpath using -
String classPath = System.getProperty("java.class.path",".");
LOG.de
Gordon, Jack wrote:
We were told by our vendor to clear the cache.
That may not be the right term, but the process that they have us do is to
remove the folders from the following directory:
D:\Tomcat 4.1\work\Standalone\localhost
OK - you can't do that without stopping Tomcat.
Mark
-
Hi all,
Using: Mac OS X 10.4.5 running Tomcat 5.5.26 -- this is a brand-new
copy downloaded from Apache & unzipped; no changes.
This project used to work; I'm trying to figure out what got broken.
Symptom: listenerStart fails without even getting to the first line
of the AppListener (cata
We were told by our vendor to clear the cache.
That may not be the right term, but the process that they have us do is to
remove the folders from the following directory:
D:\Tomcat 4.1\work\Standalone\localhost
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesd
I have the following jars in my web projects \web\WEB-INF\lib dirdectory -
log4j-1.2.13.jar, mysql-connector-java-5.0.5.jar, servlet-api-2.4.jar,
standard-1.1.2.jar
When I retrieve the classpath using -
String classPath = System.getProperty("java.class.path",".");
LOG.debug("Clas
Mark Thomas wrote:
David Smith wrote:
Could you provide some better detail regarding what you mean? Tomcat
itself does not have a cache in any of it's versions.
Not strictly true. Static resources are cached (for a few seconds),
classes are cached in the classloader, expressions are cached i
See also
http://marc.info/?t=12180313421&r=1&w=2
Regards,
Rainer
Zemian Deng schrieb:
Hi Mark, I am away from a computer now. But the steps I gave to
reproduce out of default download is only 4 steps!!!
You can't see error using that?
I guess I can check the log for the stacktrace later
Mark Thomas schrieb:
[EMAIL PROTECTED] wrote:
And thats it. I have confirmed tomcat starts just fine when BASE
matches HOME. I experimented with copying catalina.sh from 6.0.16
into 6.0.18's bin directory, and the server then starts as expected.
However, I can't seem to find what in catal
daniel steel wrote:
All,
i found some interesting results by changing role defined
under security-constraint. if we defined tomcat as the role-name, then
window.open fails but if i change the role-name to manager, window.open
works. why?
Get yourself a copy of ieHttpHeaders and see what is
All,
i found some interesting results by changing role defined
under security-constraint. if we defined tomcat as the role-name, then
window.open fails but if i change the role-name to manager, window.open
works. why?
manager
thanks
dan
p.s. ch
David Smith wrote:
Could you provide some better detail regarding what you mean? Tomcat
itself does not have a cache in any of it's versions.
Not strictly true. Static resources are cached (for a few seconds), classes
are cached in the classloader, expressions are cached in Jasper, etc.
All
Could you provide some better detail regarding what you mean? Tomcat
itself does not have a cache in any of it's versions.
--David
Gordon, Jack wrote:
Is there a way to refresh the cache without stopping the service?
Jack W. Gordon Jr
Server Administrator
Information Technology
Oklahoma Stat
It should not be an struts error, as this error appears like a whack-a-mole
in all sites. All sites are built on same Framework. Sometime the particular
site works fine but after restarting a tomcat instance the same site which
was working fine, starts giving an error and other sites which has sam
[EMAIL PROTECTED] wrote:
And thats it. I have confirmed tomcat starts just fine when BASE matches
HOME. I experimented with copying catalina.sh from 6.0.16 into 6.0.18's
bin directory, and the server then starts as expected. However, I can't
seem to find what in catalina.sh is causing this
Gordon, Jack wrote:
Is there a way to refresh the cache without stopping the service?
What cache?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
what about web.xml file?
have u entered ur 'servlet' and 'servlet mapping' properly?
check that.
On Wed, Aug 6, 2008 at 4:39 PM, Swechha Rao <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> I have just downloaded apache tomcat 6.0.18.zip. I have unzipped it and
> given the classpath for servlet-api and
How to upgrade from tomcat 5.5 to tomcat 6.0 and keep existing
configuration?
Thanks
The information transmitted is intended only for the person(s) or entity to
which it is addressed
and may contain confidential and or
Hi All -
I have a very basic tomcat setup that generally worked right out of the
"box". To make upgrades simplier, I move my webapps and conf files out of
CATALINE_BASE and specifically set my own CATALINA_HOME env variable. In
the past, to upgrade tomcat, I simply changed my CATALINA_HOME va
Is there a way to refresh the cache without stopping the service?
Jack W. Gordon Jr
Server Administrator
Information Technology
Oklahoma State University
Stillwater, Oklahoma 74078
405-744-4540
Hi Mark, I am away from a computer now. But the steps I gave to
reproduce out of default download is only 4 steps!!!
You can't see error using that?
I guess I can check the log for the stacktrace later. The error on
console did not give more than what I paste. And since the errror
seems like it c
Hi Swechha,
I don't exactly know of a solution to your problem. I'd need more
information. But I think that you do not have to set an explicit $CLASSPATH
to include the servlet-api and jsp-api jar files. Tomcat automatically
includes the jars in [Tomcat]/common/lib without you needing to specif
download and install tcnative libraries
http://tomcat.apache.org/native-doc
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confiden
Swechha Rao wrote:
Please provide me a solution for this.
http://tomcat.apache.org/tomcat-6.0-doc/appdev/
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-m
Nathan Thatcher wrote:
Turns out that was the issue. I set tomcat to run as a local user and
now it works. Thanks for the help.
Tomcat is running on a windows machine under the SYSTEM account so I
assume that it has the permissions. Is there a way to check if this is
the problem?
Under Windo
Hi,
I have just downloaded apache tomcat 6.0.18.zip. I have unzipped it and
given the classpath for servlet-api and jsp-api.
I can run the example servlet and jsp pages.
I created a new folder with servlets and jsp in it and placed it in the
webapps folder. But I cannot run the servlet pages.
Thanks a lot Peter! I got a thread dump using "jstack 704" (PID was 704)
I think I need a little more of your help to find out where exactly going
wrong. Below is my dump and thanks a lot for your time.
MadurangaMAC:bin Maduranga$ jstack 704
Attaching to process ID 704, please wait...
Debugger att
- Original Message -
From: "Ангелин Лалев" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, August 06, 2008 7:01 AM
Subject: Re: Re: Avast Antivirus and apache-tomcat-6.0.18.exe
Thanks for the fast replies!
I'm going to proceed with installation.
Maybe Avast guys should
There is no real limitation (except for memory)
You might be out of permgen space.
Try: JAVA_OPTS=-XX:MaxPermSize=128m
-Tim
Tomcat User6 wrote:
I am running around 10 different site on single Tomcat Instnace i.e. 6.0. I
am facing some unexpected errors while running some of the sites. Everyt
IIRC, HttpClient has its own configuration for setting the proxy.
http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HostConfiguration.html
http://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpState.html#setProxyCredentials(org.apache.commons.httpcl
- Original Message -
From: "Len Popp" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, August 06, 2008 2:09 AM
Subject: Re: Avast Antivirus and apache-tomcat-6.0.18.exe
2008/8/5 Johnny Kewl <[EMAIL PROTECTED]>:
- Original Message - From: "Mark Thomas" <[EMAIL P
> From: Maduranga Kannangara [mailto:[EMAIL PROTECTED]
> What I need simply is a clean shutdown on Tomcat :-)
Yes. In order to *get* that clean shutdown, you need to find out what's
preventing it :-).
One common problem is that something in your webapp has created a thread and
not marked it as
Below is the result. Seems like the port is ok.
C:\Users\Charles\Downloads\java\apache>openssl s_server -nocert -accept 8080
Loading 'screen' into random state - done
Using default temp DH parameters
Using default temp ECDH parameters
ACCEPT
On Wed, Aug 6, 2008 at 5:54 PM, Mladen Turk <[EMAIL P
Charles Lim wrote:
I try to run, but it says -nocert and -accept commands are invalid:
C:\Downloads\test program>openssl -nocert -accept 8080
openssl:Error: '-nocert' is an invalid command.
Sorry, its
openssl s_server -nocert -accept 8080
Regards
--
^(TM)
---
I try to run, but it says -nocert and -accept commands are invalid:
C:\Downloads\test program>openssl -nocert -accept 8080
openssl:Error: '-nocert' is an invalid command.
Standard commands
asn1parse ca cipherscrlcrl2pkcs7
dgst dh dhparam
Len Popp wrote:
I agree that a false positive from Avast shouldn't be ignored, but I
think the correct solution is for someone @apache.org to contact Avast
and ask them to either explain what the problem is or remove Tomcat
from their virus definitions.
Done. Waiting for their response...
Mark
Hi,
A friend of mine said it was not due to ActiveMQ that Tomcat does not
shutdown properly, however I added a kill command to shutdown.sh script
which is NOT good at all, I understand.
In MAC (10.5) kill -3 seems working, but its a blind path which gets me
nowhere. I do not get a trace of the th
firtzel wrote:
Trying to get things rolling here... does anyone have an answer to this one?
This is open source so if you want to know how things work you do always
have the option of looking at the source yourself.
The file you want (for 5.5.x0 is:
http://svn.apache.org/viewvc/tomcat/contai
suman wrote:
Hi,
I get lots of emails from tomcat-apace mailing list and it's difficult to
live with them. I preferred a digest version everday/perweek.
Is it possible to stop getting emails but to remain subscribed in
tomcat-apache mailing list?
Subscribe to the digest list.
http://tomcat.ap
Zemian Deng wrote:
Hello list,
When I try the following it works with tomcat-6.0.14, but failed on
tomcat-6.0.18
$ mkdir -p /tmp/mybase/conf
$ cp /opt/apache-tomcat-6.0.18/conf/server.xml /tmp/mybase/conf
$ export CATALINA_BASE=/tmp/mybase
$ /opt/apache-tomcat-6.0.18/bin/catalina.sh run
Using C
Charles Lim wrote:
Below is the result after running netstat...both port 8080 and 8383 do not
seem to be used.
C:\Programs2\apache-tomcat-6.0.18\bin>netstat -ab -p tcp
Active Connections
Seems the ports are not used.
So you should try some simple program
Download openssl.exe from
http://www.
Below is the result after running netstat...both port 8080 and 8383 do not
seem to be used.
C:\Programs2\apache-tomcat-6.0.18\bin>netstat -ab -p tcp
Active Connections
Proto Local Address Foreign AddressState
TCP0.0.0.0:135Charles-PC:0 LISTENING
Charles Lim wrote:
Hi, (reposted to provide more meaningful subject)
I got the error shown below when i run startup.bat. Seems to have 2 main
error here:
1. Tomcat not able to find the library that allows optimal performance in
production environment.
This not an error. It's an [info] that you
86 matches
Mail list logo