On that note you can get NetBeans and its profiler and then profile your code.
http://www.netbeans.org
It will tell you different things about time spent.
Wade
- Original Message
From: Leon Rosenberg <[EMAIL PROTECTED]>
To: Tomcat Users List
Sent: Friday, October 5, 2007 3:11:48 PM
OS: Windows Vista Home Premium
Tomcat 6.0.14
Java 1.6.0_02
Error full stack trace:
C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin>tomcat6
2007-10-06 00:08:54 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
p
On 10/5/07, lukasK <[EMAIL PROTECTED]> wrote:
>
> I cannot run tomcat on vista (java1.6), when I start server I get error:
> java.io.IOException: Cannot rename original file...
Tomcat rewrites $CATALINA_HOME/conf/tomcat-users.xml, and
I'm pretty sure I've seen that message when inadvertently tryin
None without more information. Please post specs (OS, java
vender/version, tomcat version) and full stack traces when and where
ever possible.
--David
lukasK wrote:
I cannot run tomcat on vista (java1.6), when I start server I get error:
java.io.IOException: Cannot rename original file...
I
I cannot run tomcat on vista (java1.6), when I start server I get error:
java.io.IOException: Cannot rename original file...
I set up JAVA_HOME variable. Any idea?
--
View this message in context:
http://www.nabble.com/Running-Tomcat-on-Vista-tf4577692.html#a13067695
Sent from the Tomcat - User
> From: Pavan Singaraju [mailto:[EMAIL PROTECTED]
> Subject: Re: My own web page as tomcat default web page
>
> On 10/5/07, Nathan Bahr <[EMAIL PROTECTED]> wrote:
> >
> > Try renaming MyApp(.jar) to ROOT(.jar) in the webapps directory.
We'll assume you meant .war, not .jar, in the above.
> Is t
Is there any other way of doing the configuration? I should not rename my
application.
On 10/5/07, Nathan Bahr <[EMAIL PROTECTED]> wrote:
>
> Try renaming MyApp(.jar) to ROOT(.jar) in the webapps directory.
>
> >>> [EMAIL PROTECTED] 10/05/07 12:43 PM >>>
> Hi,
>how to set your own application
Try renaming MyApp(.jar) to ROOT(.jar) in the webapps directory.
>>> [EMAIL PROTECTED] 10/05/07 12:43 PM >>>
Hi,
how to set your own application page as default tomcat page?
I have my application and i am configuring my server. By default when
you
give the URL it will be going to TOMCAT man
Hi,
how to set your own application page as default tomcat page?
I have my application and i am configuring my server. By default when you
give the URL it will be going to TOMCAT manager page. for e.g., '
http://locahost' will take you to 'http://localhost/manager/html' which is
tomcat's def
many interesting mails, but lacking advices :-)
i would hardly recommend you to actually measure your webapps performance.
You can use a filter to measure the request duration, and measure the
db call duration from your persistence service and by that determine
where the time is lost, db or tomcat
Keglius,
Assuming you are using a web browser to display your data, consider
the HTML used to construct the page. Regardless of how fast your
database is, using TABLEs will always be slower than just using PRE
or BR tags. While this may not be very pretty, it does result in
much faster
On 10/5/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> 1. Your queries/indexes suck and you need to adjust them appropriately.
+1 on that possibility :-)
I had a MySQL-based app that had slowed dramatically as the table
(product inventory) size grew.
Just changing some old-style queries,
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
keglius,
keglius wrote:
So, I would like to know if increasing the Tomcat heap would help me
to increase a server speed - application page loading speed?
No. More memory will simply allow you to handle more user
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
keglius,
keglius wrote:
> So, I would like to know if increasing the Tomcat heap would help me
> to increase a server speed - application page loading speed?
No. More memory will simply allow you to handle more users. Unless your
server is thrashing
> From: Edward Dowgiallo [mailto:[EMAIL PROTECTED]
> Subject: PKI and the manager servlet
>
> As the manager servlet is currently written, is it possible to
> configure it to use CLIENT-CERT authentication instead of BASIC
> authentication?
The authentication is not built into the manager servle
Hi,
As the manager servlet is currently written, is it possible to
configure it to use CLIENT-CERT authentication instead of BASIC
authentication?
I've got CLIENT-CERT working with the locally developed apps, but am
having no luck configuring the manager or admin servlets. The locally
developed
--- "Caldarale, Charles R"
<[EMAIL PROTECTED]> escribió:
> > From: Henry [mailto:[EMAIL PROTECTED]
> > Subject: Re: start page setting
> >
> > when anyone in the browser type localhost:8080,
> > it shows start page of TomCat, instead this, I
> want
> > show start page of my wab app.
>
> You n
> From: Henry [mailto:[EMAIL PROTECTED]
> Subject: Re: start page setting
>
> when anyone in the browser type localhost:8080,
> it shows start page of TomCat, instead this, I want
> show start page of my wab app.
You need to name your webapp ROOT - that name indicates to Tomcat (not
TomCat) tha
--- Amnon Lahav <[EMAIL PROTECTED]> escribió:
> in your web.xml ,
>
> your
> jsp/html/servlet
>
> - Original Message -
> From: "Henry" <[EMAIL PROTECTED]>
> To:
> Sent: Friday, October 05, 2007 5:30 PM
> Subject: start page setting
>
>
> >
> > hi, every one
> > how can I setting
Tim,
That did the trick. Thanks.
BB
This e-mail and its attachments are confidential and solely for the
intended addressee(s). Do not share or use them without Fannie Mae's
approval. If received in error, contact the sender and delete them.
-Original Message-
From: Tim Funk [mailto:
in your web.xml ,
your jsp/html/servlet
- Original Message -
From: "Henry" <[EMAIL PROTECTED]>
To:
Sent: Friday, October 05, 2007 5:30 PM
Subject: start page setting
hi, every one
how can I setting start page in Tomcat.
I mean if you write localhost:8080 in my browser,
it redir
hi, every one
how can I setting start page in Tomcat.
I mean if you write localhost:8080 in my browser,
it redirects to any page that I want.
thanks in advance
Sé un Mejor Amante del Cine
Thank Rainer. That's a good point about the sequence numbers.
-Mike
-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED]
Sent: Friday, October 05, 2007 2:44 AM
To: Tomcat Users List
Subject: Re: Tomcat connections not closing.
Some comments, but not a real solution:
T
Hi,
just in case someone has the same problem. It's obviously a problem with
the fwbuilder software. I know used firehol to build the rules and
everything works fine.
What about doing "/etc/init.d/iptables stop" when the firewall is
running. Does Tomcat then start and stop more quickly?
/e
Its not ready for high volume but for most sites which are low volume- i
would think its OK
-Tim
bajistaman wrote:
Tim Funk wrote:
This should work:
http://sourceforge.net/projects/j2ep/
Thanks Tim, It looks like what I need, Have you tried it?, Does it have good
performance?
--
Thanks Filip.
We believe that disableUploadTimeout is defaulting to false in our
setup.
connectionTimeout seems to refer to the time until the request URI is
received. We are receiving the URI, the problem occurs when writing the
output to the client.
We will give these recommendations a shot th
Marlin Pierce schrieb:
> I downloaded the zip file, followed the instructions, and startup.bat
> gave the following in stdout
>
> Using CATALINA_BASE: C:\Program Files\Apache Software
> Foundation\apache-tomcat-6.0.14
> Using CATALINA_HOME: C:\Program Files\Apache Software
> Foundation\apa
> From: Marlin Pierce [mailto:[EMAIL PROTECTED]
> Subject: Re: FindClass org/apache/catalina/startup/Bootstrap failed
>
> Another shell window did open, but it closed right away.
What's in the logs?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and
At 10:05 AM 10/5/2007, Marlin Pierce wrote:
> From: Marlin Pierce [mailto:[EMAIL PROTECTED]
> Subject: FindClass org/apache/catalina/startup/Bootstrap failed
>
> I downloaded and ran the Tomcat 6.0.14 Windows Service Installer.
The .exe download does not include any of the very useful scripts,
u
On Fri, Oct 05, 2007 at 03:16:02PM +0200, Marcus Franke wrote:
> Hello,
>
> Ive got a problem with my tomcat 5.5.23 and java 1.5.0_12 on
> Centos4 using the sun jdk.
>
>
Ok, answering to my own post, tomcat version was 5.5.20.
I just fetched a current tarball from the homepage, extracted it an
Take a look at Acegi Security for Spring Framework,
http://acegisecurity.org/
It is a complete, container non-specific framework. The web part of it
is configured as a filter (a chain of filters) in your web.xml.
The SecurityContextHolderAwareRequestFilter class there publishes
acegi-specific sec
Hello Tomcat gurus:
I'm new to Tomcat/Java and want to deploy a java program as a web
service to Tomcat/Axis. I started to learn the deployment by using the
JWS deployment first and it worked fine:
copy .java as .jws to \Tomcat 6.0\webapps\axis folder
copy .class in \Tomcat 6.0\w
Hello,
Ive got a problem with my tomcat 5.5.23 and java 1.5.0_12 on
Centos4 using the sun jdk.
The logfile keeps telling me about being unable to compile the jsp:
An error occurred at line: 109 in the jsp file:
/jsp/templates/nav.jsp
Syntax error on token "<", invalid AssignmentOperator
106:
1
Tim Funk wrote:
>
> This should work:
>
> http://sourceforge.net/projects/j2ep/
>
Thanks Tim, It looks like what I need, Have you tried it?, Does it have good
performance?
Johann
--
View this message in context:
http://www.nabble.com/Setup-a-Proxy-in-Tomcat-tf4572073.html#a13058364
Sent fro
Caldarale, Charles R wrote:
>
> Write a filter that does a redirect. I believe that
> http://tuckey.org/urlrewrite/ has this capability, but I haven't tried
> it myself.
>
Thanks Charles, I have already created a filter using commons.httpclient but
the performance that I'm having is not what I
> From: Arun [mailto:[EMAIL PROTECTED]
> Subject: Re: Authorization on Apache Tomcat the J2ee Way.
>
> I cannot use tomcat specific Realm class.
Again, read the servlet spec. If you can't accomplish what you need
within that structure, then anything you do will be container-specific,
regardles
That is tied down to a server. I have my own db scheme as well as different
servers to deploy. I cannot use tomcat specific Realm class. Are there any
other solutions? any links ?
On 10/5/07, Pid <[EMAIL PROTECTED]> wrote:
>
> Arun wrote:
> > Hi,
> > I have a tomcat 6 installed. I have a running w
I communicated with my hosting company and I found that my server has
installed a non-standard java runtime from BEA Jrockit. As my programmer
said that it's not a native sun virtual machine
and what I found on BEA web site that if you can't make a thread dump that
means that JVM really freezes an
> From: keglius [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.0 strange crashes
>
> What is the problem with the webserver (Tomcat 5.5)? Why does
> it crash?
You keep using the word "crash", but don't provide any evidence that the
Tomcat process is actually terminating. It's highly unlikel
keglius wrote:
> What is the problem with the webserver (Tomcat 5.5)?
Nothing
Why does it crash?
Looks like your app is using more memory than you expect.
> Do you, guys, have any suggestions which might be helpful to fix this strange
> crash problem?
Use a profiler (eg YourKit) to see where the
alee amin wrote:
> Do you mean that giving a page in welcome page list will open the page on
> this path?
Yes. See the spec for more details.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail:
This should work:
http://sourceforge.net/projects/j2ep/
-Tim
bajistaman wrote:
Is there a way to map a local context to a remote one with tomcat?
I mean:
http://localhost:8080/somename-->http://remotehost/someothername
I know that this can be done with Apache Http Server but I'm trying to a
In that case - this should do the trick:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
-Tim
Biagi, Bill (Contractor) wrote:
The thing is it is actually secure. The Tomcat servers are behind the
load balancers and using the dedicated hardware engines to perform the
SSL. Granted To
Josué Alcalde González <[EMAIL PROTECTED]> kirjoitti:
Hello.
I would like to get some advise about a new application I am developing.
It needs SSL with client certificate and it will be written in java and
deployed in Tomcat 6 with java 6.
The server will be shared with other applications in j
Check your logs for messages related to your servlet starting when your
webapp started. There is most likely another exception or complaint
from tomcat regarding your servlet.
--David
Omar Chebaro wrote:
Dear,
thank you David and Christopher for your replies,
the servlet is already package
Dear,
thank you David and Christopher for your replies,
the servlet is already packaged,
I put my class in a jar file and put it in
"tomcat_home/webapps/Servlet_HTML/WEB-INF/lib/"and i made the necessary
modification to the web.xml file
BrowseRegions
edu.rice.rubis.servlets.
> From: David Delbecq [mailto:[EMAIL PROTECTED]
> Since you say CPU usage on your machine is around 5% during
> those tests,
> and your database is on same machine as tomcat server, i doubt the
> bottleneck really is on database.
The OP never reported on disk I/O - this is often the killer on
Finally, debugging an with try-error I have got the correct
configuration.
--
ServerAdmin [EMAIL PROTECTED]
ServerSignature On
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
SSLVerifyClient o
Hello,
I upgraded my server with additional 1GB of RAM, so now it has 2GBs of RAM.
I tried to run the webserver stress test on my application's members area
and found that it takes around 5 minutes of stress test with 20 users to
crash Tomcat. My application is very resource intensive, however,
Arun wrote:
> Hi,
> I have a tomcat 6 installed. I have a running webapplication . I need to
> implement a role based access control. How can I combine servers caabilities
> so that I can use the request.getPrincipal() method ... I also have a list
> of roles and groups and who all are assigned wh
Hi,
This is a mailing list about tomcat J2EE server, not about apache
webserver. You will likekly not get any answer to your question here
mohamed rafi a écrit :
Hi,
I want to disable the HTTP TRACE and DELETE methods to
be invoked on my webserver.
I checked on the Net, and found that mod_re
Some comments, but not a real solution:
The FIN from the client comes in, when the server had already sent out a
couple of packets without getting an ACK. The ACK in the FIN does not
ACK the latest server packet, instead it is related to a packet some
steps earlier (you can check the sequence
Hi,
I have a tomcat 6 installed. I have a running webapplication . I need to
implement a role based access control. How can I combine servers caabilities
so that I can use the request.getPrincipal() method ... I also have a list
of roles and groups and who all are assigned what all roles/groups in
Hello.
I would like to get some advise about a new application I am developing.
It needs SSL with client certificate and it will be written in java and
deployed in Tomcat 6 with java 6.
The server will be shared with other applications in java, php and
perhaps other.
Now, it is a ubuntu 6.06 se
This was my first mail to apache tomcat users. This is fantastic
great. I express my hearty gratitude to you all guys. That is clear
like water. Cool. I will ask my ISP to do this and forward this mail
as well.
I had not introduced myself. I am Arun George working as a lead
developer @ mobchannel
55 matches
Mail list logo