Thanks, you're a lifesaver - I found out that an el-api-.jar was
lurking in my webapp deposited there by the transitive dependency of
Maven.
Is there a systematic way to trace the load sequence of classloaders?
Tx,
/U
-- Original message --
From: "Martin Gain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lionel,
Lionel Crine wrote:
> 1- Using logrotate (assuming you're on linux)
> [snip]
> 3- using the crontab (assuming you're on linux)
Note that Linux isn't the only OS with these tools. It's just the latest
one to have them. ;)
- -chris
-BEGIN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
Tony Anecito wrote:
> Actually I just saw some reports on the new quad intel 45nm
> processors and they are much faster than 15msec.
Yes, but the windows timer resolution sucks. :(
> To justify new hardware and predict scalability Capacity Pla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Amit,
amit mehta wrote:
> Is there a way to control/restrict this behavior so that tomcat does not
> start deploying before war file is completely copied?
Nothing out of the box: you'll have to roll your own solution.
You could get around this by ta
it *seems* like you have a wrong version el-api.jar being loaded in by one
or more classloaders
shutdown tomcat / remove all el-api.jar
delete %CATALINA_HOME%/temp
delete %CATALINA_HOME%/work
(except for one version in ${CATALINA_HOME}/lib)
restart tomcat
M--
Original Message -
From: <[
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
Martin Gainty wrote:
> did you try setting the init-param in web.xml e.g.
>
>
> my.property
> 1
>
This is entirely unhelpful and has nothing to do with system properties. :(
- -chris
-BEGIN PGP
> From: "Kristin Coles" <[EMAIL PROTECTED]>
> Subject: How to disable Session Persistence in Tomcat 5.5.9
>
> # Tomcat\conf\server.xml (version 1)
>
The above is incorrect; your appBase should be "webapps", and docBase
should be "cas". What you've specified is illegal, but is not always
detecte
Env: Jre6, Tomcat 6.0.14, Redhat
Pl help: when I invoke a JSP on the server, I get the following exception.
I have a copy if xml-apis.jar in my webapp; I tried moving it to
${CATALINA_BASE}/lib -
that fixed this problem but failed the webapp as it could not parse my tlds.
How do I identify the r
Thanks for the reply Martin. However, I know about Serializable
interface and Session Timeouts.
I am using CAS (which is a huge Java open-source Single Sign-On web
application). I do not want to tamper with the original code. What
confuses me is, why do the CAS session objects remain in the sessi
After some further messing about, I can't make custom error pages fail
by throwing any sort of exception from a servlet's init() method. Even
UnavailableException doesn't break the error page.
The only time I lose my custom error pages is when the entire web app
is down, not just the one servlet.
"implements serializable"
Read this important article on implements Serializable from 2000
http://java.sun.com/developer/TechTips/2000/tt0229.html
And this article on Session Serialization and Session.timeout
http://java.sys-con.com/read/37330.htm
M--
- Original Message -
From: "Kristin
First of all,thanks for your replying.
I have try that way,and acturally,I always configure customized error page when
I developed web application.
But it seems that the digest authentication was done by tomcat,which means it
has not entered my application yet.so,the customized error page is una
Hi guys,
I know that there have been quite a few threads on this list that
relate to the same subject. I have tried the following advice but none
helped.
# Tomcat\conf\context.xml
WEB-INF/web.xml
# Tomcat\conf\server.xml (version 1)
Hi all,
On Linux, IPv6 comes with the the kernel. You can either activated or
not during configuration of it.
This can be done since 2.4 version.
So distributions with recent kernels don't have trouble with it because
there are released with 2.6 kernel and with IPv6 activated by default.
Be
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "Johnny Kew
Len Popp wrote:
HTTP error 503 is "service unavailable", which means the servlet or
web app is not running.
Len is correct, this exception is usually thrown by apache httpd, not
apache tomcat. Do you have an apache front end? If this is true you must
configure the error page from within y
I believe Oracle Corporation has an Oracle Enterprise Linux which you
can download for free. They charge you for support however.
Ed
On 11/14/07, Steve Ochani <[EMAIL PROTECTED]> wrote:
> On 14 Nov 2007 at 22:58, Lionel Crine wrote:
>
>
> > another distribution to know. You have some support. Fe
Tony Anecito wrote:
Actually I just saw some reports on the new quad intel
45nm processors and they are much faster than 15msec.
To justify new hardware and predict scalability
Capacity Planning groups have to show the before/after
performance.
I have seen web apps operate in the 4msec range on
> From: Lionel Crine [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat in production
>
> My tomcat serves static content without APR.
> is there a big performance increase serving static pages with
> APR enabled ?
I suspect the previous posts on this subject are slightly confused.
AFAIK, APR does
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "Leonardo P
On 14 Nov 2007 at 22:58, Lionel Crine wrote:
> another distribution to know. You have some support. Fedora : Well,
> stable, recent packages CentOS : too many bugs when I was using it (1
> year ago).
You must be mixing up Fedora and CentOS. CentOS has always been rock solid
stable, it's a
reco
Sneha Manohar wrote:
> I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
Why? The current Tomcat version is 6.0.14.
> I have set JAVA_HOME ,CATALINA_HOME.
> When I start server new window comes & disappears.
> when I shutdown I get following eror.
> Using CATALINA_BASE:
HI,
I'm wondering something.
My tomcat serves static content without APR.
is there a big performance increase serving static pages with APR enabled ?
Thanks in advance.
Lionel
Peter Stavrinides wrote:
Thanks for this response Gregor, I had assumed this was the case, just
needed the confirmati
Hi ,
I have Microsoft window vista OS .I have downloaded Tomcat verision 4.1.
I have set JAVA_HOME ,CATALINA_HOME.
When I start server new window comes & disappears.
when I shutdown I get following eror.
Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1
Using CATALINA_HOME: C:\Progr
Hi,
I may be wrong but did you checked there ?
http://tomcat.apache.org/faq/misc.html#error
Lionel
zhongliang zhang wrote:
Hi,
I am using Tomcat JDBCRealm to authenticate the use that stored in the
database(Oracle).While when I input the user name and password to log in my
application,if I
Hi,
David is right.
You have to handle this file some other ways :
1- Using logrotate (assuming you're on linux)
2- Pipe the file to cronolog, rotatelogs, ...
3- using the crontab (assuming you're on linux)
The second solution may be dangerous because cronolog or rotatelogs open
some descript
Actually I just saw some reports on the new quad intel
45nm processors and they are much faster than 15msec.
To justify new hardware and predict scalability
Capacity Planning groups have to show the before/after
performance.
I have seen web apps operate in the 4msec range on
comercial servlet con
Hi,
Did you look at this explanation :
http://java.sun.com/j2se/1.5.0/docs/guide/awt/AWTChanges.html#headless
For example, Lambda Probe displays some charts and we have to put the
headless option on the JVM.
Sorry to ask this, but
did you put it right ?
If yes, do you catch the error ?
Li
I'm just being antagonistic. Really I used to use Gentoo, Ubuntu, etc,
etc, but we use RHEL for some servers. I liked Gentoo for the
customization, but I've been using Foresight for a while now and I'm
really liking it. It gives you the ability to customize and compile as
well. I have a Solaris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concer,
Stanczak Group wrote:
> Repackaged
Unclear from the documentation. Unclear from the inside of the VM, too.
Nice that it's installed into /usr/lib. Oh, wait, that's not nice at all.
> out-of-date
Clear from the documentation:
Like everyone in here, it depends on what you want to do with your Linux
It doesn't matter in which distribution you are running Tomcat and J2EE
application.
But I surely assure you that you shoudn't use tomcat or java packages
from any distribution if you want best customization.
My opinion
Tony Anecito wrote:
Hi All,
I am using Tomcat 6.0.14 with java 1.6.0_02 on Windows
2000 professional.
I am wondering what is the best parser to use for this
configuration? The one with java 1.6.0_02?
for XML?
the Sun JRE implements the Xerces and Xalan parsers, so it would be the
same as i
Sure to be a dicey question to raise in a public forum. Mostly, I find,
it comes to personal preference of what and how you like to manage your
servers and apps. We use RHEL for servers running applications covered
by service contracts. For everything else (web, applications,
development, db,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kaj,
Kaj Kandler wrote:
> Trickily I can't change the library (forgot to mention that), so I have
> to depend on the property value and can't change it to a JNDI lookup.
>
> Well, I did the following:
> As I use Spring anyway, I created a bean proper
To complete the answer, you can use JNDI variables.
Hassan Schroeder wrote:
On 9/5/07, Angelo Chen <[EMAIL PROTECTED]> wrote:
The servlet mapped directory sounds interesting, can you give me some more
info about that?
Not much to say; your servlet would take the pathInfo part of the
URL and
> From: Stanczak Group [mailto:[EMAIL PROTECTED]
> Subject: Re: Best Linux distribution
>
> Hands down this is the best. :)
> http://www.rpath.org/rbuilder/project/ta/
Yup, just what everyone needs - another out-of-date, repackaged version
of Tomcat...
- Chuck
THIS COMMUNICATION MAY CONTAIN
Hi,
I had this situation once few years ago.
I was working and I discovered that the pool was exhausted to access
Oracle and the application stucked.
It was really tricky to find the error because nothing indicates a problem.
The explanation was this one : A dynamic query (created in java) doi
Repackaged, out-of-date, no no no. Not with Conary.
Caldarale, Charles R wrote:
From: Stanczak Group [mailto:[EMAIL PROTECTED]
Subject: Re: Best Linux distribution
Hands down this is the best. :)
http://www.rpath.org/rbuilder/project/ta/
Yup, just what everyone needs - another out-of-da
Mark H. Wood wrote:
Yes, before anyone can tell you which is best, you need to work out
for yourself, and tell us, what makes a distro "best". Do you want to
just pour it into a machine and have everything done for you?
Yes
Do you
chafe at the very notion that someone could know your needs
I guess not, because I'm doing the redeploy manually and just after the
transfer is completed. The autoDeploy feature is off in my tomcat, so I go
to the Tomcat Manager and invoke the Reload operation for my web app using:
http://:8080/manager/html/reload?path=/
Thanks again,
Leonardo
Caldaral
Hands down this is the best. :)
http://www.rpath.org/rbuilder/project/ta/
Andrew Hole wrote:
Hi!
In your opinion what is the best LINUX distribution for a server with
an instance of Tomcat and an J2EE application of medium load?
An opinion taking as a basis the performance and cost.
Thanks
Hello,
I installed TOMCAT 5.5.25 with APR on the computer with Intel(R) XEON(R)
Processor E5345 with operating SYstem Server 2003 R2 64 bit
java environment: jdk 1.5.13 64 bit
I am able to start TOMCAT with startup.bat and run the application over http
and https protocols.
However, I can not inst
Hi All,
I am using Tomcat 6.0.14 with java 1.6.0_02 on Windows
2000 professional.
I am wondering what is the best parser to use for this
configuration? The one with java 1.6.0_02?
Also, what is the best way to monitor performance? I
am using the logs and they are only 15msec resolution.
I am sur
Yes, before anyone can tell you which is best, you need to work out
for yourself, and tell us, what makes a distro "best". Do you want to
just pour it into a machine and have everything done for you? Do you
chafe at the very notion that someone could know your needs better
than you? Do you need
On Nov 14, 2007 6:17 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> Might I suggest taking a look at securityfilter
> (http://securityfilter.sourceforge.net).
Looks like a good fit, thank you for the suggestion!
Gabor Szokoli
---
> From: Leonardo Pinho [mailto:[EMAIL PROTECTED]
> Subject: Re: Redeploy issues loading contents from some .jar
> at WEB-INF/lib
>
> I found other post with the same error and no solution:
I wonder if this is the same problem someone else commented on earlier
today: deployment starts before th
I've got the same problem...
http://www.nabble.com/Redeploy-issues-loading-contents-from-some-.jar-at-WEB-INF-lib-tf4806222.html
http://www.nabble.com/Redeploy-issues-loading-contents-from-some-.jar-at-WEB-INF-lib-tf4806222.html
Did you find any solution?
Thanks,
Leonardo
Sergey Pariev-3 wr
Thanks a lot for your help. Here it is what happen:
I did install the files from the suggested URL. When I ran tomcat5.exe I
was still getting the same errors, but when after that I run
service.batinstall
the service was installed and I was able to start it and stop it successfully
.
Thanks a
I found other post with the same error and no solution:
http://www.nabble.com/war-redeployment-problem-tf55365.html#a148508
Thanks,
Leonardo
Leonardo Pinho wrote:
>
> Hi,
>
> I'm getting some errors when I do redeploy of a spring application at
> Tomcat. This web app loads some content from
Again, thanks for your time. Just after I wrote the list,
I discovered an older version of xerces in the webapp.
That fixed it!
Thanks!
/Uma
-- Original message --
From: "Martin Gainty" <[EMAIL PROTECTED]>
> what version xerces are you using in WEB-INF/lib?..(I
what version xerces are you using in WEB-INF/lib?..(I have 2.8.1.. although
the later distros should parse xsd)
http://www.apache.org/dist/xerces/j/
M--
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Tomcat Users List" ; "Tomcat Users List"
Cc: "Martin Gainty" <[EMAIL PROTECTED]>
Sen
java.lang.NoClassDefFoundError: org/apache/pluto/om/window/PortletWindow
i have this problem, i donwloaded the pluto jar files but in the jar file of
container the portletWindow is in org/apache/pluto but tomcat is looking in
org/apache/pluto/om/window/PortletWindow, thanks for your informatio
> From: alla winter [mailto:[EMAIL PROTECTED]
> Subject: Fwd: Issue with setting TOMCAT 5.5.28 on AMD64
>
> I had run service.bat it installed TOMCAT as a service( all
> parameters in my e-mail bellow), but then then it fail.
Try using the 64-bit versions of tomcat5.exe and tomcat52.exe:
http:
I had run service.bat it installed TOMCAT as a service( all parameters in
my e-mail bellow), but then then it fail. Any help would be very
appreciated: I found the following errors in the log:
[2007-11-14 13:36:22] [info] Procrun (2.0.3.0) started
[2007-11-14 13:36:22] [info] Service Tomcat5 n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks Christopher,
I appreciate the quick response.
Trickily I can't change the library (forgot to mention that), so I have
to depend on the property value and can't change it to a JNDI lookup.
Well, I did the following:
As I use Spring anyway, I cr
Hello,
Environment: jre1.5.0.11, Tomcat 5.5.23, Linux Redhat
I have tomcat installed on one of the linux box. On an another box I have
automatic build set up done which creates war files at scheduled intervals.
I copy the war file using the scp command on to the webapps directory of
running
Martin,
Thanks for your help. I now get a verbose output on why my context load
fails: it has to do with the Spring context load listener failing to load the
right XML
parser to load an XML configuration.
The reason I am posting this to Tomcat's list is this: I have xercesImpl ver
2.9.0
in ${CA
did you try setting the init-param in web.xml e.g.
my.property
1
M--
- Original Message -
From: "Kaj Kandler" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, November 14, 2007 1:07 PM
Subject: Setting Java property inside a webapp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Duane,
D W wrote:
> Does anybody have an opinion as to which approach is better?
>
> Resource-wise?
Certainly, fewer memory and CPU resources are required to run a single
JVM with virtual hosting.
> Management-wise?
That depends on how to see mana
Hi all,
I run multiple servers, and have experimented with both virtual hosting
within in a single server.xml and CATALINA, and have also tried setting up
separate Tomcat instances each with their own CATALINA_BASE.
Both have worked in my experiments.
Does anybody have an opinion as to which app
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Jim Garrison wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>>
>> "Notification that the servlet context is *about* to be shut down. All
>> servlets and filters have been destroy()ed before any
>> ServletContextListeners are notifi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Jim Garrison wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>>
>> "Notification that the servlet context is *about* to be shut down.
>> All servlets and filters have been destroy()ed before any
>> ServletContextListeners are noti
> -Original Message-
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 14, 2007 11:43 AM
>
> "Notification that the servlet context is *about* to be shut down. All
> servlets and filters have been destroy()ed before any
> ServletContextListeners are notifi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kaj,
Kaj Kandler wrote:
> Hi there,
> I do have a library, that uses a property to determine some
> configuration. As a straight Java program I would call
>
> java -dmy.property=/my/value ...
>
> How can I set this property in the context of a tomca
I'd check to make sure your aren't filtering or blocking portsif
you are using a GUI to start the proc, you may just want to cd to the /
bin directory and run the startup script manually. Seen a few apps not
make the 10.5 transition that well...though ours did :)
After starting the proc,
Hi Chris,
>> I thought you said that the redeploy only works if you do /not/ update
>> the JAR file inside the WAR. Did I misread?
>> If you redeploy the WAR file with an /updated/ JAR file, the auto-deploy
>> fails (this was your original complaint). If you simply restart Tomcat
>> at that
Hi there,
I do have a library, that uses a property to determine some
configuration. As a straight Java program I would call
java -dmy.property=/my/value ...
How can I set this property in the context of a tomcat webapp, like in
the web.xml or context.xml?
Thanks for the help
K
--
*** Technic
Please kindly ignore my e-mail. The second I have send it, I
discovered that I have 2 copies of XYZFactory jar files (one in common/
lib and one in web-app/WEB-INF/lib). As soon as I nefed web-app
version, things work they way they should
On Nov 14, 2007, at 12:36 , Andrei Tchijov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leonardo,
Leonardo Pinho wrote:
> I guess not because the jar is inside of the WAR and, besides that, as I
> said if I just restart Tomcat it works (using the same WAR and JAR file).
> So, I'm sure that is not related to corrupted data.
I thought you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Hole wrote:
> In your opinion what is the best LINUX distribution for a server with
> an instance of Tomcat and an J2EE application of medium load?
>
> An opinion taking as a basis the performance and cost.
Do you need corporate suppo
>> Is it possible that your new version of common.jar is corrupted?
>> Possibly by using ASCII FTP transfer instead of BINARY or something like
>> that?
I guess not because the jar is inside of the WAR and, besides that, as I
said if I just restart Tomcat it works (using the same WAR and JAR file
did you verify your configuration files are proper XML ?
which parameter does ContextListener error out on?
do you see the message "INFO: ContextListener: contextInitialized()"
anywhere in the logs?
Log4j.properties has the requisite parameters in and is webapp accessible
when located in /WEB-INF/
>> This message indicates that the ZIP (jar) file is corrupted, or at least
>> the ZIP library thinks it is. There are two ways of accessing a ZIP
>> file: sequentially, starting at the beginning, or randomly using the TOC
>> at the end of the file. This message only occurs when using the TOC.
> Hi!
>
> In your opinion what is the best LINUX distribution for a server with
> an instance of Tomcat and an J2EE application of medium load?
>
> An opinion taking as a basis the performance and cost.
CentOS, it's a clone of Redhat Enterprise Linux.
Install jdk/jre and tomcat yourself.
-S
go for Open Solaris.. www.opensolaris.org
Thanks
On Nov 14, 2007 11:18 PM, Andrew Hole <[EMAIL PROTECTED]> wrote:
> Hi!
>
> In your opinion what is the best LINUX distribution for a server with
> an instance of Tomcat and an J2EE application of medium load?
>
> An opinion taking as a basis the pe
Hi!
In your opinion what is the best LINUX distribution for a server with
an instance of Tomcat and an J2EE application of medium load?
An opinion taking as a basis the performance and cost.
Thanks
-
To start a new topic, e-mai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Manuel,
[EMAIL PROTECTED] wrote:
> I thought that I could put the driver in the WEB-INF/lib of the two
> applications (no application need to use the two driver at the same time),
> but I have seen in the documentation and faqs that you must put the d
yep, re-reading the logs shows my ignorance :)
Filip
Kim Albee wrote:
Filip,
Yep, we're doing that...it's in the Virtual Host directive.
Thanks,
Kim ;-)
On Nov 8, 2007 12:21 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
you must define the JkMount directive inside your httpd.con
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim,
Jim Garrison wrote:
> When starting up, Listeners are started before load-on-startup servlets,
> so we use this mechanism to initialize Spring.
So you are using a ServletContextListener, right?
> On shutdown, Tomcat seems to shutdown listeners
I am trying to make singleton class (which is essentially factory)
available to my valve and my web-app. I thought that all I need to do
is to put jar file with this singleton class in common/lib. For some
reason it does not work. It looks like my class gets loaded twice
(once when servl
> From: Leonardo Pinho [mailto:[EMAIL PROTECTED]
> Subject: Redeploy issues loading contents from some .jar at
> WEB-INF/lib
>
> I'm getting some errors when I do redeploy of a spring
> application at Tomcat. This web app loads some content
> from a jar file (at WEB-INF/lib/common.jar):
>
> ja
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leonardo,
Leonardo Pinho wrote:
> - If I just redeploy, without update the WAR, it works!
>
> - If I update the WAR (some servlet code p.ex.) without update common.jar
> (keep the same jar) and redeploy, it works!
>
> - If I update the WAR and updat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Harald,
Harald Henkel wrote:
> I found some spec for jsp:param where it was explicity stated,
> that "value" can be an <%= %> expression, but "name" cannot ... for JSP
> 1.2 which was used by Tomcat 4.1.
>
> So is Tomcat 5.x and above just more stric
hi Jens,
you've uncovered a bug in Tomcat. basically, Tomcat doesn't respect that
you are calling CometEvent.close upon the BEGIN event.
I've proposed a fix
http://svn.apache.org/viewvc?view=rev&revision=594957
and if it is accepted it will be included in our next release which
should be withi
Hi All,
I am quite new to tomcat and I have been looking for information about how
to do the following thing, but I have not found the way.
In the company I work, we have a really old oracle db, and a quite new one
with a cluster.
The project which are developing under tomcat 6.0 (linux) needs t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabor,
Gabor Szokoli wrote:
> On Nov 13, 2007 10:11 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
>> Gabor Szokoli wrote:
>>> My vague idea is to use a servlet filter to do the authentication,
>>> which could doctor the request URL path or parameters to
Hi,
I have a war file that I do not want to be automatically deployed when
it is copied to the webapps directory, so I have set the autoDeploy
attribute in server.xml to false. However, I would like that new war
file to be expanded when tomcat is restarted, but that does not seem to
be the cas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yann,
Yann Mauon wrote:
>
> Thank you for your answer, but what do you mean by "Make your environment
> non-headless to solve problem" ?
Why are you trying to create a JFrame from a webapp?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4
When starting up, Listeners are started before load-on-startup servlets,
so we use this mechanism to initialize Spring.
On shutdown, Tomcat seems to shutdown listeners BEFORE the servlets.
This results in the Spring context being discarded while it is still
needed. If context listeners start b
tough to diagnose without more info..
check your $CATALINA_HOME/logs/mod_jk.log for 503 errors e.g.
[jk_ajp_common.c (642)]: sending to ajp13 #503
[jk_ajp_common.c (884)]: ajp_send_request 2: request body to send 0 -
request body to resend 0
[mod_jk.c (389)]: writing 4088 (4088) out of 4088
[jk_aj
Environment: Jre6, Tomcat 6.0.14, Linux Redhat
Is there a Tomcat (6.x) specific way of making ContextListener more verbose
in its "Error: listenerStart" message? I mean is there a log4j setting for
Tomcat
that I can enable to identify why the context load fails?
Tx,
/U
---
HTTP error 503 is "service unavailable", which means the servlet or
web app is not running. There's a specific exception,
UnavailableException, that tells Tomcat to remove the servlet from
service. Is your servlet throwing that exception?
I've found that doesn't work with error 503 when the
entir
Hi,
I'm getting some errors when I do redeploy of a spring application at
Tomcat. This web app loads some content from a jar file (at
WEB-INF/lib/common.jar):
Offending resource: ServletContext resource
[/WEB-INF/applicationContext.xml]; nested exception is
org.springframework.beans.factory.Bea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill,
Bill Barker wrote:
> Tomcat 3.3.x is the highest version that supports AJP12 (and even there it
> is deprecated). You can either use mod_jk or mod_proxy_ajp with Tomcat 5,
> but not Jserv :).
You ought to be able to use either mod_jk or mod_
Start by checking catalina.out for error messages
En l'instant précis du 14/11/07 15:18, Angelo Chen s'exprimait en ces
termes:
Hi,
I downloaded apache-tomcat-5.5.25.zip and copied it to a directory, after
setting up all the environment variables, it runs. but when I try to open
it: http://loc
Hi,
I downloaded apache-tomcat-5.5.25.zip and copied it to a directory, after
setting up all the environment variables, it runs. but when I try to open
it: http://localhost:8080, it does not exist, changing port number some
something else does not work neither, any idea what's wrong here? where t
try chmod 777 on those .sh files.
Lorenzo Schoovaerts wrote:
>
> Hi guys,
>
> Isn't there anyone who got the native stuff working on a Mac?
>
> I followed all the steps. I compiled the source without any erros. The
> resulting libraries were copied to every place I can possibly imagine
>
Yes, that's and another simpler link are what I used to get it going. I
had no trouble once I found a reference, but was just curious as to what
port to use. Apparently there's no standard, and it doesn't appear to
matter as long as it doesn't conflict.
D
Clifford Bryant wrote:
Did you lo
Henkel-
web.xml will need to map xsd to some known mime-type e.g.
xsd
text/xml
Also I would look at
ValidateVisitor.visit(Validator.java:423)
for any expressions which you are currently not handling
(Velocity/Freemarker comes to mind)
Martin--
- Original Message -
Wrom: NHG
Did you look at the following link?
http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html
As I remember, there are 4 environment variables that you need to define
when you start up the JVM. Once JConsole is started, you can connect to
the running process.
-Original Message-
1 - 100 of 107 matches
Mail list logo