Unable to run tomcat in Eclipse

2008-07-18 Thread KANIKA GUPTA
Hi I am using tomcat V6.0.16 on openSuse 11.0 along with eclipse 3.4.0 genameyde. The tomcat starts and stop normally when i do the same on command line, but when i try to start the server through eclipse... it gives me the following error: 'Starting Tomcat v6.0 Server at localhost has encount

Re: Disable password checking for Manager app

2008-07-18 Thread André Warnier
dracus wrote: Greetings, all I have a web app server that has Apache in front of Tomcat. Apache is handling user authentication and security checking (through an experimental X.509 <-> Kerberos gateway service being developed by others in my group, but that is neither here nor there), and

Disable password checking for Manager app

2008-07-18 Thread dracus
Greetings, all I have a web app server that has Apache in front of Tomcat. Apache is handling user authentication and security checking (through an experimental X.509 <-> Kerberos gateway service being developed by others in my group, but that is neither here nor there), and passes the user

RE: Tomcat6 map subdomain to particular directory under web root

2008-07-18 Thread kazukin6
Caldarale, Charles R wrote: > > You can use Tuckey's URL rewrite filter (http://tuckey.org/urlrewrite/) or > you could use virtual hosts: instead of the , define a second > with an appBase pointing to the desired directory. > - Chuck > Chuck, thanks a lot! 1) I didnt manage to get the secon

Re: logging of "response time"

2008-07-18 Thread Rainer Jung
Tony Anecito schrieb: I have asked on this group but have never gotten an answer. My guess is it means socket connect time. What that means is the real question. Again, I have a theory that the amount of time is not just the response time (taking into account the chatter of the signaling) of the

Apache 2.2.8+tomcat 6.0.16+Window vista & http 404

2008-07-18 Thread rangeli nepal
Recently I installed apache and tomcat. Environment is depicted int subject line. They both work nice and fine independently. I am trying to integrate them with mod_jk. I belive I followed all the steps suggested by document. 1. I downloaded mod_jk ( 1.2.26) kept it as mod_jk.so in modules direc

export and Tomcat?

2008-07-18 Thread buters
Hi, My tomcat runs as a service on Linux system. Earlier another person set $JAVA_OPTS as "=-Dartifactory.home=/srv/artifactory-1.2.5" I would change it with "export JAVA_OPTS=-Dartifactory.home=/srv/artifactory-1.3". If I execute echo $JAVA_OPTS, I see "=-Dartifactory.home=/srv/artifactory-1.3".

Re: Artifactory with Tomcat in Linux

2008-07-18 Thread buters
Thank you very much, David, for your fast reply. Sorry I was some time busy with other things. I've looked in the localhost.log and I've found the error: java.lang.IllegalArgumentException: Could not create or access artifactory main directory Unable to create directory /usr/share/artifactory-1

RE: Tomcat6 map subdomain to particular directory under web root

2008-07-18 Thread Caldarale, Charles R
> From: kazukin6 [mailto:[EMAIL PROTECTED] > Subject: Tomcat6 map subdomain to particular directory under web root > > server.xml >unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > w1.localhost > > > Using alias "

Tomcat6 map subdomain to particular directory under web root

2008-07-18 Thread kazukin6
server.xml w1.localhost Using alias "w1.localhost" maps subdomain to web root directory Is there any trick to map w1.localhost to localhost/w1 directory? -- View this message in context: http://www.nabble.com/Tomcat6-map-subdomain-to-particular-directory-under-web-root-tp1

Re: Changing content type on reload

2008-07-18 Thread Dola Woolfe
Just as a quick follow up, this works in Firefox, but not in IE. --- On Thu, 7/17/08, Dola Woolfe <[EMAIL PROTECTED]> wrote: > From: Dola Woolfe <[EMAIL PROTECTED]> > Subject: Changing content type on reload > To: "Tom Cat" <[EMAIL PROTECTED]> > Date: Thursday, July 17, 2008, 10:51 PM > Hi, > >

Precompiling .tag files containing Java 5 syntax?

2008-07-18 Thread Jess Holle
Tomcat's JSP precompiler does not seem to be able to handle tag files containing Java 5 syntax -- it acts as if it were in "-source 1.4" [or "-source 1.3", we don't use asserts much] mode. Is this a known issue? Is there something to be done about this? I'm doing: where jasper2 is taskd

