hmm
if u have manger application running , try depploying (or redeploying
) admin application theu it
and then try to login
I hope u added the user with which r trying to login into admin in
tomcat-users.xml
If u have tried all these already and still failed then I too dont
have a clue :-(
On
Hi all,
Iam planning to turn on the HTTP/1.1 GZIP compression for my
application by setting the compression attribute of http connector.
Iam sure that this will reduce my bandwidth requirements.
But I have a doubt. Is Compressing the responses will eat away many
CPU cycles and affect my
Hi Bruce,
On 25 Jul 2005 at 18:39, Bruce E. Stemplewski wrote:
Where does this get installed? Remember, I am a total newbie at this.
And do I even need this? The error says:
This release of Apache Tomcat was packaged to run on J2SE 5.0
or later. It can be run on earlier JVMs by
Joe,
Are you sure your filter is doing the right thing?
Sounds like it may be forwarding to a bad URL or
something. If it works without the web.xml then I
assume you've set up your context for the /cms
application.
Maybe try a
System.err.println( myDestURL )
in the filter
Agreed,
and if you have any session information and the session can't be (for
whatever reason) be de/serialized, it would indeed be a very bad idea to
restart tomcat.
Christoph
Robert Harper wrote:
The best practice is to find the leak and fix it. Restarting is a cover up
to a problem that
Hi,
My jsp page contains a c:out value=${users}/. The result is
${users}. I had a look in the generated .java and it seems the ${users}
is not evaluated : _jspx_th_c_out_0.setValue(new String(${users}));
Is there something to configure with tomcat 5.5.9 to enable the
evaluation of the EL ?
Do you need the c:out? Have you tried just ${users}? I'm no expert on c:out
but my understanding is that it's a tag of times past..
Walther Hautermann wrote:
Hi,
My jsp page contains a c:out value=${users}/. The result is
${users}. I had a look in the generated .java and it seems the
Hi Walther,
be sure your web.xml is set to the following:
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd
version=2.4
It has to be version 2.4 of
Hi,
1. Check your JSP imports the c tag library
2. Check your web.xml schema is for J2EE 2.4
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; version=2.4
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
We have recently introduced load balancing using JK and have been
surprised to find that by default, all JSP pages create a user session.
Adding %@ page session=false % seems to be the only way
of disabling this. I assume this is because every JSP has access to the
session object. Is there
hi all;
i never seem to understand from the change log and release notes if a new
tomcat version is worth upgrading to.
i remember reading in some article that tomcat 5.5.10 has some major changes
regarding the HTTP server part but i could not really see that from the release
notes.
did tomcat
Hi Allistair,
Now the definition of the taglibs in the web.xml seems to be wrong.
Could you provide me an example?
Thx
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: mardi 26 juillet 2005 10:43
To: Tomcat Users List
Subject: RE: tomcat 5.5.9, JSP, EL
Hi,
You don't need to import the tag libraries for EL etc.. only in your pages.
However, the new schema will cause problems for your web.xml in other ways.
Here is a valid web.xml
?xml version=1.0 encoding=UTF-8?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
Many thx. It works now
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: mardi 26 juillet 2005 11:02
To: Tomcat Users List
Subject: RE: tomcat 5.5.9, JSP, EL evaluation
Hi,
You don't need to import the tag libraries for EL etc.. only in your
pages. However,
Hi,
Mind's gone a little blank, should know this but our webapp has a setup such
that a filter maps /* requests and handles them.
However, Tomcat is preventing requests that do not match /abc with a 404 I
think because it thinks abc is another web application if it has /abc/def
E.g
Try filter map with * instead of /*
Regards
Guru
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 11:36
To: tomcat-user@jakarta.apache.org
Subject: Requests that are not handled by ROOT
Hi,
Mind's gone a little blank, should know this but
Yes, for example: %@ page buffer='128kb' %
-Tim
Adile Abbadi wrote:
Hi Tim,
Thanx for this again - sorry to be a pain - but this is good info - so the
bugger size value is a jsp page directive? I'll check into it - but if you
can confirm I would appreciate it.
Thanx
Adile
-Original
Only a guess try
Context path=/appName ...
Parameter name=paramName value=dummyValue/
/Context
-Tim
Arash Ramin wrote:
In lieu of using web.xml, I'm trying to add an init parameter in our
application's context.xml file:
context path=/appName ...
parameter name=paramName
It will eat up CPU, but you also save CPU by not having to transmit those
extra bytes.
Its always a good idea to GZIP.
-Tim
Peddireddy Srikanth wrote:
Hi all,
Iam planning to turn on the HTTP/1.1 GZIP compression for my
application by setting the compression attribute of http connector.
Iam
According to the spec /* is everything in the web application. Well, I did try
* but that killed all my requests with 404 errors.
Any further suggestions?
Thx.
-Original Message-
From: Raghupathy,Gurumoorthy
[mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 11:38
To: 'Tomcat Users
If your running tomcat5, look at the JSP spec - JSP.3.3.5 Defining Implicit
Includes
This *might* allow you to declare %@ page session=false % in an include
then have that be included in all your jsp's.
-Tim
Markus Kobler wrote:
We have recently introduced load balancing using JK and have
My bad. It is actually coming into the web application afterall with /*.
Cheers!
-Original Message-
From: Allistair Crossley
Sent: 26 July 2005 11:46
To: Tomcat Users List
Subject: RE: Requests that are not handled by ROOT
According to the spec /* is everything in the web
I get this running Tomcat 5.5.9 on JDK 1.5 on Linux 2.6.x.
The toArray makes an array of the 'attributes' attribute of the session. But
fails to do so. Should I synchronize all access to the session or is this
something inside Tomcat or maybe inside Java?
I looked at both the source of Tomcat
I'm using this in a 4-node cluster serving about 30 req/s. And didn't really
notice any difference in cpu usage. (I think generating my pages use more
cpu-power than compressing them.)
Ronald.
On Tue Jul 26 08:33:07 CEST 2005 Tomcat Users List
tomcat-user@jakarta.apache.org wrote:
Hi all,
Hello Chris,
I'm a little embarassed to say that I was watching a log file on a
different machine, I had one too many xterm's opened. It was a long
weekend :)
However, on the server where I was having my problem, the ending tag
for the filter's url pattern was wrong. I had /urlpattern instead
If you have enough bandwidth yourself, the big win is in the saved bandwidth on
the client-side and that is what your customers like. The browser wil act
quicker because it has more data to render in a shorter time.
On Tue Jul 26 12:46:07 CEST 2005 Tomcat Users List
Joe Riopel wrote:
However, on the server where I was having my problem, the ending tag
for the filter's url pattern was wrong. I had /urlpattern instead
of /url-pattern
It is always a good idea to edit xml files with dtd capable editor.
--
Mikolaj Rydzewski [EMAIL PROTECTED]
Becomo S.A.
Hello,
within the init() of a filter, I'm storing a reference to the
servletContext:
filterConfig.getServletContext().setAttribute(servletContext,
filterConfig.getServletContext());
But when I'm trying to access this attribute in the doFilter-method, I
get a NullPointerException:
A better way to handle this stuff is to just get the servlet context
when you need it and not store it in the request. If you have access to
the request, you have access to the servlet context.
ie ServletContext servContext = request.getSession().getServletContext() ;
--David
Marten Lehmann
Good Morning,
I'm looking for suggestions on a large scale tomcat cluster for one
deployed app.
I currently run our app happily with all server apps smushed on one
server. Apache webserver 2.0.52/mod_jk/tomcat5.0.28/mysql 4.1.7 on
Fedora Core 3.
My company wants to deploy a site that would
Hello,
I am having trouble starting tomcat. It gets to a point then just stops.
What am I doing wrong?
[EMAIL PROTECTED] bin]# ./catalina.sh jpda run
Using CATALINA_BASE: /usr/tomcat
Using CATALINA_HOME: /usr/tomcat
Using CATALINA_TMPDIR: /usr/tomcat/temp
Using JRE_HOME:
yeah, my user is added to tomcat-users.xml, but i don't even get a
prompt to attempt to loginI have a feeling that some of my
dependencies are not complete. I never installed struts, but there is a
struts.jar file in my $CATALINA_HOME/server/webapps/admin/WEB-INF/lib
directory...the
From: Marten Lehmann [mailto:[EMAIL PROTECTED]
Subject: attributes in servletcontext and servletrequest
within the init() of a filter, I'm storing a reference to the
servletContext:
filterConfig.getServletContext().setAttribute(servletContext,
filterConfig.getServletContext());
Hy,
I am trying to run a CMS program called magnolia on my
http://localhost:8080/magnolia/
I made sure that everything is installed properly: tomcat 4.1.31,
mysql. I downloaded the .war file and dropped it in my webapps folder.
I also made sure that my environment variables for CATALINA HOME are
From: blackwater dev [mailto:[EMAIL PROTECTED]
I am having trouble starting tomcat. It gets to a point then
just stops.
What am I doing wrong?
[EMAIL PROTECTED] bin]# ./catalina.sh jpda run
Using CATALINA_BASE: /usr/tomcat
Using CATALINA_HOME: /usr/tomcat
Using CATALINA_TMPDIR:
Can you please tell med what's wrong with this setup?
I have one server runnig Fedora Core 3 and Tomcat 5.5.9 with Java 1.5.0_04.
Tomcat is setup to require a client certificate.
For this server I have generated a server cert and installed it.
I have one client running Windows 2000 SP4 with
from memory you need to ensure you add users and roles to the tomcat-users.xml
file? it's all in the manual.
-Original Message-
From: Patrick saad [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 15:39
To: tomcat-user@jakarta.apache.org
Subject: Problem running tomcat with a CMS
Just me being stupid and trying to hit 8080...thanks!
On 7/26/05, Peter Crowther [EMAIL PROTECTED] wrote:
From: blackwater dev [mailto:[EMAIL PROTECTED]
I am having trouble starting tomcat. It gets to a point then
just stops.
What am I doing wrong?
[EMAIL PROTECTED] bin]#
Hi.
I run the same CMS here. I've seen this happen when the repository
isn't initialized right. Check the logs to see what happened, post the
version of Magnolia you're working with, and also ask on the magnolia
list at [EMAIL PROTECTED]
--David
Patrick saad wrote:
Hy,
I am trying to run a
Normally you're right on the money. In this case Magnolia manages it's
own authorization through a repository.
--David
Allistair Crossley wrote:
from memory you need to ensure you add users and roles to the tomcat-users.xml
file? it's all in the manual.
-Original Message-
From:
Okidokes :o)
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 16:02
To: Tomcat Users List
Subject: Re: Problem running tomcat with a CMS application
Normally you're right on the money. In this case Magnolia
manages it's
own authorization
I posted the issue to the mailing list for magnolia, no one answered
me back with an answer yet.
On 7/26/05, Patrick saad [EMAIL PROTECTED] wrote:
Hy David,
Thank you for the quick reply.
Im working with magnolia ver 2.0.3.
Here is a small part of my magnolia-error log file:
Hi,
Apache 5.5.9 with Apache 2 and mod_jk.
Some files in /download/files.
If i do not configure any servlet mapping for this path, the files in this
folder are delivered. I assume org.apache.catalina.servlets.DefaultServlet
is invoked.
If i do configure a servlet mapping, that maps
Hi everybody,
I'm using mod_jk - 1.2.14.1 and apache - 1.3.19
I would like to link statically mod_jk in Apache in Windows environment.
Has anyone already managed this?
The configure --with-apache command works fine for Solaris and AIX; and
it compiles and links alright...but I don't know what
Frédéric Viollet wrote:
Hi everybody,
I'm using mod_jk - 1.2.14.1 and apache - 1.3.19
I would like to link statically mod_jk in Apache in Windows environment.
Has anyone already managed this?
The configure --with-apache command works fine for Solaris and AIX; and
it compiles and links
Hello,
how can I get the requestURI or pathTranslated without the
context-prefix? Instead of
/newsletter/config/login.jsp
I would like to get returned just
/config/login.jsp
Additionally, while you can enter
//newsletter//config/login.jsp
in the address-field of the browser, it would be
Hello,
I tried to put the following into web.xml:
welcome-file-list
welcome-fileindex.faces/welcome-file
/welcome-file-list
But obviously, this doesn't work, because there is no file index.faces,
but index.jsp. However, if the index.jsp isn't called through
index.faces, the
Create a dummy index.faces file.
I did it this wy with Struts and index.do so I assume it should work
with faces, too.
hth,
Christoph
Marten Lehmann wrote:
Hello,
I tried to put the following into web.xml:
welcome-file-list
welcome-fileindex.faces/welcome-file
/welcome-file-list
But
Hi,
I have two in which I wanted IE to recognize
as a binary file. So I added the following
entries into my application web.xml file.
mime-mapping
extensioncab/extension
mime-typeapplication/octet-stream/mime-type
/mime-mapping
mime-mapping
It took me a while to get welcome files working with the SpringMVC web
framework.
I created the attached servlet to get things working properly. It requires
servlet spec 2.4, and it works by mapping the welcome file to a servlet,
WelcomeFileServlet, rather than direct to a JSP. The
You're right, thanks. I was missing the capital 'P' in the Parameter
property.
When defining parameters under ResourceParams, it's all lowercase though.
- Arash
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 26, 2005 03:44
To: Tomcat Users List
guys i am seriously confused now..
a normal jsp i can display in tomcat..
ok i have some questions here :-
1) let say i have admin.jsp , i create a folder call MGT .. i put in side
the file admin.jsp and create a WEB-INF folder and inside i put web.xml ..
is it correct ?
2) do i have
According to http://www.apache.org/dist/jakarta/tomcat-connectors/jk/, the
current stable version is 1.2.10.
Now, four additional releases have been made. Does 1.2.10 remain the stable
version?
gary
I'm new to Tomcat and having a problem I thought someone could help me with.
I have an application with servlet installed under webapps. I can run the
servlet without problems. The servlet creates a page that gets sent to the
browser with some links to some (HTML and XML) data files on it. When I
hmm,
i dont think struts need to be downloaded seperately
are u using JDK 1.4 or 1.5 ??
if u r using 1.4 u have to download compatabliity package and
configure its contents in ur tomcat installation by following the
steps in Running.txt
On 7/26/05, J. Ryan Kelley [EMAIL PROTECTED] wrote:
55 matches
Mail list logo