> From: Mike Wannamaker [mailto:[EMAIL PROTECTED]
> Subject: RE: Need my Protocol to be Seen in Tomcat!!
>
> I believe the issue is that the URL class is loaded
> in the bootstrap classloader and my Handler class is
> in the commons classloader.
Sounds likely.
> So what I'm wondering is if I c
> From: Mike Wannamaker [mailto:[EMAIL PROTECTED]
> Subject: RE: Need my Protocol to be Seen in Tomcat!!
>
> I thought it was the other way around? Common is visible
> to tomcat and web apps and shared was for just webapps?
You're correct; I think Chris must have been in a bit of a rush when he
Sorry, tomcat 5.5.25 and sorry about the typo.
I thought it was the other way around? Common is visible to tomcat and
web apps and shared was for just webapps? At least this is the way it
used to be?
The resource entry in server.xml looks like this:
I believe the issue is that the
Johnny,
The answers to most of your questions are still up in the air. There are
several ways that I could go about the project. The CNC machines that I have
experience with rely on an operator (human) to point it (the machine) at a
file that contains the instructions and say 'GO'.
Along these li
> From: Steven Crosley [mailto:[EMAIL PROTECTED]
> Subject: log4j error
>
> log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
> log4j:ERROR [EMAIL PROTECTED]
> whereas object of type
> log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by
> [WebappClassLoader
This situat
I'm getting the following error when Tomcat 6.0.14 starts up, and
after the the server starts up, I no longer get any messages logged to
catalina.out. Can someone tell me what I am doing that is causing
this error?
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not
assignable
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Version numbers?
Mike Wannamaker wrote:
> So now we put classes into commons/lib/...
Er... common/lib ?
> and we add a global resource to server.xml that starts our services.
[snip]
> have debugged into the URL code and it can't find my cl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ed,
Edward Dowgiallo wrote:
> I'm getting this error on a development server as we constantly
> redeploy the same app for testing. The problem does not occur until
> after several dozen redeployments. This makes sense since each
> redeployment conta
Hi I need some help.
I have a Handler class for my protocol. Before we embedded tomcat in
our own "App Server" like runtime. This handler class could be loaded.
But now we were forced to change to install into tomcat. So now we put
classes into commons/lib/... and we add a global resource to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jacek,
Jacek Olszak wrote:
> I try to describe my situation. I have a couple of session beans which
> have transient properties. Those properties are in fact references to
> Spring application beans. When the session is activated after restart
> I wan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ognjen,
Ognjen Blagojevic wrote:
> var results = regex.exec(window.location.href);
Yeah, that's certainly not going to work when a server-side forward. I'm
glad you found another solution!
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG
Yes, your servlets are supposed to extend HttpServlet, not just
implement the Servlet interface. I don't know if that's related to
your problem.
I'd say the next thing to look for is an error in your custom error
page. That would cause the output you're seeing. Is your error page a
JSP file? Try r
> From: Ignacio Iborra [mailto:[EMAIL PROTECTED]
> Subject: Expression language in Tomcat 6
>
> Why the hell Tomcat does not accept EL by default in
> ANY place of ANY page?
It appears that it actually does, as long as the servlet spec version is
2.4 or above. Look at webapps/examples/jsp/jsp2/
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "broken con
> From: Andrew R Feller [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat DB2 JDBC issue
>
> Hr, the -cp command-line parameter will include the JARs within
> Tomcat's System classloader, correct?
Slight terminology correction: strictly speaking, it's the JVM's system
classloader, not Tomcat's
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
- Original Message -
From: "Sean Nagle
Sounds like you want a ContextListener, not a JSP...
Andrew Hole wrote:
Hello!
Exists some automatic way to invoke a JSP when tomcat starts?
Thanks a lot
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe,
> From: loredana loredana [mailto:[EMAIL PROTECTED]
> I'm having some problems figuring out what webapp is causing
> this problem.
It's not simple! However, the main use for PermGen is storage for classes. Do
you have any webapps that dynamically generate classes? Is it happening when
you red
Try Apache Continuum http://maven.apache.org/continuum/
On 11/16/07, Johnny Kewl <[EMAIL PROTECTED]> wrote:
>
>
>
> ---
> HARBOR: http://coolharbor.100free.com/index.htm
> Now Tomcat is also a cool pojo application server
>
>
Ian Pushee wrote:
> Any help or suggestions would be greatly appreciated.
Use a proper JVM?
Sounds like yours is knackered.
There's another free JDK from a company called Bun, or something.
Sounds like that anyway.
;o)
p
> Thanks,
> -Ian
>
> ---
> From: Ian Pushee [mailto:[EMAIL PROTECTED]
> I am running a debian install of tomcat5.5, using
> java-gcj-compat-dev (a free jdk replacement).
Oh, dear. Get a real JDK (the Sun one is fine), and a real Tomcat from
http://tomcat.apache.org (the tarball is fine). GNU java is a nice toy, but we
Sean Nagle wrote:
Where can I get more information about the design and use of Tomcat in
regards to non-http servlet applications? I tried searching in the mailing
list archives for "non http" and found this thread:
http://mail-archives.apache.org/mod_mbox/tomcat-dev/24.mbox/%3c38F4C980.
[EM
I'm pretty sure I've just configured something wrong: I can see load
pre-generated pages with my tomcat installation (ie: already compiled
servlet pages and the like), but whenever I try to load a new *.jsp file
(even a simple 'hello world' page with no JSP tags at all) tomcat prints
the follow
Hello and thanks for everyone.
I got it working. I'll have now apache and Tomcat, both are in own port. I
took away mod_jk. I also added user part so now everyone are using jsp from
their public_html directory.
Thanks again.
Best Regards: Keijo
-Original Message-
From: Keijo Salakari [
Michael wrote:
>
> start your JVM with -Dfile.encoding=UTF-8 and try again!
That property is read-only on some JVMs and is not the way to achieve what
the OP is trying to do.
Some standard text I wrote a while ago follows. The most useful bit is
probably the URIEncoding attribute on the connecto
> From: Bárbara Vieira [mailto:[EMAIL PROTECTED]
> Subject: Different Realms with Differents Authentications Mecanisms
>
> Can I configure different Reamls to use on differents authentications
> mechanisms in the same application?
I don't think so, at least not without modifying Tomcat source.
Hi Andrew,
that's why I suggest that you define a data-pool in your
application-specific context.xml-file (stred in config/server) and put
all the needed JDBC-drivers to $CATALINA_HOME/common/lib
With this scenario, no web-app need to provide their JDBC-drivers in
the WEB-INF/lib-directories and
---
HARBOR: http://coolharbor.100free.com/index.htm
Now Tomcat is also a cool pojo application server
---
Yes, the above link...
I think, because you as
> From: alla winter [mailto:[EMAIL PROTECTED]
> Subject: Re: Cannot retrieve rtf file when user data
> constrains applied
>
> In my case, I just have a direct URL to static documents -
> servlet is not involved.
Actually, a servlet is involved - Tomcat's DefaultServlet. Regardless,
you should
> From: Andrew123 [mailto:[EMAIL PROTECTED]
> Subject: problem with tomcat 6
> I unpacked servlet-api.jar in my application
> classes' directory
Don't ever do that. Placing the same class in two locations in one
branch of the classloader tree is guaranteed to cause problems.
> Then I stop thi
> From: Andrew123 [mailto:[EMAIL PROTECTED]
> Subject: Re: problem with tomcat 6
>
> I didn't find this file.
>
> mgainty wrote:
> >
> > check $CATALINA_HOME/common/lib/servlet-api.jar
Nor should you, since Martin ignored the fact you are running on Tomcat
6. $CATALINA_HOME/lib is the correct
> From: Ian Pushee [mailto:[EMAIL PROTECTED]
> Subject: Initial Setup: The type java.lang.Object cannot be resolved.
>
> I am running a debian install of tomcat5.5, using
> java-gcj-compat-dev (a free jdk replacement).
Which is why you're having problems. Get rid of both of the above, and
use
2007/11/16, Ognjen Blagojevic <[EMAIL PROTECTED]>:
> Did you try to put acceptCharset="UTF-8" in the form tag?
well, I'm using Struts and it looks the html:form tag doesn't allow
any acceptCharset attribute. I tried to set the enctype attribute, but
with no effect.
Thanks,
--
TREMALNAIK
--
Jacek Olszak wrote:
> Hi,
>
> I try to describe my situation. I have a couple of session beans which
> have transient properties. Those properties are in fact references to
> Spring application beans. When the session is activated after restart
> I want to inject spring beans again into restored s
start your JVM with -Dfile.encoding=UTF-8 and try again!
bye
--
OOXML - Say NO To Microsoft Office broken standard
http://www.noooxml.org
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL P
Andrew123 wrote:
> When I start tomcat with my application, I get an exception:
> java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
> java.lang.ClassLoader.defineClass1(Native Method)
> java.lang.ClassLoader.defineClass(Unknown Source)
> java.security.SecureClassLoade
Thanks everyone for the help. Come to find out, there is another
application (Confluence) using Tomcat running on this server using the
same SHUTDOWN port.
Sometimes it's the dumbest, most obvious things that need to be looked
at first..
Thanks again,
Chad
On Nov 15, 2007 10:25 AM, Peter Bauer
Since you are on a Linux system, use a little utility called "lsof"
This one will list all the file descriptor associated with your process.
When you get the output, it will point you to where you are using up all
your file descriptors.
Also, check your "ulimit -n" setting for the user running
Hi Chuck,
On Nov 15, 2007 3:55 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
> > Subject: Re: tomcat in production
> >
> > AFAICT the main advantage of APR wrt static content is the possibility
> > to use sendfile.
>
> The pure Java NIO c
> Exists some automatic way to invoke a JSP when tomcat starts?
In the sense that a JSP can be declared as , yes; put
the code you want to invoke in e.g.
<%!
static {
// Stuff to do once
}
%>
However, you really should look into solving the real problem you want
to use this for in some other
Where can I get more information about the design and use of Tomcat in
regards to non-http servlet applications? I tried searching in the mailing
list archives for "non http" and found this thread:
http://mail-archives.apache.org/mod_mbox/tomcat-dev/24.mbox/%3c38F4C980.
[EMAIL PROTECTED]
This
When I start tomcat with my application, I get an exception:
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknow
Thanks for the reply Chuck!
Hr, the -cp command-line parameter will include the JARs within
Tomcat's System classloader, correct?
(http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html)
Regardless of whether the class is loaded into System or Common, I fear
the issue we are encounter
Hi Andrew,
I've just checked the DB2-JDBC-Drivers:
You'll need two files:
1. db2jcc_license_cu.jar
2. db2jcc.jar
Both files should be somewhere on your copy of DB2 or you should be
able to download them via the IBM-website.
If you're running Db2 on OS390/zOS, you'll need a certain APAR first -
Hi,
have a look at AntHill (http://www.urbancode.com) and CruiseControl
(http://cruisecontrol.sourceforge.net/).
regards
Dirk
Original-Nachricht
> Datum: Fri, 16 Nov 2007 16:46:39 +0100
> Von: Andrew Miehs <[EMAIL PROTECTED]>
> An: "Tomcat Users List"
> Betreff: Re: [OT]
Thanks Gregor for the help! We were able to get the issue resolved by removing
the DB2 driver jar from the web application and keeping it in Tomcat's lib
directory, which is picked up by the common classloader. The issue stemmed
from having the driver in both the common and webapp lib director
Hello!
Exists some automatic way to invoke a JSP when tomcat starts?
Thanks a lot
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
2007/11/16, Mohsen Saboorian <[EMAIL PROTECTED]>:
> I don't know if this is the best solution. You can create a filter for
> *.* in your web.xml, with the following piece of code:
> response.setCharacterEncoding("UTF-8");
No, unfortunately the parameters are parsed before any filter is
invoked. He
Hi Tremal,
Tremal Naik wrote:
all characters are displayed well in both browsers, the page encoding
appears correctly set to UTF-8. The problems arises when I try to
submit "strange" characters as currency symbols (euro, pound, yen,
...) in a form text box.
Did you try to put acceptCharset="UT
2 options will help Xerces consume less memory
1)turn OFF validation for any Documents created from the
DocumentBuilderFactory e.g.
factory.setValidating(false);
2)turn OFF namespace awareness for any Documents created from the
DocumentBuilderFactory e.g.
factory.setNamespaceAware(false);
More in
On 16/11/2007, at 4:09 PM, Martin Gainty wrote:
2 options-Tried and true Ant which is rock solid reliable, easily
configurable and a user-friendly user-list where a resource will
respond in 24 hoursmore information available athttp://ant.apache.org/Maven..complex
environment with heavy rel
2007/11/16, Tremal Naik <[EMAIL PROTECTED]>:
> No, unfortunately the parameters are parsed before any filter is
> invoked. Hence, a flag is set on the request that avoids subsequent
I tried with valve. It looks fine now.
But it's really annoying having to impose a default character encoding
usin
I'm getting this error on a development server as we constantly
redeploy the same app for testing. The problem does not occur until
after several dozen redeployments. This makes sense since each
redeployment contains new versions of some of the application's
classes.
Ed
On 11/16/07, Peter Crowt
We're seeing an error that we didn't see yesterday, but when we
modified -Xmx settings for Tomcat, we no cannot get past the issue
"Too many open files") and the sites on the server are not serving --
except this error.
We've changed the settings back, but any restart causes the same issues.
How
I don't dynamically generate classes . however I do redeploy my webapps quite
often. But I do that using the classic tomcat restart. so I don't know if that
could cause it. I also use a caching system (Ehcache) but I use it to cache
html files that change their content often. I will look into th
2 options-Tried and true Ant which is rock solid reliable, easily configurable
and a user-friendly user-list where a resource will respond in 24 hoursmore
information available athttp://ant.apache.org/Maven..complex environment with
heavy reliance on repositories and plugins..If any attribute i
> From: Warren Pace [mailto:[EMAIL PROTECTED]
> Point taken. We ran a Vax until last year...
>
> On Nov 15, 2007 10:52 AM, Steve Ochani <[EMAIL PROTECTED]> wrote:
> > If everyone based their decisions solely on that criteria
> > we would be all using pdp-11s.
[...]
I think some companies are rath
Thanks Chuck for very usefull information.
I read most of this articles, and they are talking about how to change the
http header for the files that are fetched by the servlet.
In my case, I just have a direct URL to static documents - servlet is not
involved. Is it possible to do that and if yes,
Hi,
I try to describe my situation. I have a couple of session beans which
have transient properties. Those properties are in fact references to
Spring application beans. When the session is activated after restart
I want to inject spring beans again into restored session beans.
Unfortunately Spri
I was clustering CAS (Central Authentication Service). I used the
tag from the Clustering CAS page. But, there is also a
tag in the server.xml that is commented out. Either one
looked like they would work with the appropriate setup. We are using
Tomcat 5.5.23, which should not be too differen
Invoking JSP it recreates a XML file on file system. I wish recreate
for the first time at tomcat startup.
Regards
On Nov 16, 2007 2:21 PM, Jess Holle <[EMAIL PROTECTED]> wrote:
> Sounds like you want a ContextListener, not a JSP...
>
>
> Andrew Hole wrote:
> > Hello!
> >
> > Exists some automati
Hi,
I don't know if this is the best solution. You can create a filter for
*.* in your web.xml, with the following piece of code:
response.setCharacterEncoding("UTF-8");
Mohsen.
On Nov 16, 2007 4:44 PM, Tremal Naik <[EMAIL PROTECTED]> wrote:
> Hello Tomcat users,
> I'm developing an application
I didn't find this file.
mgainty wrote:
>
> check $CATALINA_HOME/common/lib/servlet-api.jar
>
> M--
> - Original Message -
> From: "Andrew123" <[EMAIL PROTECTED]>
> To:
> Sent: Friday, November 16, 2007 7:57 AM
> Subject: problem with tomcat 6
>
>
>>
>> When I start tomcat with my a
Hi, i'm running tomcat 6 with jdk 1.4.2 on ubuntu. Every time I try to stop
tomcat I get an error in catalina.out just after the line
log4j:ERROR LogMananger.repositorySelector was null likely due to error in
class reloading, using NOPLoggerRepository.
Tomcat stops listening on port 8080 but th
hi all,
i have a live production server running tomcat & apache under linux.
but recently my cpu usage is being consumed by the mod_jk log file.
it keep logging and saying below warning/error messages:
[Fri Nov 16 15:02:13 2007] [jk_ajp_common.c (819)]: ERROR: can't
receive the response message
Hello Tomcat users,
I'm developing an application in Jboss 4.0.2, which uses Tomcat 5.5.9
as web tier.
I'm trying to make Tomcat decoding the request body with the correct
encoding. I have problems with IE and Firefox as well. The html page
has the meta tag:
all characters are display
No, I don't have servlet-api.jar in my application lib directory.
I unpacked servlet-api.jar in my application classes' directory, tomcat
found this classes, but could not find some classes from my application.
Then I stop this tomcat and start new tomcat server with my application but
without un
I'm having some problems figuring out what webapp is causing this problem. I
figure the cause of this is the fact that garbage collector does not clean up
and memory allocated for java object generation is used . Right now i have a
hunch on one of the webapps:
I have an application which connect
Dear Tomcat users,
I was wondering if there are any out of the box release management and
deployment solutions available for Tomcat.
It is not a problem to create scripts/ web pages to do all of this,
but is there a better solution out there, so that people with command
line allergy can a
Hi,
I am making a cluster of tomcat servers and now I need a mechanism to deploy
build on all the servers through a single process.
I saw that tomcat has FarmWarDeployer for that purpose, but I have read at
lot of places that it is currently broken.
Is there any other way to deploy build on all
check $CATALINA_HOME/common/lib/servlet-api.jar
M--
- Original Message -
From: "Andrew123" <[EMAIL PROTECTED]>
To:
Sent: Friday, November 16, 2007 7:57 AM
Subject: problem with tomcat 6
>
> When I start tomcat with my application, I get an exception:
> java.lang.NoClassDefFoundError: ja
I think your problem may be rooted in a misunderstanding* of this
listeners purpose. Perhaps you can elaborate on what you're trying to
achieve?
HttpSessionActivationListener.sessionDidActivate() is called when a
session is retrieved from a persisted state or moved to another JVM.
It's counterpa
Hi everyone!
I have an application based on servlets, and two different authentication
mechanisms. The user can be authenticated with client
certificate(CERT-CLIENT), if there is a client certificate installed on the
web browser. And can be authenticated using an HTML form(FORM) if the first
meth
> Unfortunately too many IT teams that I've encountered tend towards the "Ooh,
> shiny new toy!" and "My server's newer than your server" views of the world.
Heh heh, shiny new toy syndrome, where would the 'IT business' be without it.
comp.lang.java.programmer has some really bilious postings
Hello,
after a long time I was persuaded to install to run Apache Tomcat 5.5 as
application server an use Apache 2.0.54 as Web server.
I configured Apache to load the appropriate jk connector and have
defined a workers.
I run Tomcat 5.5, using 8080 port for amministrative issues. But I have
anot
Point taken. We ran a Vax until last year...
On Nov 15, 2007 10:52 AM, Steve Ochani <[EMAIL PROTECTED]> wrote:
> If everyone based their decisions solely on that criteria we would be all
> using pdp-11s.
>
>
>
> On 15 Nov 2007 at 6:19, Warren Pace wrote:
>
>
> > And that is the correct answer.
>
Hi.
After some hours trying to execute a simple example of a taglib
(displaytag), just one moment before going completely crazy, I've found the
problem.
I wanted to make a query to a database and show the results in a table using
the display tag library. But the expression language was not recogn
Hi again, I found that I've sent wrong log when stopping the server
(second log in my earlier post). The correct is:
INFO: Pausing Coyote HTTP/1.1 on http-8080
2007-11-16 10:50:35 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
DEBUG 2007-11-16 10:50:35,625 test.Sessi
I used the Complex cluster configuration from this link
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
There is such element
mcastBindAddress="127.0.0.1"
I just changed the IP to be equal with the IP of my interface eth0 which
on the first server is 192.9.202.21 and on the second s
Hi Chris,
First of all thanks for reply.
On Nov 15, 2007 8:09 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Jacek,
>
> Jacek Olszak wrote:
> > The problem is that the method
> > HttpSessionActivationListener.sessionDidActivate() is called
Hi Christopher,
Christopher Schultz wrote:
Please post the code that checks for this parameter.
Here is the code:
function getUrlParameter(name) {
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]" + name + "=([^]*)";
var regex = new RegExp(regexS
It's quite some time since my last experience with DB2, however, maybe
this gives you a start:
There are multiple jdbc-drivers available for DB2.
Obviously, youÄre using a class3-JDBC-driver, meaning that this is not
a plain java-driver but needs some middleware to connect to DB2
(DB2-Connect).
loredana loredana wrote:
> well, I don't know exactly what to tell you. the guys at networking installed
> java and tomcat and everything else. On tomcat release notes I see it says
> Apache Tomcat Version 6.0.14 annd when I run java -version I get
>
> java version "1.4.2_15"
> Java(TM) 2 Runtim
well, I don't know exactly what to tell you. the guys at networking installed
java and tomcat and everything else. On tomcat release notes I see it says
Apache Tomcat Version 6.0.14 annd when I run java -version I get
java version "1.4.2_15"
Java(TM) 2 Runtime Environment, Standard Edition (buil
84 matches
Mail list logo