hi list,
I have both apache and tomcat working on my windows desktop. I have also
configured mod_jk successfully ( I could access the jsp-examples from
http://localhost/jsp-examples).
I would like to configure virtual host on apache so that i can also
develop other applications in the same web s
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
> Subject: RE: uninstalling the manager
>
> Curiously, I deleted everything in tomcat/webapps other than
> my own apps
>
> > -Original Message-
> > From: David Smith [mailto:[EMAIL PROTECTED]
> > Subject: Re: uninstalling the manager
Curiously, I deleted everything in tomcat/webapps other than my own apps,
restarted the server, and manager was still there. I'm guessing that the
compiled version of the files are still hanging around.
Removing manager.xml seems to do the trick.
> -Original Message-
> From: David Smi
Roger Hendrix at Baldor-IS wrote:
> I am attempting to build tomcat 5.5.20 from source.
>
> I am zlinux version of SuSE 9.3 an IBM mainframe.
>
> I have downloaded and installed the SDK 5.0
What SDK? Sun's? Which version exactly?
Regards
mks
On 10/12/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Alberty
> Subject: CPU level is not coming back to a normal level
>
> When I'm testing the new servlet on my dev box, all is ok. When i'm
> running the same servl
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Alberty
> Subject: CPU level is not coming back to a normal level
>
> When I'm testing the new servlet on my dev box, all is ok. When i'm
> running the same servlet on the prod box, Tomcat is reaching almost 2
> x 100% CPUs
Prod Box is:
- Debian kernel 2.6
- Bi-Xeon 3.2 Ghz - 1 GB Ram
- Apache 2.0 - prefork - maxclients = 256 - keealive = false - around
300 request/sec
- Tomcat 5.0 - mod_jk 1.2.18 - 512 Mb allocated.
- JDK 1.5
MySQL is on another separate box.
Web app is an ad server serving all requests through se
> From: Roger Hendrix at Baldor-IS [mailto:[EMAIL PROTECTED]
> Subject: tomcat 5.5.20 build failing
>
> I am attempting to build tomcat 5.5.20 from source.
Why bother? Tomcat is pure Java (other than the optional APR
connector), so you can use the distributed binaries on any platform.
- Chuck
Greetings:
I am attempting to build tomcat 5.5.20 from source.
I am zlinux version of SuSE 9.3 an IBM mainframe.
I have downloaded and installed the SDK 5.0
I have downloaded and installed apache-ant-1.6.0-77.1
I first encountered a missing file, see BUGZILLA bug number at the following:
http
I am reading the hot deployment on Tomcat here,
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#Deploying%20on%20a%20running%20Tomcat%20server
And I have a few questions about the update case:
1. It said 'the Host will attempt to deploy and update web
applications dynamically, as nee
> From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED]
> Subject: RE: Large File (100MB+) Upload Issue
>
> So is the general consensus that this is indeed an issue with Tomcat,
> and not Apache or a system setting?
I don't think anything's ruled out yet.
- Chuck
THIS COMMUNICATION MAY CONTAIN
No, I said that failures were observed on production with uploads of
10-20MB (and apparently I was off by a few MB, I apologize), and that a
1.7GB upload worked on development. I was using this as data to support
my thought that the code was not the issue.
And besides, I was only asking to get an
Honestly I don't know. I'm not there. Just offering a plausable
expanation -- sometime I get lucky and hit the nail on the head. To be
fair, your original post stated failures were being observed with
uploads of 10-20MB while a 1.7MB worked.
You might want to take a look at your logs though.
The .xml files on production are significantly more complex... Something
would not necessarily jump out at me immediately, which is why I was
wondering if anyone else had this experience :) I've been going through
them manually though, just in case I get lucky.
I should mention too that nothing a
Hi Eric,
I have a JNI application also and I followed the advise from the Tomcat
documentation, where they suggest that the class that loads the dll's or
so's libraries are placed either in the shared/classes directory or the
common/classes directory. I do it in the shared/classes directory. I
> From: Stryjewski Lindsey [mailto:[EMAIL PROTECTED]
> Subject: RE: Large File (100MB+) Upload Issue
>
> If this were the issue, why would a 22MB file (which I just
> tested) work just fine?
If the maxPostSize is being exceeded, there should be a log entry
indicating such. Have you checked the
My understanding is that disableUploadTimeout defaults to "true" .
Regards,
Lindsey
-Original Message-
From: Nail, Evan Burke [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 2:34 PM
To: Tomcat Users List
Subject: RE: Large File (100MB+) Upload Issue
I know I had some issue
If this were the issue, why would a 22MB file (which I just tested) work
just fine?
Regards,
Lindsey
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 12, 2006 3:20 PM
To: Tomcat Users List
Subject: Re: Large File (100MB+) Upload Issue
Might want t
Just to clarify, the upload "completed" insofar as the temp file (named
"upload_#.tmp") finished... The action class is then supposed to
call the appropriate method which writes the file to the appropriate
storage directory, but this never happens.
Regards,
Lindsey
-Original Message
Might want to take a look at
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html.
Specifically setting the maxPostSize attribute of your connector in
server.xml. As you can see from the docs, the default is about 2MB.
--David
>-Original Message-
>From: Stryjewski Lindsey [mailto:[
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Large File (100MB+) Upload Issue
>
> go to your server.xml
> for your non-SSL HTTP/1.1 Connector on port 8080 connector in
> server.xml set
>
> disableUploadTimeout="false"
Doing so forces the connector to use a massaged connectio
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with HttpSessionListener
>
> Session information is scoped only to the current web
> application (ServletContext), so information stored in one
> context will not be directly visible in another.
No one was asking for cross
Juan-
Session information is scoped only to the current web application
(ServletContext), so information stored in one context will not be directly
visible in another.
the proper way to access your webapps info is getServletContext() to get the
context first..once you have YOUR webapps conte
go to your server.xml
for your non-SSL HTTP/1.1 Connector on port 8080 connector in server.xml set
disableUploadTimeout="false"
HTH
Martin --
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above.
Let me run through it one more time and try to identify some specific
problems then i will get back to you.
Strut is similar to JSF i believe so we could be in the same boat
Regards
I know I had some issues like this once that related to ssl. My dev server
worked fine but when I got under https it timedout.
Man I can't remember what config we changed, but you can try the
disabletimeoutonupload setting in server.xml for either your 80 or 443
connector. Otherwise google on
Hello,
We are experiencing a problem uploading large files through our web
portal. We seem to have problems once the file gets to be 10-20MB.
The file I am currently trying is 100MB.
When the user submits via the web form, the file appears to upload to
a Tomcat temp file. This upload compl
Never mind -- solved this by leaving the JSP & java files in the build
directory after processing them in chunks with the forked java processes,
and then calling JSPC one more time using the taskdef. Previously completed
steps are not repeated, so essentially, the taskdef invocation just sees
that
Odd -- works for me using the double backslash just fine...
You do seem to missing "microsoft:" in the beginning of the connection
string, not sure if that's a typo or not. Mine began
"jdbc:microsoft:sqlserver:" etc.
Did not have to mess with the port numbers (this was one of the things that
I
Dan:
Try this:
http://support.microsoft.com/kb/313225
Good luck,
Johnny
"Dan Decker" <[EMAIL PROTECTED]>
10/12/2006 12:57 PM
Please respond to
"Tomcat Users List"
To
"'Tomcat Users List'"
cc
<[EMAIL PROTECTED]>
Subject
[***Probable Spam***] RE: Tomcat using MS SQL2000 Named Instance
It also worked for me:
- putting context.xml to webpass/YOUR_WEPAPP/META-INF
- pack your web-app as ROOT.war
- deploy it
Tomcat will copy your context.xml from META-INF to
conf/[engine]/[host]/ROOT.xml
Cheers
Greg
PS.: tomcat 5.5.17
--
what's puzzlin' you, is the nature of my game
> From: Rizwan Merchant [mailto:[EMAIL PROTECTED]
> Subject: Re: jvm thread dump
>
> #
> # Configure the logger to output info level messages into a rolling
log file.
> #
> #log4j.rootLogger=INFO, R
>
> #
> # To continue using the "catalina.out" file (which grows forever),
> # comment out the ab
Riz,
> But I am seeing the same log messages (info level from the application)
> being dumped into catalina.out, so these are definitely not System.out
> logs.
You must have an appender that is using stdout or stderr as its
destination. Check out your log4j configuration.
> I do have a log4j.pro
Thanks. I renamed my stand-alone context definition
conf/[engine]/[host]/ROOT.xml and it worked.
FYI...I've asked the developer list about the possibility of respecting the
empty string path attribute value regardless of where the context is defined
and/or update the documentation to captur
Chris,
I cant thank you enough for all your help. If only there was a rating
system on this forum! ;)
thing is, I am not using ant System.out commands in my app. I have log4j
set up in the app which is logging to a different log file that rolls
nightly.
But I am seeing the same log messages
Peter - Thanks. I want to try it. I do not know how to find the port
number the named instance is listening on. Do you know how to find what
its number is?
Dan Decker
Microsoft Dynamics GP Developer
www.Business-Computers.com
(303)499-2039
-Original Message-
From: Peter Ries [mailt
It does not work when I use \\GP90.
I tried the following and it works on the default instance.
jdbc:sqlserver://KEYSTONE:1433;databaseName=TWO
To determine if it is using the port #, I changed the port to 1430 and
it no longer worked for the default instance. This tells me it is
looking at the
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Session count in tomcat manager
>
> When you shut down Tomcat, I believe the default is to
> write session information out to a saved-sessions file.
> When you start Tomcat back up, it reads this file so that
> any active sessi
Hi,
is there a way to configure tomecat to run also like php on port 80, or let
them run together on the same virtual server?
best
> From: Jon Wilmoth [mailto:[EMAIL PROTECTED]
> Subject: v5.5.x default context support outside of server.xml
>
> There seems to be some conflict between different sections
> of the context config documentation that leads me to believe
> it's not possible to specify a default virtual host's conte
Riz,
> I noticed that when I restart the tomcat server the "Active Sessions"
> count for one of the applications remains the same as it was before
> the server was shut down. Does this make sense?
When you shut down Tomcat, I believe the default is to write session
information out to a saved-sess
I've tried unsuccessfully to deploy my webapp as the default context for my
host using a context defined outside of the server.xml (individual files (with
a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/
directory) as strongly recommended in
http://tomcat.apache.org/tomca
Dan,
Have you tried using the server name of Keystone and specifying the
unique port number the named instance is listening on? I believe that
should work. I think that would be something like this:
jdbc:sqlserver://KEYSTONE:;databaseName=TWO
...where you replace with the port number.
Riz,
> Quick question, when you look at a thread dump, how do you tell which
> threads are idle?
Idle threads are ones that are not handling any requests. That seems
kind of self-explanatory, but you have to understand what those threads
are doing when they are not doing anything else: they are w
Simple version = delete manager.xml in conf/Catalina/localhost. manager
itself is located in server/webapps
--David
Daniel Blumenthal wrote:
>I'd like to get rid of the manager webapp, but it isn't clear where it's
>located. What's the best way to delete it?
>Thanks!
>Daniel
>
>
>
---
I'd like to get rid of the manager webapp, but it isn't clear where it's
located. What's the best way to delete it?
Thanks!
Daniel
Thanks Chris. You have been very helpful. I will implement your
recommendations and see what happens.
Quick question, when you look at a thread dump, how do you tell which
threads are idle?
Also, any inputs on my other postings regarding the session count and
catalina.out logging?
http://m
Hi all,
I'm trying to create some kind of customized Manager for my web apps but I
can't find out how to. When I use ServletContext I get only the openned
sessions for the current app.
How can I get an higher level context than ServletContext in a way that
gives me all web apps running
Try this:
jdbc:microsoft:sqlserver://KEYSTONE\\GP90:1433;SelectMethod=cursor;DatabaseN
ame=TWO
Note the double backslash before the instance name.
Struggled with this briefly myself recently -- the answer was in the PDF
help file for the JDBC driver.
Karen Koch
-Original Message-
From:
Forgot to mention that we're running Tomcat 5.5.4 on Solaris 8 with
iPlanet 6 as the webserver
thanks!
> _
> From: Enrique Arce
> Sent: Tuesday, October 10, 2006 2:41 PM
> To: 'users@tomcat.apache.org'
> Subject: stopping jk connector
Dan:
It may be related to which JDBC driver you're using. I've never had much
success using the Microsoft SQL JDBC driver to connect to a named instance
by using the instance name. I've only been able to connect by finding out
which port the instance is using, and specifying that in the conne
Under the covers, tomcat does use DBCP , but refractors the package name
to avoid collisions with the real DBCP package.
--David
Mikolaj Rydzewski wrote:
Christopher Schultz wrote:
From your DataSource configuration, it looks like you are using the
Oracle driver directly. Does that have built
Mikolaj Rydzewski wrote:
But, reading the config for the second time I can not find any
references to dbcp classes! Just DataSource interface and jdbc driver
class name. So - does this configuration uses connection pooling (how
could it be?)
I'll answer to my question ;-)
Quoting DBCP wiki:
"
Christopher Schultz wrote:
From your DataSource configuration, it looks like you are using the
Oracle driver directly. Does that have built-in pooling?
The original problem is solved, but I'm a little confused now.
Posted configuration was exactly the same like the examples on Tomcat
website:
Caldarale, Charles R wrote:
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Subject: RE: subdirectories of WEB-INF/lib
Is it possible to place .jar files in subdirectories of
WEB-INF/lib?
Yes.
Sorry, that's an incomplete answer. Any jars not directly in
WEB-INF/lib would have to be
On 10/12/06, DE VINZELLES, Guillaume (ext.)
<[EMAIL PROTECTED]> wrote:
Hello,
One of our connections wasn't properly closed, as you said.
You fixed the problem and now everything is running fine.
Great !
"Un grand classique" ;-)
Pascal
---
Glad to be of some help.
Regarding my issue, I posted this last week, I you have any points I'd
appreciate it!:
Hi all,
We use tomcat's formbased authentication (post to /j_security_check), the
bases of which is a HTTP 302 redirect on success.
We have a problem because tomcat/mod jk is iss
Hi,
thanks for the reply.
Ive tested with jvmRoute and it does work now! Thanks alot! It seems
that the string you configure
for jvmRoute is appended to the sessionid by tomcat once he sends it
back to apache.
I have an outstanding problem with tomcat redirects using the full URL of
the int
Hi Miguel, I m using tomcat embedded but i still use server.xml too
-Andre-
On 10/10/06, Miguel Correia Ricardo <[EMAIL PROTECTED]> wrote:
Hello,
I'm having a doubt that is bugging me. And I need to solve it also.
Everywhere I look, it says that by using Tomcat Embedded I don't need
the serv
Hi Daniel,
I recently setup some similar architecture and documentation for
tomcat mod-jk integration with proper sticky sessions is very poor. I am not
that familiar with the jk logs but do know I had to do the following to get
sticky sessions to work:
Think your problem may be with only
Hi
I have problem with my context.xml, please tell me what I have done wrong
factory
org.apache.commons.dbcp.BasicDataSourceFactory
url
jdbc:mysql://**/comium
Hello,
One of our connections wasn't properly closed, as you said.
You fixed the problem and now everything is running fine.
Thanks to all the people who answered for your help!
Guillaume de Vinzelles
DSI/PFS Neuf Cegetel
Altran Technologies
[EMAIL PROTECTED]
01 70 18 21 64
-Message d'o
Dear listmember,
Ive searched the docs and the web and couldnt find an answer to the
following:
The setup is like 2 apaches are connecting to 2 tomcats crosswise,
apache1 to tomcat1/tomcat2 and
apache2 to tomcat1/tomcat2 by using
workers.java_home=/usr/bin/java
ps=/
worker.list=lb,jkstatus
Hi Richard,
thanks for removig the tomatoes...
Cheers
Greg
--
what's puzzlin' you, is the nature of my game
64 matches
Mail list logo