Thank you. I am using the basic authentication as the manager package of
Tomcat. Something like this in the web.xml.
BASIC
Tomcat INFORM Application
I only know how to use the realm in the web.xml and servel.xml. But I am
really like to learn about this j_security. Honestly, I am not fully
If we set the "notifyListenersOnReplication" to false, will it not cause
problem if there is a load balancer at work?
--
Pavan Kumar Singaraju
On Wed, Jul 30, 2008 at 6:59 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]
> wrote:
> Madonesa sanjaya wrote:
>
>> Hi,
>> I have deployed my application
My question here was if the other node is not available anymore, will this
exception come? If so how to avoid it. The fact is the session replication
is happenning and everything is working inspite of the exception. But just
in case if we want to avoid this exception, is there a way or should the
It's a lot of lines of code, but not that hard. You haven't mentioned your
Tomcat version, so I'll give a sort of generic setup.
ObjectName loader = getServerLoader(); // depends on the settings and
version
ObjectName registry = getRegistry(); // depends on the settings and
version
On 30 Jul 2008 at 14:49, Matt Cosentino wrote:
> I'm setting up a new server with Tomcat 6.0.16 running on Windows
> Server 2008 with version 1.1.14 of the native DLL. When I stop the
> service it seems to stop, but the process does not end. I have to
> then end the process manually before I can
Dear List,
What sort of qualifier do I need to put in "pattern" to capture passed POST
data to the Tomcat 6.0 server? Here is my valve tag in server.xml:
The pattern %q will get data passed through GET since it's the query string.
But, I tried putting in %{}i to get all the passed POST data and
Sorry, I was reading wrong - it does indeed log POST requests.
On Wed, Jul 30, 2008 at 3:39 PM, Hashmir Shamshir <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a Tomcat 6.0 server with the following log valve:
>
> directory="logs" prefix="my_access_log." suffix=".log"
>
>patter
Hi All,
I have a Tomcat 6.0 server with the following log valve:
For some reason, the logs don't show any HTTP POST requests with the POST
data (I'm trying to capture both all GET and POST data sent to the server).
Does anyone know how I can resolve this?
Thanks so much!
Antonio Goncalves wrote:
Hi all,
The Servlet 3.0 specification (http://jcp.org/en/jsr/detail?id=315) has
published an early draft recently (may 2008). On the description it's
written that "The reference implementation will be developed entirely in the
public GlassFish project on java.net". But I
What authentication method are you using? I'll take a wild guess at form.
This thread provides a few workaround solutions for this:
http://www.theserverside.com/discussions/thread.tss?thread_id=32033
I suggest looking into writing your own filter and placing it above
SecurityFilter in the stack
Hi all,
The Servlet 3.0 specification (http://jcp.org/en/jsr/detail?id=315) has
published an early draft recently (may 2008). On the description it's
written that "The reference implementation will be developed entirely in the
public GlassFish project on java.net". But I thought Tomcat 7.0 will be
autoDeploy is set to true by default in tomcat 6, make sure that this
attribute is set to "true" in the conf/server.xml. If it is set to true,
then no matter if you're re-deploying a packed or un-packed war, it will
re-deploy should the timestamps on the web deployment descriptor change.
On Wed,
I'm setting up a new server with Tomcat 6.0.16 running on Windows Server 2008
with version 1.1.14 of the native DLL. When I stop the service it seems to
stop, but the process does not end. I have to then end the process manually
before I can start the service again. I've narrowed it down to t
Hello Everyone
I am using the following versions :
Eclipse Version : Ganemede
Tomcat Sysdeo Plugin(version 3.2.1)
Tomcat Server(version 6.0.16)
I have a build.xml file created which basically puts all the contents of a
webproject.war into the location /workspace/dist/webproject or I can say I
Is the error coming from tomcat? Or does it look like it could be from
IIS?
My experience with GoDaddy is that they are not very helpful.
Even with a dedicated server account, they don't disclose to you what
ports are available. You have to find a problem and basically prove to
them that
If you mean: type http://mydomain.com and get to 00.00.00.00:/,
you must register mydomain.com in the DNS with some ISP.
If you want to get rid of the :8080, you must configure Tomcat to
listen on port 80 instead of 8080 (check the howTo's, or search the
archives).
On Jul 30, 2008, at 1:13 PM,
Hi,
I am using realm for the authorization of my web application. I would like
to include a administration section for things like modifying the user
profile or password. I have several different user names associated with
two different roles. Both roles give the pass to the web pages. I am
w
> Jq... what IDE are you using ?
> On Netbeans its like this...
>
I actually tried that even though for this project there is no IDE
involved. It is a manually deployed suite developed by a third party. I
have to compile in as close to the production environment as possible.
So far I have not bee
I just set up Apache-Tomcat
6.0.16 and have two domain names to be used as virtual hosts on the same
machine. I have set this up in $CATALINA_HOME/conf/server.xml and can now see
them both show up on the server.
After editing the tomcat-users.xml, I can now look at the main Tomcat Web
Applica
send us your test class
Filip
Talal Rabaa wrote:
Thanks for your reply! Yes, it does implement the CometProcessor method.
It's just a simple shell class displaying messages to System.out for
event(), service(), init() and the constructor. My hope is to verify Tomcat
is running with Comet prop
how do i map to the domain name itself..
When I do /mydomain.com to /mywebapp/welcome.action, it only works if I
type this in the browser:
http://00.00.00.00:8080/mydomain.com.
then it goes to http://00.00.00.00:8080/mywebapp/welcome.action but I have
created a record for mydomain.com to go to
Thanks for your reply! Yes, it does implement the CometProcessor method.
It's just a simple shell class displaying messages to System.out for
event(), service(), init() and the constructor. My hope is to verify Tomcat
is running with Comet properly before I attempt to put any meat into this
class
I'm trying to automatically assign a context path to requests from a specific
URL using a Valve, so in the following example code requests to the URL
http://www.site2.com should hit my in server.xml with the path
"/site2" :
public void invoke(Request request, Response response) throws
java.io.IO
What version of tomcat are you running?
Signed,
Alessandro Ferrucci :)
On Wed, Jul 30, 2008 at 10:46 AM, Torsten <[EMAIL PROTECTED]> wrote:
> Hi,
>
> when deploying a web application as a WAR archive the archive is
> automatically unpacked to a directory by tomcat but the WAR file stays as is
>
Hi,
when deploying a web application as a WAR archive the archive is automatically
unpacked to a directory by tomcat but the WAR file stays as is on the disk.
When this WAR file is later updated while the tomcat is NOT running tomcat will
not notice the update when it is started afterwards. T
hi all,
I'm creating a web application for auto deploying virtual host through
apache and tomcat on a production server.
Everything is ok except for the Tomcat part:
As tomcat can't be reloaded and as i can't restart anytime I want, I 've
heard jmx was great cause it was possible to modify a run
OK. You may have reinstalled Java already, but there is another way to do
this.
You can use the "8.3" file name for C:\Program Files. Windows always creates
this for every directory and file that doesn't fall into the pattern. This
works on XP and Server 2003. I assume it will work on any Wind
this
Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster
memberDisappeared
INFO: Received member
disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002,
alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83 -
Madonesa sanjaya wrote:
Hi,
I have deployed my application on a clustered environment and used session
created event to monitor the number of users login to each machine (Using
SNMP MIB counters). But once a user is login to one machine counter gets
updated in every machine. I believe this is du
does your servlet iimplement the CometProcessor interface?
Filip
Talal Rabaa wrote:
Hello!
I apologize if this question has been asked many times before. I've searched
quite a bit for concrete answers on how to setup Comet but I'm having no luck.
From what I understand, all that is needed
:confused::confused::confused:
I commented out the @echo off line of catalina.bat and server started with
no problems.
Then I removed comments, and it still worked...
I don't get it.
But anyway, the server is chugging happily..
zorglub76 wrote:
>
> Hi all,
> I have a problem with setting J
Hi
I have tried godaddy's Shared hosting and i had the sme problem and they
gave me the same answer that upgrade to dedicated server, so then i though i
will try something. first of all they are still using tomcat 4.4.x something
and java 1.4(or may be 1.3 i dont remember properly), so first cre
eg on NB if I want the webapp to use Java 5 and I want it to use TC 5.5...
On the project... right click properties->run --- pick the TC you want...
On the project... right click properties->lib... and pick the JRE you want.
On the server... the JRE used is in the Java Tab...
You never have to
- Original Message -
From: "zorglub76" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 30, 2008 10:58 AM
Subject: java_home in tomcat6
Hi all,
I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16.
When I set it in catalina.bat as:
set JAVA_HOME=C:\Program Files\Java\jdk1
Yes, I tried it with single quotes.
What confuses me here is that I have two double quotes in the end of the
error log (whatever quotes I use):
Files\Java\jdk1.6.0_07"" was unexpected at this time.
Deepak Mishra-2 wrote:
>
> i havent used windows, but in linux i frequently face this problem due
I left this as the last solution. In fact, I'd be OK with having java 1.5
with the Tomcat.
I just wanted to find the part of startup code that causes this issue.
Obviously, I only need some quotes somewhere, and I hoped someone could
point me that spot.
I'll keep searching for that.
Peter Crowt
i havent used windows, but in linux i frequently face this problem due to
spaces in between.
so you should better install it at a location other than "Program Files"
i am surprised over how you got tc5 working this way !!
also, did you try single-quotes as well as double-quotes ?
On Wed, 30 Ju
- Original Message -
From: "Jq" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, July 29, 2008 11:05 PM
Subject: jsp compile question
How can I simulate the way tomcat builds a jsp file?
I need to debug a .jsp that fails to build when requested.
Thanks.
Jq... what IDE are you using ?
On N
> From: zorglub76 [mailto:[EMAIL PROTECTED]
> I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16.
> When I set it in catalina.bat as:
> set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
> set JRE_HOME=C:\Program Files\Java\jdk1.6.0_07\jre
>
> I get an error:
> Files\Java\jdk1.6.0_07""
Hi all,
I have a problem with setting JAVA_HOME variable in Tomcat 6.0.16.
When I set it in catalina.bat as:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
set JRE_HOME=C:\Program Files\Java\jdk1.6.0_07\jre
I get an error:
Files\Java\jdk1.6.0_07"" was unexpected at this time.
But when I do exac
Hello all,
I am trying to do session replication in two tomcats (using Apache to do the
loadbalancing).
Ran the examples application and put a value in to the session. Now stopped
the tomcat where the session is set.
Submitted the URL again.
Web page showed no value in the session. I think the sess
Thanks very much to all who replied!
The suggestions based on requiring jspx as the jsp-file format are
unfortunately not possible. That's too much to require of users of the
new framework. And non-xml jsp is really hard to parse. So I think that
the suggestions involving scanning the .jsp mys
42 matches
Mail list logo