HI Leon
Thanks for ur reply to my query ,
>or, on windows, in catalina.bat
>
>JAVA_OPTS="-mx256M -ms256M -XX:MaxPermSize=256m"
>
I added the above in my catalina.bat as JAVA_OPTS="-mx1024M -ms1024M
-XX:MaxPermSize=256m , I got some improovement
As u know that iam running 30 threads with re
HI Mark Thomas
>Are you running Tomcat as a service?
Intially I tried without service , that time I tried the below one
>> --> Apache Tomcat 6.0 --> Configure Tomcat also here I tried in java
>> options and min and max pool also
Now im running with service option selected , now the above o
> From: Robert Blackburn [mailto:rwblackb...@gmail.com]
> Subject: "java.lang.NullPointerException" with JDBC
> connection from InitialContext
>
>connectionName="username" connectionPassword="password"
> connectionURL="jdbc:mysql://localhost:3306/db_name?
> autoReconnect=true&useUnicode=tru
Hi Rick-
any reason why your client wants to implement TC version 4.1 vs the more
full-featured TC 6?
thanks,
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. T
Thanks for the quick response David.
Yes, I forgot to mention, I have connected to the DB using MySQL
client using the same credentials as defined in the realm.
Also keep in mind the JDBCRealm for folder access control work, so a
connection is possible. For some reason its the connection obtained
All,
Thank you for your previous suggestions. I have stopped the server running
in Eclipse and started it from the services window (under control
panel/Administration). Now it works fine. So, the problem was with Eclipse
and Eclipse not being able to find where the files were being created. No
Hi Robert,
Its not clear from your description if you've tried connecting to the database
from the linux box using the mysql client. MySQL security is host sensitive and
you will need to grant the user privileges to access the database from the
linux host. Using the mysql client and trying to c
I am running Tomcat v6.0. I am developing and testing my app on my
local Windows machine, then publishing it to a Linux on the server
(not sure which distro). I have a real annoying issue, I've been
struggling with it for days.
I am using the same DB for my folder access control (JDBCRealm) as I
a
> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Subject: RE: java.lang.ClassNotFoundException with small jsp file
>
> also make sure the jsp file compiles
The OP already stated that both the .java and .class files were present, so
obviously the JSP file compiles.
> ..you should see the java
also make sure the jsp file compiles ..you should see the java file show up in
%TOMCAT_HOME%\work\Catalina\localhost\webapp\org\apache\jsp\index_jsp.java
A crude way to precompile your jsp is to invoke the JspC class directly as in
java -cp %TOMCAT_HOME%\common\lib org.apache.jasper.JspC NameOfJ
I can't seem to find where the log entries are for this problem. The logs
that are under ...\Tomcat 6.0\logs don't have any entries for this problem.
I'm thinking that maybe, since I launched the Tomcat from eclipse, that it
changed the log location. (But I don't know where it is)
Both the clas
> From: David Smith [mailto:d...@cornell.edu]
> Subject: Re: java.lang.ClassNotFoundException with small jsp file
>
> When you say the class file exists, do you mean there
> is both hello_jsp.java and hello_jsp.class?
Minor correction: judging from the stack trace, the names should be
Hello_jsp.j
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Tomcat Not Releasing URL Connection
>
> The IBM JVM 1.5 and Tomcat 5.0.x are all that is available on the
> (official) Suse SLES 10 CD/DVD.
I'm not suggesting that the OP replace the IBM JRE as the default one, just to
use the Sun JRE
Is there any error messages before this in the logs that might offer any
further insight? When you say the class file exists, do you mean there
is both hello_jsp.java and hello_jsp.class? Or is the .class file
missing. Lastly, are you sure the user tomcat is running as has read
privilege to the
Caldarale, Charles R wrote:
From: Troy Davidson [mailto:troy.david...@maverik.com]
[...]
java-1_5_0-ibm-1.5.0_sr8 (The hardware team set this up, so I
assume the IBM JVM was all that was available.)
SUSE (SLES) 10
Definitely not true. As a fairly easy first step, try installing a Sun JRE
The "Tomcat Manager user-id" might not be the one that owns the
folders/files in question.
Check the ownership of the files/folders and check whether the startup
script you are using
for tomcat changes to some different user like "tomcat".
On Dec 30, 2008, at 6:49 PM, Frank Castellucci wrote
Hi,
I am using Tomcat 4.1 and I want to use SSL. I have a normal "openssl
created" Apache VeriSign certificate that I would like to use with Tomcat
4.1.I have seen and read, and even tested, using "openssl pkcs12 ...",
but it seems to fail with 4.1, and perhaps only applies to Tomcat 5 and 6
Hello all,
I was wondering whether any of you could help me out with a problem I'm
having. I'm getting a java.lang.ClassNotFoundException when trying to run a
jsp application. The class file exists and is under:
C:\Program Files (x86)\Apache Software Foundation\Tomcat
6.0\work\Catalina\loca
Try adding this to your persistence.xml:
On Tue, Dec 30, 2008 at 8:05 AM, tarakarajendra prasad <
rajendr...@yahoo.co.uk> wrote:
> Hello Kees De Kooter,
>
> Please Mention the query and hibernate.cfg.x
I am on Linux
I am logged in as the user that runs the build script. tomcat-users.xml
contains the user that has "manager" as a role.
Frank
On Tue, Dec 30, 2008 at 8:52 AM, Yassine wrote:
> This seem to be a security restriction from your operating system,
> double check that the system user
>
Hi André,
On Tue, Dec 30, 2008 at 10:25 PM, André Warnier wrote:
> My only doubt at this stage, is that if the wrapped servlet itself sets the
> (wrong) Content-Type header, it might overwrite the one I set before the
> doFilter(), no ?
>
you might have to give it a try
> As a separate question
> From: Troy Davidson [mailto:troy.david...@maverik.com]
> Subject: Tomcat Not Releasing URL Connection
>
> It seems that Tomcat is pooling the network connection and
> not releasing it but reusing it each time.
That is of course incorrect, since Tomcat knows nothing about the outbound
connection
Gregor Schneider wrote:
André,
when using mod_jk, Apache HTTPD will not change any headers sent from
Tomcat, even if you use mod_headers.
Since mod_jk is delegating the whole request to Tomcat, this behaviour
is expected, though debatable.
Writing a filter to change your headers in Tomcat is no
Same DNS ..different Machines..sounds like you have some tricks going on behind
the scenes with proxy-servers
You better check with your net admin...
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates
P,
Sorry for not adding that. Yes, they keep the same DNS, but switch the IP to
the backup server.
Troy Davidson
Senior Programmer
Maverik, Inc.
880 W. Center St.
NSL, Utah 84054
801-335-3887 Office
801-663-1460 Cell
Thank you for allowing us to service your technical needs,
Your Techni
André,
when using mod_jk, Apache HTTPD will not change any headers sent from
Tomcat, even if you use mod_headers.
Since mod_jk is delegating the whole request to Tomcat, this behaviour
is expected, though debatable.
Writing a filter to change your headers in Tomcat is no big deal, the
link should
Troy Davidson wrote:
> Hello,
>
> I've searched for an answer to this problem, but haven't found anything yet.
>
> Here is the problem:
>
> I have an application that connects to a 3rd party vendors server to request
> updated information. This connection is created and closed in the Java code
Hi.
The following is verbatim what I posted earlier on the Apache user's
list. I am reposting it here because I did not really get a
"satisfactory" answer on the Apache httpd list, and because I know that
mod_jk experts lurk around here. And maybe this has something to do with
the fact that
Hello,
I've searched for an answer to this problem, but haven't found anything yet.
Here is the problem:
I have an application that connects to a 3rd party vendors server to request
updated information. This connection is created and closed in the Java code
each time it is needed. This works
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
Mohit Anchlia wrote:
> This is a very good article. I just have one question. I don't have
> root logger and I use some other logger name. What should I pass in
> the ObjectName?
I'm no expert with such things, but I would at least try:
new O
To hide the existence of the page from robots.
--- On Tue, 12/30/08, Pid wrote:
> From: Pid
> Subject: Re: How can the login page see parameters in the original request?
> To: "Tomcat Users List"
> Date: Tuesday, December 30, 2008, 6:26 AM
> removeps-gro...@yahoo.com wrote:
>
> > Only if cer
Hi
We have an apache server that load balances two types of applications
across different stacks of tomcats.
We have a tomcat stack for requests that processes very quickly, lets
call this stack A and a tomcat stack for slower running
request(different type of application) named stack B.
We limi
We use Hyperic HQ to monitor all of our production servers without any
noticeable performance impact. Hyperic takes samples (remotely) from the Tomcat
server at regular intervals--which is configurable--but no more than once per
minute. That has been good enough for us to see when we have heap u
You can use a time zone name like "GMT+1" to specify a time zone with
no DST rules. See the documentation for java.util.TimeZone for more
info.
--
Len
On Tue, Dec 30, 2008 at 07:25, arif8899 wrote:
>
> i set a variable in tomcat configuration and that is
> "-Duser.timezone=Europe/Brussels". i
removeps-gro...@yahoo.com wrote:
> Only if certain secret fields and values are present, do I want to generate
> the login page.
They're not really secret if you're passing them as parameters.
It sounds like you're trying to over-engineer something, which often
results in no security improveme
This seem to be a security restriction from your operating system,
double check that the system user
who start the ant based deployment process is able to read and write
into the target deployment directory
good luck
Yassine
On Tue, Dec 30, 2008 at 1:06 PM, Frank Castellucci
wrote:
> I am getti
Thanks a lot David, everything works fine for the moment. The latest,
original tomcat 6 did the trick. This resolved also some other issues
with autoexpanding WAR files and with logging. On the other hand, I have
to figure out writing the init script and installing tomcat as a unix
daemon. Hope
Hello Kees De Kooter,
Please Mention the query and hibernate.cfg.xml properties, you have given
so that we can know little more better the error.
wishes,
Prasad DTR
- Original Message
From: Kees de Kooter
To: Tomcat Users List
Sent: Monday, 29 December, 2008 20:50:05
Subje
i set a variable in tomcat configuration and that is
"-Duser.timezone=Europe/Brussels". i set it into tomcat->configur->java ->
java options textbox.
This time zone has DST and i get it from the code
TimeZone.getDefault().useDaylightTime(); it returns true and it is fine.
now, i want to disab
I am getting a "access denied" file IO exception when attempting to deploy a
WAR file from an Ant script, using the address
file://home/builder//filename.war
And the Tomcat Manager user-id and password.
Tomcat : 6.0.18
Thanks,
Frank
ext-narsi.re...@nokia.com wrote:
>
>
> HI Mark Thomas
>
> Thanks for replying to my query ,
>
>> What did you try?
>
> I tried CATALINA_OPTS -Xms 1024m and -Xmx 1024m in environment
> variables and tried with JAVA_OPTS also , and I changed in the programs
> --> Apache Tomcat 6.0 --> Config
I agree that in general this would be the preferable way of working with
the trust store however using self signed certificates streamlines much
better with my application and therefore my preference at this point is
to find a proper way of refreshing the trust store in the
JSSESocketFactory.
I'm
HI Mark Thomas
Thanks for replying to my query ,
>What did you try?
I tried CATALINA_OPTS -Xms 1024m and -Xmx 1024m in environment
variables and tried with JAVA_OPTS also , and I changed in the programs
--> Apache Tomcat 6.0 --> Configure Tomcat also here I tried in java
options and min
Leon Rosenberg wrote:
> add following to your catalina.sh
Better to use setenv.sh rather than edit catalina.sh
>
> export JAVA_OPTS="-mx256M -ms256M -XX:MaxPermSize=256m"
You should use CATALINA_OPTS rather than JAVA_OPTS in nearly all cases.
I haven't seen -mx and -ms referred to in the docs for
ext-narsi.re...@nokia.com wrote:
> Basically im running jmeter with 30 threads with 3
> requests with tomcat 6.0.18 , but tomcat is giving the Out of memory
> error ,
That sounds like you have a memory leak in your application.
> I want to increase Heap memory of tomcat , I trie
add following to your catalina.sh
export JAVA_OPTS="-mx256M -ms256M -XX:MaxPermSize=256m"
or, on windows, in catalina.bat
JAVA_OPTS="-mx256M -ms256M -XX:MaxPermSize=256m"
The values are only an example, the PermSize is optional if you have
many classes/jsps.
regards
Leon
On Tue, Dec 30, 2008
nodje wrote:
> thanks again Brian.
>
> one last question about monitoring, have you bean able to use Hyperic HQ on
> your production environment without significant performance reduction?
>
> We have identified Glassbox and LambdaProbe as potentially good tools but
> never dared to put them on th
removeps-gro...@yahoo.com wrote:
> How can the login page see parameters in the original request?
Without some hacking of the Tomcat internals, it can't.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For ad
Hi
Basically im running jmeter with 30 threads with 3
requests with tomcat 6.0.18 , but tomcat is giving the Out of memory
error ,
I want to increase Heap memory of tomcat , I tried somany ways but
it did not worked for me , it is almost 1 week for me ,
can somebody pl
Michael Rooz wrote:
> Hi Bill,
> Well - first the reason we need to update the truststore often is because we
> use self signed certificates and therefore each client certifcate needs to
> be in there.
If your processes allow, you would be better off creating your own (self-signed)
root CA, using
Michael Ludwig wrote:
[...]
But maybe your case is a different one.
Yes indeed, several different ones (almost one per customer).
In this particular case (Cisco VPN Client), the settings you describe
are not accessible (or not modifiable). I believe it is a protection
for the VPN you are co
51 matches
Mail list logo