> 3. You might even wish to see if you could copy classes into
> the classes folder while Tomcat is running. That way the web
> apps would get reloaded. You'd need to configure Tomcat to
> recognize the Web apps to be reloadable, of course.
Or you might use an ant build-file which first stops t
Hello Oded
A conventional, simple, and accepted secure solution to the problem
of running tomcat as root is to
daemon su -c /home/tomcat/tcstart.sh tomcat
from root which transfers tomcat to run under process ownership
of user tomcat. Of course, you must create a user "tomcat", and
of cour
Lenandlar,
I do not understand why you had to move the servlet-api.jar. Can you
echo your $CLASSPATH and your $TOMCAT_HOME? Did you get Tomcat started?
Thanks,
James
On Jan 10, 2006, at 10:32 AM, Lenandlar Singh wrote:
I got it to compile
just copied servlet-api.jar into the /ext di
Try it without the ... in web.xml. Tomcat (and any other
JSP-2.0 container) will pick up a .tld in /META-INF of a jar file in
WEB-INF/lib automagically.
Unfortunately, Jasper is hiding the root cause of the Exception that is
being thrown, so I can't see why it's unhappy :(. If the above does
Don't forget the alternate trick of port(s) redirection. For some it is
simpler. I use jsvc on TAO Linux, a RedHat clone.
Doug
- Original Message -
From: "Warren Pace" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, January 10, 2006 9:50 PM
Subject: Re: Re: Apache + Tomcat
>
> From: Oded Arbel <[EMAIL PROTECTED]>
> Date: 2006/01/10 Tue PM 12:46:14 EST
> To: users@tomcat.apache.org
> CC: Warren Pace <[EMAIL PROTECTED]>
> Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost
>
> On Tuesday, 10 ?January 2006 14:31, Warren Pace wrote:
> > > The most impor
Hi,
I'd like to use java 1.5 features in my jsp code, in
particular generics. But the jasper compiler really
doesn't like it. Any setting to fix this:
org.apache.jasper.JasperException: Unable to compile
class for JSP
An error occurred at line: 2 in the jsp file:
/MBInit.jsp
Generated servlet er
Hello everyone,
I want to configure the SSL in tomcat5 and I followed
the following instructions:
http://tomcat.apache.org/tomcat-5.0-doc/printer/ssl-howto.html
However, after starting the tomcat without any
problem.
[EMAIL PROTECTED] bin]$ ps aux | grep java
globus4 2668 2.2 6.2 296704 644
I have a jsp page that grabs a pdf from a blob in a database and sends
it to the browser inline. It works fine for firefox and most ie users
but for some it displays it in a separate window or doesn't display at
all.
I am using tomcat 4.1.29 with jk going through iis 5.
Here are the headers:
H
Hi:
I'm trying to create a CustomClassLoader that I could use as my Web
App's classloader.
But I've been unsuccessful so far.
The problem:
==
When I create a JSP with the content :
<%
Class clazz = Class.forName("com.testing.junk.Cy
Joacim Turesson wrote:
> I have trouble with UTF-8 and form based login with Tomcat 5.5.12 together
> with Apache 2.0.55 using mod_jk 1.2.15.
See the last section of
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
> I have a struts based application that works fine with UTF-8, but the f
I got it. HttpRequest throws an exception by enclosing
String query = request.getParameter("display") in a try and catch block
everything was fine
marju jalloh <[EMAIL PROTECTED]> wrote: I see
<%! String query = request.getParameter("display") ; %>
is declared in the init() of the servlet.
I see
<%! String query = request.getParameter("display") ; %>
is declared in the init() of the servlet.I changed it but now I`m getting
org.apache.jasper.JasperException
java.lang.NullPointerException which should not execute the query
Can anyone throw licht on this
Thanks
marju jalloh
Hi everyone
I `m writing a bean application to execute sql query.The query properties in
the Bean works perfect.I have a jsp with textArea where the user can enter
query.The query is the required parameter that the Bean should execute.
snippet
...
<%! String query = request.g
On 1/9/06, Oded Arbel <[EMAIL PROTECTED]> wrote:
>
> So now if an application uses a local library, and that library required
> a third party jar, it can't find it.
> The way I see it, I have two options - either put all the 3rd party
> libraries back in the JVM classpath, or build jars from my lo
All,
Please accept my humble apologies for sending six versions of the same
email.
I was getting SPAM bounce backs that I incorrectly identified as coming
from this list, hence the re-versioned re-sends.
I shall attempt to be more careful in the future.
Best regards,
-mw
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: help with wmv
>
> I am unable to properly serve up wmv files.
One way to guarantee you don't get a response is to flood the list with
virtually identical messages. By my count, this is your sixth posting
on the same problem within t
Hi:
I think this is a common problem, but I can't seem to find a good solution
online:
When I added some files to the web folder of my project yesterday, I kept
getting the error "The requested resource (/project/file.jsp) is not
available" when I tried to run the pages locally on tomcat. I dele
Hello all,
Is anyone aware of what tomcat builds have JWSDP packages with the tomcat
instance? I have been told that some releases come with JWSDP, whereas
others do not. Is there any particular reason for this? Thanks for your
time.
Best Regards,
Khawaja Shams
Hello all.
I've got a strange behaviour with mod_jk 1.2.15 (compiled from source on
a sarge system with Apache 2.0 prefork).
I've got an ajax application ( http://llfr.info/tribune/ ) and the
upgrade to mod_jk on my server make my firefox crash when I access to
this page. It's working fine w
Hello,
I am unable to properly serve up wmv files.
Despite adding the video/x-ms-wmv to my web.xml file,
whenever I attempt to open wmv, I get pages and pages of text. Needless
to say, this is not the desired result. I'm fairly confident that this
is some kind of MIME misconfiguration, but am
If you used the syncronous persistent manager I posted with sticky
sessions I think you would not lose data on failover. However, I just
developed it and have barely tested it at all. I was hoping for some
feedback from the list.
Gary
-Original Message-
From: Gary Blomquist [mailto:[E
Hello,
I am unable to properly serve up wmv files.
Despite adding the video/x-ms-wmv to my web.xml file,
whenever I attempt to open wmv, I get pages and pages of text. Needless to
say, this is not the desired result. I'm fairly confident that this is some
kind of MIME misconfiguration, but am at
>
> Hello,
> I am unable to properly serve up wmv files.
> Despite adding the video/x-ms-wmv to my web.xml file,
>
> whenever I attempt to open wmv, I get pages and pages of text. Needless to
> say, this is not the desired result. I'm fairly confident that this is some
> kind of MIME misconfigurat
Hi,
I am using tomcat version 5.5.12 and am getting the following exception
and cannot find a way around the issue. Google isn't offering much. I
have also included my web.xml below. One site on google mentioned that
taglib declarations should no longer use the
http://java.sun.com/dtd/web-app_2_
I am looking into this as well. It appears that you must use sticky
sessions with the Persistent Manager/JDBC store to get failover to work.
However, it also appears that due to the asyncronous persisting of the
sessions, you might still lose some session data.
I have written a manager that wi
Hello,
I am unable to get Tomcat 5.0 to properly serve up Windows Media (wmv)
files.
Despite adding the video/x-ms-wmv to my web.xml file,
whenever I attempt to open wmv, I get pages and pages of text. Needless to
say, this is not the desired result. I'm fairly confident that this is some
kind of
Hello,
I am unable to get Tomcat 5.0 to properly serve up Windows Media (wmv)
files.
Despite adding the following to my web.xml file,
wmv
video/x-ms-wmv
whenever I attempt to open wmv, I get pages and pages of text. Needless to
say, this is not the desired result. I'm fairly confident that thi
Hello,
I am unable to get Tomcat 5.0 to properly serve up Windows Media (wmv)
files.
Despite adding the following to my web.xml file,
wmv
video/x-ms-wmv
whenever I attempt to open wmv, I get pages and pages of:
0&²uŽfϦ٪bÎlv ¡Ü«ŒG(c)ÏŽäÀ [EMAIL PROTECTED]
¤¤¢ µ¿_.(c)ÏŽãÀ SeaÒÓ«º(
Could this be the reason that the failover can't succeed?
Tomcat HOWTO on session replication: Make sure your web.xml has the
element or set at your
ND
-Original Message-
From: Paul Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 1:45 AM
To: users@tomcat.apache.org
Sub
I forgot to mention I would only reload the session from the store if it
was dirty (based on last access time).
From: Gary Blomquist
Sent: Tuesday, January 10, 2006 2:14 PM
To: 'users@tomcat.apache.org'
Subject: Reading Sessions from Persistent Store
I am attem
I am attempting to use non-sticky sessions using a syncronous Persistent
Manager and a JDBC Store.
I have written a class SyncPersistentManager that extends
PersistentManagerBase and implements HttpSessionAttributeListener to
store the sessions in the JDBC store each time an attribute in the
Ht
Hi all,
My (development) Tomcat 5.5.12 installation on Windows XP shuts down and
restarts in about 30 seconds.
My production 5.5.12 installation on Redhat Linux takes several minutes to
shutdown, and I'm not sure why.
Both servers are running the same web application, the manager application,
a
On Tuesday, 10 בJanuary 2006 14:31, Warren Pace wrote:
> > The most important reason that I use an Apache frontend for tomcat,
> > which is probably not relevant to the original poster, is that
> > under Unix only root processes can open port 80 (the default HTTP
> > port), and so if tomcat is conf
I got it to compile
just copied servlet-api.jar into the /ext directory of my java
installation
Tomcat wont start now for me to test this
-
Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in
Re-installedstill no successthis is painful mani cant even progress
with anything else...
-
Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.
Thanks for that suggestion.
I had a space in one placetrying that now...
-
Yahoo! DSL Something to write home about. Just $16.99/mo. or less
> From: Lenandlar Singh [mailto:[EMAIL PROTECTED]
> Subject: Re: Compiling Servlets - Tomcat 5.5
>
> This is what i set as a classpath environment variable...
> variable -- classpath
> value -- C:\Tomcat 5.5\common\lib\servlet-api.jar
Spaces in paths can cause no end of confusion. Sugges
It keeps saying
javax.servlet api does not exist...
Its not finding these packages...
-
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.
Lenandlar,
What is happening when you compile? Can you include the output?
Thanks,
James
On Jan 10, 2006, at 8:58 AM, Lenandlar Singh wrote:
James Goodwill <[EMAIL PROTECTED]> wrote:Try adding /common/lib/
servlet-api.jar to your classpath.
This is what i set as a classpath environ
### "Wouter Boers" <[EMAIL PROTECTED]> wrote message to "'Tomcat Users List'"
###
### this is reply for: RE: Using Tomcat 5.5 as a standalone web server ###
> There is quite an easy sollution.
>
> Run squid as you main webserver and as a web accelator in front of your
> tomcat. From the squid con
There is quite an easy sollution.
Run squid as you main webserver and as a web accelator in front of your
tomcat. From the squid config you can decide what your want cached and what
now. I don't understand why this is not done more often since its
A) a very easy sollution
B) does not loose any of
James Goodwill <[EMAIL PROTECTED]> wrote:Try adding
/common/lib/servlet-api.jar to your classpath.
This is what i set as a classpath environment variable...
variable -- classpath
value -- C:\Tomcat 5.5\common\lib\servlet-api.jar
Still no progress.
---
I am migrating from version 4.1 to 5.5 and am wrestling with the logging.
How do I get compile errors from jasper to go to a log file instead of the
console? I have set swallowOutput to true in the context config, and added
the below entries to the {catalina_home}/conf/logging.properties fil
Yes. That is the same machine/configuration. CPU Utilization is between
1-2.5% during the day which is the peak usage time.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
> -Original Message-
> From: Peter Crowther [mailto:[EMAIL PROTECTED]
> Sent: Tues
Try adding /common/lib/servlet-api.jar to your classpath.
On Jan 10, 2006, at 8:09 AM, Lenandlar Singh wrote:
Folks im trying to compile a servlet but JCreator complains about
not finding the servlet api's.
I did this a few years ago but put it down...can someone please
help
Florian Lindner wrote:
> > Florian Lindner wrote:
> > >Hello,
> > >I'm searching for the best concept of how to use and save
> > >hierarchical data. I have a structure like PC file system with
meta
> > >data. There a folder objects and files objects of different types.
> > >Every object hav
> From: George Sexton [mailto:[EMAIL PROTECTED]
> I'm running around 700,000 pages a month on a pure tomcat
> installation with no problems.
Just for interest, George, is that on similar hardware / software to
your benchmark at
http://www.mhsoftware.com/caldemo/manual/en/pageFinder.html?page=622
> -Original Message-
> From: Adam Johnston [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 10, 2006 7:43 AM
> To: users@tomcat.apache.org
> Subject: Using Tomcat 5.5 as a standalone web server
>
> Hello all,
>
>
> My question is this : does anyone have experience of running
>
Folks im trying to compile a servlet but JCreator complains about not finding
the servlet api's.
I did this a few years ago but put it down...can someone please help
-
Yahoo! Photos Showcase holiday pictures in hardcover
Photo Book
Am Dienstag, 10. Januar 2006 13:04 schrieb [EMAIL PROTECTED]:
> At the risk of pointing out the obvious, why not use what tomcat uses to
> store hierarchical data, XML?
Is this suitable for large amounts of data? How to read it? SAX?
Thanks,
Florian
-
Am Dienstag, 10. Januar 2006 07:51 schrieb Nikola Milutinovic:
> Florian Lindner wrote:
> >Hello,
> >I'm searching for the best concept of how to use and save hierarchical
> > data. I have a structure like PC file system with meta data. There a
> > folder objects and files objects of different type
What do you think is in those "jar" files? Home made pickles?
-Original Message-
From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 9:47 AM
To: Tomcat Users List
Subject: RE: Tomcat 5.5.x and java 1.4.x
> The only thing needed to run on 1.4 is the compatibi
>> The only thing needed to run on 1.4 is the compatibility package,
which
>> contains a few class files that are standard in the 1.5 JRE but have
to
>> be downloaded separately for 1.4.
>
> It's not class files it contains: it's xml and jmx jars. I haven't
quoted out of > context: I know the det
If possible - look into 5.5.15. The APR connectors should help with serving
all the video and flash streaming.
-Tim
Adam Johnston wrote:
Hello all,
I am running a reasonable sized site, on Linux Red Hat + Tomcat 5.5.7.
The site is serving mainly Flash movies and servlets with streaming
vid
> The only thing needed to run on 1.4 is the compatibility package,
which
> contains a few class files that are standard in the 1.5 JRE but have
to
> be downloaded separately for 1.4.
It's not class files it contains: it's xml and jmx jars. I haven't
quoted out of context: I know the details.
Re
Hello all,
I am running a reasonable sized site, on Linux Red Hat + Tomcat 5.5.7.
The site is serving mainly Flash movies and servlets with streaming
video through a commercial codec, plus a full HTML version of the site.
Currently, I have Tomcat 5.5.7 integrated with Apache 2.0.46, which was
(ve
> From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.5.x and java 1.4.x
>
> http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : "Tomcat
> 5.5 requires JRE 5.0 by default"
An excellent example of quoting out of context. The very next sentence
says:
"Read the REL
I'm afraid I don't have any simple guesses as to
what to change. It appears there are multiple forwards
occurring and it may be the "multiple" that is the
root cause of this behavior. You can experiment with
changes to see what happens, or try to run tomcat in
a debugger to see if you can determi
How about editing your log4j.properties file and adding the following?:
log4j.logger.org.apache=INFO
[EMAIL PROTECTED] wrote:
Hi all!
Because of a mistake in writing in my log4j configuration logging has been
set to debug mode.
When deploying the webapp Tomcat began to log thousands of debug
Hey Larry,
Finally a refresh click brought a smile on my face :-)
Yeah, it is one of those scenarios where people want backward support as
against to moving forward.
One thing that I dont understand is that the UIs are working very well. In
fact I am able to change the password
Hi all!
Because of a mistake in writing in my log4j configuration logging has been
set to debug mode.
When deploying the webapp Tomcat began to log thousands of debug messages,
and so
became unusable because of the heavy load. I had to stop Tomcat and delete
the webapp
from the webapp-directory ma
Sid,
The code where the exception is occurring is:
private final String getAbsolutePathRelativeToContext(String
relativeUrlPath) {
String path = relativeUrlPath;
if (!path.startsWith("/")) {
String uri = (String)
request.getAttribute("javax.servlet.include.servl
Florian Lindner wrote:
Hello,
I'm searching for the best concept of how to use and save hierarchical data.
I have a structure like PC file system with meta data. There a folder objects
and files objects of different types. Every object have data like
permissions, date and author. And they have
On 1/9/06, Wade Chandler <[EMAIL PROTECTED]> wrote:
...
> I don't know about 5.5.15, but 5.5.9 used HashMap.
> The synchronization of the session object was an issue
> which caused other issues and is why there should now
> be synchronization on the reading as well as writing
> session attributes.
My servlet seems seemingly to work just fine, but running through the
log I've found a whole bunch of FATAL errors. They also seem to have
risen without me envoking the servlet and the classes involved are
nothing but apache. What could it be?
Errorlog:
java.lang.VerifyError: (class:
org/apac
Understood. Thanks!
>
> From: Hardik Tank <[EMAIL PROTECTED]>
> Date: 2006/01/10 Tue AM 07:53:22 EST
> To: Tomcat Users List
> Subject: Re: Two tomcat executables in Windows XP Task Manager
>
> yes it is normal only. tomcat5w.exe is for tomcat
> service manager and tomcat5.exe is the actual tom
yes it is normal only. tomcat5w.exe is for tomcat
service manager and tomcat5.exe is the actual tomcat
server. if you stop the service tomcat5.exe will go.
rgds,
Hardik Tank
--- Warren Pace <[EMAIL PROTECTED]> wrote:
> OS: Windows XP Professional SP2
> Tomcat Version 5.5.12
> isapi_redirect.dll
OS: Windows XP Professional SP2
Tomcat Version 5.5.12
isapi_redirect.dll
I recently installed Tomcat 5.5.12 on my machine at work. I had to front-end
tomcat with IIS because of an existing ASP intranet site that I'm just not
willing to rewrite. In Windows task manager, I notice that both tomcat
>
> From: Oded Arbel <[EMAIL PROTECTED]>
> Date: 2006/01/10 Tue AM 06:59:08 EST
> To: users@tomcat.apache.org
> CC: "Caldarale, Charles R" <[EMAIL PROTECTED]>
> Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost
>
> On Tuesday, 10 ?January 2006 02:35, Caldarale, Charles R wrote:
The first thing a servlet (or filter) should do is set the encoding before
touching the request parameters. Its not intended to be called somewhere late
in the processing lifecycle. Since a Valve executes before any javax.servlet
code - all bets are off (for the request encoding) based on the wa
On Tuesday, 10 בJanuary 2006 11:16, Endre Stølsvik wrote:
> On Tue, 10 Jan 2006, Oded Arbel wrote:
> | AFAIK, the catalina implementation of HttpServletRequest does not
> | allow to set the character set more then once, even though it
> | doesn't do any pre-processing of the input.
> |
> | Maybe th
At the risk of pointing out the obvious, why not use what tomcat uses to store
hierarchical data, XML?
--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Florian Lindner <[EMAIL PROTECTED]>
Sent: Mon, 9 Jan 2006 23:05:08 +0100
To: users@tomcat.apache.org
On Tuesday, 10 בJanuary 2006 02:35, Caldarale, Charles R wrote:
> > From: Sriram Narayanan [mailto:[EMAIL PROTECTED]
> > Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost
> >
> > The link he gave talks about how to have PHP etc along side Tomcat.
>
> PHP can be fairly easily used w
Endre Stølsvik wrote:
On Tue, 10 Jan 2006, Oded Arbel wrote:
| On Tuesday, 10 ÿÿJanuary 2006 00:06, Endre Stølsvik wrote:
| > Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes
| > up the parsing of other-than-ISO-8859-1 incoming parameters.
| >
| > After using a rather huge b
Bill Barker wrote:
"Jess Holle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Conveying servlet sessions by SSL session is clearly not required by the
spec, though...
I'm not sure whether Tomcat supports this...
It doesn't (mostly because nobody has been interested enoug
LANDRAIN Jean-Pol wrote:
> > Of course - otherwise it couldn't run under 1.4.
>
> http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : "Tomcat
> 5.5 requires JRE 5.0 by default"
Fine. Nevertheless, Charles' statement is perfectly true.
Regards
mks
> Of course - otherwise it couldn't run under 1.4.
http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : "Tomcat
5.5 requires JRE 5.0 by default"
Regards,
Jean-Pol.
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: 09 January 2006 16:00
To: Tomcat
Sorry about the "antispammed" subject in my previous post.
>>> I have an application consisting of a web application and some stand
>>> alone java clients. Both the web application and the java clients
use
>>> a database. The problem is that the database configuration is
>>> duplicated.
>
>> If
>>> I have an application consisting of a web application and some stand
>>> alone java clients. Both the web application and the java clients
use
>>> a database. The problem is that the database configuration
>>> is duplicated.
>
>> If you are doing it the ant way I recommend using filtering.
>
>> I have an application consisting of a web application and some
>> stand alone java clients. Both the web application and the java
>> clients use a database. The problem is that the database
configuration
>> is duplicated.
> If you are doing it the ant way I recommend using filtering.
Thanks f
On Tue, 10 Jan 2006, Oded Arbel wrote:
| On Tuesday, 10 ÿÿJanuary 2006 00:06, Endre Stølsvik wrote:
| > Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes
| > up the parsing of other-than-ISO-8859-1 incoming parameters.
| >
| > After using a rather huge bunch of hours, this came
On Mon, 9 Jan 2006, Mark Thomas wrote:
| Endre Stølsvik wrote:
| > Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes up
| > the parsing of other-than-ISO-8859-1 incoming parameters.
| >
| > After using a rather huge bunch of hours, this came down as the result:
| > when this "d
On Tuesday, 10 בJanuary 2006 00:06, Endre Stølsvik wrote:
> Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes
> up the parsing of other-than-ISO-8859-1 incoming parameters.
>
> After using a rather huge bunch of hours, this came down as the
> result: when this "debug valve" is tu
84 matches
Mail list logo