Kimberly Begley wrote:
Hi,
The starting point of the app is the user uploading a zip file the file is
processed and a summary of the results displayed (in the form I spoke of).
It's basically a form that doesn't have any parameters but displays a button
that goes to the report.jsp page when
Great - thanks!
On Wed, May 28, 2008 at 5:14 PM, Pid [EMAIL PROTECTED] wrote:
Kimberly Begley wrote:
Hi,
The starting point of the app is the user uploading a zip file the file is
processed and a summary of the results displayed (in the form I spoke of).
It's basically a form that doesn't
It seemed I was getting close to a solution on this issue, so I'm posting this
again in the hope that someone will know what's going wrong.
This IPv6 ping doesn't work, and it's causing a lengthy freeze in the tomcat
start-up (see bottom).
This is on Debian Etch linux 2.6.20 - can anyone
maux wrote:
Hi,
I would like to know how can i catch the catalina_home variable in a java
code.
Thanks in advance.
System.getenv()
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Hi James,
2008/5/22 James Law [EMAIL PROTECTED]:
Can anyone help with the below error? We have just changed from a FC8
box with the default install (Test Box) to a FC8 box with a more
stripped down install (both the same machines)
With the stripped down install we now get the following
Hi,
I would like to know how can i catch the catalina_home variable in a java
code.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Obtain-catalina-home-variable-tp17509750p17509750.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
Hi all.
Is there a way to configure my Tomcat 5.5 installation to not deploy some of
the applications that lie in the webapps directory? I don't want to touch
anything inside those webapps for different reasons.
Thanks in advance,
R
--
View this message in context:
Ingo Siebert wrote:
Hi,
I have to find a good solution for the configuration of my web
application.
Right now, i have a configuration file in my WAR.
But I think it's not the best solution, because
- I can't the change the config before deployment
- a redeployment of a new WAR replaces my
David kerber wrote:
-DmyApp.configFileName=e:\TomcatClients\myApp\myApp.properties
Then my webapp can read the filename using a System.getProperty() call.
System properties are at JVM level, so it is quite possible to have two
webapps which will use common property names.
--
Mikolaj
Ingo Siebert wrote:
I have to find a good solution for the configuration of my web
application.
Right now, i have a configuration file in my WAR.
But I think it's not the best solution, because
- I can't the change the config before deployment
- a redeployment of a new WAR replaces my
Mikolaj Rydzewski wrote:
David kerber wrote:
-DmyApp.configFileName=e:\TomcatClients\myApp\myApp.properties
Then my webapp can read the filename using a System.getProperty() call.
System properties are at JVM level, so it is quite possible to have
two webapps which will use common property
David kerber wrote:
Mikolaj Rydzewski wrote:
David kerber wrote:
-DmyApp.configFileName=e:\TomcatClients\myApp\myApp.properties
Then my webapp can read the filename using a System.getProperty() call.
System properties are at JVM level, so it is quite possible to have
two webapps which will
Hi,
I have to find a good solution for the configuration of my web application.
Right now, i have a configuration file in my WAR.
But I think it's not the best solution, because
- I can't the change the config before deployment
- a redeployment of a new WAR replaces my changes
I think nearly
Hi
SPEC
1)Apache 2.2.8
2) TOMCAT 6.0.16 (2 nos)
3) mod_jk-1.2.26-httpd-2.2.4.so (win32)
4) WIN2000 (spk 4)
5)JSDK 1.6
Clustering has been done as explained in the tomcat doc
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
I have just copied the basic settings as declared in the
To the best of my knowledge I don't think you can pick and choose. But
you can stop tomcat from autodeploying apps (see below) and deploy the
applications you want using the Manager or the client deployer
(http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html).
To disable autodeploy, you
Thank you for the answers.
I see one additional problem. If I deploy two different versions of the
web app on the same tomcat, it is not possible configurate them separately.
That's important for me, because I have only a limited number of servers
and I have to deploy more than one version
Thanks. It got me one step further. Now I need to check out if I can specify
that not all of the apps are held back during startup. I might also start
the one app I need manuelly. So, again thanks :-)
R
Florian Kirchhoff wrote:
To disable autodeploy, you may want to take a look at:
Ingo Siebert wrote:
Thank you for the answers.
I see one additional problem. If I deploy two different versions of
the web app on the same tomcat, it is not possible configurate them
separately.
That's important for me, because I have only a limited number of
servers and I have to deploy
Ingo Siebert wrote:
I see one additional problem. If I deploy two different versions of
the web app on the same tomcat, it is not possible configurate them
separately.
That's important for me, because I have only a limited number of
servers and I have to deploy more than one version at the
karthikn wrote:
snip/
TOMCAT1 .server.xml is as follows
snip/
Connector port=8081 protocol=HTTP/1.1 connectionTimeout=2
redirectPort=8443 /
Connector port=8009 protocol=AJP/1.3 redirectPort=8443 /
Engine name=Catalina defaultHost=localhost jvmRoute=node01
snip/
TOMCAT2
As you may see from your logs:
[Wed May 28 18:45:28 2008] [1316:1392] [info] jk_ajp_common.c (869):
Failed opening socket to (127.0.0.1:8009) (errno=61)
You forgot to specify different ports for your AJP/1.3 connectors.
They both try to start listening on port 8009, but that is not
possible,
For Tomcat 5.5, that implements the Servlet 2.4 specifications which you
can download at:
http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
you're looking for the deployment descriptor sections that describe
web.xml. But it's a bit dry
(unless you enjoy reading XML schemas).
Add a context-parameter to your web.xml pointing to a resource
(a file or whatever) that contains your configuration. Read that
configuration during startup of your webapp.
Original-Nachricht
Betreff: Re: Best practice? configuration of a web application
Von: Ingo Siebert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Karthik,
You've got your ports all fouled up. See below.
karthikn wrote:
| TOMCAT1 .server.xml is as follows
[snip]
| Connector port=8009 protocol=AJP/1.3 redirectPort=8443 /
[snip]
| TOMCAT2 .server.xml is as follows
[snip]
| Connector
Thanks for your help, Mark.
But one more question, with that method i have to add the CATALINA_HOME
variable to the environment variables, don´t I?
I have seen that when you install Tomcat, if you press twice the icon of
Tomcat that appears on the task bar, there is a variable with the route of
If I wanted to do that, I'd explicitly create the application context
(that is, make a context descriptor file at
$CATALINA_HOME/conf/Catalina/$HOST/$APP/context.html) and enclose a
context-parameter to point to the configuration file.
And I don't think it's at all unreasonable to want to do
Hi,
I previously posted about shutdown issue:
From a frew days till now, Tomcat startup runs ok, but I have to use Ctrl+C to
shutdown.
Shutdown.bat file shows no errors 1st time, console does not begin to close,
and more calls to shutdown.bat give a connect error.
This happens with Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kimberly,
Kimberly Begley wrote:
| By putting in a few statement I found out the report.jsp is returning true
| to the session.isNew() function - I suppose that's why it can't see the
| variables. The session timeout is set to 1800 seconds.
Okay,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kimberly,
Kimberly Begley wrote:
| Great - thanks!
Pid's suggestion might fix the symptom, but I believe you have an
underlying problem to look into.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with
Mikolaj Rydzewski wrote:
Ingo Siebert wrote:
I have to find a good solution for the configuration of my web
application.
Right now, i have a configuration file in my WAR.
But I think it's not the best solution, because
- I can't the change the config before deployment
- a redeployment of a
Sorry, I meant it is NOT app related. I think you got the point afterwards...
What do I have to do to debug a bit deeper?
Changing Tomcat log levels from INFO to FINE do not reveal anything in the log
files.
How can I see the connection status in Windows?
I'm using CurrPorts to look at ports and
This is a computer bug, it is app related, because I have the shutdown ant HTTP
freeze symptoms
with a clean unzip of tomcat 6.0.16, without even my app on it.
I think something is bugged in my OS, but I can't tell what is it...
and I don't want to format my disk right now...
Regards,
João
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
João,
Noronha, Joao wrote:
| I previously posted about shutdown issue: From a few days till now,
| Tomcat startup runs ok, but I have to use Ctrl+C to shutdown.
| Shutdown.bat file shows no errors 1st time, console does not begin to
| close, and
According to the Jasper documentation at
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html,
Jasper 2 can now detect when a page included at compile time from a JSP
has changed and then recompile the parent JSP.
but this does not seem to work, at least not when compiling using the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
João,
Noronha, Joao wrote:
| Sorry, I meant it is NOT app related. What do I have to do to debug a
bit deeper?
If you suspect your hardware, why not test it? I recommend using
memtest86+ (I'm assuming an Intel/AMD architecture since you're running
I'm trying to debug this on the Tomcat side, but I cannot see any HTTP request
/ response data.
Is it possible to configure a standalone Tomcat to log HTTP requests?
No answers for these 2 posts on the matter:
http://www.servlets.com/archive/servlet/ReadMsg?msgId=54831listName=tomcat-user
Hi,
I have form authentication working if I place the Realm element in
server.xml, using JDBCRealm.
I'm trying to move the realm element out of server.xml to
META-INF/context.xml according to
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
In doing so, I get
ERROR JAASRealm:269 -
Found the problem...the issue that I had was the following: I didn't
realize that the webapp that I was trying to change was using a redirect
servlet in a different project (which didn't implement CometProcessor).
Once I disabled the redirect servlet, things started to work...
So that brings me
Hey list,
I've got a Tomcat 5.5.25 installation up and running for the most part.
However, on the index.jsp on the main page (http://example.com:8080),
the Status and Tomcat Manager links both result in 404's.
My Tomcat/Catalina home is /usr/share/tomcat5. My main webapps folder
is in
From: Carol Cheung [mailto:[EMAIL PROTECTED]
Subject: moving realm from server.xml to context.xml
I have form authentication working if I place the Realm element in
server.xml, using JDBCRealm.
In doing so, I get
ERROR JAASRealm:269 - Unexpected error
Regardless of what you say you
From: Ryan Steele [mailto:[EMAIL PROTECTED]
Subject: Status and Tomcat Manager links result in 404's
I've got a Tomcat 5.5.25 installation up and running for the
most part.
Platform?
JRE/JDK version?
Do you have a real Tomcat installed, or a 3rd-party repackaged piece of junk?
If the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
João,
Noronha, Joao wrote:
| I'm trying to debug this on the Tomcat side, but I cannot see any HTTP
request / response data.
:(
| Is it possible to configure a standalone Tomcat to log HTTP requests?
Of course. You can log request information
Hi all, I have a linux host account with godaddy.com, I try to deploy my war
file but it doesn't work, I called godaddy support and they said my
index.jsp is not pointing to the right file but I test it on tomcat that run
on my PC and every thing seem to work fine.
Here is what I did...
- ftp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
tamnle123,
tamnle123 wrote:
| I try to deploy my war
| file but it doesn't work
[snip]
| Here is what I did...
| - ftp war file (called myweb.war) to linux root directory
When you say root to you mean your home directory, or do you mean
/? I
Thanks Chris,
root directory is / not home directory, I think with godaddy root and home
directory are the same. If I extract all directory out of mysite.war to root
directory and delete mysite.war and edit index.jsp to point to just
home.do then it would work ?
Christopher Schultz-2
if u want, U can buy Solaris 10 VPS using Zone technology, best for Java :)
even u can run glassfish :)
On Thu, May 29, 2008 at 1:40 AM, tamnle123 [EMAIL PROTECTED] wrote:
Thanks Chris,
root directory is / not home directory, I think with godaddy root and
home
directory are the same. If I
On Wed, May 28, 2008 at 1:10 PM, tamnle123 [EMAIL PROTECTED] wrote:
root directory is / not home directory, I think with godaddy root and home
directory are the same.
!? Why would you think they're the same, and why would you think
that's the place to deploy a WAR file? Both sound bizarre to
Juha Laiho wrote:
Then the interface between container and application will be
documented as:
The application requires data element XXX in container JNDI context,
in order to locate YYY.
This way (when taken to completion) it becomes possible to deploy
exact same .war
file into test and
Mikolaj Rydzewski wrote:
Very good! Should be in the FAQ.
The FAQ is hosted on a public wiki. There is nothing stopping you (or
anyone else) adding to it.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Hello Group,
I installed my tomcat 6.0 last week. And first time I was able to see the
default page at http://localhost:8080, which sits at
$CATALINA_HOME/webapps/ROOT/index.html
all right on Firefox browser and not on IE.
But today I am not able to see the page on any of the browser.
During
Caldarale, Charles R wrote:
From: Ryan Steele [mailto:[EMAIL PROTECTED]
Subject: Status and Tomcat Manager links result in 404's
I've got a Tomcat 5.5.25 installation up and running for the
most part.
Platform?
JRE/JDK version?
FC6 and 1.4.2, respectively. They are outdated, but I
We had this working with Tomcat 5.5 and now with Tomcat 6 we are having issues.
The Docs (http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm)
Place a copy of the JNDI driver you will be using (typically ldap.jar
available with JNDI) inside the $CATALINA_HOME/lib directory.
Where
From: Ryan Steele [mailto:[EMAIL PROTECTED]
Subject: Re: Status and Tomcat Manager links result in 404's
I hope that continuing to use the Fedora packaged version
doesn't preclude any further advice.
It pretty much does, since those repackaged things are horribly unreliable.
You mean, the
That what they said, I can create .war file under root (/) and it will
explosed when tomcat service restart. I also extract everything under .war
to root directory but sill not working, godaddy doesn't required home
directory, here is my index,.jsp on root and I am not sure If I do this
right...
This is share server.
Partha Goswami-2 wrote:
if u want, U can buy Solaris 10 VPS using Zone technology, best for Java
:)
even u can run glassfish :)
On Thu, May 29, 2008 at 1:40 AM, tamnle123 [EMAIL PROTECTED] wrote:
Thanks Chris,
root directory is / not home directory, I think
On Wed, May 28, 2008 at 4:12 PM, tamnle123 [EMAIL PROTECTED] wrote:
That what they said, I can create .war file under root (/) and it will
explosed when tomcat service restart. I also extract everything under .war
to root directory but sill not working, godaddy doesn't required home
Hello,
I had a need for my JavaScript to know the pathing of the webapp it
came from and the most straightforward way was to use the JSP
processor on it.
This worked nicely.
However, I lost all the headers that allow the browser to cache the
contents.
I did my own hacky servlet filter
The answer is correct as a direct match to the question, but I would
recommend using the following code instead:
System.getProperty(catalina.home)
System.getProperty(catalina.base)
The catalina.bat / catalina.sh script passes values of CATALINA_*
environment variables as system properties, when
Thanks Hassan, Yes, this is jscripts. Someone oversea compile and setup
everything for me so I wasn't sure how things suppose to work. Although I
try to setup the same with tomcat on my PC and it work just fine but I did
use .war on my PC, now on host server I tried to extract everything out of
On Wed, May 28, 2008 at 5:18 PM, tamnle123 [EMAIL PROTECTED] wrote:
ie still complain that page not found.
IE's friendly error messages have misled people before; are you
*sure* you're getting a 404 and not something else? Use Firefox or
Opera or wget or something.
And if you /are/ getting an
- Original Message -
From: Jim Willeke [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, May 28, 2008 11:39 PM
Subject: JNDI Realm
We had this working with Tomcat 5.5 and now with Tomcat 6 we are having
issues.
The Docs
Nope.. Nothing to do with godaddy being bad (whatever thats supposed to
mean..?)
do is a struts webapp
you need to supply ./WEB-INF/struts-config.xml to diagnose
send support emails to [EMAIL PROTECTED]
Martin
- Original Message -
From: tamnle123 [EMAIL PROTECTED]
To:
Hello all,
I have created a web service using JAX-WS and deployed my .war and it runs
fine, but now I want to convert some hard-coded config values to read values
from the WEB-INF/web.xml file that was created/deployed.
I have addes something like the following to my web.xml:
63 matches
Mail list logo