HI there,
According to the tomcat online document, do I have to modify the
context.xml file?
$CATALINA_HOME/conf/context.xml
with the following new setup:
where username/password is the root/admin user/password of the mysql
database?
thanks
> - Original Message -
> From
Alexey Eronko wrote:
Hello Guys!
Don't beat me because I found so much docs about ssl and keystore but I
can't get it working with together.
I have pem cert,rsa_key and ca cert from my own CA. I don't understand what
kind of cert do I need in keystore to make it works on tomcat.
Hello Guys!
Don't beat me because I found so much docs about ssl and keystore but I
can't get it working with together.
I have pem cert,rsa_key and ca cert from my own CA. I don't understand what
kind of cert do I need in keystore to make it works on tomcat.
I tried
keytool -im
make sure you have the full path for bash on the first line
you have
#!/bin/bash
i have
#!/usr/bin/bash
also..
set -vset -o verbosePrints shell input lines as they are read.set -xset -o
xtracePrint command traces before executing command.
take every opportunity to debug your bash script with e
This error looks like an error in your shell script. Maybe someone else
can offer up some help with this. I use jsvc in my environment.
--David
edponce wrote:
just that
-sh: line 0: export: `In the config file': not a valid identifier
/bin/bash: /usr/bin/tomcat5-test: Permission denied
Bcz if no resourcelink into my webapp, the global resource will not be
visible.
And I tried to remove it, my jsp only got env-entry value from web.xml.
In online help: The GlobalNamingResources Component
It said like this:
**
The GlobalNamingResources element defines
NIO wasn't introduced to Tomcat until sometime in the 6.0 release. The
most stable is the current, 6.0.18
Filip
Diego Bolanos wrote:
>From which stable version Tomcat uses java NIO
I spend 30 minutes on google looking for the first stable version of Tomcat
that make use of Java NIO package.
I am getting an error starting my 2nd instance with the script i created...
this is my error on my command line
> [EMAIL PROTECTED] ~]# tomcat5-test start
> In the config file
> Starting tomcat5-test: [ FAILED ]
and this is my catalina.out file...
-sh: lin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I set the workdir on the global context - I can see that files are being
created there, however that same error still exists. For some reason it
insists on looking in Tomcat 6\temp-Foo5
Any suggestions?
Mark Thomas wrote:
| Aaron Axelsen wrote:
Aaron Axelsen wrote:
> I understand how it works - the problem is that the folder is not
> actually getting created. I double checked permissions - and the apache
> user does have full permissions to that tomcat 6 folder. Any thoughts?
>
> The name of the war is temp Foo5.war. I can see folders
OOPS, A slight typo there.
Anyway, perhaps a little more information might accelerate obtaining a
useful response.
What I have found is quite baffling. A practice I routinely use on Apache's
httpd server, which works fine, does not work when I try the same thing with
Tomcat's CGI.
Here is a co
Hi Jordan -
Was just following this thread and I'm wondering if there's an update on the
Open BD - httpd connector you elude to below? I'm getting ready to deploy
several OS images for development servers and wonder if I need to stick with
CF or if I can make the plunge to OBD!
Thanks-
Jorda
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I understand how it works - the problem is that the folder is not
actually getting created. I double checked permissions - and the apache
user does have full permissions to that tomcat 6 folder. Any thoughts?
The name of the war is temp Foo5.war.
Aaron Axelsen wrote:
> Is there any reason its going to look in temp-Foo5?
That is how the antiresource locking works. It copies the entire war to a
temp location with a unique name and runs it from there. If you reload it
would probably use temp-Foo6 etc.
Mark
-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The reason we have docbase == appbase is because students will upload
war files to the doc base for deployment within a given subdomain.
However, that said, there is no reason why we need to set the context
path at all, since the war files all dep
just that
-sh: line 0: export: `In the config file': not a valid identifier
/bin/bash: /usr/bin/tomcat5-test: Permission denied
-sh: line 0: export: `In the config file': not a valid identifier
/bin/bash: /usr/bin/tomcat5-test: Permission denied
David Smith-2 wrote:
>
> Anything in catali
Anything in catalina.out related to the failed startup?
--David
edponce wrote:
david...
my only problem now is
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test: [ FAILED ]
i cant find what is the problem in the config
Hello All,
After getting a response yesterday about BASIC authentication and being
told to switch to FORM based authentication, I've been trying to do this
for quite awhile and I can get FORM authentication to work sometimes on
test applications but I can never get it to work on a real applica
Aaron Axelsen wrote:
> Is there a trick to get antiJarLocking and antiResourceLocking to work
> with tomcat 6? I have the following in the config:
>
> ~unpackWARs="true" autoDeploy="true">
> ~ antiResourceLocking="true" />
Setting docBase==appBase is going to get you a world of pain.
I
Mott, Frank (Dimension Data) wrote:
>
> Please can someone advise me on my query below.
You need one of the following:
- 5.5.27 (expected to be released shortly)
- a local build with the relevant patch applied
Mark
>
> Regards
> Frank
> Level 2 Support Engineer
> GASDO Team
> Dimension
Tom, ive done everything as youve indicated and when i run my script i get
this error that cant debug, any ideas?
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test: [ FAILED ]
this is my script
William wrote:
> Hi,
>
> description
> webapp definition cannot override global one, even though
> override attribute set to true.
> Why?
> Is that the right way to define resource for common use and
> redefine it within specific webapp?
>
> scenario
> version: 5.5.20
> global definition in c
ive duplicated my folder...modified the specif files created a script for
starting up the 2nd instance and when i start it i get this error, but cant
debut it... any ideas anybody?
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test:
david...
my only problem now is
[EMAIL PROTECTED] ~]# tomcat5-test start
In the config file
Starting tomcat5-test: [ FAILED ]
i cant find what is the problem in the config file? any ideas?
David Smith-2 wrote:
>
>>
>> [EMAIL PROTECTED] rc5.d]# tomca
Hello Guys!
Don't beat me because I found so much docs about ssl and keystore but I
can't get it working with together.
I have pem cert,rsa_key and ca cert from my own CA. I don't understand what
kind of cert do I need in keystore to make it works on tomcat.
I tried
keytool -im
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there a trick to get antiJarLocking and antiResourceLocking to work
with tomcat 6? I have the following in the config:
~antiResourceLocking="true" />
~
~
There do not appear to be any error logs on anything, but the jar's
On Wed, Aug 27, 2008 at 12:03, Gregor Schneider <[EMAIL PROTECTED]> wrote:
> If I'm not mistaken, Tomcat should state in tomcat.log.INFO that it is
> using APR, right?
Right.
> So according to the above tomcat.log.INFO, is it
> true that in my case Tomcat is not using the APR?
No, it also logs a
The datasource for your webapp isn't setup correctly. Take a look at
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
for help on how to properly setup a database connection pool. My only
edit that article I would recommend is don't add ?autoReconnect=true to
the en
The only web.xml file you should be editing is in the WEB-INF folder of
your webapp -- DbTest in this case. Don't place it anywhere else and
don't mess with the web.xml file in tomcat's conf directory unless you
have an excellent reason to as those settings apply to _all_ webapps
under tomcat.
BTW, where should I place the web.xml file in the tomcat server?
The web (root) execution path of my tomcat server is:
/tomcat/apache-tomcat-5.5.26/webapps/DBTest
Thanks
Sam
> - Original Message -
> From: sam wun
> Sent: 28/08/08 02:45 am
> To: Tomcat Users List, Tomcat Users List
>
HI there,
I managed to fix the jdk version error, now it comes with a different
error.
The url I am trying to put on the firefox browser is
http://10.1.9.1:8080/DBTest/CreateCustomerServlet
The error is:
TTP Status 500 -
type Exception report
message
description The server encount
Hi folks,
some background-information first:
OS : Debian (Etch)
Tomcat: Tomcat 5.5.26
Java : 1.5.014
I've compiled jsvs (which is running) and tomcat-native.
I've copied all compiler-output from tomcat-native to $catalina-home/lib:
-rw-r--r-- 1 tomcat tomcat 1506416 2008-08-26 15:49 l
Hi folks,
some background-infos:
OS:
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
-
To start a new topic, e-mail: users
is that something like this...
ln -s /etc/tomcat5-test S71tomcat5-test?
David Smith-2 wrote:
>
>>
>> [EMAIL PROTECTED] rc5.d]# tomcat5-test start
>> -bash: /usr/bin/tomcat5-test: Permission denied
> You need to add the execute privilege to your tomcat5-test script. Take
> a look at the man
I need to migrate from tomcat 4.1 to 6. Are there any concerns I need
to know about before starting? Are there any suggestions to make the
transition easier?
In the data center, we are using a RedHat (AS 2.1 I believe) server.
I don't have the ability to test the application on another server to
> From: sam wun [mailto:[EMAIL PROTECTED]
> OK, I followed your instruction to invoke the servlet class
> file, but I got errors.
[...]
> root cause java.lang.UnsupportedClassVersionError: Bad version number in
> .class file
You're compiling your class with a newer Java version than your Tomcat in
[EMAIL PROTECTED] rc5.d]# tomcat5-test start
-bash: /usr/bin/tomcat5-test: Permission denied
You need to add the execute privilege to your tomcat5-test script. Take
a look at the man page for chmod.
...
wich was /etc/tomcat5 (where i have the catalina policies and jkproperties,
etc) for /etc
OK, I followed your instruction to invoke the servlet class file, but I got
errors.
the url is http://10.1.9.1:8080/DBTest/CreateCustomerServlet
Errors are:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from ful
Looks normal .. you won't get a file named CreateCustomerServlet under
DbTest. You should get a class named CreateCustomerServlet.class in
WEB-INF/classes/servlet. That class will be called when your webapp
receive's a request for
http://localhost:8080/DbTest/CreateCustomerServlet (assuming t
ive created this start script in the /usr/bin/ folder...what i did is
modified the previous path of the original tomcat instance to the new one...
wich was /etc/tomcat5 (where i have the catalina policies and jkproperties,
etc) for /etc/tomcat5-testbut that raised other questions should i be
that is on windows... I am working on linux via ssh! I dont have anything
installed on my PC...
David Smith-2 wrote:
>
> If you installed tomcat using the .exe installer, go get the .zip
> download and grab the service.bat file from it's bin directory. If you
> installed .zip version of tom
I'd like to confirm that I am trying the right things in fixing a memory
error and discover what else I can do to resolve my problem. I realise
this is a common problem as I have Googled, read the Tomcat memory FAQ
and searched the mailing lists. I have tried looking at catalina.out
however I am no
- Original Message -
From: "python my" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 27, 2008 12:02 PM
Subject: Multiple authentication within a webapps
Hi there,
I'm running tomcat v5.5.26 in my machine. I would like to add
tomcat-authentication feature into my webapps. I would
I got a similar web.xml, but the is different.
Here is the entire content of my web.xml.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
Assuming you are running private IP's in your internal network and a
public IP on the external network, you can create a dns such as
mynetwork.mydomain.com which will resolve to the private IP when accessed
inside the network and public IP when accessed externally. use this name
as the hostname in
But if you followed the tutorial, there should be a servlet mapping in
your web.xml looking like what I copied and pasted from the article below:
Create Customers Servlet
ListCustomers
ListCustomers
servlet.ListCustomersServlet
ListCustomers
/ListCustomers
This defines a s
HI there,
It sounds logical, but there is no LIstCustomers in the DBTest folder.
Thanks
Sam
> - Original Message -
> From: David Smith
> Sent: 27/08/08 09:59 pm
> To: Tomcat Users List
> Subject: Re: Can't execute servlet project
>
> I see the jsp is a view and as such wasn'
tough to follow without seeing the code
can you start with a simple example as described in
http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html
The value of beanName is either a package and class name or
an Expression that evaluates to a package and
class name, and is passed to
Be
Read the faq.
I want to redeploy web applications, how do I prevent resources from getting
locked?
http://wiki.apache.org/tomcat/FAQ/Windows#Q5
Aaron Axelsen wrote:
> I've been tasked with setting up a tomcat enviorment for course work.
> The instructor is working with jruby. The problem is tha
I see the jsp is a view and as such wasn't designed to be run on
it's own. Try http://localhost/DBTest/ListCustomers in your browser.
That should hit the servlet which in turn should generate the required
bean and forward the user to your jsp.
--David
sam wun wrote:
Hi, thanks for tr
Hi, thanks for trying to help.
I dont' have a clue on this *bean*.
The entire tutorial doesn't mention about how to setup a bean...
The tutorial I;ve followed is shown as below:
http://java.sys-con.com/node/152270
Thanks
Sam
> - Original Message -
> From: David Smith
> Sent:
Hi there,
I'm running tomcat v5.5.26 in my machine. I would like to add
tomcat-authentication feature into my webapps. I would like to have multiple
user (role) login to different part of the webapps.
The details is like this:
for "user1" (role1), only can access content under "WEB-INF/pages/aaa
Please can someone advise me on my query below.
Regards
Frank
Level 2 Support Engineer
GASDO Team
Dimension Data United Kingdom
Dimension Data House
Building 2, Waterfront Business Park
Hampshire GU51 3QT
+44 (0) 1252 779 370 Office
+44 (0) 1252 779 010 Fax
[EMAIL PROTECTED]
-Or
Hi Peter
2008/8/27, Peter Crowther <[EMAIL PROTECTED]>:
>
> > From: Anthony COMMUNIER [mailto:[EMAIL PROTECTED]
> > I'am doing load tests with a web application that is deployed
> > under Tomcat 5.5.0.26
>
> Tomcat has 3-character version numbers, so this is probably 5.0.26 or
> 5.5.26?
Sorry, i
> From: Anthony COMMUNIER [mailto:[EMAIL PROTECTED]
> I'am doing load tests with a web application that is deployed
> under Tomcat 5.5.0.26
Tomcat has 3-character version numbers, so this is probably 5.0.26 or 5.5.26?
> With only one request (no load just one call) it tooks 150 ms
> to call the m
Hi,
description
webapp definition cannot override global one, even though
override attribute set to true.
Why?
Is that the right way to define resource for common use and
redefine it within specific webapp?
scenario
version: 5.5.20
global definition in conf/server.xml:
webapp defin
hello,
we are facing a problem!
config:
jdk 1.4
tomcat 4
the server is configured to be accessed by an network internal IP
but it is not working with an external IP . i did the config in the server.xml
but it is not working
[...]
[...
Hi,
I'am doing load tests with a web application that is deployed under Tomcat
5.5.0.26 / Windows 2003 / VMWare Dual core Opteron 1.8 Ghz / 2GB. We only
have tuned the memory parameters (512 MB), all other parameters are the
default parameters (JVM and Tomcat).
I have corrected all performance iss
58 matches
Mail list logo