RE: apache virtual hosting + server.xml + context

2005-10-12 Thread Caldarale, Charles R
> From: sudip shrestha [mailto:[EMAIL PROTECTED] > Subject: Re: apache virtual hosting + server.xml + context > > We are having the similar problem, > but if we place context in server.xml, ( I also have a > META-INF/context.xml > ) and as we are using dbcp connection po

Re: apache virtual hosting + server.xml + context

2005-10-12 Thread sudip shrestha
We are having the similar problem, but if we place context in server.xml, ( I also have a META-INF/context.xml ) and as we are using dbcp connection pool, and it seems that tomcat initializes those pool twice On 10/7/05, gianni dalmasso <[EMAIL PROTECTED]> wrote: > > hi list, i ha

RE: apache virtual hosting + server.xml + context [255643:132138]

2005-10-07 Thread RTE - Meridian Club
quot;gianni dalmasso" <[EMAIL PROTECTED]> > Received: 10/7/2005 10:51 AM > To: > Subject: apache virtual hosting + server.xml + context > > hi list, i have a problem. i have apache 2.0 + tomcat 5.5. > i have N name based virtual hosts on the same machine managed by apache; some

apache virtual hosting + server.xml + context

2005-10-07 Thread gianni dalmasso
hi list, i have a problem. i have apache 2.0 + tomcat 5.5. i have N name based virtual hosts on the same machine managed by apache; some of them need to use tomcat (have jsp pages and servlets...) if i set a server.xml of tomcat with several hosts, and every host has ist context --> it&#

Re: Setting environment variables in server.xml.

2005-10-04 Thread andy gordon
the docs, I should be able to >set an environment variable in server.xml, like the built-in example: > > > > >Unfortunately, I can't get this to work; I can't read in simpleValue, or >the ones I really want to do when they are defined in server.xml. But I >have no pr

Re: Setting environment variables in server.xml.

2005-10-04 Thread David Kerber
access it. Hope this helps. - andy gordon David Kerber <[EMAIL PROTECTED]> wrote: If I'm reading it correctly, according to the docs, I should be able to set an environment variable in server.xml, like the built-in example: Unfortunately, I can't get this to work; I can'

Re: Setting environment variables in server.xml.

2005-10-04 Thread andy gordon
ing it correctly, according to the docs, I should be able to set an environment variable in server.xml, like the built-in example: Unfortunately, I can't get this to work; I can't read in simpleValue, or the ones I really want to do when they are defined in server.xml. But I have no pro

Setting environment variables in server.xml.

2005-10-04 Thread David Kerber
If I'm reading it correctly, according to the docs, I should be able to set an environment variable in server.xml, like the built-in example: Unfortunately, I can't get this to work; I can't read in simpleValue, or the ones I really want to do when they are defined in ser

RE: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-29 Thread Caldarale, Charles R
> From: Alan Chandler [mailto:[EMAIL PROTECTED] > Subject: Re: Where can I find specs for ALL the xml tags that > can be used in server.xml. > > Unfortunately, it still doesn't specify what the > auth="Container" attribute means. This is pretty clear

Re: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-29 Thread Alan Chandler
On Monday 29 Aug 2005 14:55, Caldarale, Charles R wrote: > > From: Alan Chandler [mailto:[EMAIL PROTECTED] > > Subject: Re: Where can I find specs for ALL the xml tags that > > can be used in server.xml. > Then you certainly should be looking at the 4.1 docs, since 5

RE: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-29 Thread Caldarale, Charles R
> From: Alan Chandler [mailto:[EMAIL PROTECTED] > Subject: Re: Where can I find specs for ALL the xml tags that > can be used in server.xml. > > I must admin not really searching 5.5 docs, because I am > using 4.1, but I can't find the tag described > aywhere. Th

Re: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-29 Thread Alan Chandler
On Monday 29 Aug 2005 06:03, Anto Paul wrote: > On 8/29/05, Alan Chandler <[EMAIL PROTECTED]> wrote: > > Where can I find specs for all the tags in server.xml > > I use these pages. it explains the elements used in the server.xml. > http://jakarta.apache.org/tomcat/tomcat-5

Re: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-28 Thread Anto Paul
On 8/29/05, Alan Chandler <[EMAIL PROTECTED]> wrote: > Where can I find specs for all the tags in server.xml I use these pages. it explains the elements used in the server.xml. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html -- rgds

Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-28 Thread Alan Chandler
Where can I find specs for all the tags in server.xml In particular, trying to find out why I used to be able to access a JNDI datasource and now can't. All I did was move the tag from the local to the . Move it back and it starts working again. -- Alan Chandler

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
Mark Benussi wrote: Thanks Darryl I have followed this guide but don't know how to add the modify the server.xml I attached to reflect this. Also are you saying I should put the class that implements the listener in the server/classes? I am fine with this but wasn't sure if it wou

RE: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Mark Benussi
Thanks Darryl I have followed this guide but don't know how to add the modify the server.xml I attached to reflect this. Also are you saying I should put the class that implements the listener in the server/classes? I am fine with this but wasn't sure if it would all get loaded toget

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
Content is started. I need to know when its finished, which is why I am using a LifecycleListener which should be placed in the server.xml Original Message Follows From: "Darryl L. Miles" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users Li

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
Content is started. I need to know when its finished, which is why I am using a LifecycleListener which should be placed in the server.xml Original Message Follows From: "Darryl L. Miles" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users Li

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Mark Benussi
Thanks Darryl but I need to implement a LifecycleListener. You have implemented a ServletContextListener which only gets called when the Content is started. I need to know when its finished, which is why I am using a LifecycleListener which should be placed in the server.xml Original

Re: Placing a LifecycleListener in my server.xml

2005-07-27 Thread Darryl L. Miles
Mark Benussi wrote: Anyone have any ideas where on earth I put my class that implements the LifecycleListener (In a jar in my WEB-INF/lib) as I don't seem to have a context in my server.xml. The context is in WEB-INF/web.xml as its a webapp specific listener, NOT a global server

Placing a LifecycleListener in my server.xml

2005-07-27 Thread Mark Benussi
Anyone have any ideas where on earth I put my class that implements the LifecycleListener (In a jar in my WEB-INF/lib) as I don't seem to have a context in my serve

getServletContext() returns "/" for default context defined outside of server.xml

2005-07-22 Thread Martin Bromley
Hi, I'm trying to setup the default Context for a Host, without defining it in server.xml. In conf/Catalina/localhost I've created a file named .xml, and defined the Context within it, without defining the path - I understand from the Tomcat docs that it should be inferred as "

Automated Server Configuration (was api for server.xml maintenance)

2005-07-21 Thread Rob Hills
Hi All, I received no reply to my earlier email in this thread so I thought I'd try and come up with a less verbose description of my problem. I'm looking to automate the management of hosts on my server. Our tomcat servers operate multiple applications, each of which has its own host entry an

auto redeploy with context in server.xml

2005-07-18 Thread Alex Burgel
hi, in tomcat 5.5.9, is it possible to have a webapp, whose context is defined in server.xml, to be redeployed using the auto-deploy system? i have my ROOT webapp defined in server.xml: when i replace the .war file, i expect that tomcat should reload it, but nothing happens. i read a post

api for server.xml maintenance

2005-07-11 Thread Rob Hills
meant I've always had to manually create a host entry each time I deploy a new application, either by editing server.xml in the old days, or via the admin application in TC 5.5. We're now automating the process of deployment and I've been hunting around for some kind of API to enab

Server.xml query

2005-06-22 Thread sai krishna
Hi again What is this service name in server.xml I have seen two ways of writing it. 1)Tomcat Standalone 2)Tomcat-Apache what is the difference between two? --- Randall Svancara <[EMAIL PROTECTED]> wrote: > > This might be something to look at, but I know in > Fedora Core 3

Re: Jspinterceptor in server.xml

2005-06-06 Thread Mark Thomas
bouml wrote: I need some more information about JSPInterceptor in server.xml. Is there a detailed docu ? Have you looked at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html#JspInterceptor ? - To unsubscribe

Jspinterceptor in server.xml

2005-06-06 Thread bouml
Hi ! I need some more information about JSPInterceptor in server.xml. Is there a detailed docu ? Is JSPInterceptor for compiling .jsp to .java or for .java to .class ? thanks a lot. Thomas

Jspinterceptor in server.xml

2005-06-06 Thread bouml
Hi ! I need some more information about JSPInterceptor in server.xml. Is there a detailed docu ? Is JSPInterceptor for compiling .jsp to .java or for .java to .class ? thanks a lot. Thomas

Custom server.xml location with tomcat windows service (5.0.28)

2005-05-27 Thread Iannis Hanen
Hi, I have been trying to setup the tomcat windows service to use an alternate configuration file location, instead of the default server.xml under conf. The tomcat service pulls all the information from the registry, but I could not find a good spot there to specify a different server.xml

RE: in Tomcat 5.0.28 not working with multiple tomcat services in server.xml

2005-05-27 Thread Iannis Hanen
Hi Doug, Thanks for your answer. I did specify a different IP / port for the connectors. I finally changed my code to use in server.xml instead of . This workaround worked properly, but I have not been able to do the same thing with . Anyway, this is fine for now. Thanks, Iannis

Re: in Tomcat 5.0.28 not working with multiple tomcat services in server.xml

2005-05-20 Thread Parsons Technical Services
day, May 19, 2005 8:11 PM Subject: in Tomcat 5.0.28 not working with multiple tomcat services in server.xml Hi, I am back with some more questions. I have configured Tomcat to operate with multiple services and engines (I have different services since I need separate connector for different s

in Tomcat 5.0.28 not working with multiple tomcat services in server.xml

2005-05-19 Thread Iannis Hanen
. In the first service, everything works great. But in the second service, I cannot access any of them. Is it a problem in Tomcat, or a misconfiguration? Here is an outline of my server.xml file below. Basically, "AttrName2" in the "foo2" context cannot be found. If I swap the o

how to override servlet context defined in server.xml with the context in web.xml

2005-05-17 Thread fengmin zhang
Hi all, Does anybody know how to override a servlet context defined in server.xml with the one defined in web.xml? Please help According to Tomcat 5.x document, the context for a servlet, say myservlet, can be specified in both TOMCAT_HOME/conf/server.xml and in TOMCAT_HOME/wenapps

Re: Admin Application messes up HTTPS Connectors in server.xml

2005-05-16 Thread Peter Rossbach
;Tomcat Users List" <[EMAIL PROTECTED]> To tomcat-user@jakarta.apache.org cc Subject tomcat-user Digest 15 May 2005 22:55:08 - Issue 5626 Message from Peter Rossbach <[EMAIL PROTECTED]> on Sun, 15 May 2005 20:16:01 +0200 - To: Tomcat Users List Subject: Re: Adm

Re: Admin Application messes up HTTPS Connectors in server.xml

2005-05-16 Thread Ankit Shah
Peter Rossbach <[EMAIL PROTECTED]> on Sun, 15 May 2005 20:16:01 +0200 - To: Tomcat Users List Subject: Re: Admin Application messes up HTTPS Connectors in server.xml Hey Ankit, can it be that you forget the secure="true" attribute at your https connector? I have look

Re: Admin Application messes up HTTPS Connectors in server.xml

2005-05-16 Thread Ankit Shah
Peter Rossbach <[EMAIL PROTECTED]> on Sun, 15 May 2005 20:16:01 +0200 - To: Tomcat Users List Subject: Re: Admin Application messes up HTTPS Connectors in server.xml Hey Ankit, can it be that you forget the secure="true" attribute at your https connector? I have look

Re: Admin Application messes up HTTPS Connectors in server.xml

2005-05-15 Thread Peter Rossbach
still exists, please send your working and breaking Connector element config from server.xml Thanks Peter Ankit Shah schrieb: Hi, The Tomcat admin utility doesn't save the HTTPS connectors properly. It misses out the 'sslProtocol' attribute and this results in the failed connec

Admin Application messes up HTTPS Connectors in server.xml

2005-05-12 Thread Ankit Shah
No Certificate presented!! 2. Manually did a diff on server.xml and server.xml. . The difference is the missing 'sslProtocol' attribute. The docs say this attribute is optional, but that doesn't seem like the case. Added the attribute manually sslProtocol="TLS"

Re: can't load server.xml

2005-05-11 Thread =?iso-8859-1?Q?Andr=E9s_Glez.?=
I found. I forgot the chown -R tomcat.tomcat /usr/local/tomcat/ - Original Message - From: "Andrés Glez." <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, May 11, 2005 5:29 PM Subject: jsvc: can't load server.xml I've installed tomcat

jsvc: can't load server.xml

2005-05-11 Thread =?iso-8859-1?Q?Andr=E9s_Glez.?=
omcat/bin/bootstrap.jar -debug org.apache.catalina.startup.Bootstrap ... ... ... jsvc.exec debug: Class org/apache/commons/daemon/support/DaemonLoader found jsvc.exec debug: Native methods registered jsvc.exec debug: Checking daemon jsvc.exec debug: Daemon checked successfully Can't load

Re: change to server.xml requires restart 5.5.4

2005-04-11 Thread Parsons Technical Services
what are the apps doing? If you are making a change such as this why is restarting Tomcat an issue? Just trying to understand to better help. Doug - Original Message - From: "quentin.compson" <[EMAIL PROTECTED]> To: Sent: Monday, April 11, 2005 11:08 PM Subject: change t

change to server.xml requires restart 5.5.4

2005-04-11 Thread quentin . compson
tomcat 5.5.4 on win2k server, jvm 1.4.x it seems that every time i make a change to the server.xml (db connection pools), i have to restart tomcat. i assume thats normal, but i was hoping maybe not to have to do it. or maybe 5.5.9 supports something like this? thx

Re: Commenting out the WarpConnector part in server.xml

2005-04-08 Thread Anoop kumar V
11:21 AM, Anoop kumar V <[EMAIL PROTECTED]> wrote: > > When i comment out this block in server.xml > > > > > > > > Probably due to the nested comment tags, which is a no no, try just > temporarily cutting that whole block out instead or remove the nested &

Re: Commenting out the WarpConnector part in server.xml

2005-04-08 Thread Jason Bainbridge
On Apr 8, 2005 11:21 AM, Anoop kumar V <[EMAIL PROTECTED]> wrote: > When i comment out this block in server.xml > > > Probably due to the nested comment tags, which is a no no, try just temporarily cutting that whole block out instead or remove the nested comments.

Commenting out the WarpConnector part in server.xml

2005-04-08 Thread Anoop kumar V
When i comment out this block in server.xml why do my applications (under webapp) not come up? I am running tomcat as a standalone - i do not have Apache installed much less configured to work with tomcat. Although tomcat startup

Re: transport guarantee in server.xml?

2005-04-05 Thread Robert r. Sanders
I'm not am expert, but I don't know of any way other than creating a stub web.xml file - it shouldn't have to be much, but I think you're going to need it. Although an alternative would be to have a element in the server.xml file that has ONLY the SSL , but that seems lik

transport guarantee in server.xml?

2005-04-04 Thread Ossie Guy
In our server.xml (Tomcat 4.1), we have a context that is used to serve up static content (PDFs) that are collected in a directory on our server: There is no war or other webapp involved here, just the folder with the static files, and thus no web.xml either... (Don't worry, we are m

Re: Admin application creates duplicate "secure" attribute in server.xml

2005-03-29 Thread Peter Rossbach
old StandardServer saving code was strange. The new StoreConfig module has a flexible customizable API to store server.xml and context.xml. You can activate the new saving module with This listener register a new MBean with more options to save the tomcat configurations. Give 5.5.9 a

Re: Admin application creates duplicate "secure" attribute in server.xml

2005-03-29 Thread Jeffrey Barnett
SSL Connector is a bug and I fix it for Tomcat 5.5.x. The old StandardServer saving code was strange. The new StoreConfig module has a flexible customizable API to store server.xml and context.xml. You can activate the new saving module with This listener register a new MBean with

Re: Admin application creates duplicate "secure" attribute in server.xml

2005-03-28 Thread Peter Rossbach
Yes the wrong saving SSL Connector is a bug and I fix it for Tomcat 5.5.x. The old StandardServer saving code was strange. The new StoreConfig module has a flexible customizable API to store server.xml and context.xml. You can activate the new saving module with This listener register

AutoReply: Re: Admin application creates duplicate "secure" attribute in server.xml

2005-03-28 Thread j2ee
Hello tomcat-user@jakarta.apache.org, This refers to your mail with subject as "Re: Admin application creates duplicate "secure" attribute in server.xml". Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and matc

Re: Admin application creates duplicate "secure" attribute in server.xml

2005-03-28 Thread Jeffrey Barnett
Mike, unfortunately I'm only gotten better at restoring server.xml after it has been corrupted. You are the first person from the tomcat-user list to even confirm that the problem exits on other sites.. One consultant I consulted said that they had never heard of the problem, but that we

Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread David Causse
Ashutosh Sharma wrote: Hi David, Thanks for the reply. But if i see the manager.xml under this location it's contents are like this: So for my webApp viz. reports if i put this kind of contents: debug="0" privileged="true"> and then i restart the tomcat i see the directory listing. S

Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread Ashutosh Sharma
>tomcat. > >Can someone help me out? > >Even ur help to deploy using manager will do?but i want manual editing > >server.xml and then adding the context for my webApp. > >Please help me. > > > > > Edit the file $CATALINA_HOME/conf/Catalina/localhost/your_

Re: new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread David Causse
of tomcat. Can someone help me out? Even ur help to deploy using manager will do?but i want manual editing server.xml and then adding the context for my webApp. Please help me. Edit the file $CATALINA_HOME/conf/Catalina/localhost/your_webapp.xml. Regards. David

new to tomcat 5.0.28-how i can add context in the server.xml

2005-03-15 Thread Ashutosh Sharma
Hi, I m new to tomcat 5.0.28. Previously i worked with tomcat 4.1.x-where i will create a context with a docBase and this way i will work with my webApp. Now the world has changed a lot-everyone just deploying a WAR file under webapps. But i still want to work in the old manner-i want my C:\Dir\\ja

Re: host tag in server.xml

2005-03-11 Thread Drew Jorgenson
Hey Michael, The way I do it is first of all set the wildcard in the DNS config for the domain and point it to a certain IP address, e.g. * IN A 1.2.3.4 then I set up the virtual host in server.xml to contain the IP address as an alias mydomain.com

host tag in server.xml

2005-03-11 Thread Michael Sharkey
Hi - I am running tomcat 5.5 as a standalone web server. I want to know how to use wildcards in the host tag (or alias tag) so that when someone types xxx.mydomain.com, the xxx can be anything at all and they go to the same place. In apache, I know you could say something like: *.mydomain.com T

RE: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread Erkkila, Matthew
Here is my config to get a JNDI datasource. It works for me but I am not sure if all of it is actually required. ***context.xml*** ***web.xml snippet from inside *** Connection Pool jdbc/ssdb javax.sql.DataSource Container ***server.xml snippetr from inside *** Matt

Re: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread David Tonhofer, m-plify S.A.
Ah, cool, so you did not read the docs for the datasource realm, then ... WRONG! http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#DataSourceRealm -> localDataSource Easy when you know it, then. Tested ok. One problem down. Additionally: The 'factory' attribute of the 'Resource' elem

Re: Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread Remy Maucherat
On Thu, 10 Mar 2005 12:21:29 +0100, David Tonhofer, m-plify S.A. <[EMAIL PROTECTED]> wrote: > 00>Exception performing authentication > 01> javax.naming.NameNotFoundException: Name jdbc is not bound in this > Context > 02> at org.apache.naming.NamingContext.lookup(NamingContext.java:7

Tomcat 5.5.7. server.xml doc may be buggy...is it bugzilla time?

2005-03-10 Thread David Tonhofer, m-plify S.A.
Hello, Question regarding Tomcat 5.5.7 and the JNDI Datasource: It seems like either the web documentation for Tomcat 5.5 or the implementation is incorrect regarding the use of JNDI Datasources. In this page: the

configure server.xml to use Realm

2005-02-24 Thread SRiopel
Hi, I try to set up a single sign on using a form for a web application. I use Apache Tomcat 5.0.28 Server. When I put this line in my server.xml config file and restart the server. I get no error message and everything seems to be started OK but when I try to access the server from a web

Server.xml parameters unavailable after reload

2005-02-17 Thread Tony Tomcat
I am unable to read init parameters in my server.xml file when my webapp is reloaded. This issue was documented in the following bug http://issues.apache.org/bugzilla/show_bug.cgi?id=19852 It said the bug was fixed but I am using Tomcat 5.0.28 and I have this issue. Was this bug re-introduced

dynamic server.xml

2005-02-16 Thread Oleg
I know question was asked many times and I have read a lot of posts people asking how to add a virtual host without restarting tomcat and the answer, not possible. So I am wondering, is it because its time expencive that tomcat doesnt check virtual hosts names real time, or atleast refreshes the l

Server.xml configuration in Tomcat 4.1

2005-02-10 Thread Shilpa Nalgonda
Hi All, i am using Tomcat4.1, and whenever i create new application i am adding the context details in server.xml Is it possible to create a new myapp.xml file and put the context info in that. I tried to create a myapp.xml and place it under webapps directory, but the application is not finding

Server.xml help

2005-02-10 Thread Charles P. Killmer
Does anyone see anything wrong with this server.xml? I am still trying to pin down my database connectivity issues and would like some validation that I have Tomcat setup appropriately. site1.com Thanks

Re: [OT] Re: Compression in the server.xml

2005-02-09 Thread Remy Maucherat
On Wed, 09 Feb 2005 06:31:07 -0500, Tim Funk <[EMAIL PROTECTED]> wrote: > No. They are written in 2 different languages and have 2 different purposes. Indeed. Integration will improve, though (the Apache/Tomcat connector will be bundled in Apache and will be compatible with all the other module co

Re: [OT] Re: Compression in the server.xml

2005-02-09 Thread Tim Funk
No. They are written in 2 different languages and have 2 different purposes. -Tim Graham Reeds wrote: Tim Funk wrote: Compression is useless if you use apache in front of tomcat. Do you think that there will be a merging of Tomcat and Apache in the future? Random speculation appreciated. -

Re: JNDI without edit server.xml

2005-02-09 Thread Harry Mantheakis
> Any idea? No idea I'm afraid :-/ All I can tell you for sure is that this stuff *does* work, pretty much out-of-the-box, as described in the Tomcat docs - but everything has to be spot on. So don't lose faith, even if that means starting from scratch again - which might be worth considering, i

[OT] Re: Compression in the server.xml

2005-02-08 Thread Graham Reeds
Tim Funk wrote: Compression is useless if you use apache in front of tomcat. Do you think that there will be a merging of Tomcat and Apache in the future? Random speculation appreciated. G. - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Compression in the server.xml

2005-02-08 Thread Tim Funk
Compression is useless if you use apache in front of tomcat. Look into mod_gzip and make sure the option for zipping chunked data in mod_gzip is turned on. -Tim Randy Paries wrote: Could some one explain the downsides of setting compression="on" in the server.xml I have a web app that

Compression in the server.xml

2005-02-08 Thread Randy Paries
Could some one explain the downsides of setting compression="on" in the server.xml I have a web app that averages 2 million hits aday. The static and images are handled using apache. I am trying to understand what the compression setting is used for in the server.xml and wh

Re: JNDI without edit server.xml

2005-02-08 Thread Davide Gurgone
Harry Mantheakis wrote: I think your element is missing the 'factory' parameter. [CUT] Thank you 4 the response... I try it and now the error is changed: java.lang.NoSuchMethodError: org.apache.naming.resources.ProxyDirContext.lookupCache(Ljava/lang/String;)Lorg/apache/nami ng/resources/CacheEntr

Re: JNDI without edit server.xml

2005-02-08 Thread Harry Mantheakis
t; Hi all, > I've got a problem. > I'm using tomcat 5.0 with Oracle 9.2i. Now I want to upgrade tomcat to > the newest version, but the same configuration doesn't work again. > > I used this solution for tomcat 5.0, because I don't whant to write > anithing on t

Re: JNDI without edit server.xml

2005-02-07 Thread Davide Gurgone
ntext.xml file and I put it into $PROJECT_HOME/META-INF dir, like described in my first thread and finally I add this rows in WEB-INF/web.xml: jdbc/strutsProva javax.sql.DataSource Container I don't add anything in server.xml or in another file... What can I do to dep

Re: JNDI without edit server.xml

2005-02-07 Thread fstmncn
It looks like it can't find the db driver. Try putting it under WeB-INF\lib if you haven't done it yet. Moreover be sure to have the references in the web.xml of your application. These are mine, for example: jdbc/ddb javax.sql.DataSource Container mail/dmail

Re: JNDI without edit server.xml

2005-02-07 Thread Davide Gurgone
fstmncn wrote: you should edit context.xml under META-INF in your web-application. HTH, Fausto. Hi Fausto, Thank you for the response, I try your solution, but I think I wrong something, 'cause the problem is the same: INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' org.apac

Re: JNDI without edit server.xml

2005-02-07 Thread fstmncn
he same configuration > doesn't work again. > > I used this solution for tomcat 5.0, because I don't > whant to write > anithing on tomcat server.xml file. > > To configure and use it I created ONLY this xml and > put it on > $TOMCAT_HOME/conf/catalina/loca

JNDI without edit server.xml

2005-02-07 Thread Davide Gurgone
Hi all, I've got a problem. I'm using tomcat 5.0 with Oracle 9.2i. Now I want to upgrade tomcat to the newest version, but the same configuration doesn't work again. I used this solution for tomcat 5.0, because I don't whant to write anithing on tomcat server.xml file. To

Re: Admin application creates duplicate "secure" attribute in server.xml

2005-02-02 Thread Jeffrey Barnett
llows: Jeffrey Barnett wrote: We have recently upgraded from Tomcat 4 to Tomcat 5.0.27. Now whenever we use the Admin application to alter webapp context parameters the new server.xml that gets written out contains an extra 'secure="true"' attrib

Use of Admin application creates duplicate "secure" attribute in server.xml

2005-01-31 Thread Jeffrey Barnett
We have recently upgraded from Tomcat 4 to Tomcat 5.0.27. Now whenever we use the Admin application to alter webapp context parameters the new server.xml that gets written out contains an extra 'secure="true"' attribute at the end of the ssl , which causes the server to

Context parameters in server.xml

2005-01-18 Thread Gert-Jan Kreeft
I have a web-application configured in the server.xml of a Tomcat 4.1.30 server. In the element I have a nested that can be accessed in my application code with: ctx.getInitParameter("...") This works fine, as long as I do not redeploy the web-application. When the webapp is rede

Re: Variable in server.xml

2005-01-13 Thread Tim Funk
Make it gipe.home=D:\\Projets\\GIPENV\\dist or gipe.home=D:/Projets/GIPENV/dist -Tim Zakaria kHABOT wrote: I use Tomcat 5.0.25. in catalina.properties I put : gipe.home=D:\Projets\GIPENV\dist in server.xml : But I doesn't work - Original Message - From: "Tim Funk" &l

Re: Variable in server.xml

2005-01-13 Thread Zakaria kHABOT
ld (TM). Central Command http://www.centralcommand.com --- Begin Message --- I use Tomcat 5.0.25. in catalina.properties I put : gipe.home=D:\Projets\GIPENV\dist in server.xml : But I doesn't work - Original Message - From: "Tim Funk" <[EMAIL PROTECTED]> To: "To

Re: Variable in server.xml

2005-01-13 Thread Tim Funk
You can only do this with tomcat 5. But the variable would be a system property. (Or a property defined in catalina.properties) See the FAQ for how to set system properties on startup. -Tim Zakaria kHABOT wrote: Hi all, How can I declare a variable in server.xml. Insitide of having path=&q

Variable in server.xml

2005-01-13 Thread Zakaria kHABOT
ld (TM). Central Command http://www.centralcommand.com --- Begin Message --- Hi all, How can I declare a variable in server.xml. Insitide of having path="C:\folder", I want to put this value in a variable (var) and path=${var}. How to do this. Thanks

Re: Can't load server.xml message

2005-01-02 Thread Sean Schofield
nimal server.xml in conf but got the same message. I agree that the NPE was because it couldn't open the file for some ereason. I don't think it was permissions because I'm using XP. Anyways, it seems to be working for now. Thanks for th

Re: Can't load server.xml message

2005-01-01 Thread Phil Steitz
If you look at the 5.0.28 src distro, you can see that line 519 of Catalina.java includes a reference to the server object. Most likely the npe is happening because the server initialization is failing. The first error ("Can't load server.xml") looks like it is generated by

Re: Can't load server.xml message

2005-01-01 Thread sven morales
it this far. aka_sergio --- sven morales <[EMAIL PROTECTED]> wrote: > Hi, > You seem to have added quite a few lines into > your > catalina.sh. The stock script ends at line 287 for > me. Can you tell us what modifications you have > made? > Funny that I

Re: Can't load server.xml message

2005-01-01 Thread Phil Steitz
"Can't load server.xml" (actually the second line says the same thing as well.) I tried chaning to the minimal server.xml as well but no luck. The stack trace seems to indicate a NullPointer exception at Catalina.await line 619. I have tried looking this up on the mailing lists,

Re: Can't load server.xml message

2005-01-01 Thread sven morales
Hi, You seem to have added quite a few lines into your catalina.sh. The stock script ends at line 287 for me. Can you tell us what modifications you have made? Funny that I can not find how the server.xml is loaded by the DigesterFactory.java nor by Bootstrap.java when I browsed their

Can't load server.xml message

2005-01-01 Thread Sean Schofield
I am an experienced Tomcat user who is all of a sudden having trouble running Tomcat on my home machine. I am running Tomcat 5.0.28 and I get a Null Pointer when trying to start Tomcat. I have JAVA_HOME and CATALINA_HOME configured. The very first line in the output says "Can't load

Re: trustStore details in server.xml

2004-12-09 Thread Bill Barker
You mean something like: "Sunitha Kumar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi , > Is there a way we could mention this in server.xml? > Similar to the keyStore. > thanks, > -sunitha -

trustStore details in server.xml

2004-12-09 Thread Sunitha Kumar
Hi , Is there a way we could mention this in server.xml? Similar to the keyStore. thanks, -sunitha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 4.1: Setting Up Connection Pooling, Adding Resource to server.xml,

2004-11-26 Thread David Stevenson
r -rw-r--r--1 davidstevenson42492 Nov 26 20:06 commons-pool-1.2.jar -rw-r--r--1 davidstevenson 107631 Nov 26 20:08 commons-dbcp-1.2.1.jar Based on the Tomcat Documentation, I revamped the server.xml configuration (I haven't modified this yet to include the instructions unde

Tomcat 4.1: Setting Up Connection Pooling, Adding Resource to server.xml

2004-11-26 Thread David Stevenson
The question relates to my home study of the Tomcat Server via the book referenced below. Added Context via Tomcat Administration page. Added Resource, ResourceParams, and parameter tags by hand-editing the server.xml file, and re-starting. Reference: Ian McFarland, Peter Harrison, Mastering

RE: Server.xml problem..

2004-11-22 Thread sven morales
I do not remember on top of my head at which version Tomcat has separated the element from server.xml but assuming it applies to your situation. On your Ant task you need to separate out from the server.xml the element and its contents ( .. to another file, call it rpcoemapi.xml. You can

RE: Server.xml problem..

2004-11-22 Thread Shapira, Yoav
35 PM >To: Tomcat Users List >Subject: RE: Server.xml problem.. > >under TOMCAT_HOME/conf i only have" server.xml, tomcat-users.xml , web.xml, >catalina.policy and jk2.properties." >i can't find rpcoemapi.xml anywhere under Tomcat_home. > >Before i had all

  1   2   3   4   5   6   7   8   9   10   >