Apache 1_3_14 and tomcat 3.2.1 modSSL
Hello group - I am trying to configure apache 1_3_14 and tomcat 3.2.1 to use SSL with mod_jk on win NT4.0.I installed the apachewebserver that supportsmodSSL. I first starttomcat and then apache. I get a warningfrom apache that I ama little concerned about which says "Loaded DSO modules/mod_jk.dll uses plain Apache 1.3 API, this module might crash under EAPI (please recompile it with -DEAPI)" - I am almost there as far as SSL I believe - when I uncomment outthe ssl modulein htttp.conf Apache says itneeds a certificate for my weapp -I need to read up on this or maybe someonecan point out the steps needed - I am only using one machine as localhost fortesting. Ohh by the way thename of thezip file I downloaded for the apache webserveris:Apache_1.3.14-mod_ssl_2.7.2-openssl_0.96-WIN32- How would I recompilemod_jk.dll with -DEAPI what I would really like is if someone has this recompiled module, that would please send it to me. You can email me direct. If monetary funds are required let me know. -- Pete -- [EMAIL PROTECTED]
Re: Apache 1_3_14 and tomcat 3.2.1
Pete, A really easy way to get SSL going with Apache on Windows is to install OpenSA: http://www.opensa.org/ It is one installation that is already set up with fake certificates. Once it is installed, detailed instructions for creating your own cert or getting a signed one from a trused CA (like verisign) are at the modssl site in their FAQ: http://www.modssl.org/docs/2.6/ssl_faq.html#ToC27 As for the other thing, I am getting that message too. I have not yet had any problems, but I would be interested to hear about a solution. thanks, John Pete Ehli wrote: Hello group - I am trying to configure apache 1_3_14 and tomcat 3.2.1 to use SSL with mod_jk on win NT4.0. I installed the apache webserver that supports modSSL. I first start tomcat and then apache. I get a warning from apache that I am a little concerned about which says "Loaded DSO modules/mod_jk.dll uses plain Apache 1.3 API, this module might crash under EAPI (please recompile it with -DEAPI)" - I am almost there as far as SSL I believe - when I uncomment out the ssl module in htttp.conf Apache says it needs a certificate for my weapp - I need to read up on this or maybe someone can point out the steps needed - I am only using one machine as localhost for testing. Ohh by the way the name of the zip file I downloaded for the apache webserver is: Apache_1.3.14-mod_ssl_2.7.2-openssl_0.96-WIN32 - How would I recompile mod_jk.dll with -DEAPI what I would really like is if someone has this recompiled module, that would please send it to me. You can email me direct. If monetary funds are required let me know.-- Pete --[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on debian
Tomcat is part of woody (the future release of Debian). http://packages.debian.org/unstable/web/tomcat.html You need to backport the following woody packages: ant, apache libapache-mod-jk, libservlet2.2-java libxerces-java and (ofcource) tomcat. I can bundle mine into a Tar and send you an URL if you trust me. ;) On Sat, Jan 06, 2001 at 19:01, robert hoedicke wrote: I am running Debian 2.2 (Joel "Espy" Klecker) and Sun jdk1.3 and would like to use tomcat (jserv does not seem to be compatible with jdk1.3). I do not care much if tomcat is running standalone or with apache, but I do want to keep my apache installation. I downloaded jakarta-tomcat-3.2.1 (the latest production release). When changing the port number in server.xml, I get a binding error, claimimg the port is in use already (I don't see who uses it). Tomcat tries to bind to 8080 (8081 on woody) and 8007 (same as jserv). Find out what other daemons are listening to this ports using: # fuser -n tcp 8007 8080/tcp: 219 275 276 287 288 289 290 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 13075 13080 # ps w 219 PID TTY STAT TIME COMMAND 219 ?S 0:04 /usr/lib/j2sdk1.3/bin/i386/native_threads/java org.apache.tomcat.startup.Tomcat -home /usr/share/tomcat Please note this only works as root. When I integrate with apache by including tomcat-apache.conf in httpd.conf, apache stops working. The tomcat-apache.conf that comes with the distribution looks very different from the one described in the tomcat users guide. I am not an apache specialist and do not care to become one. Is there a working debian package or at least a set of configuration files that work with debian? Sincerely, Robert HTH, Remco -- We envision to collaboratively pursue corporate catalysts for change to allow us to continually customize inexpensive sources in order to solve emerging problems. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: tomcat on debian
Hi, I'm also really in need of this. If possible also give the URL for me. - Original Message - From: Remco van 't Veer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, January 07, 2001 4:30 PM Subject: Re: tomcat on debian Tomcat is part of woody (the future release of Debian). http://packages.debian.org/unstable/web/tomcat.html You need to backport the following woody packages: ant, apache libapache-mod-jk, libservlet2.2-java libxerces-java and (ofcource) tomcat. I can bundle mine into a Tar and send you an URL if you trust me. ;) On Sat, Jan 06, 2001 at 19:01, robert hoedicke wrote: I am running Debian 2.2 (Joel "Espy" Klecker) and Sun jdk1.3 and would like to use tomcat (jserv does not seem to be compatible with jdk1.3). I do not care much if tomcat is running standalone or with apache, but I do want to keep my apache installation. I downloaded jakarta-tomcat-3.2.1 (the latest production release). When changing the port number in server.xml, I get a binding error, claimimg the port is in use already (I don't see who uses it). Tomcat tries to bind to 8080 (8081 on woody) and 8007 (same as jserv). Find out what other daemons are listening to this ports using: # fuser -n tcp 8007 8080/tcp: 219 275 276 287 288 289 290 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 13075 13080 # ps w 219 PID TTY STAT TIME COMMAND 219 ?S 0:04 /usr/lib/j2sdk1.3/bin/i386/native_threads/java org.apache.tomcat.startup.Tomcat -home /usr/share/tomcat Please note this only works as root. When I integrate with apache by including tomcat-apache.conf in httpd.conf, apache stops working. The tomcat-apache.conf that comes with the distribution looks very different from the one described in the tomcat users guide. I am not an apache specialist and do not care to become one. Is there a working debian package or at least a set of configuration files that work with debian? Sincerely, Robert HTH, Remco Regards Nagappan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: mod_jk vs ApacheModuleJServ.dll
Scott: I don't do windows so I may be a bit off base. There is some reference in the Tomcat user's guide on the difference between Tomcat (with mod_jserv) and Jserv. Then in the still newer documentation with release 3.1.14 there is a brief comparison of mod_jserv and mod_jk. The bottom line as I understand it is that mod_jk is the recommended successor to mod_jserv and replaces it. -- Tom Woteki, a.k.a. Dr. Wo mail to:[EMAIL PROTECTED] 202-544-2743 (fax) Can someone point me towards docs or tell me what the difference is between mod_jk and ApacheModuleJServ.dll. They are both used for Apache to communicate with Tomcat correct? Does one replace the other? Am I clueless? Thanks, -Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
POST without fields -- incorrect PrintWriter in HttpServletResponse ???
Hi, The following occurs with Tomcat 3.2.1 on Red Hat Linux 7.0, JRE 1.3.0 : public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType( CONTENT_TYPE ); response.getWriter().println("If NO fields were posted this will not arrive at the requesting browser"); // if at least one field was posted everything works fine. } The Tomcat 3.1 version that I am using with my IDE (JBuilder 4) on Win32 does not show this behaviour. For me this is rather inconvenient since I am using post requests in my web application to circumvent any browser caching problems. Does anybody know whether is this expected behaviour and if so do you have any suggestions on how to work around it? Wilko Hische - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat 4b1: Cannot start with metamata.jar in classpath
Hi, If I try to start Tomcat 4.0b1 with metamata.jar in the classpath I get the following error: [c:\jakarta-tomcat-4.0-b1\bin]catalina run Using CLASSPATH: ..\bin\bootstrap.jar;D:\Java\jdk1.3\lib\tools.jar Exception in thread "main" java.lang.IllegalArgumentException: addRepositoryInternal: java .lang.NullPointerException at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardCl assLoader.java:1073) at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java: 166) at org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:122) Any ideas ? /mbm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Xalan2 in server environment (was Xalan2 Stree Module spans sec ondthread to do transform?)
[EMAIL PROTECTED] wrote: "Roytman, Alex" [EMAIL PROTECTED] wrote: One part which is sensitive to thread origin in my opinion is Extensions In extensions people can do all sorts of things. Yep, I can see that. It sounds like we should at least provide a property to turn off the threading, which we should probably do in any case. I'm not sure I can do this in time for our upcoming 2.0 release, as it feels a little destabilizing, but let me sleep on it. In Tomcat 4.0 we implement the JNDI naming context stuff so that you can call "new InitialContext()" and get the context that is relevant for your webapp. This relies on the thread having been initialized correctly by the container. It sounds like "extension" might be problematic. There are also restrictions on the time when it is valid for an application level thread to reference the request and response objects that are handed to the service() method. Basically, after service() returns those object instances are off limits, so you also need to ensure that any threads you create do not maintain any live references to the request and response outside the safe time interval. The best solution for this is to have some sort of discoverable interface for Xalan to create threads with. You would think that the EJB stuff could somehow override thread construction globally, so this stuff would all be hidden. But I'm sure there are good reasons it can not. While it might be possible to create such an interface in a servlet container, my understanding is that EJBs are prohibited from creating new threads (and, in many app servers, will be actively prohibited from doing so by the security manager that the bean code runs under). Do extension run on the second (created by Xalan) thread? Yes. The main thread is the parser event thread. The second thread, which I call the transform thread, performs the transformation, executing extensions as it goes, and sends parse events to the Result interface, which is probably a serializer. If the main thread finishes before the transform thread, it 'joins' with the transform thread. If you chain several Transformers or XMLReaders together you get another thread for each pipe. This is good and bad, since the number of threads increases, but the pipeline tends to keep moving along... pipe number three can be getting bytes to the wire while pipe number 1 is just getting started. The transform thread's run method is to be found in org.apache.xalan.transformer.TransformerImpl#run(), and the thread is created in org.apache.xalan.stree.SourceTreeHandler#startDocument(), and does the join in org.apache.xalan.stree.SourceTreeHandler#endDocument(). If you are using a DOM as the source, you are not running the second thread... this only happens when Xalan can create it's own source tree. -scott Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Error 500
Hi, I have a program that runs fine in JDeveloper3.1.1.2, but when I deploy it to tomcat and try to open it in the browser I get the following error: Error: 500 Location: /examples/jsp/test2/MyProject1_html/main.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPC:\jakarta\jakarta-tomcat-3.2.1\work\localhost_8080%2Fexamples\_0002fjsp_0002ftest_00032_0002fMyProject_00031_0005fhtml_0002fmain_0002ejspmain_jsp_0.java:16: Package oracle.jbo not found in import. import oracle.jbo.*; ^ C:\jakarta\jakarta-tomcat-3.2.1\work\localhost_8080%2Fexamples\_0002fjsp_0002ftest_00032_0002fMyProject_00031_0005fhtml_0002fmain_0002ejspmain_jsp_0.java:18: Package oracle.jdeveloper.html not found in import. import oracle.jdeveloper.html.*; ^ C:\jakarta\jakarta-tomcat-3.2.1\work\localhost_8080%2Fexamples\_0002fjsp_0002ftest_00032_0002fMyProject_00031_0005fhtml_0002fmain_0002ejspmain_jsp_0.java:19: Package oracle.jbo.html.databeans not found in import. import oracle.jbo.html.databeans.*; ^ 3 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) I have copied the Jar files from Jdeveloper into the LIB directory in tomcat, but it hasn't fixed the problem. I will appreciate your help. Thanks, Kenny __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Error 500
On 1/7/2001 at 2:36 PM Lin Gan wrote: I have copied the Jar files from Jdeveloper into the LIB directory in tomcat, but it hasn't fixed the problem. You probably need to actually add the jar files to your classpath as well. Jdeveloper was probably doing that for you behind the scenese (as Ant can). -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 425-0252; Fax 716 223-2506. -- http://www.husted.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Starting Apache
Hi All, Whenever I add the Include line into my Apache httpd.conf file Apache won't start, could someone point me in the right direction. Andrew [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
MySql, mm.mysql and Tomcat
I saw your posts re: Please help with ... . I don't think the nightly build will get me very far but looks like you've been there socan I ask you about the following: Win 98 with Tomcat running example ok and MySql running its example db's ok. Downloaded jdbc driver for the db called mm.mysql and tried to follow the instructions. I have ajsp that(when "login" is clicked) uses abean called"sessionmanager" whichin turn uses a beancalled "connectionpool" to get a connection to a db called "idpassword" which I created on MySql. Could someone give an old guy like me some VERY specific, detailed instructions about how to configure these threeso it will run? Currently, when I click "login" I get an "error 500 cannot create instance of bean sessionmanger" I'm confident its in the classpath or perhaps a config file because thethe jsp, sessionmanageretc is all example code from Paul Tremblett's book: Instant Java Server Pages (copywrite 2000,Mcgraw-Hill). Here's what I have set up now: Location of the jsp called login2.jsp is GameD/tomcat/webapps/login/jsp/login2.jsp Location of sessionmanager is GameD/tomcat/webapps/login/Web-inf/ classes/com/instantjsp/SessionManager.class Location of ConnectionPool is GameD/tomcat/webapps/login/Web-inf/ classes/com/javaservlets/jdbc/ConnectionPool.class Also located same directory as ConnectionPool.class is Connection.cfg which looks like this: #ConnectionPool.cfg JDBCDriver=mm.mysql.Driver JDBCConnectionURL=jdbc:mysql://localhost:8080/login/Web-inf/idpassword ConnectionPoolSize=50 ConnectionPoolMax=250 ConnectionUseCount=5 ConnectionTimeout = 2 User= Password= I don't think I ever set a password in MySql. Here's what the beginning of login2.jsp looks like: jsp:useBean id="sessionManager" class="com.instantjsp.SessionManager" scope="application" / jsp:useBean id="credentials" class="com.instantjsp.UserCredentials" scope="session" / % if (sessionManager.alreadyLoggedIn(credentials)) { % jsp:forward page="LogoutFirst.jsp" / % } % html head Here is the beginning of SessionManager.java: package com.instantjsp; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import javax.servlet.ServletContext; import javaservlets.jdbc.ConnectionPool; public class SessionManager { private Hashtable currentLogins; private ConnectionPool connectionPool; private static final int TIMEOUT_MINUTES = 5; private static final long ONE_MINUTE = 6L; private static final String POOL_CFG_FILE = "javaservlets/jdbc/SessionManagerConnectionPool.cfg"; private static final String SELECT_PASSWORD = "SELECT password FROM idpassword WHERE userid = "; Here is the beginning of ConnectionPool.java: /* * @(#)ConnectionPool * * Copyright (c) 1998 Karl Moss. All Rights Reserved. * * You may study, use, modify, and distribute this software for any * purpose provided that this copyright notice appears in all copies. * * This software is provided WITHOUT WARRANTY either expressed or * implied. * * @author Karl Moss * @version 1.0 * @date 11Mar98 * */ package javaservlets.jdbc; import java.sql.*; /** * pThis class serves as a JDBC connection repository. Since * creating database connections is one of the most time * intensive aspects of JDBC, we'll create a pool of connections. * Each connection can be used and then replaced back into the * pool. * * pA properties file 'ConnectionPool.cfg' will be used to * specify the types of JDBC connections to create, as well as * the minimum and maximum size of the pool. The format of * the configuration file is: * * #(comment) * JDBCDriver=JDBC driver name * JDBCConnectionURL=JDBC Connection URL * ConnectionPoolSize=minimum size of the pool * ConnectionPoolMax=maximum size of the pool, or -1 for none * ConnectionUseCount=maximum usage count for one connection * ConnectionTimeout=maximum idle lifetime (in minutes) of * a connection * other property for JDBC connection=value * * pAny number of additional properties may be given (such * as username and password) as required by the JDBC driver. * */ public class ConnectionPool implements javaservlets.timer.TimerListener { // JDBC Driver name String m_JDBCDriver; // JDBC Connection URL String m_JDBCConnectionURL; // Minimum size of the pool int m_ConnectionPoolSize; // Maximum size of the pool int m_ConnectionPoolMax; // Maximum number of uses for a single connection, or -1 for // none int m_ConnectionUseCount; // Maximum connection idle time (in minutes) int m_ConnectionTimeout; // Additional JDBC properties java.util.Properties m_JDBCProperties; // The Connection pool. This is a vector of ConnectionObject // objects java.util.Vector m_pool; // The maximum number of simultaneous connections as reported // by the JDBC driver int m_MaxConnections = -1; // Our Timer object javaservlets.timer.Timer m_timer; /** *
Re: Starting Apache
There is a Working with mod_jk help document and a Tomcat Workers How To. These are very good documents and provide much more indepth dicussion than the steps I will outline below. Basically for tomcat 3.2 I did the following NOTE: I already had a binary distribution of tomcat up and running as a distinct server. 1. Download the source Tomcat distribution. IMPORTANT you need the distribution with .src.tar.gz in it!! ( This was a second version of tomcat that I downloaded only for the purpose of creating mod_jk.so ) 2. Untar this into a temp directory 3. Build the mod_jk.so object by typing (for LINUX) apxs -0 mod_jk.so -I../jk -I/usr/local/[jdkFolderName]/include -I/usr/local/[jdkFold erName]/include/linux -c *.c ../jk/*.c 4. Run gcc -shared -o mod_jk.so *.o if your mod_jk.so object has not been built. 5.Copy mod_jk.so to Apache's libexec directory. (My system was /usr/lib/apache) NOW EDIT httpd.conf add the following lines 1. LoadModule jk_module libexec/mod_jk.so 2. AddModule mod_jk.c 3. JkWorkersFile/usr/local/jakarta-tomcat/conf/workers.properties 4. JkLogFile/usr/local/apache/logs/mod_jk.log 5. JkLogLevelwarn Add servlet processing capability (NOTE: This worked for me, the How To discusses ajp13 which is faster etc.. etc..) 1. JkMount/*.jspajp12 2. JkMount/servlet/*ajp12 3. JkMount/myServletWorkspace/servlet/*ajp12 4. JkMount/anotherServletWorkspace/servlet/*ajp12 5. JkMount/otherworker/*.jspremoteworker You will also need to modify your /usr/local/jakarta-tomcat/conf/workers.properties file 1. workers.tomcat_home=/usr/local/jakarta-tomcat 2. workers.java_home/usr/local/jdk1.3 3. ps=/ You should now be in a position to test if everything is ok so restart Apache kill -s SIGHUP `cat /var/run/httpd.pid` do a ps to see if apache is up and running. Test to see that it is still serving your normal pages. Restart tomcat. If everything has gone according to plan *big grin* you can place servlet calls direct in your html code WITHOUT having to reference the servlet with a complete url. For example prior to my conversion I had to call servlets in HTML documents using action="http://xxx.xxx.xxx.xxx:8080/marktest/servlet/HelloWorld" NOW I can call servlets using action="/marktest/servlet/HelloWorld" and apache knows how to resolve the rest :) Best of Luck. P.S. The HowTo documentation is much better than my explanation. - Original Message - From: Andrew Burrows [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Monday, January 08, 2001 10:59 AM Subject: Starting Apache Hi All, Whenever I add the Include line into my Apache httpd.conf file Apache won't start, could someone point me in the right direction. Andrew [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Linux mod_jk + Apache help
See my post Re:Starting Apache I think it may help. Regards Mark - Original Message - From: W J La Cholter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 05, 2001 12:42 PM Subject: Linux mod_jk + Apache help I'm trying to get a servlet invoked by Apache using mod_jk. Is there any magic involved? I got the RPMs and installed them on Mandrake Linux 7.0 (i586). The auto-generated mod_jk.conf refers to the default examples directory, so it should just work. However, when I try to access a servlet through http://localhost/examples/servlet/HelloWorldExample it fails but http://localhost:8080/examples/servlet/HelloWorldExample works. I turned up the logging level to see if mod_jk gets called, and the log indicates it does: [jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp12 Here are the versions: tomcat-3.2.1-1 tomcat-mod-3.2.1 apache-1.3.14-2mdk Sun JDK 1.3 I read the FAQ and the HOWTOs. I also tried Ajp13 for grins, but that didn't help. Any help would be most appreciated. TIA, William La Cholter __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
ClassPath and setTomcat_Home variables?
hi I have a problem to run Tomcat ,I have win98,jdk1.3, when I start to run it I get an error like Out of environment space Unable to locate servlet.jar, check the value of TOMCAT_HOME. how can I check the value of TOMCAT_HOME,JAVA_HOME? thanks sam, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Linux IBM JDK + Tomcat + SMP hangs
Hi, I've been having a really tough time to say the least trying to get the IBM JDK 1.3 to work on an SMP machine under linux. I don't think my problem is unique. The JDK hangs, consuming 99% of the CPU. From what I can tell, this problem is specific to the IBM JDK 1.3 on SMP machines. I've read just about every message on the ibm linux java newsgroup, and the typical solution offered is always to install glibc 2.1.3-21. Without doing this I had instant hangs as soon as I ran tomcat. After updating glibc, the hangs take a little while to occur, but they are still present and persistent. Unfortunately, I'm also bound to using DB2 on the database side, and IBM tech support has stated that they do not support sun's jdk. If anyone can help me out I'd greatly appreciate it. my environment is: dual p3/866 + 512mb (dell poweredge 2450) redhat linux 6.2 kernel 2.2.16 SMP glibc-2.1.3-21 apache tomcat 3.2.1 (also tried 3.1.1) IBM JDK: java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20001124 (JIT enabled: jitc)) brien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: ClassPath and setTomcat_Home variables?
Hi sam, that means your classpath has not been set. from run option in start menu type SYSEDIT. give following commands in your autoexec.bat. set TOMCAT_HOME=c:\tomcat set JAVA_HOME=c:\jdk1.3 set classpath=%classpath%;c:\jsdk2.0\lib\jsdk.jar; here I am assuming that all jdk, jsdk and tomcat are installed on the same drive i.e. C bye nitin --- "Sam T." [EMAIL PROTECTED] wrote: hi I have a problem to run Tomcat ,I have win98,jdk1.3, when I start to run it I get an error like Out of environment space Unable to locate servlet.jar, check the value of TOMCAT_HOME. how can I check the value of TOMCAT_HOME,JAVA_HOME? thanks sam, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Re[2]: UserID and Passwd for the context Admin ???
Thank you very much it worked Kind regardsHarish GundechaSystems AdministratorEmail: [EMAIL PROTECTED]Versaware Technologies (India) Pvt. Ltd.Phone : +91-20-6136028 Extn: 331 - Original Message - From: Patrik Beno To: Harish Gundecha Sent: Sunday, January 07, 2001 3:11 AM Subject: Re[2]: UserID and Passwd for the context Admin ??? Saturday, January 06, 2001, 2:20:09 PM, you wrote: I am sorry but even after changing the tomcat-users.xml file it doesnot work !!!In webapps/admin/WEB-INF/web.xml there's somtheing like this:web-app security-constraint ... auth-constraint role-nameadmin/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameadmin/realm-name /login-config/web-appTry adding this into conf/tomcat-users.xml:tomcat-users ... user name="admin" password="tomcat" roles="admin" //tomcat-users patrik.beno@{qbizm.com|inmail.sk} ICQ#98931498 -- --Patrik Beno Qbizm technologies, Inc.developer ... the art of internet.Kralovopolska 139 tel: +420 5 4124 2414601 12 Brno, CZ http://www.qbizm.com fax: +420 5 4121 2696-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, email: [EMAIL PROTECTED]
Servlet and Multiple Instances
I've written a servlet that is getting hit pretty hard. It works fine when just one user access hit. However, when they are multiple people hitting the servlet, it seems like that it is only serving one person at a time. Is there some confirguration option that I am missing so that it can spawn multiple threads. Any help would be appreciated. Thanks. --Cam--
mod_jk build fails - apxs:Break: Command failed with rc=255
Hello, I am trying to build mod_jk for Apache from the jakarta-tomcat 3.2.1 source. Apache 1.3.14 is installed in the default directory (/usr/local/apache). I'm running Solaris 2.7 (generic) for Sparc. When I use apxs to build mod_jk (according to the current documentation), I get: # apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java1.2/include -I/usr/java1.2/ include/solaris -c *.c ../jk/*.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c mod_jk.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_ajp12_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_ajp13.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_ajp13_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_connect.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_jni_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_lb_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_msg_buff.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_nwmain.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_pool.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_sockbuf.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_uri_worker_map.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_util.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_worker.c -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o mod_jk.o apxs:Break: Command failed with rc=255 Similarly, adjusting the apxs command syntax to adhear to the structure outlined by "apxs -h" produces the result: # apxs -c -o mod_jk.so -DSOLARIS -I../jk -I/usr/java1.2/include -I/usr/java1 .2/include/solaris *.c ../jk/*.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c mod_jk.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_ajp12_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_ajp13.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_ajp13_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_connect.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include -I/usr/java1.2/include/solaris -DSOLARIS -c ../jk/jk_jni_worker.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -I/usr/local/apache/include -I../jk -I/usr/java1.2/include