RE: Setting context in tomcat6

2008-07-23 Thread Caldarale, Charles R
From: vibhuti [mailto:[EMAIL PROTECTED] Subject: RE: Setting context in tomcat6 If what is written in tomcat docs is not inconsistent then why I am not able to set an explicit context for my web application by the following entries in myapp.xml (placed at /conf/Catalina/localhost) You're

Re: Trying to mix db connection pooling on web and desktop applications

2008-07-23 Thread Johnny Kewl
Out of luck ;) Dont think it can be done... I think JNDI has a problem serving dB connection pools outside of a container... it needs the classloaders, common JVM etc etc. I imagine one could make a RMI type provider... but a direct connection to the dB via JDBC is probably always going to be

Https SSL support in Tomcat 5.5

2008-07-23 Thread hiteshrup
Hi, We configured node in server.xml file to enable the HTTPS and SSL support. our server.xml file is in the $CATALINA_BASE. our configuration is shown below Problem:- when we are fire the http://localhost into the IE address bar, It not be transfer to the

Re: Tomcat + SSL+ page cannot be displayed

2008-07-23 Thread hiteshrup
Bellamine, Khalil wrote: Hi all, I've configured my tomcat server to use SSL with the explanation in tomcat site (ssl-howto.html). After this configuration when I try https://localhost:8443 in Internet Explorer the page try to open for a long time and then I get The page cannot be

RE: i18n deployment

2008-07-23 Thread ich eben
Second try, i hope the xml part doesn't get lost again! Hello Chuck, thank you very much for your help! I've stopped tomcat, cleaned the directories conf/Catalina/ and work/Catalina and started tomcat again, but i still get only the welcome page from the default host displayed. This is whats

RE: i18n deployment

2008-07-23 Thread nop
Seems like hotmail doesn't like to post xml content, so i post this from an other account. Sorry for spamming the list! Hello Chuck, thank you very much for your help! I've stopped tomcat, cleaned the directories conf/Catalina/ and work/Catalina and started tomcat again, but i still get only the

RE: Redirection

2008-07-23 Thread jeusdi
Mmm, this property is usefull when I access at a concrete web application. I have several web application, however, when I want to access to http://www.grupmicros.com, I want that appears the welcome-file of my welcome-application. Any help will be appreciate a lot. Thanks for all.

Tomcat cannot find infrequently used classes

2008-07-23 Thread robert.purvis
I have a very large web application, running on three tomcats, which has been running for many years. There was a change made to the web application overnight, to add the following jar files to the webapp/WEB-INF/lib directory: avalon-framework-cvs-20020806.jar batik.jar crimson_1_1_3.jar

Re: SSL not working

2008-07-23 Thread hiteshrup
Mladen Turk-2 wrote: Matúš Nemčík wrote: Hi, i have installed the latest version of Apache Tomcat 5.5.17 on Windows XP platform using the installer and the server is running as a service. The probable reason is because default service runs under the SYSTEM account. Keystore requires

RE: Setting context in tomcat6

2008-07-23 Thread vibhuti
Thank you so much for the prompt reply and answering all the questions so well. I thought context and URL path mean the same. I apologize if this caused confusion. In my mails wherever I wrote context I meant URL path. Now I believe I understand how url paths are set in tomcat. Either using name

Losing connection to db with many users

2008-07-23 Thread Silvio Rainoldi
Hi all, I'm using tomcat 6 + mysql + c3p0 connection pools + hibernate. If i test my web application with Apache JMeter simulating 100 users (threads?!) in a page, after 5-30 seconds i will lose the connection to db. If I redeploy the application it work again... In the tomcat manager I see

RE: Losing connection to db with many users

2008-07-23 Thread robert.purvis
Are the connections being returned to the pool after use? If they are not then your application could quickly run out of connections. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Silvio Rainoldi Sent: 23 July 2008 11:07 To:

Re: Losing connection to db with many users

2008-07-23 Thread Silvio Rainoldi
Ehm no... :S how can I make that? Thanks 2008/7/23 [EMAIL PROTECTED]: Are the connections being returned to the pool after use? If they are not then your application could quickly run out of connections. Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Problem add domain

