welcome... keep in touch...
(if possible give me small intro about you to my personal id
[EMAIL PROTECTED])
On 5/31/06, Sumeet Keswani <[EMAIL PROTECTED]> wrote:
Perfect.
This worked.
Thanks
sumeet
-Original Message-
From: Tamilselvan R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May
do some sort of iffail type error handling with your ant script.
On 5/31/06, William Press <[EMAIL PROTECTED]> wrote:
I am writing a build script that would redeploy a war file at the end of
the build.
If I use DeployTask and the application was already deployed from a
previous build, I get
I am writing a build script that would redeploy a war file at the end of
the build.
If I use DeployTask and the application was already deployed from a
previous build, I get an error.
If I use UndeployTask first and the application is not already deployed
(which would happen the first time
hi
I had the same problem and i was near to a nervous breakdown as I noticed that
encription was requested and tomcat expected encripted passwords
Here you can read about a command linetool to encrypt it:
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#Digested%20Passwords
regards
ma
Actually, a simple scenario has finally occurred to me.
I believe on Linux, the Servlet/JSP APIs are packaged separately
from the Tomcat package. Installing Tomcat on the first
system probably installed an updated version of the Servlet/JSP
APIs. By copying instead of installing on second system,
I have recently installed Tomcat, and am having difficulty accessing the
Manager web application. I have added the role "manager" to the
tomcat-users.xml file under the user "both" but when I put in these
credentials at the password challenge, I am shown an http 403 error
(access denied). Any ideas
This implies you are picking up older Servlet 2.2/JSP 1.1
API classes somehow, which is overriding the desired
Servlet 2.4/JSP 2.0 API classes. The API classes are
backward compatible, but not forward compatible as this
case illustrates. I don't know enough about Fedora to
say how this could come
AC wrote:
I'm working on setting up a couple of new webservers -- Fedora with Apache
2.2.2, jdk 1.5.0_06 and tomcat 5.5.17. I successfully got everything
working on the first, and then tar'd up the entire setup (all 3 apps are
on a dedicated filesystem) and copied it over to the second machine.
Hi,
I'm working on setting up a couple of new webservers -- Fedora with Apache
2.2.2, jdk 1.5.0_06 and tomcat 5.5.17. I successfully got everything
working on the first, and then tar'd up the entire setup (all 3 apps are
on a dedicated filesystem) and copied it over to the second machine. When
I
This is a frequently asked question. There are several discussions of this
exact topic on this list. Have you read the archives?
I have observed, and reported (in this forum), that up to 3 contexts may be
referenced at a given time. Sometimes more, but more then 3 will
(eventually) get GC'd.
S
Hi:
I am using tomcat 5.5.16 , struts 1.2.9, jstl , castor and a bunch of
stuff from jakarta commons.
I can watch my perm gen memory fill up with jconsole when I deploy->run
for a while -> undeploy->deploy.
I have read the wiki page http://wiki.apache.org/tomcat/OutOfMemory and
I am not
> From: David Wall [mailto:[EMAIL PROTECTED]
> What's the downside if someone who
> has access to your filesystem has access to the SSL cert
> keystore? They
> can remove and install certs, but I could do that anyway by
> putting in a
> new keystore. Somehow they'd need to take your keystor
Hi Eric:
I am sorry. I am a beginner of Tomcat. How does it work? Have the
current Tomcat already been doing that? Is it just put an encrypted
keystore password at the server.xml? or don't even mention any keystore
password at the server.xml at all?
Regards
Dickson
I don't think TC does thi
No, you just have the keystore encrypted with a password and _don't_
specify it in the config file. Then when tomcat starts up, and can't open
the keystore w/o a password, it knows it has to ask for it, but it isn't
stored anywhere on the machine. That's what apache httpd does if the
c
Hi
!!
I have a problem
with the execution of servlet.
In the servlet when
I catch the DEMOException I can read in the tomcat log
"ERROR: Exception of reserve of space
for servlet DEMO"
The demo.jaca is
compiled with
javac -classpath
/usr/java/jdk1.5.0/lib/soap.jar:/usr/java
Thank you the information. Does the keystore have to be located in a
specific location? I have done everything listed but the keystore location
is different.
Ro
--
View this message in context:
http://www.nabble.com/SSL+Setup-t1710991.html#a4646730
Sent from the Tomcat - User forum at Nabble.c
Hi,
Hello. I'm setting up SSL. I have Tomcat 5.5.16. The error that I'm getting
is that it can't locate my keystore file. I have using the keystorefile
attribute but its still not working. Can anyone help?
A more detailed email explaining what you tried would be needed to be
able to he
Hi Eric:
I am sorry. I am a beginner of Tomcat. How does it work? Have the
current Tomcat already been doing that? Is it just put an encrypted
keystore password at the server.xml? or don't even mention any keystore
password at the server.xml at all?
Regards
Dickson
-Original Message-
Fro
Thanks guys,
I placed the classes and jars in a code directory at the same level as the
HTML and fixed the applet tag accordingly, and now I'm back on track again.
I appreciate the swift and informative responses!
Eric
Mark,
After investigations I found that this issue was related to
ambiguity caused by some jar files present in JAVA_HOME/jre/lib/ext
directory. I removed them and tomcat is running fine.
Thanks for the help offered.
Regards.
Kuldeep.
-Original Message-
From: Kuldeep Tewari [mai
How is the number of threads established in Tomcat 4.1.29? What are
possible reasons for Tomcat to use an excessive amount of CPU? (Ex. 202
minutes after 8 hours of low processing uptime.) How can is user base
and workload determined?
Thanks,
Christine Spretnjak
On Tue, May 30, 2006 at 04:46:42PM -0700, David Wall wrote:
> A possible sounding solution would be to have tomcat start in a
> protected mode that requires an admin connect and enter a password
> before TC would allow the webapps to load. But even this would require
> that TC be configured to
Hello. I'm setting up SSL. I have Tomcat 5.5.16. The error that I'm getting
is that it can't locate my keystore file. I have using the keystorefile
attribute but its still not working. Can anyone help?
Ro
Ok, I have read both the Tomcat's Realm How-to and also the Servlet Specs.
I have the following application context and web.xml files. When I go to
http://localhost:8080/mywebappcontext/index.jsp, then page pulls up and no
dialog box comes up asking the user for username/password. I know I am
mi
In my case I installed from a .gz file
- cd to /Project
- gzip -d apache-tomcat-5.5.17.tar.gz
- tar xvf apache-tomcat-5.5.17.tar
And then your startup has to know where your JAVA_HOME is, and your Tomcat bin
directory
-Original Message-
From: ks.foong [mailto:[EMAI
I do not know much about Tomcat, but also recently had to install in a
different directory.
In the startup script, did you set the following variable ?
TOMCAT_BINDIR="/Project/Tomcat/bin"
The only other variable I also set was JAVA_HOME, and it worked ok for
me.
-Original Message-
Sounds good,
Thanks Mark
Martin --
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email
Perfect.
This worked.
Thanks
sumeet
-Original Message-
From: Tamilselvan R [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 12:43 AM
To: Tomcat Users List
Subject: Re: How can I create/configure a jsp servlet without a .jsp
extension
Hi Sumeet Keswani,
Thank you Mark,
Venkly
On 5/31/06, Marc Farrow <[EMAIL PROTECTED]> wrote:
There is a JSPC ant task that you can call from a build script if you
wish.
I was mainly giving you more information to help fuel your searches. You
can always just use the java -jar command and run a specific class.
There is a JSPC ant task that you can call from a build script if you wish.
I was mainly giving you more information to help fuel your searches. You
can always just use the java -jar command and run a specific class. So if
you can research and find what class Tomcat (or another servlet container
Thank you Marc.
What is that Ant task(jspc). Is that a similar batch file that
will be present in %ANT_HOME%. or do i need to create a build.xml using Ant.
Venkly
On 5/31/06, Marc Farrow <[EMAIL PROTECTED]> wrote:
JspC.bat is just a windows "batch" file that probably just calls a
JspC.bat is just a windows "batch" file that probably just calls a java
command to compile the JSPs. I would search for the jspc compiler. The
version of the install you have for Tomcat probably just doesn't have that
"batch" file included. There is an Ant task (jspc) that will do this as
well.
Hi all
i have installed Apache Tomcat 5.5.9 Server. i need to precompile
JSPs.But that *JspC.bat* is not found in CATALINA_HOME/bin.May i know where
it will be? or how to do the same in this Tomcat 5.5.9
Regards,
Venkly
Hello,
I need to configure an ip filter for my tomcat/httpd server. Thus I need to
tell the httpd server to deny access for users of certain ip ranges. I
looked into the documentation of the connector but could not come up with a
working method.
Has anyone tried to do this before? Is there a way
No such feature in tomcat. (Unless the jsp's were precompiled - in which case
- they'd be servlets)
-Tim
Leon Rosenberg wrote:
Hi,
due the nature of the keywords "jsp", "jar" and "compile" it's pretty
hard to find the result to this question by googling, or at least I
failed.
Is it possible
Hi,
due the nature of the keywords "jsp", "jar" and "compile" it's pretty
hard to find the result to this question by googling, or at least I
failed.
Is it possible to force tomcat to accept(compile,serve) jsps which are
contained in jar files, which are under WEB-INF/lib? I know that resin
has
Guys. My problem on the Tomcat Directory solved.
I have change the installation script to point to /Project/Tomcat directly
instead of doing the cp command.
Thanks for your time and advice. Appreciate that.
Foong Kim Seong
-Original Message-
From: ks.foong [mailto:[EMAIL PROTECTED]
According to your description below, you've placed the files correctly
for server-side execution, but not for client side execution. Per
servlet spec, the client does not have any direct access to anything in
the WEB-INF directory. Your applet's classes need to be placed
somewhere else or mad
All right. I am working something out with the script generated by the
tomcat's default installer.. seems I am almost there.
Thanks. Will update you tomorrow.
Foong Kim Seong
-Original Message-
From: Rajeev N. Jha [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 5:28 PM
To: T
run this :
/Project/Tomcat/bin/catalina.sh start
I also like andrew's idea of pulling an installer from apache site.
However the one install you have should also work, and if that does not
work, we should be able to figure out why. hang on and keep debugging :o)
ks.foong wrote:
Hi Rajeev,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
echo $JAVA_HOME
what does this return?
cd /Project/Tomcat
./bin/startup.sh
But no idea what is installed where on FreeBSD
Why don't you just pull the package from Apache directly?
Especially if you are not installing in the FreeBSD paths?
Guys, I am installing the Tomcat in FreeBSD. And I am using this command,
/usr/ports/www/Jakarta-tomcat5.0/make all install clean
I am wondering is anyone familiar with FreeBSD and maybe I can instruct the
installation to my /Project/Tomcat instead the default location which is
/usr/local/Jakarta
Hi Rajeev,
I am running in Tomcat5.0, I think for this version, the $catalina.sh start
is no longer applicable.
I have tried to issues this :
/Project/Tomcat/bin/$catalina.sh start
And it's replied me this:
catalina :Undefined variable
Andrew, you mentioned this :
>>
-BEGIN PGP SIGNED MESSA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I missed the start of this thread...
- - And the whole path is readable?
ie:
ls -l /
ls -l /nextdir
ls -l /nextdir/nextdir ?
Andrew
On 31/05/2006, at 10:38 AM, ks.foong wrote:
No problems. Hoping maybe others can give a hand on this...:-)
Foon
can you try
$catalina.sh start
That should also be able to start your server.
- Rajeev.
ks.foong wrote:
No problems. Hoping maybe others can give a hand on this...:-)
Foong Kim Seong
-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2
No problems. Hoping maybe others can give a hand on this...:-)
Foong Kim Seong
-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2006 4:31 PM
To: Tomcat Users List
Subject: Re: Changing the Tomcat 5.0 Directory installed in FreeBSD
ks.foon
ks.foong wrote:
> The setclasspath.sh consist of this information, after I have issued ls -l
>
> -rwxr-xr-x for that file.
>
> So, it's reading and able to excute.
>
> Further more, I am issusing that command as root, and that file is owned by
> root.
Then I'm out of ideas, sorry.
Regards
mks
The setclasspath.sh consist of this information, after I have issued ls -l
-rwxr-xr-x for that file.
So, it's reading and able to excute.
Further more, I am issusing that command as root, and that file is owned by
root.
Foong Kim Seong
-Original Message-
From: Markus Schönhaber [ma
Hi, I have just solved this problem on my machine. I notice it does not
locate the .jar file required by the Data source connection pooling.
Try putting all the files, mentioned in here:
http://tomcat.apache.org/tomcat-5.0-doc/jndi-datasource-examples-howto.html
Jakarta-Commons DBCP 1.0
Jakarta
I know how you feel. I would have preferred to do that aswell. I'm not
sure how our hosting company has their servers set up, but that was the
only way (after weeks of trying) that we could get things working. It
may be different in our case though, because we are on a shared environment.
Marti
ks.foong wrote:
> setclasspath.sh is in the directory of /Project/Tomcat/bin folder, same as
> startup.sh
>
> readable? I am not sure how to confirm is it readable or not but it's there
> in the same directory.
Look at the file permissions or simply open it in a text editor (as the same
user you
setclasspath.sh is in the directory of /Project/Tomcat/bin folder, same as
startup.sh
readable? I am not sure how to confirm is it readable or not but it's there
in the same directory.
Foong Kim Seong
-Original Message-
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: Wednesda
ks.foong wrote:
> I have checked the /Project/Tomcat/bin/catalina.sh, it's using the
> $CATALINA_HOME as an environment variable and I have change/set in the
> .cshrc file, a file where it'll start loaded when I sign in to the FreeBSD
> system.
>
> I also perform an echo command, $CATALINA_HOME for
I have tried to put the resource in the server.xml file, and found that
the same problem occurred.
Also the exact same configuration works flawlessly in my test
environment, so I don't know. I'd rather keep the details in my webapp's
context if possible.
Dan
Martin Grogan wrote:
Hi Dan,
I
I have checked the /Project/Tomcat/bin/catalina.sh, it's using the
$CATALINA_HOME as an environment variable and I have change/set in the
.cshrc file, a file where it'll start loaded when I sign in to the FreeBSD
system.
I also perform an echo command, $CATALINA_HOME for me and its return
/Project
Trying to get rid of this error message when I start tomcat 5.5.17
"The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path"
I discovered I have to build the tcnative library, but its giving me problems.
I am running u
ks.foong wrote:
> I have installed the Jakarta-tomcat5.0 into my FreeBSD machine.
>
> As my project required, I have to move the entire installed directory from
> /usr/local/Jakarta-tomcat5.0 to /Project/Tomcat folder
>
> I manage to perform the above operation. But when I go to:
> /Project/Tom
Hi,
I set up a JSP to get the user principal. But when trying to access the
principal by
request.getUserPrincipal(),
I'll always get a plain Principal class. I expected to get a
GenericPrincipal class by the container's UserDatabaseRealm.
I'm using the Tomcat default configuration with the
[EMAIL PROTECTED] wrote:
> Yeah it dose work when i am accessing the Tomcat via the browser but i
> don't want to access it via the browser because somebody from different
> machine will send me a message via a socket connection and i want that
> servlet do the work once the socket connect to the T
Mark,
I appended the below mentioned host section in (newly installed
tomcat's) Server.xml:
This is the error message I get in tomcat's stdout.log:
May 31, 2006 10:31:26 AM org.apache.catalina.core.Standar
Hi Dan,
I had the exact problem with my hosting company. The problem was the
resource was not being read from our context.xml file on Tomcat startup.
The guys at the hosting company had to put the entry for the resource
inside our context in the Tomcat common config.
Maybe you are experiencing
61 matches
Mail list logo