> From: Sean Carnes [mailto:[EMAIL PROTECTED]
> The highest that we could set the heap was to 1200.
That feels a little low, even on Windows. I wonder what's fragmenting the
address space. I can get to about 1500 on x86 Windows 2003 Server Standard
before the VM fails to start.
> We have ever
Hi,
I have Tomcat 6.0.14 running fine with mod_jk and Apache 2.2.
When I place tcnative library path in the java library path, then the
catalina.out log starts/stops at below:
Dec 7, 2007 4:40:06 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded Apache Tomcat Native library 1.1.1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Delian,
Delian Krustev wrote:
>>> Really? From your other message, you make it look like Java is taking
>>> something like 1GB of memory. Sure, the JVM adds some overhead to the
>>> heap size you configured, but it shouldn't be more than 5% or 10%...
Hi,
Can anyone tell me, how can I take control of SSL handshaking of https
from tomcat, so that I can maintain the protocol by myself? This is
really important for me.
Regards,
Jahid
-
To start a new topic, e-mail: users@tomc
Hi Sean,
I have exactly the same problem. Tomcat5.exe is increasing memory allocation
day by day.
you mentioned:
The memory usage of tomcat has dropped ~40% since we made that change
Would you kindly provide with a document or reference on how you did it step by
step?
How did you setup the loa
On 06/12/2007, at 10:34 PM, Sean Carnes wrote:
The highest that we could set the heap was to 1200. I tried higher
and it
would not start. It also seemed somewhat unstable above 1024 which
was the
previous setting, slowness updating the client and other things. The
company that develops the
Hi,
I am not using virtual host. there is only one host in one machine.
but i want to take control so that server sends my own certificate
where i will point it. also i want to handle the handshaking so that
client's certificate will be varified from my own code, but not from
Certificate Authoriti
> From: Stefano Martines [mailto:[EMAIL PROTECTED]
> I have exactly the same problem. Tomcat5.exe is increasing
> memory allocation day by day.
I think you may have a different problem.
Sean's problem was that increasing load on his server meant increasing memory
use. Do you *also* have increas
are you using virtual-hosts?
if so are your virtual-hosts domain-based or address-based?
M-
- Original Message -
From: "Md. Jahid Shohel" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 07, 2007 9:46 AM
Subject: tomcat ssl handshaking
> Hi,
>
> Can anyone tell me, how can I take contro
If this is a recurring problem, you can try logging the requests at
some other points and compare the logs to see where the parameters are
getting mixed up. The problem may be caused by a proxy between the
client and server, for example.
1. If the params are sent via GET requests, Tomcat's AccessLo
Hi all:
I use ajp between Apache2.2.6 and tomcat5.5.25, when I upload a file
Exception occurred like below, anybody could tell me why? Thanks.
I think the key is "java.io.IOException: Socket read failed
org.apache.coyote.ajp.AjpAprProcessor.read(AjpAprProcessor.java:1037)"
Is it a A
Hi Martin,
My MySQL server is alive and well; I can connect to it using the same
parameters, using a JDBC-based database browser.
I didn't know about autoReconnect being deprecated; it still appears to
be supported, but I see that the MySQL 5.0 reference manual recommends
cranking up the serve
Is Tomcat 6.0.15 released and is it "stable"? I see discussions on the
dev list and votes but I didn't find a conclusion. Also, I don't see
Tomcat 6.0.15 available for download on the web page. However, I do see
a tag for it in svn.
Thanks,
Joe Bohn
The MySQL driver is in $TOMCAT_HOME/lib, but I don't think that is even
the issue here -- the real problem is that the DataSource object is not
initialized, so it doesn't even have the url, driver class name, etc.
This is what my log looks like when I restart Tomcat:
Dec 7, 2007 1:18:50 PM org.
I changed to "value2" in source code without rebuilding/redeployment. In this
case should I expect to see "value2" due to Java hot-swapping when
breakpoint is reached?
I remembered I can see changed value for class extended from
SimpleFormController in this scenario. I am not sure if it is a Clas
Hi Tom
here is my jdbc.properties which is used for petstore access to MySQL tables
#jdbc.driverClassName=org.hsqldb.jdbcDriver
jdbc.driverClassName=com.mysql.jdbc.Driver
#jdbc.url=jdbc:hsqldb:hsql://localhost:9001
jdbc.url=jdbc:mysql://localhost:3306/petclinic
jdbc.username=fu
jdbc.password=bar
fyi, I built this tcnative using the latest APR src libraries 1.2.12, if that
helps.
ewsinc wrote:
>
> Hi,
>
> I have Tomcat 6.0.14 running fine with mod_jk and Apache 2.2.
> When I place tcnative library path in the java library path, then the
> catalina.out log starts/stops at below:
>
> De
Where did you place your mysql driver jar file? It has to be in
tomcat's /lib directory to be visible to tomat's internal code for
building the db pool and your webapp. Also did you happen to look at
the logs around when your webapp started for any relevant messages?
--David
Thomas Okken wr
Ok...
The other statistical common thread in this type of issue is a typo or
missing config somewhere along the line in one of these files:
context.xml -- you've provided that and named the resource jdbc/SmmDB
web.xml -- do you have this in your WEB-INF/web.xml:
jdbc/SmmDB
> From: Thomas Okken [mailto:[EMAIL PROTECTED]
> Subject: Re: DataSource created but not initialized => Cannot
> create JDBCdriver of class '' for connect URL 'null'
>
> There is a warning about the docBase attribute (strange; I
> copied that text verbatim from the Tomcat FAQ); if I remove
> th
> From: linuxChique [mailto:[EMAIL PROTECTED]
> Subject: RE: Configuring Tomcat on Fedora Core 8
>
> But what I mean is, how do I know what the "root" directory
> is for web serving purposes?
(Be careful of the term "root". Tomcat requires that the default webapp
name for a given be named ROO
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: discrepancy for tomcat connector file names for win32
>
> Is there a discrepancy at this URL
>
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk
-1.2.25/
> for downloading the binaries for win32.
Yes, the file
Hi,
Is there a discrepancy at this URL
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.25/
for downloading the binaries for win32. Please, see below the name of the files
and the description at the bottom.
Thx.
Lalit
mod_jk-apache-2.0.29.so
change modJk=E:\apache\2.0.61\Apache2\modules\mod_jk.dll"
to
modJk="E:\apache\2.0.61\Apache2\modules\mod_jk.dll"
follow rainier's advice and read up on mod_jk
Martin-
- Original Message -
From: "Rainer Jung" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, December 07, 2007 5:5
It was jira-server.xml before I fixed it, but I saw an error message in the
log about /var/www/html/jira/jira-server not existing, and that filename was
the only instance of the phrase "jira-server" anywhere in the configuration,
so I changed the docBase from /var/www/html/jira to /var/www/html/ a
> From: kkus [mailto:[EMAIL PROTECTED]
> Subject: Re: Value can't be changed in bean extended from
> AbstractControllerof Spring
>
> But Java can handle hot-swapping for normal Java application
> automatically, so still can't understand why Tomcant can't work
> this way.
Your assumption is inco
For JBoss project it has "automatic publishing" checked, I guess that is why
it can hot-swapping properly without restart/redeployment. Thank you for
your pointing!
For Tomcat project I start Tomcat from its bootstrap class, so it will be
treated as a normal Java application rather than a server
> From: linuxChique [mailto:[EMAIL PROTECTED]
> Subject: RE: Configuring Tomcat on Fedora Core 8
>
> I guess the thing is that I don't know what a
> PersistentManager is or if I need it.
Again, to quote from the doc:
"In addition to the usual operations of creating and deleting sessions,
a Per
I guess the thing is that I don't know what a PersistentManager is or if I
need it. Or what file this configuration is stored in. Should I use it?
Erin
Caldarale, Charles R wrote:
>
> To quote from the doc:
>
> "In order to successfully use a PersistentManager, you must nest inside
> it a el
Do you have "Serve modules without publishing" option in Eclipse
configuration for the server turned on or off?
(Double click the server on the servers view to open the configuration dialog).
2007/12/8, kkus <[EMAIL PROTECTED]>:
>
> In my another project (JBoss+Spring+Hibernate), I see my change
> From: linuxChique [mailto:[EMAIL PROTECTED]
> Subject: RE: Configuring Tomcat on Fedora Core 8
>
> Now I'm getting this, "No Store configured, persistence
> disabled,"
To quote from the doc:
"In order to successfully use a PersistentManager, you must nest inside
it a element, as described be
In my another project (JBoss+Spring+Hibernate), I see my changes take effect
immediately in Eclipse IDE Debug without restart/redeployment. I think
JBoss' ClassLoader is working properly for swapping new changes. All these
changes occur in classes extended from SimpleFormController. I use
hot-swap
Also, you may want to search Bugzilla (http://issues.apache.org/) or
user/dev list archives for those strings,
"Cannot create a session after the response has been committed",
"Cannot forward after response has been committed"
E.g., I have found http://issues.apache.org/bugzilla/show_bug.cgi?id=4
> From: Albretch Mueller [mailto:[EMAIL PROTECTED]
> Subject: Re: Still trying to log using org.apache.juli.FileHandler ...
>
> OK, I think, this time I did follow the FM ;-) at:
But perhaps not all of it...
> but when I declared a log4j.properties file inside of a webapp
> no log file is cr
Albretch-
try changing to anything other
than -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
and TC abends
leave logging.manager as juli ClassLoaderLogManager and these exceptions
occur
Handler error java.lang.IllegalArgumentException: Bad level "DEBUG"
even when 1catalina.org
Line 20 is a closing "Resource" tag. Now I see that it shouldn't be there,
because the tag is already closed with a slash. So that parsing problem is
fixed! Now I'm getting this, "No Store configured, persistence disabled,"
and still a blank page in the browser. Thanks for your help, I really
app
I was curious as to the configuration that was being fed by the JVM
when you go:
~
catalian run
~
that was it:
~
"$JRE_HOME\bin\java" -verbose:class
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file="$CATALINA_HOME\conf\logging.properties"
-Djava.e
> From: linuxChique [mailto:[EMAIL PROTECTED]
> Subject: Configuring Tomcat on Fedora Core 8
>
> Dec 7, 2007 2:07:12 PM
> org.apache.tomcat.util.digester.Digester fatalError
> SEVERE: Parse Fatal Error at line 20 column 4: The element
> type "Context"
> must be terminated by the matching end-ta
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Configuring Tomcat on Fedora Core 8
>
> display it here so everyone can see it
Everyone already has - look in the original message. If you've lost
that, look in the archives.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL A
> In this case should I expect to see ... due to Java hot-swapping when
> breakpoint is reached?
Obviously, if you do not see it working, it probably does not.
You should familiarize yourselves with code hot-swapping technology,
its implications, and how it works upon tomcat, web application
depl
I'm sorry, I don't understand. It's in the original post... how is that not
"here?"
http://www.nabble.com/Configuring-Tomcat-on-Fedora-Core-8-p14219699.html
Is there a chance that you can't see it because it's all XML code?
mgainty wrote:
>
> display it here so everyone can see it
>
> M-
>
display it here so everyone can see it
M-
- Original Message -
From: "linuxChique" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 07, 2007 3:42 PM
Subject: Re: Configuring Tomcat on Fedora Core 8
>
> Hi, I've already included the contents of that file in my original post.
>
>
> mgainty
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Subject: Re: Configuring Tomcat on Fedora Core 8
>
> display contents of jira-server.xml
The OP already did. Read the whole message.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for us
display contents of jira-server.xml
M-
- Original Message -
From: "linuxChique" <[EMAIL PROTECTED]>
To:
Sent: Friday, December 07, 2007 3:13 PM
Subject: Configuring Tomcat on Fedora Core 8
>
> I'm trying to configure Tomcat, and it's not working. I must be doing
> something wrong, and I
I'm trying to configure Tomcat, and it's not working. I must be doing
something wrong, and I need your help. I'm using it to run Jira. I start
Tomcat, but the page is blank. Here's my catalina log:
--
De
You're right, it was a typo! I called the datasource SmmDS everywhere,
except in the Context element, where I mistakenly called it SmmDB.
I think it's pretty weird that the JNDI lookup succeeded anyway. That
sounds like a Tomcat bug; it should throw a NameNotFoundException, not
return an uniniti
Hi,
I have installed Apache 2.0.61 and Tomcat 5.5.25 on windows 2003
machine.Ifound mod_jk-
apache-2.0.29.so and mod_jk_1.2.6_2.0.50.dll both on web and downloaded.
Copied the dll file to /module directory. When i edit the
server.xml file for adding entry under the
Tomcat just refuses to startup
Mark Thomas wrote:
Joe Bohn wrote:
Is Tomcat 6.0.15 released and is it "stable"? I see discussions on the
dev list and votes but I didn't find a conclusion. Also, I don't see
Tomcat 6.0.15 available for download on the web page. However, I do see
a tag for it in svn.
There were issues wit
while searching I also notice that as John Lennon said in "imagine"
"I am not the only one" ;-)
~
Why have they made so hard just going System.out.println(" ...") in
your servlets code?
~
lbrtchx
-
To start a new topic, e-mail:
OK, I think, this time I did follow the FM ;-) at:
~
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
~
> 1._ I did create a log4j.properties file and placed it in $CATALINA_HOME/lib
~
C:\cmllpz\prjx\java\GWB\tc\tc-6.0.14\lib>dir *.properties
Volume in drive C is IBM_PRELOAD
Volume Serial N
http://wiki.apache.org/tomcat/FAQ/Miscellaneous
Look for "Why do I get java.lang.IllegalStateException ?"
The filter is not the problem - its something farther down the stack
trace.
-Tim
Christian Aschoff wrote:
i have written a filter for my webapplication that checks the called url
for s
Hello tomcat-users,
i have written a filter for my webapplication that checks the called
url for special patterns and sends an error 404 when matching the
pattern. This works most of the time great. But every ca. 4000
requests, an exception occurs in the filter. I looked around with
googl
Sangeeta Verma wrote:
Hi,
I have installed Apache 2.0.61 and Tomcat 5.5.25 on windows 2003
machine.Ifound mod_jk-
apache-2.0.29.so and mod_jk_1.2.6_2.0.50.dll both on web and downloaded.
The 1.2.6 version is *very* old, we are at version 1.2.25 of mod_jk.
Use the 2.0.29 file, because that was
> From: linuxChique [mailto:[EMAIL PROTECTED]
> Subject: RE: Configuring Tomcat on Fedora Core 8
>
> So how do I know by looking at the directory structure of
> Jira what my docBase and path should be in jira.xml?
You were referring to jira-server.xml, not jira.xml; which is it?
Normally, you d
Great, thanks. Well, it looks like Tomcat is working properly now, but I'm
getting a 404 error, so I must have it configured to look in the wrong
directory, right? So how do I know by looking at the directory structure of
Jira what my docBase and path should be in jira.xml?
--
View this message
Hi, I've already included the contents of that file in my original post.
mgainty wrote:
>
> display contents of jira-server.xml
>
> M-
>
--
View this message in context:
http://www.nabble.com/Configuring-Tomcat-on-Fedora-Core-8-tf4964192.html#a14220135
Sent from the Tomcat - User mailing l
OK, I removed the path and docBase attributes from the Context element;
as expected, the warning in the log goes away but the DataSource problem
does not.
The mysql-connector-java-5.1.5-bin.jar file is world-readable; it is in
$TOMCAT_HOME/lib and nowhere else; I did have another copy in
$TOMCA
Hi all,
I'm trying to set up a DataSource to manage connections to a MySQL
database, but whenever I call getConnection(), I get this error:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
at
org.apache.tomcat.dbcp.dbcp.Basi
Joe Bohn wrote:
> Is Tomcat 6.0.15 released and is it "stable"? I see discussions on the
> dev list and votes but I didn't find a conclusion. Also, I don't see
> Tomcat 6.0.15 available for download on the web page. However, I do see
> a tag for it in svn.
There were issues with 6.0.15 so it ne
59 matches
Mail list logo