Hi John,
Ok, I'm going to try show you how I think about this stuff... and I'm often
wrong ;)
Dont use a redirect... it goes back to the browser and its not cool.
Firstly make a servlet and have a look at the CONTEXT.XML file under
META-INF
Change it to..
Now have a look at WEB.XML
> From: Peter Kennard [mailto:[EMAIL PROTECTED]
> Subject: Re: Can one map a servlet to a specific connctor?
>
> Can I determine the connector port connected to for a request from
> service() I don't see it in the servlet API but am willing to access
> somthing tomcat specific.
ServletRequest.
> From: neilac333 [mailto:[EMAIL PROTECTED]
> Subject: Re: [OT] Tomcat 5.5.23 Will Not Unpackage Application
>
> That is a good thought, but I have included all the Commons
> files in my WAR file as you can see.
Which will be a problem if they're already in the common/lib or
shared/lib. A give
Todd Nine wrote:
Hi all,
I'm trying to make and install the native runtime libraries for
Tomcat 5.5 on RHEL4, with Apache 2.0.52, OpenSSL 0.9.7a Feb 19 2003,
APR version 0.9.4, and JDK 1.5. I'm able to configure and make with
the following commands. Note that configure won't find apr without
t
I guess a corrollary question to this would be.
Can I determine the connector port connected to for a request from
service() I don't see it in the servlet API but am willing to access
somthing tomcat specific.
PK
At 21:57 3/12/2007, you wrote:
On a stand alone tomcat with more than one conne
> From: Peter Kennard [mailto:[EMAIL PROTECTED]
> Subject: Can one map a servlet to a specific connctor?
>
> On a stand alone tomcat with more than one connector (port)
> Is it possible to map a servlet to only one or a subset of connectors?
No, but you can use a filter or valve to restrict acce
Sorry I should have mentioned, yes I did restart. There are no reported
errors with parsing or anything like that. The users file is now currently:
Parsons Technical Services wrote:
Jacob,
Did you restart Tomcat?
Can you post your tomcat-users.xml?
Doug
- Original Message
Jacob,
Did you restart Tomcat?
Can you post your tomcat-users.xml?
Doug
- Original Message -
From: "Jacob Rhoden" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, March 12, 2007 11:12 PM
Subject: tomcat-users.xml config in tomcat 6
This is probably something very dumb on
This is probably something very dumb on my part (: but, when I try to
use the manager app in a fresh tomcat 6 install, i get the following
message.
"You are not authorized to view this page. If you have not changed any
configuration files, please examine the file conf/tomcat-users.xml in
your
On a stand alone tomcat with more than one connector (port)
Is it possible to map a servlet to only one or a subset of connectors?
Thanks PK
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAI
I think an application runs on the root context / by default, if it's
configured this way in server.xml :
server.xml is located at : ..\apache-tomcat-5.x\conf\
On Windows XP , you can try something similar in Unix.
-Rashmi
- Original Message
From: John Mo
(Tomcat 4.x)
I have the following url that runs an application (pseudo url for
discussion only)
http://www.mydomain.com/mysite/thecontext
works fine..
I would like to configure it so that..
http://www.mydomain.com
gets me to the same place..
I can place a "redirect" html page at
http://
Mike Broadbear wrote:
You could try Pushlets (and let me know how it goes!)
pushlets, if made correctly, would be built on top of comet to get
around the "thread-per-connection" limit
Filip
Date: Mon, 12 Mar 2007 05:32:25 -0700> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subje
I guess all I'm looking for is something like "could not find a
web.xml for resource" or somesuch.
On 3/12/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
Prasad-
If you can get Tomcat to resolve any of the hundreds of OS specific binary or
construct (such as symlink)..
you can always exit the VM
Prasad-
If you can get Tomcat to resolve any of the hundreds of OS specific binary or
construct (such as symlink)..
you can always exit the VM to the OS thru Runtime.exec() ..but then again that
would spawn a process
Anyone else?
M-
-
On 3/12/07, mattd1812 <[EMAIL PROTECTED]> wrote:
"servlet instanceof CometProcessor"
Will return true (regardless of your custom CL hierarchy) if your
servlet implements the interface. That interface is in the
lib/catalina.jar JAR, and should be loaded from there.
Rémy
---
in the meanwhile you can use jhat to analyze your heap results ..this comes
with a nice browser interface to allow you to see heap usage by each class
http://java.sun.com/developer/technicalArticles/J2SE/monitoring/
you can also use JConsole to monitor the number of objects pending finalisation
Thanks for the suggestion.
It turns out that the problem was that my web.xml was a symlink. I
had to figure this out through trial and error. Is there no better
way to debug this sort of thing?
Cheers,
Aditya
On 3/12/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote:
I had a similar problem too, I
You could try Pushlets (and let me know how it goes!)
> Date: Mon, 12 Mar 2007 05:32:25 -0700> From: [EMAIL PROTECTED]> To:
> users@tomcat.apache.org> Subject: Problem getting comet to work> > > I am
> trying to write a comet servlet using the new CometProcessor api. I am>
> running version 6.0
Hi,
I am new for Tomcat. I have read througth the documents on web site. I
could not find the answer. So I ask this questions here.
On client, I aggregated some requests into a xml file and then post them
to the server. I want to make a filter to enable those requests to be
separate as they
That is a good thought, but I have included all the Commons files in my WAR
file as you can see. According to the documentation, Digester has a
dependency on Collections, and that JAR is in WEB-INF/lib
(commons-collections-3.1.jar).
Any other suggestions?
Neil
Pierre Goupil wrote:
>
> Hello
Warning:
rant about 'religion' follows (not quite on par with where the opening '{'
goes, but close!):
I feel like such a fool! I had no idea the "way too old" mark had been moved
to "older than 6 months" and/or "3 point releases behind HEAD". Of course,
_everyone_ should _always_ use t
Tomcat 6.0.10 stable libraries, mavenized, can be found at:
http://tomcat.apache.org/dev/dist/m2-repository/
Filip
Remy Maucherat wrote:
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 6.0.10 stable. This release is the first stable release of the
6.0.x branch.
Apa
On 3/12/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
add -XX:+HeapDumpOnOutOfMemoryError to your JAVA_OPTS, then you can zip
up the file that gets generated, make it available to us and I'll take a
look at it
Most likely it's because of session creation. (you should not be too
naive a
I had a similar problem too, I did a few things that got it resolved.
One thing I remember is, setting the directory listings to "true" in server.xml
, at that time if there's no index page in the directory
it listed the directory listings instead of giving a 404 error.
Other possible causes:
look you say that your >>"Tomcat version is 5.5.20"<<. Why don't u
simply try/attempt to get version 6.x of Tomcat by now??? I mean any
kind of version 5 is way too old by now! Capiche? [Understand?]
Igor Shevchenko wrote:
Hello,
I'm experiencing problems with starting tomcat as a service un
Hi all,
I'm trying to make and install the native runtime libraries for
Tomcat 5.5 on RHEL4, with Apache 2.0.52, OpenSSL 0.9.7a Feb 19 2003,
APR version 0.9.4, and JDK 1.5. I'm able to configure and make with
the following commands. Note that configure won't find apr without
the explicit locati
I've set my JULI logging to FINE to figure out why I always get "The
requested resource (/) is not available." Unfortunately, the log
seems to indicate that the ROOT context was started up all right:
Mar 12, 2007 2:32:56 PM org.apache.catalina.startup.HostConfig deployDirectory
FINE: Deploying w
Filip,
Great article. We were already having some memory issues using the
NIO connector in 6.0.10 yet REALLY need this functionality. Our quick
question is the following , can we in your estimation use the nightly
build of your code and apply to 6.0.10 until version 11 releases?
Filip Hani
At 15:33 3/12/2007, you wrote:
> Anyway - I answered my own question.
> I wrote a test, Keep Alive works fine with chunked content.
So... what was the problem? For days you've been railing against Tomcat
for not supporting this properly. Is there something that you overlooked?
- -chris
Part
Here you go http://www.hibernate.org/114.html
shows you how to use it in Tomcat
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I answered my own question here:
The client must send the *complete* sequence
"\r\n0\r\n\r\n" or tomcat *will* hang attempting to read the last
"\r\n" after the last "zero length chunk" No one including myself caught this.
PK
add -XX:+HeapDumpOnOutOfMemoryError to your JAVA_OPTS, then you can zip
up the file that gets generated, make it available to us and I'll take a
look at it
Filip
acec acec wrote:
Hi,
I tested tomcat 6.0.10 using jmeter. I found the
following problem.
I defined three thread groups:
==
Hi Scott,
Not sure what you mean by container managed service, tomcat on its own is a
servlet container, not an application container, like JBoss, maybe you saw
hibernate referenced in Spring which is a whole collection of frameworks
built on top of servlet technology, it uses hibernate, and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Kennard wrote:
> Anyway - I answered my own question.
> I wrote a test, Keep Alive works fine with chunked content.
So... what was the problem? For days you've been railing against Tomcat
for not supporting this properly. Is there someth
Hi,
I tested tomcat 6.0.10 using jmeter. I found the
following problem.
I defined three thread groups:
First
thread-group
thread Properties:
Number of Threads(users): 50
Ramp-Up Period(in seconds): 10
Loop Count: 1000
HTTP Request
pa
Not sure whether this is a new module you are trying to implement or
refactoring the existing implementation...
As Ron Wheeler suggested, spring framework is one option you can try.
Regards,
Rajesh
On 3/12/07, Markus Schönhaber <[EMAIL PROTECTED]> wrote:
Scott Purcell wrote:
> Looking at inc
Hi Peter,
are you making sure to use different ports for each instance
for Shutdown, HTTP/HTTPS and AJP?
Florian
-Original Message-
From: Peter Björkman [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 11, 2007 6:22 PM
To: users@tomcat.apache.org
Subject: Multiple instances problem...
Hi
Scott Purcell wrote:
> Looking at incorporating the Java Persistence API (EJB 3.0) and was
> wondering if Tomcat 5.5 supports this. It looks like we need container
> managed services and was wondering if we can use Tomcat instead of JBoss?
Tomcat doesn't support the JPA out of the box. But since
I am developer in netbeans 5.5 and tomcat 5.5.17.
I have nine servlet and i am uncomment the function INVOKER in the tomcat's
web.xml, but tomcat not find the servlet and send me this error:
03/12/2007 03:46:50 PM org.apache.catalina.core.ApplicationContext log
INFO: Marcando el servlet
org.apac
I still need help with this.
The roles I have assigned to my users aren't getting picked up by the
authentication system, either with Tomcat's LDAP auth module via
JNDI, as well as trying it in JBoss via the JbossSecurityMgrRealm.
My roles ARE assuredly correct, as well as properly defined
Anyway - I answered my own question.
I wrote a test, Keep Alive works fine with chunked content.
If anyone wants the test code let me know. (should I post it?) It
is small - about 150 lines worth, all java.
PK
Does Tomcat support Keep Alive, as a stand alone server, for
multiple Client POS
Hi kristian,
thank you for your explanation but still the topic is not clear for me. As
far I understand from your answer, I have to run the Frame fom my Client.
ok, I did it. Then, each time I call a service I try to add a new message
on my window, both from the service class and form the clien
You might look at Spring to help make this hang together
www.springframework.org
Ron
Scott Purcell wrote:
Hello,
Looking at incorporating the Java Persistence API (EJB 3.0) and was wondering
if Tomcat 5.5 supports this. It looks like we need container managed services
and was wondering if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Teh,
Teh Noranis Mohd Aris wrote:
> Now, a file name that was input by the user
> was created BUT the problem is that, when I open the file, the word
> "null" was written to the file NOT the file content.
You probably have a null content variable. St
Does Tomcat support Keep Alive, as a stand alone server, for multiple
Client POST requests to different servlet paths where both request
and response are "Transfer-Encoding: chunked"?
Is there a definition somewhere of when tomcat will drop a connection
when keep-alive is specified?
Thanks.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Björkman wrote:
> Hi! I'm setting up an environment where I need a lot of differens web
> containers running, and part of that is setting up tomcat5.0 to run
> multiple instances.
>
> I tried to find a startup/stop script and this is wha
Hello,
Looking at incorporating the Java Persistence API (EJB 3.0) and was wondering
if Tomcat 5.5 supports this. It looks like we need container managed services
and was wondering if we can use Tomcat instead of JBoss?
Thanks,
Scott
Rémy Maucherat wrote:
On 3/8/07, Gerald Holl <[EMAIL PROTECTED]> wrote:
Well, I think I can't give you access to all the details of our (secret)
project. Anyway, thanks for the offer.
Ok, I am obviously not going to look at your application. What I meant
is I would look at a minimal war (conta
I am trying to write a comet servlet using the new CometProcessor api. I am
running version 6.0.10 on windows as a service. I cannot get it to call the
event method. I am using the Nio connector. After running tomcat in debug
mode, I think I tracked the problem down to this line in
StandardWra
I have uncomment the invoker parameter in tomcat's web.xml.
How i solver this error?
03/12/2007 12:12:34 PM org.apache.catalina.core.ApplicationContext log
INFO: Marcando el servlet
org.apache.catalina.INVOKER.org.empresa.general.mvc.listado.MyServlet como
no disponible
03/12/2007 12:12:34 P
Threading issue might be due to unsafe sharing of a global variable. It
might be that in some case you don't clean it properly, explaining why
it seems to fails also with serialized request.
Also, best way to be sure request are serialized is to limit tomcat to
exactly one HTPP processor.
En l'in
Hello,
I'm experiencing problems with starting tomcat as a service under Win2003
server with jrockit jvm.
Tomcat version is 5.5.20 and it starts successfully using startup.bat
script, but when trying to start it as a service I have the following
output in jakarta-service log:
[2007-03-12 04:45:4
Hi,
I have created a web application that is running fine with the Invoker
servlet settings enabled in the "Tomcat 5.5\conf\web.xml". Next, I tried
the following:
1.> Added a web.xml in the WEB-INF directory of my application.
2.> Re-started my server.
3.> Attempted to access the homepage of
Thanks ORG. The ServletContext method solved my problem.
Rajendra
On 3/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi Rajendra,
This also confused the hell out of me.
Here are some tips
If a url is relative, its relative to the page
eg
moreInfo/Details/SomePage.htm
So its going t
Its been a really long time since I played with Applets, but if I remember
correctly I think you screwed. I dont think an applet container will let you
access a local file system and send it to a server, it would create huge
security holes. So even if you get the code right, browser will star
Thank you for the suggestion, I will check it again.
However since I managed to recreate the problem by issuing the requests
serially, waiting for the previous request to finish before issuing the next, I
thought I had eliminated any potential threading issues.
Is my assumption correct? If so, t
Hi SANGAMESHWAR,
I also had no luck with using error page tags in tomcat, they dont work.
I really think you should have a separate login page, and then let the users
navigate to frames etc.
The only way I could get an tailor made error page to display properly was
by using programmitic securit
Hello,
thanks for the clarification. I suspected something like this although the
maschine is still running reasonably well.
I will upgrade the Webserver to 2.2 as the present release came with
Oracle and seems to have no apxs-Files.
Thanks a lot,
Peter Henningsen
Senior Consultant
Rainer
59 matches
Mail list logo