Hi Filip,
Do you have any example to reload the Realm with the updated
tomcat-users.xml file.
I have understood in this way for your replay, if it is wrong then
please correct me.
Lifecycle methods means,
MemoryRealm.stop();
MemoryRealm.start();
Embedded.setRealm(MemoryRealm);
I have tried
Cristian Bullokles wrote:
I've copied all servlets examples in default installation to my
home dir, and all jsp pages work, but when I call to a servlet it
fails,
Exactly what did you copy to where? You should have ended up with:
.../public_html/jsp
.../public_html/servlets
There's an extra step you must perform when connecting IIS 6 to Tomcat
via the ISAPI redirector.dll. For our installation it was necessary
since we wanted NTLM authentication, but since you're using basic, it
may be related. (I seem to recall that IIS - tomcat worked when there
was no
- Original Message -
From: Cristian Bullokles [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, May 19, 2008 4:34 AM
Subject: Re: Deploying Servlets in users directory
On Sun, May 18, 2008 at 9:25 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
To start a new
Not a tomcat question ... you need to get your system registered with a
DNS service and it will respond to the www.mydomain.com name regardless
of service (tomcat, apache, iis, ssh, sftp, etc., ...).
--David
ryan webb wrote:
Hello,
How to change http://107.105.13.1/webapplication/ into
I'm completely lost
Seems can't start RHEL5.1x64 and tomcat.
I tried with sun java JDK 1.5x32 and 1.5x64 and for test with only RJE
1.5 x64
no success at all ... when I try to start some of the JSP 2.0 examples
the same error appears
HTTP Status 404 - Servlet
Found the f...problem.
Maybe noone will have it but just in case I will explain what was wrong.
I'm using MC (midnight commander) to extract tomcat archive. and MC says
something that catalina.sh and other target files already exist even
that they are not there.
And by default I'm giving
Hi Bill,
I did what you said and still doesnt work!!! I show my code and how I've
implemented the whole things.
I added in the java/org/apache/catalina/deploy/mbeans-descriptors.xml
the follow code:
...
mbean name=Kaugures
Hi,
I would use session for sharing user object and
I would move common classes/jars from WEB-INF/lib into
$TomcatHome/shared/lib
Use webservcies may be slow.
Regards,
Zdenek
On Mon, May 19, 2008 at 3:48 AM, Dola Woolfe [EMAIL PROTECTED] wrote:
Hi,
I guess the subject asks the question...
Hi,
I have two web applications, each of them includes a web
service client.
Each client has to connect through another proxy server. How
can I configure the clients to use different proxies?
thanks
Marco
-
To start a
I thought I better test my theories... it does behave as stated below.
Whew!
Johnny,
When you drop a new servlet(.war) in webapps dir while TC is
running that .war file is unpackaged and deployed in tomcat, and you
could use it without restart TC.
Yes, that what I'm trying to say...
I believe also mod_rewrite will work as well, if you allowed to put apache
in front.
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
On Mon, May 19, 2008 at 8:08 AM, Zdeněk Vráblík [EMAIL PROTECTED] wrote:
Hi,
I would use session for sharing user object and
I would move common
Hi!, i´m not an expert user of Tomcat, and i want to do something but i´dont
know how to do it, i have 2 aplications the first one it´s running at port
8082 whit an apache server , the second one it´s running at port 80 with
tomcat, i can view this one via internet, but i want to acces to the
Hi William,
could you describe how could be shared two object over Apache server?
I have understood the question a bit different.
Dola could you describe what do you mean share two objects between two web aps?
It is inside one jvm or it is between two jvm instances?
Could you describe your use
You have one context, with both applications inside the same war, and with
any of the second application's requests, you simply map them to a
subdirectory context.
E.g. myApp.war:
/myApp/myServlet
/myApp/mySecondApp/mySecondAppServlet
mod_rewrite requests @ /myApp/mySecondAppServlet to
Hi,
I tried looking for one place where I could find information on the best
practices for configuring Tomcat in production. I couldn't find it.
Tomcat FAQ doesn't list that either. Is there any place where I can
find more information on that.
What I would like even better is, just put
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dola,
Dola Woolfe wrote:
| I have two different webapps and I want them to be
| able to share objects. Can that be done? I guess it
| sounds like an FAQ but I can't find the answer.
That depends on what you mean by share and context.
If you just
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Indu,
Indudhar Devanath wrote:
| I tried looking for one place where I could find information on the best
| practices for configuring Tomcat in production. I couldn't find it.
| Tomcat FAQ doesn't list that either. Is there any place where I can
|
We are using Tomcat 6.0 and Sun JDK 6 on SUSE LINUX ENTERPRISE SERVER. I am
looking for production value configurations for these versions only.
thanks,
Indu
Original Message
Subject: Configuring Tomcat for Production
From: Indudhar Devanath [EMAIL PROTECTED]
To: Tomcat
I am able to access the webpage successfully when browser is used.
Best regards,
Wahaj
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 13 May 2008 00:30
To: Tomcat Users List
Subject: Re: Failing to using OpenSSL v0.9.8g with tomcat 5.5.9 over TLS
Wahaj Khan wrote:
Hi
here it comes my question again... :D How to increase tomcat memory?
I'm getting GC overhead limit exceeded.
I tried putting export JAVA_OPTS=-Xms256m -Xmx512m in setclasspath.sh
file as well as putting CATALINA_OPTS=-server -Xms256m -Xmx512m in
/etc/init.d/tomcat5.5 script file, but
You seem to be using linux. If you go:
ps alx | grep java
after you have started tomcat you should be able to find the invocation
for tomcat. Please check to see whether or not the options you have
specified below appear in that list and check very carefully that there
is whitespace around
We have a Java web application that accesses a Web Service using https. Last
week the hosts of the web service installed a new signed SSL certificate.
As soon as they installed the new certificate, our Java web app stopped
working. When we try and access the web service via the web app we get
Hi,
I am writing an application where we need to edit the client's web.xml
file to provide a context path to a servlet inside our jars.
Right now, I am only able to eidt the web.xml file when Tomcat is
shutdown, as
the file is locked when Tomcat is running. I assume Tomcat makes an internal
Hello,
I'm trying to install the manager application on Tomcat 5.5.26 (well, actually
it comes installed by default, I am just trying to make it work) and after I
authenticate with a user created in conf/tomcat-users.xml I get the following
message
HTTP Status 404 - Servlet HTMLManager is not
Thank you very much for you answer. Because of I was in a hurry, I
examined the invocation of tomcat and I found that Tomcat was using
128mb of memory, so, obviously , the lines I added weren't working at
all... Then, I realized that the -Xmx128m argument was after a line
Sorry, the file i edited was the one in /etc/init.d/tomcatX (where X
is the version of Tomcat)
too much working.. :D
Greetings!
Tomás Tormo escribió:
Thank you very much for you answer. Because of I was in a hurry, I
examined the invocation of tomcat and I found that Tomcat was using
- Original Message -
From: [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Monday, May 19, 2008 5:27 PM
Subject: In memory copy of web.xml
Hi,
I am writing an application where we need to edit the client's web.xml
file to provide a context path to a servlet inside our jars.
Hi Everyone,
I came across na interesting situation here. One of my classes contains a
Boolean (wrapper) value as its return type. Something like this:
...
public Boolean isServerOK() {
return isOK;
}
...
Whenever I try to invoke this method using EL, I receive the following error:
/etc/init.d/tomcatX is not a file provided by any packages from
tomcat.apache.org. I would suspect it's probably the best place for
your adjustments when launching tomcat as a service -- especially since
it already contained -Xmx128m. Check documentation provided by the
packager to get an
The manager webapp provided by tomcat doesn't need installation -- it's
a part of tomcat already in the download distribution. It's location
has changed slightly over time -- normally found in the webapps
directory, tomcat 5.5.x put it in server/webapps by default. Regarding
the error below,
I've been trying to solve this problem for a couple of hours now and I can't see
any solution on google or in the archives.
I have tomcat 6.0.13 and java 1.5.0_12 running on debian linux 2.6, my own
installation, not the debian packages.
I stripped the tomcat config down to the bare minimum,
Adam Hardy wrote:
I've been trying to solve this problem for a couple of hours now and I
can't see any solution on google or in the archives.
I have tomcat 6.0.13 and java 1.5.0_12 running on debian linux 2.6, my
own installation, not the debian packages.
I stripped the tomcat config down
just do two thread dumps during the freeze
kill -3 tomcat process id
sleep 5
kill -3 tomcat process id
the thread dump will identify where it is hanging, and it gets output to
std.out, by default to catalina.out
Filip
Adam Hardy wrote:
I've been trying to solve this problem for a couple of
Thanks for the advice. Here are the two thread dumps, with a 5 sec pause
between.
It looks like it's waiting on a network connection. Is that what you would
deduce?
19-May-2008 23:04:32 org.apache.tomcat.util.modeler.BaseModelMBean preRegister
FINE: preRegister [EMAIL PROTECTED]
Hi,
Thanks in advance for any help you may be able to give. I've searched the
net for a couple of days now but with no success (even with similar messages
posted on this site).
What I'm trying to do is setup global JNDI on tomcat 5.5 (for use with
jackrabbit and Magnolia CMS) but either it's
From: pingu1611 [mailto:[EMAIL PROTECTED]
Subject: Global JNDI and Tomcat
A previous message on this subject said to include the resource
in the GlobalNamingResources element of server.xml along with the
ResourceLink.
To quote from the Tomcat doc:
Use ResourceLink elements to link
Wow, that was quick. Sorry that was a typo, the ResourceLink in in the
context.xml file.
Thanks for the speedy reply.
Gareth
Caldarale, Charles R wrote:
From: pingu1611 [mailto:[EMAIL PROTECTED]
Subject: Global JNDI and Tomcat
A previous message on this subject said to include the
Hey everyone,
I am building a simple web page in JSP with an embedded java applet that
runs an application (the page does not contain any JSP code *yet*, but is
saved as a JSP file).
I am using Apache Tomcat 5.5 to render the page. On this page, I tried
linking some local files on my
From: thunderhead [mailto:[EMAIL PROTECTED]
Subject: HTML hyperlink problem in Apache Tomcat 5.5
I tried linking some local files on my workstation for
testing purposes.
You can't do that. Each link is evaluated in the environment of the
*client* (browser, in your case). Unless the
I understand what you're getting at. I am running a local instance of Tomcat,
which means that both the client and the server are in my workstation. So
shouldn't the local linkages work then?
Now, bringing the files into the webapps folder is a convenient solution.
But the issue is that this web
Hi again,
This is an addendum to my earlier post, which highlights the linking problem
mentioned earlier and introduces another one (sigh).
The directory structure of my web application is the following:
GSDC5P1 (root)
---
docs | images | lib | mindmaps
index.html
Hi folks,
I downloaded a war file. I need to deploy the war file in tomcat. Please
let me know how do i do it?
Thanks,
~Ashok.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hi folks,
I downloaded a war file. I need to deploy the war file in tomcat. Please
let me know how do i do it? I am running Solaris 10.
Thanks,
~Ashok.
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Just place the war file in tomcat/webapps directory and restart your tomcat.
Note : Please make sure that you are not having the any other application in
the same name as that of WAR file.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008
hi,
there are a few ways:
- expend the war manually (jar -xvf my.war) into the ./webapps sub
directory of your Tomcat.
- use the tomcat manager if installed to upload the war.
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html
Rgds - Fred
On Tue, May 20, 2008 at 12:26 AM, ashok
Hi,
I am running solaris 10. Where do I find the webapps directory. Let me
know the command to restart tomcat.
Thanks,
~Ashok.
Dilip Diascore Kolandairaj wrote:
Just place the war file in tomcat/webapps directory and restart your tomcat.
Note : Please make sure that you are not having the
Mr. David,
Thank you very much for your kind reply. I've got a feeling that this is not
Tomcat related.
I think I will try to setup a DNS server. For this.
God bless.
On Mon, May 19, 2008 at 5:46 PM, David Smith [EMAIL PROTECTED] wrote:
Not a tomcat question ... you need to get your system
webapps directory is under Tomcat_home directory.. For more information for
the directory structure of Tomcat refer www.roseindia.com . Soon after you
download Tomcat, you can find this. There under webapps, copy the war file.
2008/5/20 ashok prabhu - Sun Microsystems - Bangalore India
its exact location can be..
http://www.roseindia.net/servlets/introductiontoconfigrationservlet.shtml
Hope this will definitely helps u..
2008/5/20 Ch Praveena [EMAIL PROTECTED]:
webapps directory is under Tomcat_home directory.. For more information
for the directory structure of Tomcat
50 matches
Mail list logo