Hi,
after a quick lookup, there doesn't seem to be any mistake with your
code. Either it's a problem with the jsp, either it's related to
database. Anyway, you might want to change this
// end try
catch(Exception ex) {
return false;
}
Generic catching of except
Just ran it out of curiosity here on a tomcat 5.5.17, works
perfectly. Only noticeable thing is that the first file get slowed down
when you start second file, but it's quite to be excpected. Measured
speed: 6M/s, files are not mixed together
One thing worth noticing, is that brtowser do t
Hello,
JAVA_OPTS is an environnement variable, you can set / unset it at will.
Just only set it up when you want to start, not when you want to shutdown.
Example 1 (using only 1 bash session)
export JAVA_OPTS="-Xmanagement"
bin/startup.sh
unset JAVA_OPTS
bin/shutdown.sh
Example 2 (using 2 dif
Do not write data in the webapplication folder, this folder is supposed
to be overwritten when webapplication is redeployed and datas will be
lost. Instead choose a folder in system you dedicate to your
webapplication datas and store your avatars there.
Or best use a database :)
Andrea S
Hi bob
There are several ways to try to find where this comes from
0) Check in the tomcat manager the status of memory. You may be running
out of java memory and so the garbage collector is running like crazy.
1) When issue arise, go to an AIX console (the timer is ticking, you
have 60 secon
could we see the code of this filter?
Enrico Giurin wrote:
Hi at all,
I have problem using filter in my web application under tomcat (tomcat
4.1 on Windows 2k OS).
Client of the web application is an IVR (Interactive Voice Response)
in the context of voice-xml application.
I have configured a
cookie, neither providing a rewritten url.
David Delbecq
Enrico Giurin wrote:
Yes I have that,
I know that in this way if I hadn't a session tomcat makes new one,
but If I had one I keep the old session.
So why for every request I have a new session on the server, and why
only with IVR c
As it states, the authenticator valve must be attached to the context,
not the host.
Just put your valve at host level and it should be called before the
authentification valve which is automatically added to the context.xml
at deployement.
Also, take a look at single sign-on valve which doe a
From tomcat docs:
You can nest one or more Context elements inside this Host element, each
representing a different web application associated with this virtual
host. In addition, you can nest a single DefaultContext element that
defines default values for *subsequently* deployed web applicatio
asaf.lahav wrote:
How can I obtain the name of the web application name my listener servlet is
running under in Java?
request.getContextPath();
Greetings.
-
To start a new topic, e-mail: users@tomcat.apache.org
To uns
http://htmlhelp.com/reference/html40/entities/latin1.html
balaraju mandala wrote:
> Hi All,
>
> I need some help from you. I need to display Cent(¢) symbol on
> browser. I am
> getting ? symbol instead, what could be the problem, please explain me.
>
> Thank you.
>
> balaraju
>
-
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (¢)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List
wrote:
Hi A
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (¢)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On Mon Jul 17 08:55:56 CEST 2006 Tomcat Users List
wrote:
Hi All
(Sorry for the double post, alias issue)
David Delbecq wrote:
This is not a matter of saving the jsp/html file on server with the good
charset, this is a matter of using the correct entity reference (¢)
which is supposed to be displayable by any html 2.0 compliant browser.
Ronald Klop wrote:
On
Viks wrote:
Hi,
My app is running out of app.
Code does a lot of string opeartion.It involves fetching records from DB
Initially i was using string objects- Program used to finish in about 40-45 min with ~95 cpu usage
String concatenation like this String c = a+b; is done in
use [EMAIL PROTECTED] to get more informations
ahmed qaoud wrote:
I sent many emails to [EMAIL PROTECTED] to
unsubscribe me and i still receive emails from you . Please
unsubscribe me or tell me how can i unsubscribe.
color=#99>Assalam Alaykum
color=#00>
Kind Regards
Ahmed
AL
prakash shanmugam wrote:
hai all,
i have one major issue in my project..
My project is developed using jsp,servlets in Tomcat5 with MySql as
database.. i am using type1 driver
My project is now used by end users in intranet..
When multiple users are accessing at the same time ,its throwing too ma
Hello,
using tomcat, the logging does not work in my webapp. I am out of idea,
so if someone can suggest me something more to test to get my logs.
Here is the situation.
I followed instructions on ow to setup tomcat for log4j (that is
basically adds the commons-logging and log4j jars in common/lib)
ay the doc be wrong about it? could my commons-logging in webapp take
precedence of the one in tomcat?
//
Boris Unckel a écrit :
> Hello David,
>
> my answers are inline:
> Original-Nachricht
> Datum: Tue, 05 Sep 2006 10:46:07 +0200
> Von: David Delbecq <
Thanks for this clarification :)
Boris Unckel a écrit :
> Hi,
>
> Original-Nachricht
> Datum: Tue, 05 Sep 2006 11:50:34 +0200
> Von: David Delbecq <[EMAIL PROTECTED]>
> An: Tomcat Users List
> Betreff: Re: logging does not work in my webapp
>
>
Please provide more informations.
1) The rule files you have configured in your balancer
2) The ports on which your various tomcat servers are running, including
the one running the balancer
3) Any output that your request could have generated in the catalina.out
of any of the running tomcat serve
Please provide exception messages, they should be in catalina.out
Garthfield Carter a écrit :
> Hello,
>
> I have an issue with the Tomcat "admin" application. I get "HTTP
> Status 500" errors whenever I click on any of the "User Definition"
> menu items such as Users, Groups or Roles. The exact er
Put a filter on your application, in this filter, check if there is
currently a principal, if yes, check if there is already your bean in
the session. If not, create it. Then forward to the next of filter chain.
As you are in a filter, you will be notified before the servelt / JSP
requested by user
considering where the exception occured, i bet this is not a java
security exception (it already passed the security test at that point
and is inside the priviledged code, moreover this is an IOException not
a SecurityException you get). However, there is a bad code inside
UNIXProcess:
IOEx
Hi Ben,
according to your stack trace, the error occurs somewhere below the call
of ScriptCollectorTag.doEndTag(), itself called by
org.apache.jsp.searchTKS_jsp._jspx_meth_hx_scriptCollector_0, that mean
during the 'endTag' steps of the first inside
your jsp. However, the JSP code you show us has
gt; the code I have copied is placed inside the following tags:
>
>
>
>
>
>
> of course, the tags are all properly closed at the end, I'm quite sure
> that there is no syntax error
The servlet is mapped to /
The security constraint is mapped to /*
That's your problem. Map your security constraint to * instead
Gregor Schneider a écrit :
> Dear all,
>
> we have some very odd behaviour here.
>
> First the basic:
>
> - Tomcat 5.5.17
> - Debian Sarge
> - Java(TM) 2 Runtime Envir
Hi Alexander.
Because tomcat use a session cookie (JSESSIONID), the sessions are
already limited to one per browers, except if the user deactivate
cookie, in which case only the Url rewriting mecanism is used. In the
last mecanism, if the flow of page is interrupted (by accessing an url
not rewritt
page within the same
> browser if user click)
>
> Regards,
> Alexander Khoo
>
>
>
> - Original Message
> From: David Delbecq <[EMAIL PROTECTED]>
> To: Tomcat Users List
> Sent: Wednesday, September 20, 2006 4:40:47 PM
> Subject: Re: Restrict Se
Could you send us a few jvm thread dumps while the CPU usage, i bet this
an be more helpful than an os dump.
To generate a Thread dump, simply send the signal 3 to the java process
(assuming you use a SUN jvm or derivative)
Yann Rouillard a écrit :
>
Did you tried it with Tomcat 5.5.17?
>>>
>
a.await(Catalina.java:615)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.Delegati
Several possibilities
1) port 8005 is not available on the machine (not allowed to that user
or used by another application already), free it or change it in server.xml
2) you have changed tomcat configuration on a perhaps multi ip machine
to bind only on a specific interface (specific ip) and thi
taylan kuecuek a écrit :
> Raffaele Viola schrieb:
>
>> Hi all,
>>
>> I'm trying to start Tomcat but Ihave some problems
>>
>> This is what I read in the catalina.out, could someone help me?
>>
>> Thanks a lot
>> Raffo
>>
>> 28-Sep-2006 16:03:28
>> org.apache.catalina.core.AprLifecycleListenerlifec
- Because it way unsecure. It can invoke pretty any class in your webapp
class path. This include legacy servlet (like com.company.TheServlet)
but also your test servlet, the servlets you developped for quick admin
hacks locally and you didn't remove from code.
- Invoker servelt is one unique serv
Hi mark, not at all
1) there are 20 results for Djavax.servlet.request.encoding in google ^^
(but am really not sure this parameter really exists in tomcat)
2) URIEncoding="UTF-8" set the encoding used for html link, the default
is platform dependent.
I "suppose" the Zis wanted to set the default
Just my 2 cents
Mysql does authentification not based on username:password
but based on [EMAIL PROTECTED]:password
Possible the selected user is allowed only for localhost
or, even better, that mysql does not listen on any interface
other than localhost (default configuration for security reasons)
y-constraint in the web.xml (see
http://e-docs.bea.com/wls/docs81/webapp/web_xml.html#1017885)
Once again, tomcat is a java web applications server, not a webserver
serving static content. If you want to server static content, apache
web srver would better suit your needs.
regards,
David Delbecq
Hi, maybe the problem is not were we thought it was.
If you get a NullPointerException a (1) (i mean not somewhere deeper
inside 1
but exactly at 1), that can only mean getServletContext() returned false.
This may be the case if servelt was not properly initialized.
Check your init(ServletConfig co
Try removing webapps/webAppName/
and work/Catalina/Hostname/webAppName
directories. I don't know if it is a recommanded
way, but it give tomcat no other choice
than exploding the war again :)
Iratxe Etxeberria Sainz-Ezquerra a écrit :
>
>
>
>
>Hello!
>I am using tomcat 5.0.28. When we have the
PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Make it your home page!
> http://www.yahoo.com/r/hs
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Delbecq
Royal Meteo
, Bharathi a écrit :
> Hi Mark,
>
> Many questions in this forum are left unanswered . It would be
> nice if I , atleast, get a "don't know" answer to some of my mails!
>
> Thanks & Regards,
> Prathibha.
>
--
David Delbecq
Royal Meteor
Yahoo! DSL Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
&
permanently' response.
> Many thanks,
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Delbecq
Royal Meteorolo
ding this.
>
> Thanks
>
>
>
>
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
---
I have a bean stored there
> that I want to use in my tag. How can I retrieve this. I can't find this
> information anywhere.
>
> Thanks.
>
> Thom Hehl
> Heavyweight Software for Heavyweight Needs
> www.heavyweightsoftware.com
--
David Delbecq
Roya
getJspContext().getAttribute("someKey",PageContext.SESSION_SCOPE)
Le Mercredi 11 Janvier 2006 16:19, Thom Hehl a écrit :
> This explains the code I found. What if you extend SimpleTagSupport.
> What's the difference?
>
> David Delbecq wrote:
>
> >to expose
WorkerThread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
> Is this caused by the single thread? I wortk with Eclipse, and this has no
problem finding a class. Hmmm but maybe tomcat.
> Anyway I send this mail away.
>
&
log." suffix=".txt"
> timestamp="true"/>
>
>
>
> so what's going wrong here.
>
> regards,
> Mahesh Bhandare
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
your PATH if you are using the JDBC OCI
> driver
>
> but i'm not getting the info. regarding Oracle 8i JDBC Driver for jdk1.5.
>
> Kindly help.
>
> Thanks & Regards,
> Vidhi
>
>
>
> -----
I don't think oracle has 1.5 specific drivers. ojdbc14 should suit well on 1.5
jvm
Le Vendredi 20 Janvier 2006 12:52, gupta vidhi a écrit :
> i'm using jdk1.5.0.02, Tomcat 4.1.31 & JDBC 8.1.7.0.0 on WIN
> 2000 & Oracle 8i.
>
>
>
> Dav
__
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For
> http://mail.yahoo.com
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hing of a happy
> and exciting revelation. At this point I feel a bit like I did when I
> switched from C++ to Java back in 1997. I realize there is always
> strong and emotional anti-Microsoft sentiment in these groups for some
> reason. All I can say is that when I looked at what each platform
> offered, for me, .NET and C# were the winners, based on their technical
> merits. I never thought I would leave Java, especially for C#, but so
> far I'm not regretting it.
>
> Good luck to you all.
>
> --
> Tony LaPaso
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not because of
accentuated characters in request).
Thanks for help.
--
David Delbecq
Royal Meteorological Institute of Belgium
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
alves running on production, which we don't have
in test environment.
But as those two valves are not supposed to decode the parameter, it shouldn't
influence decoding process (they only check headers)
> -Original Message-
> From: David Delbecq [mailto:[EMAIL PROTECTED]
&
Ok, found out. Tomcat needed a restart after changing the value of "URI
Encoding" in connector.
Le Lundi 30 Janvier 2006 13:09, David Delbecq a écrit :
> Le Lundi 30 Janvier 2006 12:54, Tim Lucia a écrit :
> > Are you using the request dumper valve? This will cause decodi
nager tomcat configuration
tar -xvzf apache-tomcat-5.5.15.tar.gz
cd to tomcat dir
set JDK_HOME env variable to where you installed sun jdk (1.5 recommanded)
run bin/startup.sh
that's all, tomcat is running with output in logs/catalina.out
--
David Delbecq
Hello abdurrahman,
Your url is incorrect, replace it with
http://localhost:8080/aSite/aPage?query=hi%25everybody
According to rfc 1738, 2.2. URL Character Encoding Issues
Octets must be encoded ..., if the use of the corresponding character is
unsafe, ...
The character "%" is unsafe be
ct
of error handling in server.
abdurrahman sahin a écrit :
>hi David;
>I am aware of the case. As I stated before Apache2 server properly handles
>that problem and I need that functionality because our customer's system
>built on it.
>
>
>-Original Message-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
--
David Delbecq
Royal Meteorological Institute of Belgium
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Markus a écrit :
>Ok, when I set clientAuth to "want" the "Exception getting SSL Cert"
>goes away. (Wtf is this documented?).
>
Yes it is documented:
http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html
Section 'Edit the Tomcat Configuration File'
> But I still get the 403 - Access
>denied erro
This mean you tried to access login form directly. This is not allowed
in j2ee specifications.
Access to login form should only be triggered by server on demand. You
can't force a login.
To access login page, simply put a link to saraf/index.html (simple example)
Prashant Saraf a écrit :
>i have a
ta in server would not be setup and you'll only trigger an
exception.
Prashant Saraf a écrit :
>i created a link which connect to login.jsp then also it not works:(
>
>On 2/3/06, David Delbecq <[EMAIL PROTECTED]> wrote:
>
>
>>This mean you tried to access login form di
<-- that's the error
put this instead
Prashant Saraf a écrit :
>as i am new i refer tomcat 's jsp-example
>my structure of webapp
>
>webapps-|
> |
> saraf
> |
> index.html(which link to login.jsp)
> |
> protected
>
Everything that correspond to the security-constraint on your web.xml is
'protected' and need authentification.
When you are authenticated, field request.getRemoteUser() is not null
anymore.
Be carefull,
/saraf/*
in security constraint mean the secure area is
http:///saraf/saraf/*
If your secure
*outch* This mean i will have to change my web.xml with future tomcat
version.
How do I allow access to a ressource to all authenticated users now?
Mark Thomas a écrit :
>Oliver Kohll wrote:
>
>
>>Hi,
>>
>>I have security for a web application managed by a DataSource database
>>realm. Using to
If it's 2 names, one IP, one server, you can simply have tomcat do
virtual hosting. We did it here like that:
Create 2
Give each host a list of alias corresponding to the server the will act on
Give each host a different Application Base (like webapps-hostX and
webapps-hostY) this will prevent web
Just my 2 cents,
Have you tried to set priviledged to true in webapp context?
Also you may need to play a bit with the security manager as J2EE specs
does not endorse the use of System.exit in a webapplication.
[EMAIL PROTECTED] a écrit :
>Hi,
>
>My web application requires database pool connecti
your commons-fileupload.jar should go in your webapp's WEB-INF/lib directory
Mir Kasim Ali a écrit :
>The problem was for package called org.apache.common.fileupload but
>when I put the jar file for above package in the C:\Program
>Files\Apache Software Foundation\Tomcat 5.5\common\lib directory
Duplicate your classes, one copy in each webapp
Lothar Krenzien a écrit :
>Hi,
>
>I'm not sure whether it is possible or not:
>
>I have a webapp which I want to access under different URL's with different
>JSP's but the same java classes. I know that I can define the context URL in
>the context
Zohar Amir a écrit :
> Hello,
> I'm using tomcat 5.5.15 on Win XP.
> I have a servlet that is deployed on a certain context. I would like
> anyone trying to use that servlet use a username-password. how do I do
> this?
set a security-constrain in WEB-INF/web.xml
> What if I need to protect a jsp
l Message - From: "David Delbecq" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Sent: Wednesday, February 15, 2006 2:52 PM
> Subject: Re: password protection
>
>
>> Zohar Amir a écrit :
>>
>>> Hello,
>>> I'm using tomcat
s, so that they will all be able
> to use request.getPricipal() and have the user name that logged in?
When authenticated, request.getPrincipal() returns the authenticated
principal
>
>
> - Original Message - From: "David Delbecq" <[EMAIL PROTECTED]>
> To: "Tomcat User
You must put the class in a .jar itself located in the WEB-INF/lib
folder of a .war or you must put the class in WEB-INF/classes of a .war
You must also setup your servlet un WEB-INF/web.xml
Then you must deploy you .war in tomcat (the easiest way is to use the
manager: http://tomcat.apache.org/to
Once again, you must map you servlet in your web.xml
Marc Wentink a écrit :
>>Where does Tomcat expect me to put my class file, or jar file?
>>Is it sufficient to put the servlet class in WEB-INF classes or must you
>>install a war file?
>>
>>
>
>
>I actually tried to put HelloIZ.class in a
Marc Wentink a écrit :
>Ok, it seems to work putting the class in C:\Program Files\Apache Group\Tomcat
>4.1\shared
>
>The servlet now starts up.
>
>\shared is, after reading the docs the general place for classes used by all
>apps.
>
>
I won't recommand putting classes in /share unless really
I was hoping to get something else. Sure our sysadmin will enjoy to put
600 usernames in one line of /etc/groups (assuming HP-UX and NFS allows
it)...
Mark Thomas a écrit :
>David Delbecq wrote:
>
>
>>*outch* This mean i will have to change my web.xml with future tomcat
>&g
You mean the .jsps do not get recompiled after redeploy? What procedure
do you follow to rollback? Do you do a 'undeploy/redeploy process'? I
think doing a undeploy should remove the associated work directory,
where tomcat store all generated jsp source / jsp .class
Hall, Scott a écrit :
>Hello T
Hello,
I probably will have the following webapp structure to configure
- webapp X manage authentification all by itself (using forms and so on)
but provide a way to configure your own credential using a quite basic
checkPassword(user,pass) interface.
- Tomcat is able to authenticate all my users
e to get
> not-null from request.getUserPrincipal(). I understand this is how the
> container understands that user is logged on or not.
>
> Poorna
>
> David Delbecq wrote:
>
>> Hello,
>>
>> I probably will have the following webapp structure to configure
>> - webapp X
thing?
>
> Poorna
>
> David Delbecq wrote:
>
>> Hello Poornachandran,
>>
>> as i said webapp X manage authentification all by itself (basically
>> using it's own providers, so there is now security constraint and so on
>> in the web.xml, webapp doe
Login module should return false if not authenticated. If you need to
store messages for the user, i'll suggest you pass them another way
(like by using a ThreadLocal pattern)
Vincent Delhommois a écrit :
>Hello, I implements a solution with JAAS and userfilter on Tomcat.
>the loginmodule return
d the loginModule returns always 'true' beacuse it's not
>easy to pass some messages 'wrong password', 'validity perdio expired', etc...
>to the login.jsp in case of a wrong authentification.
>Thanks
>PS : Do you have any example of a solution with t
put your response.setHeader("WWW-Authenticate","Basic
realm=\"MySystem\""); insode your error page instead of authentification
servlet. (I guess sendError() clear all headers)
Oliver Schoenwald a écrit :
> Hello fellow tomcat users,
>
> I'm running Tomcat 5.5.4 with Apache 2.0.54 and mod_jk.
>
While it is possible to put some of the librarie out of .war, inside
common, you must be aware of side effects. Libraries like struts are not
designed to run multiple context within a given classloader (The
servelt, for example, can only be instanciated once). I don't know for
Hibernate and for et
You are missing the xalan jars:
http://www.ibiblio.org/maven/xalan/jars/
btw, you should not have your compilation depends on any tomcat lib,
unless you are building specific tomcat extensions (like realms)
Wentink, Marc a écrit :
>Dear Group,
>
>Which jars am I missing, and were can I find th
There is no org.apache.* in jdk 1.4
It's probable they simply were bundled un servlet.jar of tomcat.
Marc Wentink a écrit :
>
>
>
>>You are missing the xalan jars:
>>http://www.ibiblio.org/maven/xalan/jars/
>>
>>
>
>Yes, and they add the libs removed in JDK1.5 for compiling a servlet under
Should not happen. Could you provide example jsp?
M. Schot a écrit :
>Hi All,
>
>I have sent this question a few weeks ago, but got no replies. So lets try
>again.
>
>The problem is that when I request a JSP from Tomcat 5.0.28 which includes
>stylesheets and images, also served from the same inst
Check for nulls parameter at line
com.itanetworks.spammarshall.webfront.servlet.helper.AdminWorker._$41797(Adm
inWorker.java:2669
Rameez a écrit :
>Does anyone know why the following could occur? It happens not infrequently
>with our software. This happens in Tomcat 4.
>
>Thanks in advance fo
JAVA_OPTS='-Xms256m -Xmx256m' <-- your tomcat memory should never reach
1G with this parameter!
the tomcat memory drops severly from 1G to 15M <-- do you mean tomcat
memory usage or tomcat free memory?
jiang ying a écrit :
> Hi. When I run the TPCW bookstore application, I found the server
> behav
Yes, use shared/lib, common/lib is for classes that need to be
accessible by webapps and by catalina.
see http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for
details
David Kerber a écrit :
> I thought it was .../shared/lib... ?
>
>
>
> Alex Jalali wrote:
>
>> You would have to a
There is a maximum to the number of http connection tomcat can server at
the same time. This is the maximum number of http threads tomcat is
allowed to create. This is configured in the http connecter. See
documentation there:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
Default value i
Are you sure there are not other error message before?
This error means you can't start the userdatabase realm because the
realm doesn't find it's datasource (named 'UserDatabase') . Eaither you
didn't configure the datasource your userdatabase realm has to use,
either it is configured but not sta
Hi,
Check in server.xml if you have configured a RemoteAddrValve. This is
this valve which could refuse remote connection based on ip.
If there is no such valve configured, then tomcat should respond to your
request, i suggest check firewalling configuration on server os.
If there is such a valve
sol myr a écrit :
>Hi,
>
> I'm having a problem with HttpServletRequest.setCharacterEncoding("UTF-8").
> Basically, tomcat seems to ignore it completely, and assume "latin1"
> encoding.
>
>
request.setCharacterEncoding("UTF-8") must be called prior to any
request.getParameter() call. If
Be careful, there are security issues with this (jsp code disclosure!)!!
David Kerber a écrit :
>
>
>
> Buddy wu wrote:
>
>> 2006/3/7, Long <[EMAIL PROTECTED]>:
>>
>>
>>> Buddy wu wrote:
>>> I wan't to know there is any way to set tomcat NOT CASE
>>> SENSITIVE in URL
>>> I mean: when I
this could cause any security issues, except for
> slightly reducing the number of attempts you would need in a
> brute-force hacking attempt.
>
> Dave
>
>
> David Delbecq wrote:
>
>> Be careful, there are security issues with this (jsp code disclosure!)!!
>> Davi
ct. I
> would expect that things defined for /MYNAME would work for /myname if
> caseSensitive was false.
>
> Can anybody tell me definitively how this security risk works?
>
>
> David Delbecq wrote:
>
>> I suspect a call to /something.JSP will not go thru the
ays
>>> so.
>>>
>>> Read this as well, although it says "all case sensitivity checks
>>> will be disabled" it doesn't define "case sensitivity checks".
>>>
>>> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
>>
1 - 100 of 568 matches
Mail list logo