Tomcat does not start

2008-07-18 Thread georgiu marius
Hi ! I'm working with a cluster application and I want to use session replication. Here is my server.xml :                                                                           

Re: Setting context in tomcat6

2008-07-18 Thread Charles Caldarale
On Jul 18, 2008, at 2:12, "vibhuti" <[EMAIL PROTECTED]> wrote: This is mentioned in tomcat documentation and I just followed what was written there. Here is the link: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html If this is erroneous then renaming or using filter are the only wa

Re: Artifactory with Tomcat in Linux

2008-07-18 Thread David Smith
What's in your logs when you start tomcat? If you check the manager app, does it show artifactory running? --David buters wrote: Hi, on the site http://www.theserverside.com/tt/articles/article.tss?l=SettingUpMavenRepository is described how Artifactory can be set up as webapplication for To

Re: tomcat giving a response without parsing the header at all

2008-07-18 Thread André Warnier
tomcat tom wrote: webDAV scenario i have to authenticate an incoming url with the "settings" in the access control list on the server while doing so, i should get an 403 error, because of not having 'write' permissions so the user authentication happens at the acl itself, before even the heade

Artifactory with Tomcat in Linux

2008-07-18 Thread buters
Hi, on the site http://www.theserverside.com/tt/articles/article.tss?l=SettingUpMavenRepository is described how Artifactory can be set up as webapplication for Tomcat in Linux . I'm using Tomcat-6.0. It runs as a service. It has successful deployed Artifactory. But I get 404 error with http://lo

does tomcat cache any data in its "intermediate state"

2008-07-18 Thread tomcat tom
like, can it cache ejb in "transition"

Re: tomcat giving a response without parsing the header at all

2008-07-18 Thread tomcat tom
webDAV scenario i have to authenticate an incoming url with the "settings" in the access control list on the server while doing so, i should get an 403 error, because of not having 'write' permissions so the user authentication happens at the acl itself, before even the header parsing happens...

RE: Doubt on lifecycle of a class in "shared" folder

2008-07-18 Thread java_is_everything
So, it means my code and "intentions" are alright, it's GWT that seems the culprit, since I have not touched the default conf/properties file. Regards Ajay Garg Caldarale, Charles R wrote: > > > > What, pray tell, is a "static instance" in Java terminology? > > If the class file of interes

Re: Apache/mod_jk serves random files from tomcat

2008-07-18 Thread Rainer Jung
Tim Redding wrote: Just checked the the mod_jk log file. 2 other files were requested at 12:31:42 in addition to the /css/global.css file. One was index.html which just happened to be 2352 bytes in size. Exactly the same as the mysterious global.css file we got served. I have full debug le

Re: Method or function to be executed on tomcat startup

2008-07-18 Thread Mikolaj Rydzewski
Edoardo Panfili wrote: "xx.ServerInit" is a regular servlet the code is in init(ServletConfig config) method Use of ServletContextListener is preferred. To OP: put properties Map in ServletContext and it will be accessible for both servlets and JSPs (which are the servlets anyway). -- Mikola

Re: Method or function to be executed on tomcat startup

2008-07-18 Thread Edoardo Panfili
Yves Glodt ha scritto: Hello, this is probably a FAQ, but I failed to find ti anyway... Where can I declare a static method that I want to be executed on tomcat or webapp startup? I use this in web.xml Env init ServiziServerInit xx.ServerInit 1 ServiziServerInit /SI "xx.Serv

Method or function to be executed on tomcat startup

2008-07-18 Thread Yves Glodt
Hello, this is probably a FAQ, but I failed to find ti anyway... Where can I declare a static method that I want to be executed on tomcat or webapp startup? I have a properties file which I would like to read into a Map on startup, and have this Map available throughout my servlets and jsps.

Rotate stdout_xxx.log without Restart Tomcat

2008-07-18 Thread Alexander Diedler
Hello, It is possible to implement a log rotation for the Tomcat Default logs (Stdout, stderr,localhost,Jakarta_service etc) ? It is a Tomcat 6.0.14 x64 on Windows 2003 Std Ed. Greetings Alex

RE: Setting context in tomcat6

2008-07-18 Thread vibhuti
This is mentioned in tomcat documentation and I just followed what was written there. Here is the link: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html It says Context elements may be explicitly defined: - in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[en