Ok, I have removed all the setClasspath changes I did, and made sure that all
the 'common' JARs are under /lib. I ran my webapp and I
received the following exception:
SEVERE: Error deploying configuration descriptor MyWebApp.xml
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
Hey everybody,
I'm trying to get the apr-1.2.8 work with apache-tomcat-6.0.16 which comes
with tomcat-native-1.1.12.
I have a Sun Sparc m5000 box with solaris 10 on it.
The first time i compiled the apr-native in tomcat directly and thus got
the error no apr found. So then i downloaded apr-1.2.8.
try using the core binary download , extract it and run the startup script
inside the /bin folder of extracted folder , test it on the browser
http://localhost:8080 . to stop the server , use the shutdown script . Make
sure you have set the JAVA_HOME,PATH of java /bin/ , CLASSPATH , and
CATALINA_H
> From: AD [mailto:straightfl...@gmail.com]
> Subject: root context path - war file not unwar'd
>
> I have an issue where inside a i set the context path
> of "/" to a directory inside webapps (myapp).
This is bad practice, and gets your webapp deployed twice. Sounds like you
also didn't remove
There are some recent fixes to jsvc on OS/X in the commons SVN repository,
but they haven't been released yet. You could try those and see if it
helps. There is more info from the commons developer's list archive at
http://markmail.org/message/z7klsse5tylcv5es.
"Adam Dajka" wrote in message
Hello Mohit,
You can try to check how the process is running using Jconsole or
jstack, jmap (granted if you have JDK 6.0). Read the documentation of
this tools to figure out the meaning of the output:
*
http://www.google.com/url?sa=t&source=web&ct=res&cd=8&url=http%3A%2F%2Fweblogs.java.net
tomcat 6: Is there a way to look at memory leaks in tomcat?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
Hi Stefan
I went and read the comments more carefully and it seems to me that the
proposed solution is an attempt to avoid a race condition between
issuing the 'close' in
one thread and then it being closed again whilst its being used in
another thread.
If the problem is closing it twice th
Hey thanks, However I have a whole new set of issues that led me to get
Tomcat6 working. I found
/Library/LaunchDaemns/org.apache.tomcat.tomcat6.plist which I believe was
launching and calling an older version of Tomcat. So, I renamed it so it
wouldn't be called. In that dir there is also symboli
Hello,
I have an issue where inside a i set the context path of "/" to a
directory inside webapps (myapp). The issue is when i delete the directory
, on first startup the directory is not available yet (not unwar'd yet it
appears) so it auto-sets the root context path to the default tomcat
appl
Thanks Alan, just to make the thing really clear. You propose code like
this:
public void execute() {
Connection conn = null;
Statement stmt = null;
ResultSet rs = null;
Context envContext = null;
try {
Hi,
we are using Tomcat 5.5.26 with mod_proxy_ajp and apache httpd 2.2. The
dynamic content is served by tomcat and the static content is served by
httpd.
May there be any traffic from tomcat itself or mod_proxy or httpd to the
browser before the response from my webapp is send?
I mean some kind
Hi Stefan
You don't need to repeat the stmt.close();conn.close() etc in the 'try'
body. The 'finally' by definition is ALWAYS called and that is where you
should do the tidy up...
Alan Chaney
Stefan Riegel wrote:
I guess I understood the point with the "Random Connection Closed
Exceptions
I guess I understood the point with the "Random Connection Closed
Exceptions" Problem.
See at the end of
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
As I understand, only the connection itself must be protected this way.
The statement and ResultSet must not. I
I stopped using MySQL when it was at version 4 because the transactional
locking table (InnoDB) had different licensing restrictions than the
rest of MySql (I'm not sure if this is true any longer.)
We switched to Postgresql (of comparable price!) and basically found it
well-documented, reliab
I don't have a great deal of experience with Postgres but I have been
using MySQL since the days of mSQL and have found it to be fast,
reliable, easy to install on both Linux and Windows and straightforward
to administer. It provides good support for the ANSI standard and the
documentation is good
for some reason owner of the file was switched to root. Once it was back to
tomcat everything started to work again
agent59624285 wrote:
>
> When i use the tomcat manager to undeploy a process the OK message however
> the process is only stopped not undeployed. it still remains in the list
> o
On Mon, Jan 19, 2009 at 6:04 PM, Caldarale, Charles R
wrote:
>> From: m zyzy [mailto:myz...@gmail.com]
>> Subject: Tomcat 6 binary in 64-bit
>>
>> Could Tomcat 6 core binary be used in 64-bit Linux O/S ?
>
> Tomcat is pure Java (other than the APR connector), so it doesn't care what
> platform it
> From: m zyzy [mailto:myz...@gmail.com]
> Subject: Tomcat 6 binary in 64-bit
>
> Could Tomcat 6 core binary be used in 64-bit Linux O/S ?
Tomcat is pure Java (other than the APR connector), so it doesn't care what
platform it's running on. You just have to run it under an appropriate JVM.
> wh
Could Tomcat 6 core binary be used in 64-bit Linux O/S ? which one of 64-bit
JDK 5 or 6 is recommended ? FYI the machine's processor is a 2 core Intel
with Intel 64 support, 16 GB DDR2 FB and 160Gb SATA2 SAS.
And how many maximum heap -Xmx and PermGen space memory should be enough
with 120mb of war
When i use the tomcat manager to undeploy a process the OK message however
the process is only stopped not undeployed. it still remains in the list of
applications and i can't remove it or upload a new war file to replace it.
--
View this message in context:
http://www.nabble.com/undeploy-fails
gbhumphrey ha scritto:
Hi all, I've used macports to install tomcat6, and when I go to
localhost:8080, I see the welcome the page. However severl things I think
are odd are happening:
1) The files are all read-only - I have to change the perms on the
tomcat6/webapps/ROOT/index.html to edit it.
2
On 19.01.2009 13:40, gerhardus.geldenh...@gta-travel.com wrote:
Hi
We are interested to know what the exact behaviour of modjk is with
regards to current running requests when you disable a worker in the web
interface. Does it drop all requests currently being processed by that
worker or would it
Hi all, I've used macports to install tomcat6, and when I go to
localhost:8080, I see the welcome the page. However severl things I think
are odd are happening:
1) The files are all read-only - I have to change the perms on the
tomcat6/webapps/ROOT/index.html to edit it.
2) I was editing it to se
> From: jclark42796 [mailto:jclark42...@gmail.com]
> Subject: RE: Multi-level context broken in Tomcat 6.0.18?
>
> I don't think my app should have to know about the '#'?
It shouldn't - if your app is coded properly. You should be using
ServletContext.getResourceAsStream() to access the file. A
Since "this" is com.google.gwt.user.server.rpc.RemoteServiceServlet, my first
guess would be that that's where the problem is. Have you tried the gwt mailing
list/forum?
bikkel bikkel wrote:
Good morning,
I'm using GWT in a web application running on Tomcat 6. This is running fine
for month
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Br1,
br1 wrote:
> Ok, I am starting to understand better what is happening, there seem to be
> two problems here.
>
> 1 - The max URL length for IIS 5 is about 2k or so. This cannot be changed
> probably.
That's what my knee-jerk reaction was to s
2009/1/18 Yuval Perlov :
> Setup:
> For one of our projects we are using httpd in front of tomcat.
> At the moment everything is routed via tomcat, static and dynamic content
> alike (except for one directory of images that resides outside the
> application).
> We are using AJP proxy.
>
> Symptoms:
Sorry my bad, absolutely correct.
>PostgreSQL does have support for stored procedures, you can even
>choose from 4 languages out of the box and 3 more from addons:
>http://www.postgresql.org/download/products/4.html.
- Original Message -
From: "Kees de Kooter"
To: "Tomcat Users List"
S
> From: Ronald Klop [mailto:ronald-mailingl...@base.nl]
> Subject: java6, jaf and multiple contexts in tomcat 5.5.27
>
> But since it is part of java 6 it is also loaded by the
> system classloader (I think).
Not also, it's loaded only by the system classloader.
> When we now load multiple contex
Caldarale, Charles R wrote:
>
>> and the app fails to deploy.
>
> What messages do you see in the log concerning the deployment?
>
> - Chuck
>
Thanks for the reply. BTW, this is attempting to deploy Confluence. Here's
the error I get:
{code}
SEVERE: Exception starting filter sitemesh
...
br1 wrote:
My suggestion to the developers here, could you please intercept the error
and maybe return a "413 Request Entity Too Large" message?
This is what happens for instance with Ionics rewrite (see 31 october 2008
release,
http://www.codeplex.com/IIRF/SourceControl/ListDownloadableCommits
br1 wrote:
>
>
> Christopher Schultz-2 wrote:
>>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Br1,
>>
>> br1 wrote:
>>> Do you think this limit will be increased in the next versions?
>>>
>>> In theory, no limit is imposed by the protocol itself. I would tend to
>>> think
>>> J
I'd like to thank everyone involved,
as many of you suspected it turned out to be an infinite loop in a
component of our webapp, i've tracked the issue down to the places
where it is most possible and gave it over to the owner of the
component.
Thank all of you for great help finding it !
Leon
Dear List!
I have an issue with both tomcat5 and tomcat6 on os x leopard when
trying to use java 1.6.
When I set JAVA_JVM_VERSION=1.6 in setenv.sh starting tomcat fails.
I get the error message from jsvc into catalina.err:
14/01/2009 13:06:42 1465 jsvc error: Cannot dynamically link to /
Sy
Hi,
I'm running a webapp which use jaf (java activation framework) for javamail. In
the past it was possible to deploy different versions of our webapp in
different contexts of one tomcat instance. Jaf always was a jar within our
context. Since java 6 jaf is included in java 6 and we removed i
Good morning,
I'm using GWT in a web application running on Tomcat 6. This is running fine
for months.
Today i was told to get the GWT application running in a Tomcat Cluster.
Configuring Tomcat wasn't a problem, normal HttpSession are replicated
between servers without problems when using normal
matyg wrote:
> Yes, I know this page, but it is not understoodable from what is described
> how it should be done.
> They write there "All such classes are visible to both Tomcat internal
> classes, and to web applications".
Classes placed inside a webapp should not be visible to the container.
Th
> From: D. Barnhoorn [mailto:d.barnho...@tfe.nl]
> Subject: Servlet silently dropped
>
> One of those servlets stops handling or maybe even
> getting requests that it has a mapping for.
What does a thread dump show in this situation?
> What is odd is that:
> - it's always the same one
Which narr
> From: matyg [mailto:ma...@expand.com]
> Subject: Re: Upgrading Tomcat from 6.0.14 to 6.0.18 - classpath issue
>
> They write there "All such classes are visible to both Tomcat internal
> classes, and to web applications".
> What I understand is that I need to add classes to the system
> class loa
Setup:
For one of our projects we are using httpd in front of tomcat.
At the moment everything is routed via tomcat, static and dynamic
content alike (except for one directory of images that resides outside
the application).
We are using AJP proxy.
Symptoms:
After running for a while (day or
sandy8531 wrote:
Hi,
I need to set up a proxy-server-with-transformation that frontends the
clients and transforms the incoming request (HTTP post) and forwards it to
the actual application server, and then get a response back and transforms
it back into data format that the client understands a
Yes, I know this page, but it is not understoodable from what is described
how it should be done.
They write there "All such classes are visible to both Tomcat internal
classes, and to web applications".
What I understand is that I need to add classes to the system class loaded.
Where do I do that
Hi Konstantin,
You are right it's one of the auxiliaries, forgot to add that. The init()
completes, the servlet will also work for an indefinite amount of time - if
we're lucky right up till the next update of the site. Otherwise we have too
restart Tomcat to get the servlet up and running again.
Hi
We are interested to know what the exact behaviour of modjk is with
regards to current running requests when you disable a worker in the web
interface. Does it drop all requests currently being processed by that
worker or would it wait for requests to be finalized? The worker is part
of a load b
2009/1/19 D. Barnhoorn :
>
> Hi,
>
> We have a strange problem at one of our clients in that Tomcat seems to drop
> a specific servlet while running. This happens very sporadically and is
> possibly connected with a high load.
>
> The server is a Sun sparc running Tomcat 5 in java 1.4.2_02
>
> The
2009/1/19 matyg :
>
> set
> CLASSPATH=%CLASSPATH%;.;%CATALINA_HOME%\lib;%CATALINA_HOME%\lib\servlet-api.jar;%CATALINA_HOME%\lib\jsp-api.jar;%CATALINA_HOME%\lib\el-api.jar;%CATALINA_HOME%\webapps\webAppName;%CATALINA_HOME%\webapps\webAppName\WEB_INF\classes;%CATALINA_HOME%\webapps\webAppName\WEB_INF
I upgraded Tomcat 6.0.14 to 6.0.18.
Using Beyond Compare, I have not seen any major differences between 6.0.14
deployment (that includes also my proprietry webapp) and 6.0.18 deployment,
and everything work fine in v6.0.14 but I have problems in v6.018...
The problem is with the login process m
> the only really major difference I can think of is T-SQL stored procedures,
> which have no counterpart in Postgres.
PostgreSQL does have support for stored procedures, you can even
choose from 4 languages out of the box and 3 more from addons:
http://www.postgresql.org/download/products/4.html
In our company we used MySQL and Postgres for several projects. Both
DBMSs are mature and stable, and they are used worldwide for large-scale
projects. Performance-wise we measured some differences, but they were
not so big to notice them in the real-life loads. In other words, having
some expe
Hi,
We have a strange problem at one of our clients in that Tomcat seems to drop
a specific servlet while running. This happens very sporadically and is
possibly connected with a high load.
The server is a Sun sparc running Tomcat 5 in java 1.4.2_02
The application is based around one servlet t
>I realize that SQL isn't exactly the most widely adhered to standard
Perhaps!
But then again before the new ANSI SQL standard (particularly the ANSI SQL/92
join syntax changes) this was far worse, MS-SQL 6.5 and Oracle (SQL/86
standard) were horrendous and migrating was not fun, these days tho
52 matches
Mail list logo