2008-07-23 Thread Christian Bianchini
Hi, I have create the new domain on tomcat admin and I've create the context /manager but after login I receiving this error: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception

RE: Losing connection to db with many users

2008-07-23 Thread robert.purvis
I do not know about c3p0, I just know that with the connection pools we use, you must return a connection to the pool once you are finished with it because our pools have a limit on the number of connections that can be created in the pool. This stops the database getting too many requests. Rob

Re: Losing connection to db with many users

2008-07-23 Thread Silvio Rainoldi
I think it's not this the problem... Connection is managed by Hibernate and I close the connection in all pages... 2008/7/23 [EMAIL PROTECTED]: I do not know about c3p0, I just know that with the connection pools we use, you must return a connection to the pool once you are finished with it

Could not load default SAX parser

2008-07-23 Thread Erling Wegger Linde
Hi, I'm writing a Macro Plugin for Confluence. I'm using Rome to fetch an entry from an AtomPub service. Rome depends on JDOM. I get the following exception: org.jdom.JDOMException: Could not load default SAX parser: org.apache.xerces.parsers.SAXParser: SAX2 driver class

Re: Problem add domain

2008-07-23 Thread David Smith
Could you please post tomcat version, OS, root cause (you cropped the stack trace too early), any other relevant details. --David Christian Bianchini wrote: Hi, I have create the new domain on tomcat admin and I've create the context /manager but after login I receiving this error: type

Re: Problem add domain

2008-07-23 Thread Christian Bianchini
The version of tomcat is: 5.5.26 The server have install debian etch The tomcat is install of source not package debian. On Wed, Jul 23, 2008 at 2:11 PM, David Smith [EMAIL PROTECTED] wrote: Could you please post tomcat version, OS, root cause (you cropped the stack trace too early), any other

RE: Setting context in tomcat6

2008-07-23 Thread Marco de Booy
vibhuti-2 wrote: Correct; again, the name of the webapp is the URL path to it. Is there any other way also to set explicit contexts? Not really. Name your webapp properly and you won't have a problem. Just follow the standard practice. - Chuck Just to be sure that I understand

Re: Configure authentication across an entire host...

2008-07-23 Thread Guojun Zhu
This might be what you want. Single Sign on, http://tomcat.apache.org/tomcat-5.5-doc/config/host.html. It can let the different webapp share the same realm authentication. Guojun On Tue, Jul 22, 2008 at 11:00 PM, Nathan Wilhelmi [EMAIL PROTECTED] wrote: Hello - Is there any way to setup

Re: Problem add domain

2008-07-23 Thread David Smith
Thanks still need the stack trace's root cause. You can find it in tomcat's logs if it's not on screen anymore. Also, are you trying to use the Admin tool? You might be better off just editing the appropriate config files. It was dropped from tomcat 6 because it hadn't been maintained

Re: Problem add domain

2008-07-23 Thread Christian Bianchini
*type* Exception report *message* *description* *The server encountered an internal error () that prevented it from fulfilling this request.* *exception* javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.catalina.manager.HTMLManagerServlet or a class it depends on

Re: Tomcat cannot find infrequently used classes

2008-07-23 Thread Len Popp
Is the class name really XYZ or is that just a placeholder? It makes a difference which class it's looking for - it could be a class from Tomcat, from your webapp, or from one of the libraries needed by the webapp. -- Len On Wed, Jul 23, 2008 at 04:33, [EMAIL PROTECTED] wrote: I have a very

RE: Tomcat cannot find infrequently used classes

