Thanks for all the replies, but I think the problem was really only that
I didn't set the memory size correctly for Tomcat Service in WinXP (with
environment var CATALINA_OPTS instead of registry values) and the export
really needed more than the default 64M memory (or that what was
remaining of th
hi
I'm using j2sdk1.4.2_09 version and tamcat 5.5.12 and myeclipse as an IDE.
The problem is that logs are not getting generated under
apache-tomcat-5.5.12/logs directory.
The server is starting properly and i have added the required campatibility
jars.
Can any one tell me the reason as
2006/3/29, Long <[EMAIL PROTECTED]>:
> - Original Message -
> From: "michael thomas" <[EMAIL PROTECTED]>
> > Hello,
> >
> > Is there a way to get mod_jk not to forward certain
> > jsp's? Specifically, we are using cvsweb on Apache,
> > and it creates URL's like the following:
> >
> > http:
- Original Message -
From: "michael thomas" <[EMAIL PROTECTED]>
> Hello,
>
> Is there a way to get mod_jk not to forward certain
> jsp's? Specifically, we are using cvsweb on Apache,
> and it creates URL's like the following:
>
> http://www.site.com/cgi-bin/cvsweb.cgi/source/jsp/backoff
Hi
I have a single signon page after clicking on the
single signon button I am getting the
/control/j_security_check resource not available
error. Can anyone help me in resolving this error.
Thanks,
With regards,
Vikas Nagpal.
__
Do You Yahoo!?
Tir
Hello,
Is there a way to get mod_jk not to forward certain
jsp's? Specifically, we are using cvsweb on Apache,
and it creates URL's like the following:
http://www.site.com/cgi-bin/cvsweb.cgi/source/jsp/backoffice.jsp
Since it ends in .jsp, JkMount is forwarding it:
JkMount /*.jsp app01
However
It's in the jakarta_service_mmdd.log file, in your tomcat logs
directory.
Turbett, Tim wrote:
I'm running Tomcat as a windows service. I want to study what's going
on with the JVM memory. I add the -verbose:gc Java option, and start
Tomcat.
What directory and file contains the GC inf
I'm
running Tomcat as a windows service. I want to study what's going on with
the JVM memory. I add the -verbose:gc Java option, and start
Tomcat.
What directory and file contains the GC
information?
Tim
Turbett Pegasystems
101 Main
Street
Voice: (617) 374-960
It's funny you should say that. maxHttpHeaderSize is the incorrect parameter to
use in this case, but I noticed that by changing the size of this header
parameter, I was able to send larger files, although not consistently. But what
I don't understand is how this parameter is affecting the size
Sorry Jon. Buf.length is the size of the buffer that I want to post. I
have confirmed that this is being sent correctly. But as I said earlier,
on the server side 8K is the maximum size of this data that is read.
Vikram
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sen
I am assuming you have been using logger to log stack traces in case of
errors in tomcat 5.0. This was deprecated in 5.0 and completely removed in
5.5. So, If you have logger defined for engine, host, or context to record
the stack traces in a file in your application this will not work on tomcat
On number 1 5.0 logs the entire stack trace, so you can jump to the line
number. On 5.5, no such stack trace in any file. Also, I searched a few
lists and many people had questions on what was wron when they saw that
error. I think the cause is the lack of informationit should at the
very l
Sorry for the O/T post but does Anyone know where XMLSignature lives?
Thanks,
Martin
On 3/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Anyone have much experience with running on these. On tomcat 5.5, I have
> ran into many problems
> 1. exception fron ServletContextListener.contextInitialized causes the
> vague error of "Error listenerStart" with no details. Most people
Hi-
As I understand it, HttpServletRequest.getRemoteUser() returns the user
name entered if HTTP authentication (RFC2617) is used. According to the
JavaDoc, its return value is "Same as the value of the CGI variable
REMOTE_USER."
-Terence M. Bandoian
> Subject:
> Re: How to populate session aft
I made the changes suggested and it works like a charm. As far as switching
to Linux, I wouldn't want to do that, I enjoy banging my head up against the
wall.
Thanks all,
> -Original Message-
> From: Warren [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 28, 2006 11:14 AM
> To: users@tom
I found the following solution which worked great
Change conf/context.xml from this
to this
worked great, or you can switch to Linux and not have to do anything :).
later,
dean
> I get a "FAIL - Application already exists at path" message when I use the
> deploy task after I have used the
I have been running into problem after problem it seems with 5.5.16. Does
anyone know the stability differences between 5.0 and 5.5. Here are some
examples so far(I think there are more but it has been so hardgoing in
5.5)
1. exception from ServletContextListener results in vague error of Error
It seems to me that Tomcat security realms may be a bit inflexible. It
seems easy to set it up to require login for protected resources, but it
seems difficult to programmatically integrate and affect login state
otherwise.
I would like to accomplish a couple of very common authentication
sce
Anyone have much experience with running on these. On tomcat 5.5, I have
ran into many problems
1. exception fron ServletContextListener.contextInitialized causes the
vague error of "Error listenerStart" with no details. Most people on
lists I have seen don't even know it was caused by Exception
Oh. I'm not sure I follow (a) how you new I responded to a thread or (b)
how it cuases a problem. I removed all the text of the previous thread
and even changed the subject name. It should've been a new thread I
thought. :(
Well, I guess I'll do it as you suggested moving forward.
Do I need
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
It seems to me that Tomcat security realms may be a bit inflexible. It
seems easy to set it up to require login for protected resources, but it
seems difficult to programmatically integrate and affect login state
otherwise.
I would like to accomplish a couple of very common authentication
scen
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread. Thi
My scenario is something like this:
There's an entry server webapp (tomcat 4.0 installation) which takes
in the username/password from the user for basic authentication,
authenticates the user and makes available links to various other
webapps on different tomcat (4.0)installations. These can be on
I had the same problem with Tomcat, Windows and a Struts webapp.
I updated my META-INF/context.xml as follows:
and now undeploy can properly remove the webapp directory.
Apparently there is a problem with windows locking resources, so that undeploy
cannot delete the directory.
-Ori
Hi Warren,
I had the same problem, and I feel that it's a bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=39061
-Kevin
On 3/28/06, Warren <[EMAIL PROTECTED]> wrote:
>
> I get a "FAIL - Application already exists at path" message when I use the
> deploy task after I have used the undeploy
I get a "FAIL - Application already exists at path" message when I use the
deploy task after I have used the undeploy task. The undeploy task does work
by itself, but it still leaves the directory structure /appname/WEB-INF/lib
and the strut.jar. The deploy task will work when I shut down Tomcat, r
What Marc said is probably true but what about all these poor users who
don't use javascrip, hum?
I also noticed that with Tomcat, the new context deployment method does not
work: if you put your context.xml into META-INF, it's supposed to load it,
and it works... except when your context is ROOT!
I wouldn't bet on that, plus it would be a short term fix as it's meant to
become a deprecated use of server.xml in future releases
That said, I don't have the answer but I'm sure it's in the source if you
take the time to go through it...
On 28/03/06, Vivek Mohan <[EMAIL PROTECTED]> wrote:
>
> D
ar... not sure about the "Tomcat actually does not install anything I think"
bit, and JAVA_HOME is not required either... it's a param of the service
config...
you might want to read my post on "*running two instances of tomcat*"
starting with "OK here we go", that might get you started with a Win
Yes, I belatedly realized this. I undefined my classpath and am
letting Tomcat build it in catalina.sh (not thats working, though).
On 3/28/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> >Classpath: /usr/local/apache-tomcat-5.5.16/bin:
> > /usr/local/apache-tomcat-5.5.16/server/lib:
>
Classpath: /usr/local/apache-tomcat-5.5.16/bin:
/usr/local/apache-tomcat-5.5.16/server/lib:
/usr/local/apache-tomcat-5.5.16/common/lib:
/usr/local/jdk1.5.0_06/lib:/usr/local/jdk1.5.0_06/jre/lib/ext
this is not a valid classpath. you need to specify each JAR that you want
included.
only for .cla
I looked at the Tomcat source code and that class should be in
/server/lib/tomcat-util.jar. Which should be in the bootstrap
classpath. For fun's sake I added that to the classpath environment
variable building routine in catalina.sh and it still didnt work.
/Cody
On 3/27/06, Farrow, Marc <[EMAIL
Here is a work around if you want to use it. Change your default page
(usually index.html or index.jsp) under your "/" context (ROOT) to redirect
to the http://domain.com/Application using Javascript.
window.location.replace(http://domain.com/Application);
OR
You can just set up y
I deploy an application to my Tomcat server via .war file. It works
perfectly but I must use:
http://domain.com/Application
I want to make this the default application so the user can use:
http://domain.com
My hosting provider told me to edit the conf/server.xml and find this element:
An
This can happen if you have a separate context path configured for
your webapp and its present in your appbase. If thats the case, then
Tomcat will try to load the webapp twice, once for the different
context path and once for the presence of the war or folder in
appbase. This is a known feature(or
Do you have all the contexts mentioned in one server.xml? or do you
have separate context xmls for your separate contexts? If its the
former case, then I guess, the order in which you mention the contexts
in server.xml is going to be the order of starting them up by Tomcat.
--
Vivek.
On 3/28/06,
Did you try the non-exe install?? Tomcat actually does not install anything
I think - it is mostly just a decompress of files and the setting of
references to environment variables like JAVA_HOME etc.. setting of
shortcuts on the start menu. initialising the service.
So there should be a zippe
Sorry, it was a Xp-Firewall issue.
Thanks anyway!
Jean-François Lebeau
From: Franck Borel <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: Tomcat Users List
Subject: Re: First time with Tomcat
Date: Tue, 28 Mar 2006 09:05:22 +0200
Hi Jean-Francois,
in fact that is the most stable
Do you have any mappings for your servlet in a web.xml?
I have always mapped my servlets in my web.xml, then made a JkMount the
same as that mapping
i.e.
http://java.sun.com/dtd/web-app_2_3.dtd";>
admincontrol
com.bla.servlet.AdminServlet
4
admincont
Not sure if this is related to your specific error, but you need to add a
resource link in the context.xml to the application. The resource
(datasource) is defined globally, but you still need to point your app to
that resource.
webappname.xml snippet:
-Original Message-
Fr
All,
I have several contexts that run on one server. I've slogged
through documentation and googled until I can google no more, but I've been
unable to find a way to specify an order to start them up (there's one in
particular that I want to start first). Does anyone know of a way to
When I try to add a JNDI lookup resource (DataSource) to the DefaultContext
node in the server.xml file, I always get a "Error retrieving attribute
debug" message (see attached screenshot).
I have the server.xml is configured as follows:
What we use is (Solaris 8, Apache 2.0.55, mod_jk.1.2.15):
worker.worker1.type=ajp13
worker.worker1.host=a.b.c.d
worker.worker1.port=xyz
worker.worker1.lbfactor=50
worker.worker1.cache_timeout=600
worker.worker1.recycle_timeout=600
worker.worker1.socket_timeout=62
worker.worker1.sticky_session=1
wo
I have not used RMI since '98 and I know it has gone through some
changes since then. It use to be that RMIC created stubs and skeletons
fore marshalling the data and class structure. (That is not the case
anymore is it?)
But, when I did this...even though the stub was on one side and th
skelet
Greetings:
I am looking for help with an issue that I cannot find the answer to on the
web or list-archives. My issue is this:
I use Tomcat 5.5 and jdk 1.5 on linux.
1)I have a custom jsp tag that puts string data in a Session attribute when
the jsp page loads (via pageRequest.getSession().set
On 3/28/06, Armand Rock <[EMAIL PROTECTED]> wrote:
> Thanks for the help...it works now...kind of...
> Http is no longer functioning 100% of the time (random images seem to not
> display anymore...
> getting rid of the APR changes fixes the problem...
> I'm going to have to take a look and see if t
Look for the value of "maxHttpHeaderSize" in your server.xml in the
CATALINA_HOME/conf diretory. I had a similar problem.
> -Ursprüngliche Nachricht-
> Von: "Tomcat Users List"
> Gesendet: 28.03.06 16:24:20
> An: Tomcat Users List
> Betreff: Re: InputBuffer and Posting Data
> What i
Armand Rock wrote:
> Thanks for the help...it works now...kind of...
> Http is no longer functioning 100% of the time (random images seem to not
> display anymore...
> getting rid of the APR changes fixes the problem...
> I'm going to have to take a look and see if there are any known bugs with
> t
Thanks for the help...it works now...kind of...
Http is no longer functioning 100% of the time (random images seem to not
display anymore...
getting rid of the APR changes fixes the problem...
I'm going to have to take a look and see if there are any known bugs with
the APR connectors under linux
o
What is buf.length? Is it the actual length of the data you want to post
or is it 8k?
The data you receive on the Tomcat side may be truncated by the
Connector if the body data is longer than the value set for the
Content-Length header.
HTH,
Jon
Vikram Goyal wrote:
Hi all,
I am trying
Yeah i'm running Apache 2, PHP and MySQ.
I tried what you said, but if I remove the 8080 connectors, I can't access
to Tomcat main page anymore, even on the PC running it..
Can you explain a bit more?
Jean-François Lebeau
From: Franck Borel <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
Hi there!
Configuration:
a. Apache httpd 2.0 server (IP0, port 80) with some content served from /cms
b. Worker to a Tomcat 4.1 running on a separate box (IP1:8080) mapped to
/app1
c. Anpother worker to another Tomcat 5.5 running on separate box (IP2:8080)
mapped to /app2
Both Tomcats are using t
I use request.getUserPrincipal().getName() to get the username, does it work
for you?
Never quite understood what this getRemoteUser method was... if someone
knows, I'm interested!
On 28/03/06, Dave <[EMAIL PROTECTED]> wrote:
>
> I am using JBoss. The servlet Form authentication is nice, but I ne
You must RTFM
http://tomcat.apache.org/tomcat-5.5-doc/
http://tomcat.apache.org/tomcat-5.5-doc/connectors.html
http://httpd.apache.org/docs
http://httpd.apache.org/docs/2.2/vhosts/name-based.html
SA> Hi, I am to host two websites in Tomcat 5. What should I do. This is the
SA> scenario.
SA> I have
feghoul mohamed wrote:
hello
why using mod_jk2
this version is not yet supported ?
it's an older config. the system was originally set up before the "use
jk2 or go back to jk" discussion.
i might switch to mod_jk, if this helps solve the issue i've experienced.
Edmund
--
hello
why using mod_jk2
this version is not yet supported ?
--- Edmund Urbani <[EMAIL PROTECTED]> wrote:
>
> hi!
>
> the config:
> apache httpd 2.0 + mod_jk2 + several tomcat
> instances
>
> the problem:
> one of the webapps in a tomcat failed. the
> application continued to
> accept request
Hi, I am to host two websites in Tomcat 5. What should I do. This is the
scenario.
I have two domain names:
1- www.gosmile.com
2- www.gosmiletv.com
But I have a single IP address. I want to configure this in a way that
both the URLs above are resolved to my single IP, but the web
hello everybody
I recently installed Tomcat V4.1.31 on my windows 2K
Server machine with IIS 6.0. I'm trying to use the
redirector to direct content from a host IIS
webserver, to the Tomcat processor (again, these are
on the same machine).
I have been unable to get it working...
Please help in a
hi!
the config:
apache httpd 2.0 + mod_jk2 + several tomcat instances
the problem:
one of the webapps in a tomcat failed. the application continued to
accept requests, but they just hanged without a response. after a while
the number of hanging request reached the MaxClients number specified
I am using JBoss. The servlet Form authentication is nice, but I need something
more flexible.
Users are allowed to login on any unprotected page and stay in the same page
after lgoin. I have database table to store username and password.
After verifying username and password, what i
62 matches
Mail list logo