I don't think any of the subsequent requests are intended functionality of
Tomcat. Having a single request be serviced more than once does not make
sense to me. I don't think it is a browser issue. I have replicated it
with both Firefox and IE. I have replicated it with standard browser POSTs
hi all,
I am using TOMCAT 6.
i have a application war file named as 'aaa.0.0.1d.war'
i need to set a context path for this application as
'/reporting-application'
so for this to work i am creating a xml file 'reporting-application.xml' and
deploying it in the conf/Catalina/locahost/ direcotry.
A simple way is to put in your web application a file named context.xml in
META-INF directory, with the following content:
?xml version=1.0 encoding=UTF-8?
Context path=/reporting-application /
then you can produce your war and deploy it as usually (a simple way is to
place it in your webapp
my requirement is to create a application specific xml file.
am i making any mistake here?
On Thu, Aug 21, 2008 at 2:35 AM, Luca Cicale [EMAIL PROTECTED] wrote:
A simple way is to put in your web application a file named context.xml in
META-INF directory, with the following content:
?xml
Hi,
We’re using Tomcat 5.5 as our Web server and intend to implement SSO for our
application. As a part of the requirement, we need to set the REMOTE_USER
environment variable with the Subject DN retrieved from the client certificate
(We’ve edited conf\server.xml, so that Tomcat listens to
On Thu, August 21, 2008 9:04 am, Sushil Dodake wrote:
hi all,
I am using TOMCAT 6.
i have a application war file named as 'aaa.0.0.1d.war'
i need to set a context path for this application as
'/reporting-application'
so for this to work i am creating a xml file 'reporting-application.xml'
In the way I explained you create a application specific xml.
the META-INF directory containing the context.xml is in your application, in
your war file.
--
From: Sushil Dodake [EMAIL PROTECTED]
Sent: Thursday, August 21, 2008 9:52 AM
To:
Bill Davidson wrote:
I've been through the docs. I've been through Google. I can't seem
to figure this out.
Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2
Client: jconsole from JDK 1.6.0_07 on Windows XP
I've got all of these in $CATALINA_OPTS and they do show up in
the java
Daniel L. Gross wrote:
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:420)
You really, really want to avoid using the InvokerServlet.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
lmk wrote:
hello all,
I try ti use tomcat security management with DataSourceRealm but I never get
authentication console, log shows that user 'Successfully passed all
security constraints'
I declare Realm inside server.xml:
Realm className=org.apache.catalina.realm.DataSourceRealm
On 21 Aug 2008, at 09:25, Mark Thomas wrote:
Bill Davidson wrote:
I've been through the docs. I've been through Google. I can't seem
to figure this out.
Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2
Client: jconsole from JDK 1.6.0_07 on Windows XP
I've got all of these in
thanks!
it seems that role is mandatory, so i add role name,
now user authenticated succefely but it he cannot access to ressources
because of exception:
exception retrieving roles for USERNAME
I defined the Roles table and role columns inside releam and the user
USERNAME has an athorized role..
Hello,
I'm just wondering if it is possible to 'remaster' or rebuild
tomcat-windows-installer,
so that i could put my war files or my webapps along with it to produce
a custom tomcat installer + my own webapps ..
Is this legal and possible ? =)
Regards,
Albert Kam
--
Do not pursue the past.
I am sorry for the long email, but I like to be complete.
I just stay with mod_jk 1.2.13 for a long time. It is used between
apache 2.0.52 and tomcat 5.5.26 each one on Linux Redhat ES4 64 bit.
There are two apache with dns load balancing and four tomcat with mod_jk
balancing. Last day I upgrade
Dominic Mitchell wrote:
On 21 Aug 2008, at 09:25, Mark Thomas wrote:
Bill Davidson wrote:
I've been through the docs. I've been through Google. I can't seem
to figure this out.
Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2
Client: jconsole from JDK 1.6.0_07 on Windows XP
Albert Kam wrote:
Hello,
I'm just wondering if it is possible to 'remaster' or rebuild
tomcat-windows-installer,
so that i could put my war files or my webapps along with it to produce
a custom tomcat installer + my own webapps ..
Is this legal and possible ? =)
Yes on both counts,
Hello,
Thanks for the quick reply !
Could you point me the way to do this ?
Like where can i find the the Installer build files for the latest tomcat
release, what installer does it use (i assume it's NSIS), and how to build
it .. I hope for some links.
Keywords for me to search would be
Kees
That one is another log file, configured at logging.properties:
1catalina.org.apache.juli.FileHandler.level = INFO
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1catalina.org.apache.juli.FileHandler.prefix = catalina.
On 20/08/2008, Kees Jan Koster [EMAIL
You have two options.
1. Rename aaa.0.0.1d.war to reporting-application.war and place it in
tomcat's webapps directory. This is the easiest and recommended method
of deployment.
2. Deploy the war file from somewhere outside tomcat's webapps directory
and add reporting-application.xml to
Can any one please guide me on the correct direction so that i don't
mess up
anything! I've never worked with Tomcat that is why i have no idea on
how to
do it.
Yes. Just open the server.xml file in tomcat's conf directory and look
for the Connector ... / elements that aren't wrapped in xml
The source code for the latest Tomcat release is in the Subversion
repository here:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/
The build script for the release package is here:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/dist.xml
The NSIS install
My web.xml descriptor missing reference to JDBC data source defined in
context.xml (resource-ref section), but web application runs just fine
and pooled data source consumed by hibernate.
From my perspective it is one setting less I have to care of. But since
it does not apply neither the
Hi all,
I am want to run my entire application on https which is developed using
struts2.So i configured my server.xml and web.xml as shown below.
server.xml
Connector port=8080 protocol=HTTP/1.1
maxThreads=150 connectionTimeout=2
On Thu, Aug 21, 2008 at 02:31:41AM +0200, André Warnier wrote:
Markus Schönhaber wrote:
[snip]
Furthermore, if I understand the OP's statement above correctly, he wants
to be able to restart the development Tomcat without affecting the
production Tomcat. That's not possible with either of
I have a problem and i can't solve it for several whole night!
I have a domain name (such as www.yourname.cn) and it resolve to an ip (such
as 222.11.11.11)
First of all, my tomcat is ZIP version.
If I use the file startup.bat which is in %TOMCAT_HOME%\bin to start tomcat,
it can bundle my
Which are the views of other people in the list?
On 21/08/2008, emerson cargnin [EMAIL PROTECTED] wrote:
Kees
That one is another log file, configured at logging.properties:
1catalina.org.apache.juli.FileHandler.level = INFO
1catalina.org.apache.juli.FileHandler.directory =
I have two applications that need two different JVM's to run. I am on a
Windows 2k environment. One application needs JVM 1.5 to run and the
other needs 1.4 to run. Is there a way to have Tomcat 5.5 run but
utilize the different JVM's for each application? When I change the
configuration to use
Parks, Lincoln R. wrote:
I have two applications that need two different JVM's to run. I am on a
Windows 2k environment. One application needs JVM 1.5 to run and the
other needs 1.4 to run. Is there a way to have Tomcat 5.5 run but
utilize the different JVM's for each application? When I
Guys,
I am running the site (mobchannel.com) which aggregates all the blogs in
www.
It does a clean update of all blogs on a per day basis and categorizes them
in so many ways
This is the one BIG site which can give you much more capabilities in the
near future.
If you find the site interesting,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Massoud,
kohanm wrote:
If I add cookie=false in Context, it's geting worse and the session in
the original browser does not work properly.
It sounds like you have not coded your webapp properly, then. If you
had, disabling cookies would have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jens,
Jens Kapitza wrote:
i think if you really will do this you can
make a warper to the session object in the tomcat app. and store all
the data in the database (select by the ip,username or id) - you have to
pass this as parameter - (or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
lmk wrote:
it seems that role is mandatory, so i add role name,
now user authenticated successfully but it he cannot access to resources
because of exception:
exception retrieving roles for USERNAME
You have not set any
OS?
Also what do you mean by tomcat's services? Do you mean jsvc or a
shell script that supports start|stop|restart?
Depending on OS and start method, you may be running into the old
privileged ports problem common on *nix systems.
Last question -- what's reported in the tomcat logs when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ed,
edponce wrote:
I know this question has been asked a lot but I've read different solutions
depending on the needs of the problem. I need to have 2 instances of tomcat
on the same server for the same application. One would be for production and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Luca,
Luca Cicale wrote:
A simple way is to put in your web application a file named context.xml
in META-INF directory, with the following content:
?xml version=1.0 encoding=UTF-8?
Context path=/reporting-application /
No, no, no.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sushil,
Sushil Dodake wrote:
i have a application war file named as 'aaa.0.0.1d.war'
i need to set a context path for this application as
'/reporting-application'
so for this to work i am creating a xml file 'reporting-application.xml' and
- Original Message -
From: Parks, Lincoln R. [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Thursday, August 21, 2008 4:43 PM
Subject: How to run Tomcat with multiple JVM's?
I have two applications that need two different JVM's to run. I am on a
Windows 2k environment. One
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Raveendra,
raveendra wrote:
But after accepting the certificate and loading the page.If i change my url
to http://localhost:8443/myapp/start.action just by removing 's' it is
loading the pages
with some GUI errors and after traversing couple of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Smith wrote:
OS?
See below.
Also what do you mean by tomcat's services? Do you mean jsvc or a
shell script that supports start|stop|restart?
Depending on OS and start method, you may be running into the old
privileged ports
On 21 Aug 2008, at 09:25, Mark Thomas wrote:
Add some logging to your firewall configuration to see what is being
dropped.
Dominic Mitchell wrote:
That should help, but it's likely to be a different port in use each
time. Because JMX uses RMI by default, and RMI uses two ports: a fixed
port to
Hi,
I have different instances of tomcat running on different ports of the same
machine. The processes are running as different users. In this case could a
user different than the one who launched the process connect to the tomcat
shutdown port and cause the other instance to shutdown?
It
An easy kludge is to run jconsole locally on the server and send the
display to yourself.
ssh -Y yourserver (or ssh -X server YMMV)
$JAVA_HOME/bin/jconsole pid
No iptables tricks needed.
-Tim
Bill Davidson wrote:
Is this random port opened by the server side (Tomcat) or the client side
Dear Bill,
I've been through the docs. I've been through Google. I can't seem
to figure this out.
Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2
Client: jconsole from JDK 1.6.0_07 on Windows XP
I've got all of these in $CATALINA_OPTS and they do show up in
the java command line
I solve it , the reason is the windows firewall block the port 80!
thanks in advance!
David Smith-2 wrote:
OS?
Also what do you mean by tomcat's services? Do you mean jsvc or a
shell script that supports start|stop|restart?
Depending on OS and start method, you may be running
Fu-Tung Cheng wrote:
Hi,
I have different instances of tomcat running on different ports of the same
machine. The processes are running as different users. In this case could a
user different than the one who launched the process connect to the tomcat
shutdown port and cause the other
Tim Funk wrote:
An easy kludge is to run jconsole locally on the server and send the
display to yourself.
ssh -Y yourserver (or ssh -X server YMMV)
$JAVA_HOME/bin/jconsole pid
No iptables tricks needed.
I'm running the client on a Windows machine. I did try Cygwin/X
and an ssh tunnel with
vnc might have acceptable performance. Not sure if you'd run into issue
by installing vncserver.
-Tim
Bill Davidson wrote:
Tim Funk wrote:
An easy kludge is to run jconsole locally on the server and send the
display to yourself.
ssh -Y yourserver (or ssh -X server YMMV)
I can't configure Tomcat with IIS web server with the tomcat-connector!
My server's os is 64bit Windows2003, IIS is 6, Tomcat is 6.
I tried to download the file isapi_redirect-1.2.26.dll (64bit version),add
it as an ISAPI filter, and I added the directory which
isapi_redirect-1.2.26.dll in as a
Thanks for the response.
The shutdown port is used to shutdown the application this can include things
that need to cleanup or flush data to disk. It is used by the stop scripts so
if I completely disabled it then I couldn't stop the server properly..
I am sure there must be an option in the
On Thu, Aug 21, 2008 at 1:07 PM, Fu-Tung Cheng [EMAIL PROTECTED] wrote:
I am sure there must be an option in the stop script to require a
username/password.
And I'm sure that wouldn't matter -- it's simply a matter of telneting to
that port and issuing the shutdown command, no script required
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fu-Tung,
Fu-Tung Cheng wrote:
I have different instances of tomcat running on different ports of
the same machine. The processes are running as different users. In
this case could a user different than the one who launched the
process connect
Christopher Schultz schrieb:
As Andre points out, there is no way to restrict TCP/IP ports to certain
users.
Well, no way is a bit strong a statement. For example Linux' netfilter
provides an owner match for locally generated packets. This should be
usable to indeed create a per-user
The simple solution (from Filip):
Set the shutdown port to -1.
Use kill to stop Tomcat.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hello,
I represent the Center for Internet Security (www.cisecurity.org). We
are a non-profit organization that leverages volunteer minds and a
consensus process to create free security configuration guides for
various technologies. We have created an initial draft of a Tomcat
5.5/6.x guide
Arun a écrit :
Guys,
I am running the site (mobchannel.com) which aggregates all the blogs in
www.
It does a clean update of all blogs on a per day basis and categorizes them
in so many ways
This is the one BIG site which can give you much more capabilities in the
near future.
If you find the
The zipped folder attached (
http://www.nabble.com/file/p19099859/struts-beans.tar.gz struts-beans.tar.gz
) is ready for deployment on Tomcat. It contains a very basic sample app to
illustrate the problem we are facing. With the Filter in place, whenever we
don't have a session and the initial
Hello -
I'm writing a servlet to allow large-file uploads (with ranges and
resume). One issue I noticed was that if the range is invalid (I do the
checks in doPut), and I return a 416, the client (curl in this case)
continues to upload the body (possibly gigabytes of data that will be
Yes i am sure, initially when i type my default url
http://localhost:8080/myapp/start.action
it is getting redirected to https://localhost:8443/myapp/start.action.
But after accepting certificate and page is loaded if i remove s from
redirected url it is still
loading the page.It shouldn't even
58 matches
Mail list logo