2008-07-23 Thread robert.purvis
The XYZ is just a placeholder. None of the actual classes are Tomcat classes, they are all servlets we have written. Rob -Original Message- From: Len Popp [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 14:37 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Tomcat cannot find

RE: Uninstalling Applications

2008-07-23 Thread Matt Burkhardt
On Tue, 2008-07-22 at 21:25 -0500, Caldarale, Charles R wrote: From: Matt Burkhardt [mailto:[EMAIL PROTECTED] Subject: Uninstalling Applications You seem to be expecting us to guess the Tomcat version you're using. Sorry about that - I'm usually much better - it's version 5.5 First,

RE: Setting context in tomcat6

2008-07-23 Thread Caldarale, Charles R
From: vibhuti [mailto:[EMAIL PROTECTED] Subject: RE: Setting context in tomcat6 if I want that URL http://localhost:8080/ should redirect user to the home page of my application then what should I do? The default webapp must be named ROOT (case sensitive). You'll need to delete (or

RE: Uninstalling Applications

2008-07-23 Thread Caldarale, Charles R
From: Matt Burkhardt [mailto:[EMAIL PROTECTED] Subject: RE: Uninstalling Applications Work directory? Wow, I finally found the symbolic link and was able to find the elements and delete them. Wow - this is one difficult system to understand! That just raised a red flag: a real Tomcat

RE: Setting context in tomcat6

2008-07-23 Thread Caldarale, Charles R
From: Marco de Booy [mailto:[EMAIL PROTECTED] Subject: RE: Setting context in tomcat6 Since path does not work I can not 'rename' it with the META-INF/context.xml. Neither gives putting the file myapp.xml in the conf/localhost the possibility to 'rename' myapp-version to myapp. Correct.

RE: Redirection

2008-07-23 Thread Caldarale, Charles R
From: jeusdi [mailto:[EMAIL PROTECTED] Subject: RE: Redirection Mmm, this property is usefull when I access at a concrete web application. I have several web application, however, when I want to access to http://www.grupmicros.com, I want that appears the welcome-file of my

RE: i18n deployment

2008-07-23 Thread Caldarale, Charles R
From: nop [mailto:[EMAIL PROTECTED] Subject: RE: i18n deployment I've stopped tomcat, cleaned the directories conf/Catalina/ and work/Catalina and started tomcat again, but i still get only the welcome page from the default host displayed. What URLs are you using? The host part of the URL

Tomcat Writing to NFS

2008-07-23 Thread Kevin Daly (kedaly)
Hi, I have a Web Application running on Tomcat that writes to NFS. the code doing the write is: String transcriptPath = ... StringBuffer buffer = BufferedWriter buffWriter = new BufferedWriter(new FileWriter(transcriptPath)); buffWriter.write(buffer.toString());

Can I pass values to application configuration file on command line

2008-07-23 Thread Jim Cant
Is there a way I can use replaceable parameters in an application's xml configuration file and pass a value in on the Tomcat command line. In particular, I would like to set the value of docBase so that I can launch tomcat and have it find my app in different locations without having to edit the

RE: i18n deployment

2008-07-23 Thread ich eben
Ah... i was using the url http://www.appname.de instead of http://appname.de !!! It works perfectly without 'www' Chuck, thank you very much for your help! From: [EMAIL PROTECTED] To: users@tomcat.apache.org Date: Wed, 23 Jul 2008 09:27:45 -0500 Subject: RE: i18n deployment From: nop

RE: Can I pass values to application configuration file on command line

2008-07-23 Thread robert.purvis
You could use a script to edit your appconfig.xml with the value. Try the replace command that comes with MySQL: APP_PATH=/my/app/lives/here replace to-be-replaced $APP_PATH -- appconfig.xml Then do your tomcat startup as you have suggested by setting a system property on the command line with

RE: i18n deployment

2008-07-23 Thread Caldarale, Charles R
From: ich eben [mailto:[EMAIL PROTECTED] Subject: RE: i18n deployment i was using the url http://www.appname.de instead of http://appname.de !!! It works perfectly without 'www' You can also add an Alias element to each Host to include the www variations. - Chuck THIS COMMUNICATION MAY

Re: Losing connection to db with many users

2008-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Silvio, Silvio Rainoldi wrote: | I think it's not this the problem... Connection is managed by Hibernate and | I close the connection in all pages... What about if an exception is thrown? Are you careful to call Connection.close() in a finally

Re: Can I pass values to application configuration file on command line

2008-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, Jim Cant wrote: | Is there a way I can use replaceable parameters in an application's xml | configuration file and pass a value in on the Tomcat command line. In | particular, I would like to set the value of docBase so that I can launch |

RE: Help configuring Tomcat

2008-07-23 Thread slytheman
Now I get this error 11:29:40 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class ca.aximage.cms.init.CMSInitializator ca.aximage.servlet.framework.InitializationException: InitializationException:

Re: Tomcat Writing to NFS

2008-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, Kevin Daly (kedaly) wrote: | I have a Web Application running on Tomcat that writes to NFS. Since the same JVM and same standard classes are being used to write to the file, there should be no difference between your webapp and a standalone

RE: context.xml and custom realm

2008-07-23 Thread Jeff Powell
I am trying to create a custom realm but it seems that with JAAS I have to create a global realm for a specific application. I am also having copious troubles getting it to work. I'd like to be able to use a JDBC like approach with named arguments. My problem is that the database (unidata) does

Re: clustering: session replication

2008-07-23 Thread nch
Here it is. Only difference between server.xml in first tomcat instance and second instance is jvmRoute=jvm1 and jvmRoute=jvm2. This web app uses iframes in order to upload files without reloading the whole page. I found that this is somehow related to the issue, but still could not spot

Re: Tomcat cannot find infrequently used classes

2008-07-23 Thread Len Popp
Since the classes are servlets, it may be that Tomcat's work directory didn't get cleaned up properly when the app was re-deployed or re-loaded. I've seen similar problems caused that way. Try stopping Tomcat and deleting the contents of the work directory. -- Len On Wed, Jul 23, 2008 at 09:47,

Re: Tomcat cannot find infrequently used classes

2008-07-23 Thread Len Popp
Or maybe I don't mean the work directory, maybe I mean the webapp directory that the .war file got unpacked into. (Sorry, I don't have a Tomcat server in front of me to check.) I can't remember whether it was the .jsp files unpacked from the .war, or the .java .class files compiled from the JSPs

RE: Help configuring Tomcat

2008-07-23 Thread Caldarale, Charles R
From: slytheman [mailto:[EMAIL PROTECTED] Subject: RE: Help configuring Tomcat [Root exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory] The message is pretty clear - your webapp (not Tomcat) is missing at least one critical component. Do you have

Re: Could not load default SAX parser

2008-07-23 Thread Erling Wegger Linde
Does anyone now which .jar file I should use? I've tried different xerces, xercesImpl etc. but I haven't got it working yet.. Thanks again, Erling On Wed, Jul 23, 2008 at 2:10 PM, Erling Wegger Linde [EMAIL PROTECTED] wrote: Hi, I'm writing a Macro Plugin for Confluence. I'm using Rome to

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeff Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm I am trying to create a custom realm but it seems that with JAAS I have to create a global realm for a specific application. You shouldn't have to. Just put the Realm inside the webapp's Context element

appbase and docbase

2008-07-23 Thread Michael Clovis
This is hopefully a simple question that will be easy to clear up. Here is the example: In server.xml the appbase=webapps and unpackWARs=false and autoDeploy=true For an application let's call it foo and it is in a war and meant to be executed as such.. so foo.war is placed within the webapps

RE: appbase and docbase

2008-07-23 Thread Caldarale, Charles R
From: Michael Clovis [mailto:[EMAIL PROTECTED] Subject: appbase and docbase For an application let's call it foo and it is in a war and meant to be executed as such.. so foo.war is placed within the webapps directory. Within the META-INF directory of the foo war is a context.xml that

RE: context.xml and custom realm

2008-07-23 Thread Jeff Powell
Chuck, Thanks for your response. You really, really want to stay away from any use of odbc. You're right, I do. odbc doesn't speak multi-value and unidata doesn't return result sets. I'm confused; first you ask about JAASRealm, and then close with a comment about JDBCRealm. Which is

Re: tomcat 5.5 help needed in start-stop

2008-07-23 Thread suman
Hi, I made the script as told by you. Now I can run it. But it ends up with following error: pwd is /sw/tomcat55 Using CATALINA_BASE: /sw/tomcat55 Using CATALINA_HOME: /sw/tomcat55 Using CATALINA_TMPDIR: /sw/tomcat55/temp Using JRE_HOME: /sw/jdk1.5.0_16 23

Re: tomcat 5.5 help needed in start-stop

2008-07-23 Thread Deepak Mishra
maybe creating symlinks should do.. try these : sudo ln -s /etc/init.d/tomcat /etc/rc1.d/K99tomcat sudo ln -s /etc/init.d/tomcat /etc/rc2.d/S99tomcat (adjust the parameters accrording to your script name). On Wed, 23 Jul 2008 23:13:39 +0530, suman [EMAIL PROTECTED] wrote: Hi, I made the

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeff Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm But so far all the examples with JAAS don't show how to just create the minimal framework for a webapp. While it's true that a single JVM instance only allows specification of one login.config file at a

RE: Help configuring Tomcat

2008-07-23 Thread slytheman
ok I use eclipse with tomcat on my desktop and the site works ok on there I noticed that my tomcat on my xp machine had tomcat-dbcp.jar and copied it onto my linux server in the tomcat /lib/ folder and restarted tomcat and I still have the same error message Caldarale, Charles R wrote:

RE: Help configuring Tomcat

2008-07-23 Thread Caldarale, Charles R
From: slytheman [mailto:[EMAIL PROTECTED] Subject: RE: Help configuring Tomcat I use eclipse with tomcat on my desktop and the site works ok on there Somewhat irrelevant. I noticed that my tomcat on my xp machine had tomcat-dbcp.jar and copied it onto my linux server in the tomcat /lib/

RE: Help configuring Tomcat

2008-07-23 Thread slytheman
I fixed the problem... I copied all of the jar files off my windows tomcat directory to the linux tomcat directory and it worked many thanks -- View this message in context: http://www.nabble.com/Help-configuring-Tomcat-tp18591522p18617261.html Sent from the Tomcat - User mailing list

one webapp, many apache virtualhosts

2008-07-23 Thread Jordan Michaels
Hi Folks, I have a situation where I want all jsp files on a particular system to be served up by one context (webapp) in tomcat. So in apache, I have a virtualhost who's files are stored in /home/user1/public_html, and another apache virtualhost who's files are stored in

Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5

2008-07-23 Thread kohanm
Hi, I set up the Apache 2.2 +mod_jk +Tomcat 5.5 works fine. I have mapping problem between webapplication on URL and the directory name under webapps. How can I configure the content of context file Tomcat5.5/conf/localhost/ *webapplication.xml* and httpd.conf file to map between

RE: context.xml and custom realm

2008-07-23 Thread Jeff Powell
I created a auth.conf file in my $CATALINA_HOME/conf and pointed the JVM to it. /usr/local/apache-tomcat-6.0.16/auth.conf: dropInv { com.ips.security.UdLoginModule required; loginFile=VALIDATION; loginKey=100!IPS.DROP.AUTH; userAttr=3; credAttr=4;

mod_jk for apache2-2.2.8 and tomcat4.1.30 from HP-UX server

2008-07-23 Thread Bomfim, Marcio
Does anybody know where to find the mod_jk for apache2-2.2.8 and tomcat4.1.30? (HP-UX machine) I've downloaded from http://tomcat.apache.org/connectors-doc/ (JK 1.2.26 release sources) and ran the commands: CFLAGS=$CPPFLAGS -DHPUX11GCC -DHPUX11 \ ./configure

Re: Multiple websites in tomcat

2008-07-23 Thread Ravi Sharma
changed the worker.properties and restarted. but didnt work :( also tried editing the file c:\windows\system32\drivers\ etc\hosts and the accessed the url but didnt work and it is accessing the right server i dont know why JK.log is saying *no URI mapping found* when we are giving

Re: one webapp, many apache virtualhosts

2008-07-23 Thread Gabe Wong
Hi Jordan, You just need to put the proxy directive outside the virtualhost once. So it would be globally available in the Apache config. Regards Jordan Michaels wrote: Hi Folks, I have a situation where I want all jsp files on a particular system to be served up by one context (webapp) in

Re: appbase and docbase

2008-07-23 Thread Michael Clovis
Chuck, Thanks for the quick response.. I am set up to test the issue on tomcat 5.5 and 6 and am currently testing on 6. The context.xml within the META-INF directory for foo.war is currently Context debug=0 resource ... values for resources... / /Context after clearing out the work

RE: context.xml and custom realm

2008-07-23 Thread Jeff Powell
Typo in the context.xml SEVERE: Class com.ips.security.User not found! Class not added. Jul 23, 2008 2:54:43 PM org.apache.catalina.realm.JAASRealm parseClassNames SEVERE: Class com.ips.security.Roles not found! Class not added. Jul 23, 2008 2:54:44 PM

RE: appbase and docbase

2008-07-23 Thread Caldarale, Charles R
From: Michael Clovis [mailto:[EMAIL PROTECTED] Subject: Re: appbase and docbase The context.xml within the META-INF directory for foo.war is currently Context debug=0 resource ... values for resources... That better be Resource, not resource; case matters. after clearing out the work

retrieving tomcat info from within a war

2008-07-23 Thread Jerry Atrick
Is there a way to retrieve tomcat version/info from within a War file? I actually would prefer this to be web container agnostic, but I'm working with Tomcat, so that's where I will start. I know that the manager does almost exactly what I want when going to:

Memory question

2008-07-23 Thread Matt Burkhardt
Okay - I've gone ahead, uninstalled the distro from Ubuntu, installed Tomcat 6.0.16 and I'm having problems running out of memory. My catalina.out file contains the lines at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at

RE: context.xml and custom realm

2008-07-23 Thread Jeff Powell
Deploy dropInv.war on 6.0.13 production server and I get this again. Is JAAS broken? INFO: Deploying web application archive dropInv.war Jul 23, 2008 3:59:19 PM org.apache.catalina.realm.JAASRealm parseClassNames SEVERE: Class com.ips.security.UdUser not found! Class not added. Jul 23, 2008

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeff Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm Deploy dropInv.war on 6.0.13 production server and I get this again. Is JAAS broken? No, you just haven't put the stated class in a usable location. What's in your Realm? What's in your Context? -

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeff Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm java.lang.SecurityException: Unable to locate a login configuration What do you have as the value of the system property java.security.auth.login.config? That has to be set to point to the login config

RE: context.xml and custom realm

2008-07-23 Thread Jeff Powell
?xml version=1.0 encoding=UTF-8? Context path=/dropInv Realm className=org.apache.catalina.realm.JAASRealm appName=dropInv userClassNames=com.ips.security.UdUser roleClassNames=com.ips.security.UdRoles useContextClassLoader=true / /Context I just added the appName for testing

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeff Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm I created a auth.conf file in my $CATALINA_HOME/conf and pointed the JVM to it. How? You should be setting the system property java.security.auth.login.config just for Tomcat rather than changing the

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeff Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm ?xml version=1.0 encoding=UTF-8? Context path=/dropInv Remove the path attribute - it's not allowed. Realm className=org.apache.catalina.realm.JAASRealm appName=dropInv

RE: context.xml and custom realm

2008-07-23 Thread Jeffrey R. Powell
Won't they be passed in the Map options on the Init? How do I java.security.auth.login.config just for Tomcat ? I thought that's what the JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==/opt/tomcat/con f/jaas.config did? -Original Message- From: Caldarale, Charles R

RE: context.xml and custom realm

2008-07-23 Thread Jeffrey R. Powell
Jaas.config is a typo should be jaas.conf has the same contents as auth.conf on the dev server. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 4:32 PM To: Tomcat Users List Subject: RE: context.xml and custom realm From: Jeff

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeffrey R. Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm Won't they be passed in the Map options on the Init? I have no idea what you're asking there. I thought that's what the JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==

RE: context.xml and custom realm

2008-07-23 Thread Caldarale, Charles R
From: Jeffrey R. Powell [mailto:[EMAIL PROTECTED] Subject: RE: context.xml and custom realm Jaas.config is a typo should be jaas.conf has the same contents as auth.conf on the dev server. Let's stop confusing the issue and instead stick to just one system; once that one's sorted, you can

RE: Memory question

2008-07-23 Thread Caldarale, Charles R
From: Matt Burkhardt [mailto:[EMAIL PROTECTED] Subject: Memory question JAVA_OPTS=${JAVA_OPTS} -Djava.awt.headless=true -Xms512M -Xmx512M -XX:PermSize=256M -XX:MaxPermSize=256M It's a bad idea to set JAVA_OPTS globally, since you have no idea who's going to be looking at it. Also, you're

Re: Multiple websites in tomcat

2008-07-23 Thread André Warnier
Hi. Yes, it is very strange. But I am sure that when we will find the solution, it will seem very evident.. First, adding a VirtualHost at this point would make it even more complicated. Now we have one Apache, and one Tomcat, and one mod_jk worker between them that does not want to work.

Re: mod_jk for apache2-2.2.8 and tomcat4.1.30 from HP-UX server

2008-07-23 Thread Rainer Jung
Bomfim, Marcio schrieb: Does anybody know where to find the mod_jk for apache2-2.2.8 and tomcat4.1.30? (HP-UX machine) I've downloaded from http://tomcat.apache.org/connectors-doc/ (JK 1.2.26 release sources) and ran the commands: CFLAGS=$CPPFLAGS -DHPUX11GCC -DHPUX11 \ ./configure

Re: Multiple websites in tomcat

2008-07-23 Thread André Warnier
Let's go. Here is the link to my system, which works fine : http://dev.dev.wissensbank.com/servlets-examples It goes through Apache, mod_jk, and tomcat5.5. This is my workers.properties : workers.tomcat_home=/usr/share/tomcat5.5 workers.java_home=/usr/lib/jvm/java-1.5.0-sun ps=/

RE: context.xml and custom realm

2008-07-23 Thread Jeffrey R. Powell
Well then let's just drop it. Thanks anyway. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wed 7/23/2008 4:39 PM To: Tomcat Users List Subject: RE: context.xml and custom realm From: Jeffrey R. Powell [mailto:[EMAIL PROTECTED] Subject: RE:

goodbye

2008-07-23 Thread Jeffrey R. Powell

Re: Multiple websites in tomcat

2008-07-23 Thread André Warnier
Ravi Sharma wrote: [...] i dont know why JK.log is saying *no URI mapping found* when we are giving JkMount option. I have refreshed the logs on log.html page You know, somehow I still have the impression that we are talking about different hosts, or at least that the one mod_jk which is

Re: Multiple websites in tomcat

2008-07-23 Thread André Warnier
Final message for today/tonight : I think there is a conflict between the worker.list=.. and the balance_workers=.. and if the same worker name appears in both, then somehow different parallel conflicting instances are started. See

Re: one webapp, many apache virtualhosts

2008-07-23 Thread Jordan Michaels
Hi Gabe, Hmm... you mean add the following outside the VirtualHost directives: ProxyPass / http://mydomain.com:8080/ ProxyPassreverse / http://mydomain.com:8080/ HostnameLookups Off Wouldn't that just serve up the JSP files that are located in the ROOT webapp? Maybe I'm confused. Maybe I'm

Re: one webapp, many apache virtualhosts

2008-07-23 Thread Gabe Wong
Jordan Michaels wrote: Hi Gabe, Hmm... you mean add the following outside the VirtualHost directives: ProxyPass / http://mydomain.com:8080/ ProxyPassreverse / http://mydomain.com:8080/ HostnameLookups Off Wouldn't that just serve up the JSP files that are located in the ROOT webapp? Maybe I'm

Re: Memory question

2008-07-23 Thread David Smith
If you login to tomcat's manager webapp, you can see the memory settings and usage on the running system. Regarding setting the memory, etc., ... I believe the startup script accepts extra parameters and just passes them on to the JVM for startup. You should be able to do: startup.sh

RE: Memory question

2008-07-23 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: Memory question I believe the startup script accepts extra parameters and just passes them on to the JVM for startup. You should be able to do: startup.sh -Xmx512m Unfortunately not, although it certainly would be convenient. The

Auto Session Creation and memory usage

2008-07-23 Thread Jacob Rhoden
Hi Guys, I am working on creating some more scalable tomcat applications. I have addedd a SessionListener and it seems that hitting a jsp page triggers a session to be created. If there are 1000 users and only 10 are signed in, I dont think 1000 sessions need to be created yes. How do I turn

Re: Can I pass values to application configuration file on command line

2008-07-23 Thread Bill Barker
Jim Cant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a way I can use replaceable parameters in an application's xml configuration file and pass a value in on the Tomcat command line. In particular, I would like to set the value of docBase so that I can launch tomcat