error when tomcat4 starts
HI I'm running Tomcat 4 on Win2k and get the following error when I try to start Tomcat. Tomcat has always worked fine for me, so I don't know why this error has suddenly appeared. Any help please. Here is the error: Starting service Tomcat-Standalone Apache Tomcat/4.0 ERROR reading java.io.FileInputStream@7a29a1 At Line 57 /web-app/servlet/ Starting service Tomcat-Apache Apache Tomcat/4.0 Thanks Peter -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Cookies in tomcat-3.2.3
Hi, does tomcat-3.2.3 use cookies to administrate sessions? Can I use sessions if the browser does not allow cookies? What's about tomcat-4.x? Zsolt -- Zsolt Koppany -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JNDI resource for connection pooling
Hi, Sorry for my late answer, I was out of the office. The workarround is writing a class that registers the connection pool in the initial context: Context ic = new InitialContext(); OracleConnectionPoolDataSource cpds = new OracleConnectionPoolDataSource(); ic.rebind(toto, cpds); then configure it to be started automatically in the application web.xml: servlet servlet-namemyConnexionPool/servlet-name servlet-classConnexionPoolClass/servlet-class load-on-startup1/load-on-startup /servlet then call it from your program: try { Context ic = new InitialContext(); OracleConnectionPoolDataSource cpds = (OracleConnectionPoolDataSource)ic.lookup(toto); pooledConnection = cpds.getPooledConnection(); } catch(Exception e) { System.out.println(e) ; } try { connection = pooledConnection.getConnection(); statement = connection.createStatement(); } catch (SQLException se) { System.out.println(SQL Exception: + se); } this works fine ;-) Amine - Original Message - From: Niclas Rothman [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 4:42 PM Subject: SV: JNDI resource for connection pooling Amin! I´ve experienced the same problem as you but I´m trying with a MS Sql Server. Could you maybe send me or the list the code for the workaround? Niclas -Oprindelig meddelelse- Fra: Amine AMAR [mailto:[EMAIL PROTECTED]] Sendt: 19. december 2001 17:50 Til: Tomcat Users List Emne: Re: JNDI resource for connection pooling Hi Rich, I still have no clean working solution. for the server.xml stuff, I have no clue why we should put config there. The docs says so, so I did give it a try. I have a workaround for my problem which is to write the registration in a stand alone class with the init() method registring the connection pooling class in JNDI. and have this class loaded at tomcat startup. the class works fine. I'm working on making it load at startup. I'll keep you posted when it works. Regards, Amine - Original Message - From: Rich Baldwin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Amine AMAR [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 2:11 PM Subject: Re: JNDI resource for connection pooling Amine Been playing around w/ the same thing as you. Have you figured it out yet? I am a bit baffled by the role of setting the context in server.xml. Without making any changes to server.xml, I downloaded and installed poolman and can run the database client, querying any of my oracle tables. However in my servlets, I keep getting a error when attempting to connect: res-ref-name is not bound in this context. This all worked fine under tomcat 3.2. Why do I have to define a context in server.xml 4.0 and I didn't in server.xml 3.2? Poolman seems to work fine w/o one. Anybody got an anwser? Thanks, Rich Amine AMAR wrote: Hi all, I have a problem, please can anyone help? I'm trying to create an Oracle pooled connection as a JNDI resource. I made the required configuration: WEB-INF\web.xml file: web-app resource-ref res-ref-namejdbc/toto/res-ref-name res-typeoracle.jdbc.pool.OracleConnectionPoolDataSource/res-type res-authContainer/res-auth /resource-ref /web-app %TOMCAT_HOME%\conf\server.xml Context path=/titi docBase=c:\www\titi debug=0 reloadable=true Resource name=jdbc/toto auth=Container type=oracle.jdbc.pool.OracleConnectionPoolDataSource/ ResourceParams name=jdbc/toto parameter nameuser/name valuetutu/value /parameter parameter namepassword/name valuetutu/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@host:port:db/value /parameter /ResourceParams /Context When I register the resource from a program, everything works fine, when I try to register the pooled connection thru JNDI I get the following error: javax.naming.NamingException: Cannot create resource instance the list bindings and related methods give the following: toto: org.apache.naming.ResourceRef: Reference Class Name: oracle.jdbc.pool.OracleConnectionPoolDataSource Type: scope Content: Shareable Type: auth Content: Container Type: user Content: tutu Type: url Content: jdbc:oracle:thin:@host:port:db Type: password Content: tutu Does anybody have a clue? PS: sorry for my long message, I've been working on this for quite a while now :) Amine -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED]
Re: JNDI resource for connection pooling
Hi, Sorry for my late answer, I was out of the office. The workarround is writing a class that registers the connection pool in the initial context: Context ic = new InitialContext(); OracleConnectionPoolDataSource cpds = new OracleConnectionPoolDataSource(); ic.rebind(toto, cpds); then configure it to be started automatically in the application web.xml: servlet servlet-namemyConnexionPool/servlet-name servlet-classConnexionPoolClass/servlet-class load-on-startup1/load-on-startup /servlet then call it from your program: try { Context ic = new InitialContext(); OracleConnectionPoolDataSource cpds = (OracleConnectionPoolDataSource)ic.lookup(toto); pooledConnection = cpds.getPooledConnection(); } catch(Exception e) { System.out.println(e) ; } try { connection = pooledConnection.getConnection(); statement = connection.createStatement(); } catch (SQLException se) { System.out.println(SQL Exception: + se); } this works fine ;-) Amine - Original Message - From: Niclas Rothman [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 4:42 PM Subject: SV: JNDI resource for connection pooling Amin! I´ve experienced the same problem as you but I´m trying with a MS Sql Server. Could you maybe send me or the list the code for the workaround? Niclas -Oprindelig meddelelse- Fra: Amine AMAR [mailto:[EMAIL PROTECTED]] Sendt: 19. december 2001 17:50 Til: Tomcat Users List Emne: Re: JNDI resource for connection pooling Hi Rich, I still have no clean working solution. for the server.xml stuff, I have no clue why we should put config there. The docs says so, so I did give it a try. I have a workaround for my problem which is to write the registration in a stand alone class with the init() method registring the connection pooling class in JNDI. and have this class loaded at tomcat startup. the class works fine. I'm working on making it load at startup. I'll keep you posted when it works. Regards, Amine - Original Message - From: Rich Baldwin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; Amine AMAR [EMAIL PROTECTED] Sent: Wednesday, December 19, 2001 2:11 PM Subject: Re: JNDI resource for connection pooling Amine Been playing around w/ the same thing as you. Have you figured it out yet? I am a bit baffled by the role of setting the context in server.xml. Without making any changes to server.xml, I downloaded and installed poolman and can run the database client, querying any of my oracle tables. However in my servlets, I keep getting a error when attempting to connect: res-ref-name is not bound in this context. This all worked fine under tomcat 3.2. Why do I have to define a context in server.xml 4.0 and I didn't in server.xml 3.2? Poolman seems to work fine w/o one. Anybody got an anwser? Thanks, Rich Amine AMAR wrote: Hi all, I have a problem, please can anyone help? I'm trying to create an Oracle pooled connection as a JNDI resource. I made the required configuration: WEB-INF\web.xml file: web-app resource-ref res-ref-namejdbc/toto/res-ref-name res-typeoracle.jdbc.pool.OracleConnectionPoolDataSource/res-type res-authContainer/res-auth /resource-ref /web-app %TOMCAT_HOME%\conf\server.xml Context path=/titi docBase=c:\www\titi debug=0 reloadable=true Resource name=jdbc/toto auth=Container type=oracle.jdbc.pool.OracleConnectionPoolDataSource/ ResourceParams name=jdbc/toto parameter nameuser/name valuetutu/value /parameter parameter namepassword/name valuetutu/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@host:port:db/value /parameter /ResourceParams /Context When I register the resource from a program, everything works fine, when I try to register the pooled connection thru JNDI I get the following error: javax.naming.NamingException: Cannot create resource instance the list bindings and related methods give the following: toto: org.apache.naming.ResourceRef: Reference Class Name: oracle.jdbc.pool.OracleConnectionPoolDataSource Type: scope Content: Shareable Type: auth Content: Container Type: user Content: tutu Type: url Content: jdbc:oracle:thin:@host:port:db Type: password Content: tutu Does anybody have a clue? PS: sorry for my long message, I've been working on this for quite a while now :) Amine -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED]
linux + tomcat 3 memory leaks ?
I've installed Tomcat 3.3 in my linux box After a fresh boot, tomcat launched and NO web application running, I can see that the tomcat user memory is growing regulary by watching Top. Why ? Mandake Linux 7.2 with 2.4.16 kernel (not 2.2.16) Apache 1.3.19 Tomcat 3.3 IBMJava2-13 Dom -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Unable to compile class for JSP
Hey all, does anybody know this Problem ? Unable to compile class for JSP C:\WebApplikations\Tomcat4.0\work\localhost\xmlprofile\pub\ueberweisung$jsp. java:61: Incompatible type for method. Explicit cast needed to convert java.lang.Throwable to java.lang.Exception. if (pageContext != null) pageContext.handlePageException(t); Code of ueberweisung.jsp: html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#FF text=#00 ueberweisung /body /html Mit freundlichen Grüßen Fred Robert Hauschel
Re: What does it mean - Name on certificate does not match name of the site
Richard - Seems like you've been barking at the wrong tree if you've been playing with the Company Org Unit field. Look my previous message what field you need to play with. /Pae Greetings! Thanks for the replies so far. Unfortunately, I haven't got it to work yet. I'm putting various combinations of server name / domain name in the Company Org Unit field, but to no effect. Is there a way to view the two fields while running in a browser, i.e. what the server is sending, and what the certificate says? Actually, I know what the cert says, but it obviously does not agree with what the server is sending. I'd like to be able to see what is coming to the browser. IE doesn't seem to display much info. Thanks, -Richard -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: HTTP error 503.
That's great thanks. I knew it wasn't the server.jar that was causing the problem as I'd already moved any conflicting copies, but I didn't think to remove the j2ee.jar from my ext dir. That''s fixed it. Thanks to all for your help Caroline 12/21/01 5:33:22 PM, Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 21 Dec 2001, Caroline Clewlow wrote: Date: Fri, 21 Dec 2001 14:51:54 - From: Caroline Clewlow [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: HTTP error 503. Thanks. I have tried removing the install and done everything again to no avail. I'll check the documentation again tho to ensure I have covered everything. One very common cause of problems is having a copy of servlet.jar or j2ee.jar in your Java system extensions directory ($JAVA_HOME/jre/lib/ext). This will cause all sorts of problems. Apologies for the pleading but having posted a request twice previously with no reponse I was beginning to get deperate. I shall endeavour not to use the mailing list inappropriately again. The problem with messages that give only the HTTP status code is that there are literally thousands of *possible* causes, and nobody can tell from just what you've presented. In order to get a useful response, it would be helpful if you would post the stack trace that was included in the response, and/or the relevant portions of the log files (in the $CATALINA_HOME/logs directory) -- these exception messages will describe what is really happening, and so indicate what needs to be fixed. Caroline Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
jsp:include
If anyone can shed some light on this i waould appreciate it, thanks in advance. I am building a system where i compute the name of the page. When i do this the page attribute in the jsp:include directive doen't get evaluated. It is really simple and looks like: . % String destination = ../ + Bean.getOwnerType ( ).toLowerCase ( ) + /component.jsp; % jsp:include page=%= destination % flush=true / . Should this work? What am i doing wrong? Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: What does it mean - \Name on certificate does not match name of the site\
Pae wrote: It usually means that the name, e.g., Common Name, in your certificate and the name of your server, e.g., http server, where the certificate originated from don't match. How did you created the certificate? Ex, openssl? Pae Pae, Thank you for your assistance so far. I'm using the Java SDK keytool tool to create the certificate. Here is an actual session with keytool. My typing is in just for clarity. The contains either what I have been typing, or a comment on what I was typing. All other text comes from the keytool... === keytool -genkey -alias tomcat -keyalg RSA -keystore /users/.keystore Enter keystore password: password What is your first and last name? [Unknown]: Richard Huntrods What is the name of your organizational unit? [Unknown]: hci - I don't really know what to put here - I was putting machine What is the name of your organization? [Unknown]: HCI - this is my company, not my domain What is the name of your City or Locality? [Unknown]: Calgary What is the name of your State or Province? [Unknown]: Alberta What is the two-letter country code for this unit? [Unknown]: CA - for Canada Is CN=Richard Huntrods, OU=hci, O=HCI, L=Calgary, ST=AB, C=CA Correct? [no]:yes Enter key password for tomcat (RETURN if sam as keytore password): RETURN === That generates the keystore. Which one is common name? Thanks again in advance for your assistance. Is there more documentation on keytool that you know of? The on line help merely lists the possible options, but does not tell you what they mean. -Richard -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: What does it mean - \Name on certificate does not match name of the site\
The CN in the distinguished name is standing for Common Name. Pae - Original Message - From: Richard S. Huntrods [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, December 22, 2001 8:21 AM Subject: Re: What does it mean - \Name on certificate does not match name of the site\ Pae wrote: It usually means that the name, e.g., Common Name, in your certificate and the name of your server, e.g., http server, where the certificate originated from don't match. How did you created the certificate? Ex, openssl? Pae Pae, Thank you for your assistance so far. I'm using the Java SDK keytool tool to create the certificate. Here is an actual session with keytool. My typing is in just for clarity. The contains either what I have been typing, or a comment on what I was typing. All other text comes from the keytool... === keytool -genkey -alias tomcat -keyalg RSA -keystore /users/.keystore Enter keystore password: password What is your first and last name? [Unknown]: Richard Huntrods What is the name of your organizational unit? [Unknown]: hci - I don't really know what to put here - I was putting machine What is the name of your organization? [Unknown]: HCI - this is my company, not my domain What is the name of your City or Locality? [Unknown]: Calgary What is the name of your State or Province? [Unknown]: Alberta What is the two-letter country code for this unit? [Unknown]: CA - for Canada Is CN=Richard Huntrods, OU=hci, O=HCI, L=Calgary, ST=AB, C=CA Correct? [no]:yes Enter key password for tomcat (RETURN if sam as keytore password): RETURN === That generates the keystore. Which one is common name? Thanks again in advance for your assistance. Is there more documentation on keytool that you know of? The on line help merely lists the possible options, but does not tell you what they mean. -Richard -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
A problem with manager and Valves...
Greetings! I have the manager servlets working quite fine - even have the HTTP version running. I added the user to tomcat-users.xml, edited server.xml to enable the manager (it was commented out), and even edited the manager/WEB-INF/web.xml to change it to HTMLManagerServlet. However, if I add a Valve to server.xml to try and restrict access, then everything is denied. Here's the lines in server.xml: Context path=/manager docBase=manager debug=0 privileged=true Valve className=org.apache.catalina.valves.RemoteAddrValve accept=*.*.*.*/ /Context I've tried this valve with accept=*,*,*,* as above, and with accept=*. Neither works. I've also tried RemoteHostValve with accept=localhost and accept=*, both as the only valve and in combination with the RemoteAddrValve. So far the only thing that works is if I comment out the valve competely. I have set debug to 1, and there are no errors in any of the log files - except the following entries in localhost_access_log.2001-12-22.txt: 127.0.0.1 - - [22/Dec/2001:11:22:07 -0700] GET /manager/list HTTP/1.1 401 618 127.0.0.1 - manager [22/Dec/2001:11:22:11 -0700] GET /manager/list HTTP/1.1 200 5573 The first entry is with the valve (above) in place, the second entry is with the valve commented out. The user name manager is just for local testing. As an aside, I sure would like to know what 401 618 means (the 401 is access denied, I believe). This is Tomcat 4.0.1 running very successfully on Windows 2000, and using IE on the same machine (accessing https://localhost/manager/list; in both cases). What am I missing? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Need Binary web-app Module for RedHat 7.1
When I tried to install the webapp-module in order to connect tomcat to Apache, I got the warning that the module might crash and that I needed to recompile with DEAPI. So I got the source code for the weapp-module as a tar.gz file from the Apache site. The README file indicated that the source code should be complete. However, all of my attempts to recompile folling the instructions in the README fail. 1. There is no configure as described in the README. 2. I managed to build one with the buildconf in support using the following command: ./support/buildconf.sh CFLAGS=-DEAPI Is this the correct way to get the -DEAPI flag? 3. The README file says to run: ./configure --with-apxs Unfortunately, I do not have apxs with my RedHat distribution... Since Apache is servicing a production web site, I really do not feel comfortable rebuilding Apache just to get the webapps module built correctly. Also, because the README file seems to presume that one is already intimately familiar with how to build appache components, the chance of success seems relatively low. I did go through the mailing list archives and there definitely seems to be problems related to building and installing this webapps module. Therefore, I was hoping that someone would have an appropriate pre-built module with -DEAPI for RedHat 7.1 on Intel or at least a better source of documentation. I have even a more basic question. I assume that the webapps module is the replacement for mod_jserv which I used under previous versions of Tomcat. Is this correct? Again, maybe I am looking in the wrong place, but I just could not find current documentation on how to connect to Apache. Thanks in advance, Cynthia Jeness -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Jakarta-Tomcat 4.01 startup problem
Kenneth, forgive my ignorance here, I'm new to using Tomcat on Linux. you say use service, what is that? the rpm installed only bootstrap.jar in my tomcat4/bin directory, not the usual .sh files. Anybody? Thanks, John -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Jakarta-Tomcat 4.01 startup problem
OK - I figured out service. I got tomcat to start, at least service says it's started. But ... requesting localhost:8080 gets a connection failure. Anyone come across this? I am using RedHat 7.2 for this. Thanks, John On Saturday, December 22, 2001, at 06:51 PM, John Clayton wrote: Kenneth, forgive my ignorance here, I'm new to using Tomcat on Linux. you say use service, what is that? the rpm installed only bootstrap.jar in my tomcat4/bin directory, not the usual .sh files. Anybody? Thanks, John -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat with apache for virtual hosting
Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh
Re:
Hi Unix gurus, I'm trying to install tomcat but I'm having a very simple problem. I can seem to be able to set the environment variable JAVA_HOME. I used set end setenv but it doesn't do it for me. Am I going crazy? From: rakesh [EMAIL PROTECTED] Reply-To: Rakesh Narang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat with apache for virtual hosting Date: Sun, 23 Dec 2001 06:00:34 +0530 Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re:
How r u defining the JAVA_HOME path u can use JAVA_HOME=your java path and then export JAVA_HOME thanks Rakesh - Original Message - From: Ladjicke Diouf [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, December 23, 2001 6:01 AM Subject: Re: Hi Unix gurus, I'm trying to install tomcat but I'm having a very simple problem. I can seem to be able to set the environment variable JAVA_HOME. I used set end setenv but it doesn't do it for me. Am I going crazy? From: rakesh [EMAIL PROTECTED] Reply-To: Rakesh Narang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat with apache for virtual hosting Date: Sun, 23 Dec 2001 06:00:34 +0530 Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat with apache for virtual hosting
Hi Rakesh, From what I understand, you simply specify your context directives inside your VirtualHost tags as you would if you were running apache normally. See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html John On Saturday, December 22, 2001, at 07:30 PM, rakesh wrote: Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re:
What shell? For Bash and Korn shell: JAVA_HOME=/usr/java/jdk1.3.1 (for example) export JAVA_HOME The C shell uses setenv; e.g., setenv JAVA_HOME /usr/java/jdk1.3.1 Windows and OS/2 use SET. Cynthia Jeness Ladjicke Diouf wrote: Hi Unix gurus, I'm trying to install tomcat but I'm having a very simple problem. I can seem to be able to set the environment variable JAVA_HOME. I used set end setenv but it doesn't do it for me. Am I going crazy? From: rakesh [EMAIL PROTECTED] Reply-To: Rakesh Narang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat with apache for virtual hosting Date: Sun, 23 Dec 2001 06:00:34 +0530 Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re:
Cynthia, I think I have C shell I've just used # setenv JAVA_HOME /usr/java/jdk1.3.1 # setenv JAVA_HOME=/usr/java/jdk1.3.1 # set JAVA_HOME /usr/java/jdk1.3.1 # set JAVA_HOME=/usr/java/jdk1.3.1 It seems to take it but it's not showing up in the variables. Rakesh may be I should use export. Thanks, Ladjicke From: Cynthia Jeness [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Date: Sat, 22 Dec 2001 19:35:03 -0500 What shell? For Bash and Korn shell: JAVA_HOME=/usr/java/jdk1.3.1 (for example) export JAVA_HOME The C shell uses setenv; e.g., setenv JAVA_HOME /usr/java/jdk1.3.1 Windows and OS/2 use SET. Cynthia Jeness Ladjicke Diouf wrote: Hi Unix gurus, I'm trying to install tomcat but I'm having a very simple problem. I can seem to be able to set the environment variable JAVA_HOME. I used set end setenv but it doesn't do it for me. Am I going crazy? From: rakesh [EMAIL PROTECTED] Reply-To: Rakesh Narang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat with apache for virtual hosting Date: Sun, 23 Dec 2001 06:00:34 +0530 Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat with apache for virtual hosting
Hi John The context will be the same as we use in tomcat 3.2.3 but how we will tell apache to forward .jsp and servlet request to tomcat as we use to do JkMount /* ajp 12 in 3.2.3 How can disbale servelt caching in tomcat 3.2.3 becasue when ever i am making any changes in any class fine so its not affecting unless untill i don't restart the tomcat server Pls let me know abt this Rakesh - Original Message - From: John Clayton [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, December 23, 2001 6:08 AM Subject: Re: Tomcat with apache for virtual hosting Hi Rakesh, From what I understand, you simply specify your context directives inside your VirtualHost tags as you would if you were running apache normally. See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html John On Saturday, December 22, 2001, at 07:30 PM, rakesh wrote: Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat with apache for virtual hosting
Hi Rakesh, I haven't yet installed TC4, but I think i remember seeing some documentation on how to set up the contexts. Just can't remember where. It's similar, but not identical. Sorry I can't help more, John On Saturday, December 22, 2001, at 08:23 PM, rakesh wrote: Hi John The context will be the same as we use in tomcat 3.2.3 but how we will tell apache to forward .jsp and servlet request to tomcat as we use to do JkMount /* ajp 12 in 3.2.3 How can disbale servelt caching in tomcat 3.2.3 becasue when ever i am making any changes in any class fine so its not affecting unless untill i don't restart the tomcat server Pls let me know abt this Rakesh - Original Message - From: John Clayton [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, December 23, 2001 6:08 AM Subject: Re: Tomcat with apache for virtual hosting Hi Rakesh, From what I understand, you simply specify your context directives inside your VirtualHost tags as you would if you were running apache normally. See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html John On Saturday, December 22, 2001, at 07:30 PM, rakesh wrote: Hi I have recently installed the tomcat 4.0.1 with apache but i am facing the problem while using the virtual hosting with tomcat can any one help me that how can i host multiple sites on tomcat Thanks Rakesh -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Jakarta-Tomcat 4.01 startup problem
John, It appears to me that Tomcat4 listens on port 8180 and not port 8080. This is what I see through lsof and I can connect to locahost:8180. Cynthia Jeness John Clayton wrote: OK - I figured out service. I got tomcat to start, at least service says it's started. But ... requesting localhost:8080 gets a connection failure. Anyone come across this? I am using RedHat 7.2 for this. Thanks, John On Saturday, December 22, 2001, at 06:51 PM, John Clayton wrote: Kenneth, forgive my ignorance here, I'm new to using Tomcat on Linux. you say use service, what is that? the rpm installed only bootstrap.jar in my tomcat4/bin directory, not the usual .sh files. Anybody? Thanks, John -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Taglib
Hi all, How can i create a taglib that all me to put the below code to my jsp file-for example. %@ taglib uri=/E--BookMalltaglib prefix=E-BookMall % As far as i've know,it needs a jar file. Thank you! Cheers, andy