loading mod_jk.so, undefined symbol: map_name_at
I am trying to install tomcat on a slackware linux box. I followed the instructions found on: http://mikal.org/interests/java/tomcat_users/msg19668.html for compiling and setting everything up. However, when I start apache, I get the following error message: reality:/usr/local/apache/bin# ./httpd start Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto: Cannot load /usr/local/apache/libexec/mod_jk.so into server: /usr/local/apache/libexec/mod_jk.so: undefined symbol: map_name_at (note I am using the same versions of apache, tomcat etc. specified in the directions) I dug through the mailing list but was unable to find any solutions to the above problem. Any help would be appreciated!! Thanks, Ryan Cuprak == | Ryan Cuprak| | [EMAIL PROTECTED] www.cuprak.net | | HomePh: (860)-742-5561 46 Prospect St. Coventry CT 06238 | | College Ph: (773)-973-9661 1400 W. Devon Ave. PMB 271 Chicago, IL 60660| == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
NoSuchMethodError
Hello I have downloaded and installed Tomcat version 3.2 to execute JSP When I try to execute any JSP Example program The Exception given below occurs I have set the path ,classpath and the environmental variables as specified Can u please help me out. -java.lang.NoSuchMethodError: javax.servlet.ServletException: method getRootCause()Ljava/lang/Throwable; not found at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:273) 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.handleError(Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java:311) 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(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Thread.java:479) thanks [EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
jdbc problem
Hi I have a small problem with setting a connection to an oracle database every time that I start the tomcat with the following code I cant get the server to start this is the code within the server.xml : +ADw-RequestInterceptor className+AD0AIg-org.apache.tomcat.request.JDBCRealm+ACI- debug+AD0AIg-99+ACI- driverName+AD0AIg-oracle.jdbc.driver.OracleDriver+ACI- connectionURL+AD0AIg-jdbc:oracle:thin:+AEA-198.165.124.36:1521:myvxs+ACI- connectionName+AD0AIg-name+ACI- connectionPassword+AD0AIg-password+ACI-/+AD4- and another question can you set a connection pool with the tomcat ?? thanks for the attention shlomi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: loading mod_jk.so, undefined symbol: map_name_at
I found this error several times in ths mailing list You should find the answer... However this is one for freebsd I'm not sure where is the error in the makefile because I'm not a shell expert, but I solve the problem launching by myself apxs. The location of the apxs is (in my configuration) /usr/local/sbin/ instead of ${APACHE_HOME}/bin/ After correcting this I launch the Makefile that compile the mod_jk.so (make all). The script launch : /usr/local/sbin/apxs -c -I/usr/local/jdk1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/local/apache/include -I../jk mod_jk.c As you can see it compiles only the mod_jk.c. The command you have to launch is: /usr/local/sbin/apxs -c -I/usr/local/jdk1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/local/apache/include -I../jk mod_jk.c ../jk/j*.c If you use a different jdk just yank the apxs command and add ../jk/*.c at the end as I did. It works with all the jdk (1.1.8, 1.2 beta native and 1.2 linux) Hope this help andrea --- At 02.11 28/01/2001 -0600, you wrote: I am trying to install tomcat on a slackware linux box. I followed the instructions found on: http://mikal.org/interests/java/tomcat_users/msg19668.html for compiling and setting everything up. However, when I start apache, I get the following error message: reality:/usr/local/apache/bin# ./httpd start Syntax error on line 8 of /usr/local/tomcat/conf/mod_jk.conf-auto: Cannot load /usr/local/apache/libexec/mod_jk.so into server: /usr/local/apache/libexec/mod_jk.so: undefined symbol: map_name_at (note I am using the same versions of apache, tomcat etc. specified in the directions) I dug through the mailing list but was unable to find any solutions to the above problem. Any help would be appreciated!! Thanks, Ryan Cuprak == | Ryan Cuprak| | [EMAIL PROTECTED] www.cuprak.net | | HomePh: (860)-742-5561 46 Prospect St. Coventry CT 06238 | | College Ph: (773)-973-9661 1400 W. Devon Ave. PMB 271 Chicago, IL 60660| == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Trouble with web.xml
Hi All, This is my first post to this list, so hi. I've searched all the documentation I could find to no avail, I've two problems and I'm looking for some guidance. Firstly I'm using Ant and build.xml to set up my web application. This works fine except that it does not place the servlets into the classes directory of the web application it sets up. When I run build, things seem to go fine, it tells me it has compliled the correct number of servlets, but they just disappear... what is going on? I have been getting around that by compling using javac with the destination directory set to my TOMCAT_HOME/webapps/myapp/WEB_INF/classes directory. This all works, my HelloWorld.class servlet runs like a beauty :) My next problem is that I cannot get my servlets to recognize web.xml. I place this file in WEB-INF directory for the web app, but any init-param I try and use comes back as null. I am sure I have the syntax of the web.xml file correct. This even happens when I place my servlets in TOMCAT_HOME/webapps/examples/WEB-INF/classes directory and edit the pre-existing web.xml file to include my init-params. Thanks is advance for any advice. Cheers Matt Campbell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Question
Thank you in advance for any help you can provide. I am a java enterprise developer and develop generally on my standalone notebook where I use Jigsaw, JavaWebServer and Apache/Tomcat. All work fine. My notebook used Windows 98 and my application currently under development uses MS Access. When I moved all three web servers to my NT Server machine, installed and started. Only the JavaWebServer2.0 works as expected. Both Jigsaw and Apache/tomcat fail. Here is what happens: My application uses servlets which extracts information from an Access database and merges with internally generated HTML documents and sent to the client over the internet (network at this point in time). The moment the program attempts to access the database I get a Doctor Watson error which says error Java.exe 'access violation' along with some additional cryptic information. I do not get this error with JavaWebServer nor do I get it in any of the three web servers when running in my notebook (windows98). If I reverse the process and execute the application from the NT Server using my notebook as the webserver (apache/tomcat), all works perfectly. It seems to be the NT Server that is causing me problems but can't pinpoint it. Has anyone encountered this problem and what is a possible solution? Bernard LavalleeLavallee Computer Consulting, Inc.166 Packard RoadJericho, VT 05465Tel: 802 899-3115 Email: [EMAIL PROTECTED] Specializing in designing, developing and implementingJava enabled enterprise applications for your business.
RE: Trouble with web.xml
Hello, welcome. I'm not sure I understand the first question in the context of tomcat. However ant usually puts things in projectroot/build/classes/x/x/x where project root is the directory where your src, lib, etc files are. It also usually copies all the sources to build/src. As for your webapp. If you want the WEB-INF/web.xml file to be heeded you must have your OWN webapp (not part of the examples). To do this create your own subdir usually /opt/tomcat/webapps/mywebapnamehere and put your WEB-INF there /opt/tomcat/webapps/mywebapnamehere/WEB-INF. You will need to add entries to server.xml (see how /examples) is setup. I generally put my webaps under their own tomcat subdir for organizational purpose (I don't want to intermingle with examples)... if you want to edit the examples to include yours then you're likely running into the init-param format being not quite so obvious... EACH param-name,param-value pair must be surrounded by an init-param /init-param not all under one. This is a very common problem. -Andy -Original Message- From: Matt Campbell To: [EMAIL PROTECTED] Sent: 1/28/01 9:56 AM Subject: Trouble with web.xml Hi All, This is my first post to this list, so hi. I've searched all the documentation I could find to no avail, I've two problems and I'm looking for some guidance. Firstly I'm using Ant and build.xml to set up my web application. This works fine except that it does not place the servlets into the classes directory of the web application it sets up. When I run build, things seem to go fine, it tells me it has compliled the correct number of servlets, but they just disappear... what is going on? I have been getting around that by compling using javac with the destination directory set to my TOMCAT_HOME/webapps/myapp/WEB_INF/classes directory. This all works, my HelloWorld.class servlet runs like a beauty :) My next problem is that I cannot get my servlets to recognize web.xml. I place this file in WEB-INF directory for the web app, but any init-param I try and use comes back as null. I am sure I have the syntax of the web.xml file correct. This even happens when I place my servlets in TOMCAT_HOME/webapps/examples/WEB-INF/classes directory and edit the pre-existing web.xml file to include my init-params. Thanks is advance for any advice. Cheers Matt Campbell - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Example Servlets throw NullPointerException (apache 1.3.12+mod_jk)
Hi. I setup Tomcat with Apache 1.3.12 mod_jk and when i try the example servlets, they always throw a NullPointerException: java.lang.NullPointerException at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147) at org.apache.tomcat.core.Handler.service(Handler.java:273) 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.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166) 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) From scoping the output i assume the context is setup incorrectly, in some file or another (i didn't change the default server.xml entry for the context). I also tried using the ajp13 worker but the same thing happened. I'm new to both tomcat and servlets so any assistance and advice on debugging are very appreciated. thanks, christian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How do I redirect console messages to a log file?
This doesn't work on Win98SE. No surprises there really. Has anybody come up with a simple re-direction solution for Win98? -Original Message- From: Cecchi, Gianluca [mailto:[EMAIL PROTECTED]] Sent: Thursday, 25 January 2001 03:23 To: '[EMAIL PROTECTED]' Subject: RE: How do I redirect console messages to a log file? Or if you want log+err in the same file (on both windows and unix): startup.bat tomcat.log 21 -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 5:18 PM To: [EMAIL PROTECTED] Subject: RE: How do I redirect console messages to a log file? To redirect stderr under NT use cmd stdout.log 2stderr.log ie startup.bat tomcat.log 2tomcaterr.log -Original Message- From: Erick Ramirez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 4:10 PM To: [EMAIL PROTECTED] Subject: RE: How do I redirect console messages to a log file? From a posting I've unearthed from jGuru.com, it stated that redirecting the messages is as simple as using the command: startup.sh output.log in Unix. As I have mentioned, I am running in a Win NT environment. I have tried the DOS of equivalent of piping the output by: \bin\startup tomcat.log but the trace() lines are still being sent to the console instead of the log file. What else is there that I could do? -Original Message- From: Samson, Lyndon [IT] [mailto:[EMAIL PROTECTED]] Sent: 24 January 2001 16:47 To: [EMAIL PROTECTED] Subject: RE: How do I redirect console messages to a log file? If you are using *nix you could look up the system command tee, but if apache is using stderr it wont work. Its pretty easy to write a little C program ( someone prob. already has ) to do this. PS I knew a guy who used to work @ reef, Ross Dyson ring a bell? -Original Message- From: Erick Ramirez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 3:28 PM To: [EMAIL PROTECTED] Subject: How do I redirect console messages to a log file? I am running Tomcat 3.2.1 on top of Apache 1.3 in a NT Environment. I have tried modifying the Logger element in server.xml so that it reads: Logger name="tc_log" path="logs/tomcat.log" verbosityLevel = "DEBUG" / but it seems to only report "Context" messages, as well as exceptions. I have tried modifying wrapper.properties so that it reads: wrapper.stdout=$(wrapper.tomcat_home)\logs\stdout.log wrapper.stderr=$(wrapper.tomcat_home)\logs\stderr.log and once again, it only reports some of the messages to these files and most of the trace lines are still being reported to the console. I am using a trace() which by default, sends messages to System.out and I would like these lines to be piped into a log file. Can anyone help? Regards, ERICK RAMIREZ ControlServlet Team [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] REEF SA/NV Tour Gallieni II 36, ave du Gen de Gaulle 93006 Bagnolet FRANCE Tel +33 1 5582 9449 www.reef.com http://www.reef.com/ Business is Dynamic. Take Control. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
a few strange problems
I recently installed Tomcat 3.2.1 on a RedHat 6.2 Linux System and have come across some strange issues. I am using it solely for the jsp functionality not for servlets. I am running it in conjunction with Apache 1.3.12(to serve static content, images etc.) Whenever I do an include, from a .jsp file, that passes a param value with 'nbsp;' in the value string I get some really strange exceptions, the first exception is a FileNotFoundException, all of the included files are referred to relatively i.e. "../header.jsp" and do exist, if I remove the ".." I can get rid of the FileNotFoundException. Ok, but now I get: Internal Servlet Error: javax.servlet.ServletException; Root Cause: java.lang.IllegalArgumentException. (please let me know if you need more info than that as the full errors were much longer etc.) Finally, to fix this, I remove the 'nbsp;' from the param line in the include statement below. jsp:include page="/header_out.jsp" flush="true" jsp:param name="cur_page" value="Learnnbsp;More" / /jsp:include The next issue I am having is pretty simple, I have a directory my_admin which when accessing *.jsp I get a "404 File Not Found", but if I change the name to myadmin(note: no underscore "_") everything is peachy. HTML files work fine in both situations. Are these bugs(known?) or do I possibly have some problems in my configuration? If it is a problem in my configuration, any suggestions? Thanks. -- Thomas Bartels aka Blossoms the Tact Rat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Question
"Lavallee Computer Consulting, Inc." wrote: Thank you in advance for any help you can provide. I am a java enterprise developer and develop generally on my standalone notebook where I use Jigsaw, JavaWebServer and Apache/Tomcat. All work fine. My notebook used Windows 98 and my application currently under development uses MS Access.When I moved all three web servers to my NT Server machine, installed and started. Only the JavaWebServer2.0 works as expected. Both Jigsaw and Apache/tomcat fail. Here is what happens:My application uses servlets which extracts information from an Access database and merges with internally generated HTML documents and sent to the client over the internet (network at this point in time). The moment the program attempts to access the database I get a Doctor Watson error which says error Java.exe 'access violation' along with some additional cryptic information. I do not get this error with JavaWebServer nor do I get it in any of the three web servers when running in my notebook (windows98). If I reverse the process and execute the application from the NT Server using my notebook as the webserver (apache/tomcat), all works perfectly. It seems to be the NT Server that is causing me problems but can't pinpoint it. Has anyone encountered this problem and what is a possible solution?Bernard Lavallee Lavallee Computer Consulting, Inc. 166 Packard Road Jericho, VT 05465 Tel: 802 899-3115 Email: [EMAIL PROTECTED] It's more likely to be a problem with the JDBC-ODBC bridge driver not working well in NT's multithreading environment, which is somewhat different than Win98's. If you are using this driver, you are strongly encouraged to switch to something else. Of course, Access isn't a particularly good choice for a database, either, if you are going to get any volume of hits at all. Craig McClanahan
Re: NoSuchMethodError
99% of the time this kind of error is due to an older copy of the servlet API classes somewhere on your classpath, or in your Java extensions directory ($JAVA_HOME/jre/lib/ext). Craig McClanahan "S.Anjana sridhar" wrote: Hello I have downloaded and installed Tomcat version 3.2 to execute JSP When I try to execute any JSP Example program The Exception given below occurs I have set the path ,classpath and the environmental variables as specified Can u please help me out. -java.lang.NoSuchMethodError: javax.servlet.ServletException: method getRootCause()Ljava/lang/Throwable; not found at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:273) 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.handleError(Compiled Code) at org.apache.tomcat.core.Handler.service(Handler.java:311) 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(Compiled Code) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code) at java.lang.Thread.run(Thread.java:479) thanks [EMAIL PROTECTED] _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. - 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: a few strange problems
Thomas Bartels wrote: I recently installed Tomcat 3.2.1 on a RedHat 6.2 Linux System and have come across some strange issues. I am using it solely for the jsp functionality not for servlets. I am running it in conjunction with Apache 1.3.12(to serve static content, images etc.) Whenever I do an include, from a .jsp file, that passes a param value with 'nbsp;' in the value string I get some really strange exceptions, the first exception is a FileNotFoundException, all of the included files are referred to relatively i.e. "../header.jsp" and do exist, if I remove the ".." I can get rid of the FileNotFoundException. Ok, but now I get: Internal Servlet Error: javax.servlet.ServletException; Root Cause: java.lang.IllegalArgumentException. (please let me know if you need more info than that as the full errors were much longer etc.) Finally, to fix this, I remove the 'nbsp;' from the param line in the include statement below. jsp:include page="/header_out.jsp" flush="true" jsp:param name="cur_page" value="Learnnbsp;More" / /jsp:include I am betting that the confuses the request parser because of the similarity to the way form parameters are passed, but I don't know why that would generate those exceptions. -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.com/java/javacert/ Author of Java Developer's Guide to Servlets and JSP ISBN 0-7821-2809-2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Need help for servlet and jsp mapping
HI.. Can somebody help me , i got really frustrated regarding mapping servlet and jsp file to tomcat. I use Apache+ tomcat. the example files run well. i have made the context path in server.xml like the following Context path="/myserver" docBase="webapps/myserver" crossContext="true" debug="0" reloadable="true" trusted="false" /Context then in myserver directory i make the tree like this: /WEB-INF/classes /servlets i write the servlet in a package called devguide.chap1.MultiDemo.class and i put the directory devguide which is a package directory into classess directory can somebody tell me how to configure web.xml(in WEB-INF directory) one more question : i put the jsp file under the myserver directory Should i map the jsp file in the web.xml too ? if so, then how ? Help will be really appreciated. thanks in advance.. Rgds, Gun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
JDBCRealm - can't make it work
I am trying to setup some webpages hosted using Tomcat and I am facingproblems to access the MySQL databse from the webpages.I have setup Tomcat-3.2.1(binary) and Apache_1.3.14 with MySQL-3.23.31 underRedHatLinux 6.2. Tomcat, Apache and MySQL are basically working fine whereasjdk1.3 is installed under /usr/java. I have to setup login authenticationfrom the webpages accessing data from MySQL (name of database is test). Ithink Tomcat supports JDBC and not ODBC and therefore I am trying to useMM.MySQL for JDBC connectivity to MySQL. I am having lack of understandinghow to properly setup MM.MySQL in conjunction with Tomcat.As indicated in Tomcat/MM.MySQL documentation, I have tried as follows:1. Modified $TOMCAT_HOME/conf/server.xml to add following lines: RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="org.gjt.mm.mysql.Driver" connectionURL="jdbc:mysql://localhost/test''" /2. Unpacked mm.mysql.jdbc-1.2c.tar.gz under /opt3. Have set up CLASSPATH as /opt/mm.mysql.jdbc-1.2c4. Copied both mysql_comp.jar or mysql_uncomp.jar (one at a time) to$TOMCAT_HOME/libWhen I am trying to access my webpages under Tomcat, I am getting an errormessage on the linux console as: java.sql.SQLException: No suitable driverFurther when I am trying to access MySQL through my Tomcat webpages ortrying to stop Tomcat, I am also getting error message as:java.lang.NullPointerException Do I need JDBCRealm.class file? If yes, how to get and where to place? I have file under $TOMCAT_HOME/src/org/apache/tomcat/request/JDBCRealm.java but if I try to compile it, I am getting lots of errors.In a separate environment, I have used NT4.0, JavaWebserver, MySQL and ODBCdriver. Every thing is working over there including database access from theWebPages.In the Linux setup in question, I have also installed ODBC driver and driver manager(libiodbc-2.50.3 and MyODBC-2.50.36) for MySQL and the sample odbctestprogram is able to access data from MySQL. However MySQL can not be accessedfrom the WebPages and I believe Tomcat need to configured to work with theODBC driver if at all it can support the ODBC. Tomcat documentation isreferring the use of a JDBC driver MM.MySQL which is also installedhere(mm.mysql.jdbc-1.2c) under Linux. But the documentations are not thatclear to me and I am unable to understand and complete the associatedconfiguration.Can somebody help?Thanks a million in advance.Dipankar
Re: Problem in starting tomcat
Andrew Tan wrote: I installed tomcat on Windows98 When I double click on "startup.bat" it says opening in another window (the window comes on and then disappears). And it seems that tomcat has not started. Do you have similar experience? and is there a solution? Regards, Andrew Why don't you try to execute the batch file under a dos prompt so that you can find out what is causing this type of functionality? Hope that helps. Cheers, John Clark -- /) John Clark Naldoza y Lopez (\ / )Software Design Engineer II ( \ _( (__ Web-Application Development_) )_ (((\ \ /_Cable Modem Network Management System _\ / /))) ( \_/ / NEC Telecom Software Phils., Inc. \ \_/ ) \ / \ / \_/ phone: (+63 32) 233-9142 loc. 3112\_/ / / cellphone: (+63 919) 241-4612 \ \ / / email: [EMAIL PROTECTED]\ \ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Question
Suggestion: mysql and postgresql I believe both have windoze versions. They're both free too. -Original Message- From: Craig R. McClanahan To: [EMAIL PROTECTED] Sent: 1/28/01 7:18 PM Subject: Re: Question "Lavallee Computer Consulting, Inc." wrote: Thank you in advance for any help you can provide. I am a java enterprise developer and develop generally on my standalone notebook where I use Jigsaw, JavaWebServer and Apache/Tomcat. All work fine. My notebook used Windows 98 and my application currently under development uses MS Access. When I moved all three web servers to my NT Server machine, installed and started. Only the JavaWebServer2.0 works as expected. Both Jigsaw and Apache/tomcat fail. Here is what happens: My application uses servlets which extracts information from an Access database and merges with internally generated HTML documents and sent to the client over the internet (network at this point in time). The moment the program attempts to access the database I get a Doctor Watson error which says error Java.exe 'access violation' along with some additional cryptic information. I do not get this error with JavaWebServer nor do I get it in any of the three web servers when running in my notebook (windows98). If I reverse the process and execute the application from the NT Server using my notebook as the webserver (apache/tomcat), all works perfectly. It seems to be the NT Server that is causing me problems but can't pinpoint it. Has anyone encountered this problem and what is a possible solution? Bernard Lavallee Lavallee Computer Consulting, Inc. 166 Packard Road Jericho, VT 05465 Tel: 802 899-3115Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] It's more likely to be a problem with the JDBC-ODBC bridge driver not working well in NT's multithreading environment, which is somewhat different than Win98's. If you are using this driver, you are strongly encouraged to switch to something else. Of course, Access isn't a particularly good choice for a database, either, if you are going to get any volume of hits at all. Craig McClanahan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Trouble with web.xml P.S.
I was wondering about that. I just finished reading the Servlet Specification and they made no mention of Init Params under the servlet element. And I wondered how they interacted with Init Params at the context level. You're saying that the servlet init params completely over shadow the context init params? fern On Sun, 28 Jan 2001, William Brogden wrote: Matt Campbell wrote: Hi All, this is an addition to my last post, a bit more info in case its any use. I've just tried to run TOMCAT_HOME/webapps/examples/WEB-INF/classes/SnoopServlet.class after un-commenting its init-params in TOMCAT_HOME/webapps/examples/WEB-INF/web.xml The servlet runs fine, except that it doesnt find its init-params. I have made no changes except for un-commenting those params. Why wont it find them?? Cheers Matt Ah yes - this annoying little quirk. If you address SnoopServlet.class directly as above, Tomcat does NOT associate it with the entry in web.xml therefore you don't get init params. If you address it as snoop - the alias that the web.xml sets up with: servlet servlet-name snoop /servlet-name servlet-class SnoopServlet /servlet-class init-param param-namefoo/param-name param-valuebar/param-value /init-param /servlet then you will get the init params - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Problem in starting tomcat
Andrew Tan wrote: I installed tomcat on Windows98 When I double click on "startup.bat" it says opening in another window (the window comes on and then disappears). And it seems that tomcat has not started. Do you have similar experience? and is there a solution? Regards, Andrew 1) Open an MSDOS Prompt window 2) Right click the upper left corner - select properties 3) on the memory tab of the properties dialog, change the initial environment to 3072 or 4096. The reason being that startup.bat adds LOTS of strings to the environment, too much for the normal win98 setting. 4) change directory to tomcat\bin and execute startup.bat if it doesn't work, at least you will be able to see error msg. -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.com/java/javacert/ Author of Java Developer's Guide to Servlets and JSP ISBN 0-7821-2809-2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Tomcat and SSL
I followed the instructions to the letter and I've tried it on two different platforms, so I'm just flat out MISSING something. I rebuilt Tomcat with SSL with no problems, modified my server.xml for SSL and it started with no errors, but when I go to connect to the SSL port from a browser I get a message on Netscape of "Netscape and this server cannot communicate securely because they have no common encryption algorithm(s)." and on IE it just gives the generic "Can't display this page" garbage. Has anyone seen (and hopefully solved) this problem??? Thanks. Allen Akers Programmer Analyst Strategic Web and Voice Development [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat and SSL
Check to see if you have tHe trusted certifcates for ssl. Nael Mohammad Customer Support Analyst Neomar, Inc. 180 Montgomery Street Suite 2000 San Francisco, CA 94104 Tel: 415-403-7300 ext. 274 Fax: 415-403-7373 " Wireless Means Business" -- Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Tomcat and SSL
I imported a certificate from Verisign that was created with OpenSSL and I was using successfully in the same machine via Apache+mod_jk+Tomcat. [EMAIL PROTECTED] 01/28/01 09:08PM Check to see if you have tHe trusted certifcates for ssl. Nael Mohammad Customer Support Analyst Neomar, Inc. 180 Montgomery Street Suite 2000 San Francisco, CA 94104 Tel: 415-403-7300 ext. 274 Fax: 415-403-7373 " Wireless Means Business" -- Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Ctx( ): IOException in: R( + /images/dm2.gif + null) socket write error (code=10053)
Hi, I have this problem loading hundreds of images in my applet from the server (Tomcat 3.2.1) with ~ following code: // in applet.init()... for (int i=0; i1000; i++) { URL location = getClass().getResource ("/images/image"+i+".gif"); Image img = this.getImage (location); if (img != null) images.addElement (img); } // ... After loading ~50-60 images this way, I start to get Ctx( ): IOException in: R( + /images/imageX.gif + null) socket write error (code=10053) for all resources including classes of applet being loaded by class loader. PLEASE HELP!!! Cheers, Maxim
RE: how to handle a user clicking very fast repeatedly on a web page
A long time ago I had this problem, specifically with submit buttons for forms. But The technique I used was rather straight forward: in your web page have this javascript: function disableMe(obj) { obj.disabled=true; } then your HTML buttons and links can have this as an onCLick handler: eg: input type="submit" name="submit" value="Click Me Many Many Times I Dare you!!" onClick="disableMe(this)" What this does is renders the link or button unclickable. If you have a submit button problem, and are worried, this is a very quick fix. Unfortunately this is only half of the solution since this way only works on IE: but there is another solution for netscape!! place all the objects you want to disable into netscape layers and then invisify them onClick =) its a dirty trick but it works. Have fun =) Luis Andrei Cobo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
JDBC - MSSQL driver for Linux
Hello all, Where can I get MSSQL JDBC driver for Linux. I'm having freetds driver, but for some of the functions it throws exception, NOT implemented. Thankx in advance Regards Nagappan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]