Protected Mail System Test.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
One part of a site I've done has automatic SSL redirection using the
transport-guarantee element in web.xml to ensure SSL communication
with the sensitive parts of site.
The other parts of the site I'd like not to be encrypted. If I go to
the secure part, however, then back to a non-secure
I would like to use .htacess of Apache aproach to restrict user access.
It works fine on normal html site, but does not work on JSP base site, what
else I need to do to achieve. thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi all
Each time I (re)start tomcat (5.0.27) and try to run my webapp I get
The requested resource (xxx) is not available.
But if I call ant install I get an error: Application already exists at path /xxx
I have to do ant remove, ant install in order to make the webapp running.
Does anyone know
Please read the attached file!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
No. There is no way to say the transport must be http (and not https).
You'll need a filter or code it into each resource that has that issue.
-Tim
Michael Eastwood wrote:
Hi,
One part of a site I've done has automatic SSL redirection using the
transport-guarantee element in web.xml to ensure SSL
On Thursday 26 August 2004 08:00 pm, Nelson, Jerry W, Contractor 146CF, SCB
wrote:
Everything I see refers to JDK. The only thing I can find is SDK. Are
they the same???
The JDK (Java Development Kit) is also reference as the J2SDK (Java 2 Software
Development Kit).
--
Darryl L. Pierce
On Thursday 26 August 2004 08:24 pm, Nelson, Jerry W, Contractor 146CF, SCB
wrote:
I completely romoved EVERTHING that has anything to do with Java and
reinstalled J2SDK1.4.2_05 and JRE1.4.2_05
The J2SDK *comes with* the appropriate JRE. You don't need to install a
separate JRE.
--
Darryl
On Thursday 26 August 2004 11:44 pm, Nelson, Jerry W, Contractor 146CF, SCB
wrote:
That didn't work either and I have been researching this for a week, some
days as many as 10 hours.
JAVA_HOME must point to the *root directory* where you J2SDK is installed. In
my case, it points to
On Friday 27 August 2004 01:10 am, Dennis Dai wrote:
Of course it will not work!
First, I believe the environment variables need to be CAPITALIZED, as in
%JAVA_HOME% and %CATALINA_HOME%.
On Windows it *does not matter* since all environment variables are converted
to uppercase at runtime.
Ok, but running as a service offers it's own set of complexities. For
instance, the environment variables you've set (JAVA_HOME and
CATALINA_HOME) may not be visible to the Tomcat service. This is a
reality of services under Windows, not anything to do with Java or
Tomcat. Also, that handy,
I'm trying to get an application I have to use the SecurityManager object
from Tomcat.
I've added the -security to my startup so that it is enabled.
When I do a System.getSecurityManager() it returns a null object.
If I try and create my own SecurityManager and set it via
Hi there,
I'm running Tomcat 5.0.19 with Apache 2.0.49 on a SuSE 9.1 machine.
When booting up the machine, the Tomcat won't start, although the startup
script is installed properly. When inspecting the /var/log/base/catalina.out
file, I find an entry like this:
27.08.2004 14:03:20
Hi,
This suggests an environment difference between your boot startup and
executing the /etc script once you're logged in. You might need to
explicitly add the LOCALE and similar environment settings to your boot
startup script.
Yoav Shapira
Millennium Research Informatics
-Original
Hola,
Do you get the message (requested resource is not available) when you
try to access a specific page? Is it an HTTP 404 error?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Rostislav Svoboda [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 5:50 AM
Hi,
You need to achieve a subscription to the httpd-user mailing list and a
response there ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 4:41 AM
To: Tomcat Users List
Subject: Tomcat 4
Do you get the message (requested resource is not available) when you
try to access a specific page? Is it an HTTP 404 error?
Yes it is HTTP 404 error:
HTTP Status 404 - /migration/Login.html
type Status report
message /migration/Login.html
description The requested
On Fri, Aug 27, 2004 at 01:24:41PM +1000, Singh, Vishal wrote:
: Apologies for missing the actual error message as following
: java.lang.OutOfMemoryError
Hello,
Did you search the archives? This question comes up quite a bit, and
the answer is the same:
load-test your app to see how much
On Thu, Aug 26, 2004 at 07:32:47PM -0800, Wei Wei wrote:
: I guess the web.xml file you mentioned is the one under the conf directry.
Actually, no -- there should be one web.xml per webapp:
{webapp}/WEB-INF/web.xml
-but if that doesn't exist, it's a moot point.
Browser/proxy caching
LocationMatch ^/(?!private)
JkUriSet ...
/LocationMatch
this also works for multiple directories:
LocationMatch ^/(?!private|private2|private3)
Charlie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 8:41 PM
To: [EMAIL
Hi,
The usual reason for this error is a mismatch between the contents of
your web.xml file and what you actually want to do ;) The second most
common reason is a server.xml configuration error. Is Login.html really
a static HTML file or a servlet/JSP? If the latter, is it properly
mapped in
Hi all,
I have embedded Tomcat according to the onjava article (created Embedded,Engine,Host,
Context). I can access resources in the wrapping application from my servlets via
static calls for example. What would be the proper way of passing references of
objects that I have created in my
-Original Message-
From: Sean Finkel [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 3:52 PM
To: Tomcat Users List
Subject: Re: Tomcat causes Apache to hang. Any ideas?
Sorry, this is a shared server, and he wants his site available on port
80.
Tomcat
Maybe I am missing something, but wouldn't that not be able to bind to
port 80 since Apache is already bound to it? There is a lot about the
Java world I am not familiar with, so maybe it can...
You would need separate ip addresses for apache and tomcat.
Aye I figured as much
And
Hi,
I've moved to Tomcat 5 over the last week but I now find a JSP
that worked on Tomcat 4.1.24 fails when it gets to the x:transform.
I can't find an error anywhere.
I looked at the JSTL 1.1 spec' (that's what Tomcat 5 uses right?) and
noticed x:transform parameters changed from
Hi all.
I'm having some trouble using Tomcat 5.0.27 and using it as a layer for
a XML-RPC server
using Apache XML-RPC package. I'm not sure if this is a Tomcat relevant
problem, but
the webserver that comes with the XML-RPC behaves differently.
The problem is as follows:
I call an XML-RPC
Hi Yoav,
Thanks for the response. I do not get the 404 error anymore after
implementing the changes. But when I access the servlet using
http://host:port/myApp/HelloServlet,
I do not get get any response and I get a blank screen. I am
attaching my modified servlet code and web.xml
Why am I
Where did you add the -security? Did you move the catalina.policy file?
System.getSecurityManager() returning null is generally taken to mean
that the JVM is not running under the manager at all: this is obvious, I
know, but it also indicates the converse. So if you start a security
manager
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks for your reply. Unfortunately I don't know what you exactly mean.
I uploaded the startup script to:
http://www.wesser.net/tomcat/tomcat.tar.gz
Maybe you could have a look at this and describe what I have to modify.
This would be great.
Regards,
THANK YOU TO ALL OF YOU THAT HELPED.
I finally took Jakes sugestion. I abandoned the Tomcat EXE and downloaded
the zip file from Jakarta, unzipped it into the Tomcat directory and setup
the environment as all of you had instructed and it FINALLY works, although
it would be nice if I could run
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 8:41 PM
To: [EMAIL PROTECTED]
Subject: Please help with jk2/tomcat5
Hello list members,
Running Linux Fedora core2, apache2, tomcat5, jk2
In my
I've actually moved away from using -security.
I now have a plug-in that uses Security.getProperty() to get the policy.url
definitions and then adds the catalina.policy and my app's policy file's via
Security.setProperty() and then a Policy.getPolicy().refresh();
This way I can add different
Quoting Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED]:
In the envorinment settings they are capitalized, it's just the way I typed
the echo command.
I also tried the %CATALINA_HOME% pointing to where you said, it didn't work
either.
Cheerfully waiting for more suggestions...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 12:32 PM
To: 'Tomcat Users List'
Subject: RE: Please help with jk2/tomcat5
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August
I can't give you any advice on using JDK 1.5b2 because I've never used it
before. I can tell you that my transformations work fine under JDk 1.4.2_05 and
I always have the latest versions of Xerces, xml-apis, and Xalan in an endorsed
directory (either jre/lib/endorsed or common/endorsed).
Jake
Hello,
I noticed that you mentioned the server specification. I have seen it
mentioned before, many times. But where is it? I have searched for it at
java.sun.com and all I get is a Javadoc *reference* of some classes. Is
this the so-called 'specification'? Shouldn't it be a *text*?
And what is the difference then when I set unpackWARs=true?
TIA,
Gerardo
On Mon, 23 Aug 2004, Donie Kelly wrote:
How then does it do it when you set unpackWARs=false?
It doesn't do it at all. You have to do it manually...
Donie
-Original Message-
From: Anthony Colebourne
Hello all. I'm trying to get SSL working on my Tomcat 5.0.27 instance...
I've read all the how-to's and spent an hour Googling, but I can't get past
an issue I'm having...
I have the following entry in my server.xml:
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8443
From: [EMAIL PROTECTED]
I noticed that you mentioned the server specification. I have seen it
mentioned before, many times. But where is it? I have searched for it at
java.sun.com and all I get is a Javadoc *reference* of some classes. Is
this the so-called 'specification'? Shouldn't it be a
I've got two custom tasks for tomcat's manager app:
taskdef name=deployclassname=org.apache.catalina.ant.DeployTask/
taskdef name=install classname=org.apache.catalina.ant.InstallTask/
target name=deploy description=Install web application
deploy url=${url} username=${username}
Hola Frank,
I'm doing it too. My server.xml configuration is:
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8443 minProcessors=5 maxProcessors=75
enableLookups=true disableUploadTimeout=true
acceptCount=100 debug=0 scheme=https
Hi
I'm also having this problem with Jboss and Tomcat 4.1.27. How did you get over it in
the end?
Does anybody know more about this?
Your help will be very much appreciated.
Thanks
Maurizio Sturlesi
[EMAIL PROTECTED] wrote:
We have recently migrated our Servlet based ecommerce web site from
Here's what I do (only relevant targets below)...
presetdef name=preset-catalina-deploy
catalina-deploy
url=${manager.url}
username=${manager.username}
password=${manager.password}
path=/${app.war.name} /
/presetdef
target
Hello dudes, i´m trying to store a value to a CLOB in my databse,
everything is fine with a simple Connection created with DriverManager, but
when i use DBCP from one of these servlet-engines i got the same error:
ava.sql.SQLException: invalid arguments in call
04/08/27 11:56:44 at
Hi,
You gave too little code for concrete help to be easy ;) What are the types returned
from .getDbCon() and getCon() ? Judging from the rest of your code, you're probably
expecting an Oracle-specific type?
In general, try to use the JDBC API as much as possible and vendor-specific
Howdy,
Apparently, the Connections returned from the DriverManager and the DBCP
are not equivalent ;-). How is the DBCP getting Connections to Oracle?
/Robert
Edson Alves Pereira wrote:
Hello dudes, i´m trying to store a value to a CLOB in my databse,
everything is fine with a simple
Hi,
Has anyone had success setting up an IIS webserver to serve up
JSP/Servlets from another machine running Tomcat 5 using the Jk2
connector?
I am running a webserver with Win2003 Server (ipwww1), and an app
server with Win2003 Server and Tomcat5 installed (ipwo1). I can pull
from
JDK 1.4.2
Tomcat 5.0.19
I'd be ecstatic if someone sheds some light on why I see this in my log:
2004-08-27 10:14:31,324 [http8080-Processor24] DEBUG
org.apache.catalina.core.ApplicationDispatcher - Disabling the response
for futher output
The context is:
2004-08-27 10:14:31,262
Hello again, servlet_.getDbCon( ).getCon( ) returns just a
java.sql.Connection, with every DBCP i setup properly cause the connection
works fine and CLOB is a oracle.sql.CLOB from oracle´s ojdbc14.jar. I tried
once to store CLOBs in Oracle with jdbc standard and it didn´t workout, i
just
Hi,
Maybe something is close the response writer? Maybe
ImportResponseWrapper is doing that? Anyways, grep
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s
hare/org/apache/catalina/core/ApplicationDispatcher.java?rev=1.39view=m
arkup for Disabling the response if you're
Hola,
Just to clarify, is it true that you can store a CLOB if the
java.sql.Connection is
obtained directly from Oracle's DriverManager?
But when you use a java.sql.Connection from DBCP, everything else being
the same,
you can not store a CLOB?
If that's the situation, then there has to be
Hi,
Well, it could be something is trying to cast java.sql.Connection to any underlying
implementation (e.g. an oracle.jdbc connection). That'll work when running with a
DriverManager, but not with a pool in the middle, because the pool will have its own
class. DBCP has
Is there any way to programmatically get the location that Tomcat expanded
your applications jar?
For instance, I have an application war named test.war and it deploys to
c:/tomcat/webapps/test/etc.
I'd like to be able to retrieve the c:/tomcat/webapps/test.
Is there anyway to get that or
Hi,
You could try ServletContext#getRealPath(/).
That will only work when a WAR is unpacked. Servlet containers are not
required to support unpacked WAR deployment, and will return null to all
getRealPath calls if running the webapp from a packed WAR.
Moreover, your question suggests
I have tried using a lot of different regexps in the allow attribute of
the valve element but have not had any luck.
All I want is a regexps that validates that the dns is from .gc.ca
Any help would be appreciated...thanks
Andrew
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
I am running ASP.NET(with IIS) and Apache-Tomcat on the same computer. In
IIS, I can give the IIS a name. Can I do the same thing with Aapche-Tomcat.
This way I can access either one by entering http://servername
http://servername as opposed to http://localhost http://localhost or
yes, if you in your \windows\system32\drivers\etc\hosts file
you can add
127.0.0.1localhostservername
and servername will map to localhost
filip
- Original Message -
From: Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED]
To: Tomcat Users List (E-mail) [EMAIL PROTECTED]
\.gc\.ca$
- ends with .gc.ca
Filip
- Original Message -
From: Sinkinson,Andrew [NCR] [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 27, 2004 3:01 PM
Subject: RE: Configuring RemoteHostValve
I have tried using a lot of different regexps in the allow
What do I need to download to establish/create a JDBC connection?
//SIGNED//
Jerry Nelson
OK, so would it look something like this:
127.0.0.1:8080 localhost tomcat
127.0.0.1 localhost windows
or am I completely off?
In IIS I physically named the server; can I phyically name the Tomcat
server?
//SIGNED//
Jerry Nelson
-Original Message-
From:
You need a JDBC driver for your selected DBMS
Nelson, Jerry W, Contractor 146CF, SCB escribió:
What do I need to download to establish/create a JDBC connection?
//SIGNED//
Jerry Nelson
--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com
That would Microsoft Access and Microsoft SQL.
//SIGNED//
Jerry Nelson
PS,
I can't receive attachments unless you rename them.
-Original Message-
From: John Villar [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 1:39 PM
To: Tomcat Users List
Subject: Re: JDBC connections
You
You should be able to use the standard sun.jdbc.odbc.JdbcOdbcDriver class to
connect to those DMBS's.
Robert S. Harper
801.265.8800 ex. 255
-Original Message-
From: Nelson, Jerry W, Contractor 146CF, SCB
[mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 2:39 PM
To: 'Tomcat
IIS doesn't physically name anything, it appearently sets up an internal DNS for you.
and I showed you the same way by using the hosts file on your computer
127.0.0.1localhostwindowstomcat
if you type
http://tomcat:8080/ (it will translate into http://127.0.0.1:8080/
same way as
Hello,
Can someone please help me get SSL working? I have tried (and searched) for
everything
I can think of.
Here's the relevant snippet from my server.xml file:
Connector className=org.apache.coyote.tomcat5.CoyoteConnector
port=8443
maxThreads=150
With Access, AFAIK, you are going to need the ODBC Bridge driver (That
would imply establishing a system DSN on the ODBC options and using the
bridge driver just search the web)
For SQL Server, use the lastest version of jTDS at http://jtds.sf.net
Nelson, Jerry W, Contractor 146CF, SCB
OH...OK. Guess there is no getting around typing in the port number.
Thanks
//SIGNED//
Jerry Nelson
-Original Message-
From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 1:52 PM
To: Tomcat Users List
Subject: Re: ASP.NET and Tomcat on same computer
IIS
I'm afraid I don't see exactly how that explains why I'm getting that exception
message.
--- Jacob Kjome [EMAIL PROTECTED] wrote:
Here's what I do (only relevant targets below)...
presetdef name=preset-catalina-deploy
catalina-deploy
url=${manager.url}
you can setup a port forwarder that redirects traffic from 80 to 8080 if you want, or
you can change tomcat to use port 80 :)
Filip
- Original Message -
From: Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, August 27,
From: Filip Hanik - Dev [EMAIL PROTECTED]
you can setup a port forwarder that redirects traffic from 80 to 8080 if
you want, or you can change tomcat to use port 80 :)
Not if IIS is already using it... which seems to be the case here. Jerry,
are you intending to have IIS and Tomcat running at
From the exception you quote it is obvious the deploy task is not
executing a zip/unzip/jar/unjar command properly. Where are these tasks
defined?
Gerardo
I'm afraid I don't see exactly how that explains why I'm getting that
exception message.
--- Jacob Kjome [EMAIL PROTECTED] wrote:
Thanks for the code reference. I looked at it and the message I
highlighted is logged immediately after the call to processRequest()
that does the actual forward. processRequest can return without doing
anything and not throw an error in the case that
Hello All! I've fix this error with XSLT generation. I've copyed xalan.jar from 2jars
to 'endorsed' folder of Tomcat and I've created the copy of this folder in lib of JRE.
Thanks to Jake for his help!!!
Now I have another problem with generation of this page. When I'm trying to pass the
data
Hi,
I am using Tomcat 5.0. I enabled SSO to several application. I'd like
to be about to logout from any application, and force subsequent access
to any application to logout as well. How would I do that?
Thanks,
--
Rick
-
--- [EMAIL PROTECTED] wrote:
From the exception you quote it is obvious the deploy task is not
executing a zip/unzip/jar/unjar command properly. Where are these tasks
defined?
They're defined in the same build file:
taskdef name=deployclassname=org.apache.catalina.ant.DeployTask/
taskdef
Hello!
I'm fairly new to tomcat and my supervisor asked me to try and solve a
problem we are having with displaying gif images through a cgi script...
I've set up everything correctly so that cgi scripts run and have tested a
few simple scripts with no problem.
Our problem shows up when the
The same computer and I don't know, all I know is I downloaded the Jakarta
Apache-Tomcat version 5.0.27 zip file and unzipped it.
//SIGNED//
Jerry Nelson
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 2:27 PM
To: Tomcat Users List
Subject:
request.getSession().invalidate();
You may also want to invalidate any cookies you have set, but that is
specific to your needs.
Cookie cookies[] = request.getCookies();
Cookie cookie = null;
for (int i = 0; i cookies.length; i++)
{
cookie = cookies[i];
cookie.setMaxAge(0);
-- Virus Warning Message (on uusnwa0p) --
Found virus WORM_NETSKY.Z in file Important.txt
.exe (in Important.zip)
The uncleanable
Hello All! Sorry, I am posting this message twice, But I think I have
a problem with my spam-cop.
I've fix this error with XSLT generation. I've copyed xalan.jar from
2jars to 'endorsed' folder of Tomcat and I've created the copy of this folder in
lib of JRE. Thanks to Jacob Kjome for help!!!
Look at the difference between the catalina-deploy target and the
catalina-install target. Notice that localWar is used to deploy a
webapp from a directory and war is used to deploy a .war file to the server.
Jake
At 05:38 PM 8/27/2004 -0400, you wrote:
From the exception you quote it is
81 matches
Mail list logo