Mod_jk.so

2001-02-02 Thread Federico Delpino
Hi people, i'm looking for the Mod_jk.so for Compaq TRU64 4.0.f. Can anyone tell me where find it? If that module is not available anywhere, I'm looking for a suitable makefile. Any help welcome. Thanks in advance federico

RE: Tomcat 3.2 admin app

2001-02-02 Thread McCarthy, Richard
hi, I tried typing in the port number and it works!!.. thanks a million for your reply,something I probably should have been doing ,but am extremely new to the whole web server setup.. Once again,thanks for the help, Richard... -Original Message- From: Stefan Langer [SMTP:[EMAIL

Re: quick Tomcat question

2001-02-02 Thread hische
I just migrated to tomcat4. It features an access log. From the tomcat 4 documentation (filters.html): - - - - - - - - - - - - - - - - 3.3.1 Access Log Creation When running Tomcat behind a web server, the web server is responsible for creating the "access log" file that is typically used by

System.err going to screen

2001-02-02 Thread Nik Makepeace
I have set up Tomcat 3.2.1 with Apache and am serving servlets fine from it, but there is one problem: I can't get the servlet output to System.err to go to a log file. Instead of going to the file specified in server.xml thus: Logger name="servlet_log"

Handler Thread Problem

2001-02-02 Thread Nael Mohammad
Hey thanks, that fixed most of my problems. Thanks. Nael :) Now I have this thread problem: I suspect I have to limit the number of threads running Any ideas, here is the error: nix 2 [ ] DGRAM620270 -More--2001-02-02 12:36:09 - Ajp12Interceptor:

PROBLEM TOMCAT(stdalone)STARTUP\WIN 98

2001-02-02 Thread R N Mukherjee
SUB:PROBLEM TOMCAT-STANDALONE MODE STARTUP (WIN 98) (How to setup the environment variable) 1. TOMCAT(STDALONE\WIN98) NOT STARTING after setting the env variable. A. BEFORE SETTING the environment variable,when I run run bin.stratup.bat, it says point JAVA_HOME to your Java Development Kit.

Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Juan Julian Merelo Guervos
Hi, I haven't been able to install mod_jk.so with Apache 1.3.17. I have downloaded the mod_jk.so binary from the jakarta site, and I get this error: Syntax error on line 8 of /usr/local/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto: API module structure `jk_module' in file

RE: Bean problem...

2001-02-02 Thread Vikramjit Singh
no this is not a jsp specification but to access the bean from either a jsp or servlet u need to store the bean in a package. u can say that it is a bean specification. vikram -Original Message- From: Tony Keith [SMTP:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 9:53 PM To:

Run Tomcat as a Standalone

2001-02-02 Thread Sachin S. Khanna
Hello, I have downloaded the jakarta-tomcat-4.0-m5.zip file and extracted it in the c:\tomcat folder. I have also added the following lines in my autoexec.bat set JAVA_HOME=c:\jdk1.2 set TOMCAT_HOME=c:\tomcat\jakarta-tomcat-4.0-m5 now when i run thestartup command from the

ENVIRONMENT SETTING TOMCAT(stdalone)\WIN 98

2001-02-02 Thread R N Mukherjee
SUB:ENVIRONMENT SETTING TOMCAT(stdalone)\WIN 98(How to setup the environment variable) Dear aLL, I am having problem in setting the ENVIRONMENT variable(win 98) . 1. TOMCAT(STDALONE\WIN98) NOT STARTING . AFTER setting env variables, Ms-dos says "OUT OF ENVIRONMENT SPACE". 2. How to know

RE: Tomcat/firewall/oracle timeout problem

2001-02-02 Thread Kevin Sangeelee
You could execute some simple SQL and catch any exceptions to test the connection and re-establish it if necessary. There's also an isClosed() method of Connection which the docs say will test to see if a connection is closed. Theres some stuff in javax.sql (jdbc extensions) that provide

AW: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Andreas . cloess
Hi, I haven't been able to install mod_jk.so with Apache 1.3.17. I have downloaded the mod_jk.so binary from the jakarta site, and I get this error: Syntax error on line 8 of /usr/local/jakarta-tomcat-3.2.1/conf/mod_jk.conf-auto:

.jar files and servlets

2001-02-02 Thread Garzón Maldonado, Jesús
Hello, I'm running Tomcat 3.2.1 with Apache 1.3.12 (mod_jk) under Windows NT 4.0. The servlets I built can't find jar files. I tried to put them in the WEB-INF/lib directory, (inside the context where the servlets runs), and in the WEB-INF/classes directory, but with no success. It only

Need Tomcat freeware(for trial)

2001-02-02 Thread V.T.R.Ravi Kumar
Hi , I have been trying out servlets using jws2.0, Came to know about tomcat and apache server combination through servlet-interest list. Have already got apache server wud like to have a trial version of tomcat. If possible please do mail as attachment to this id thankin u in advance

Re: Tomcat + Apache under Mandrake

2001-02-02 Thread Jorge García
Hi Tong I'm using the rpm's from the Jakarta project, tomcat-3.2.1-1.noarch.rpm tomcat-mod-3.2.1-1.rpm I've apache, apache-devel, open-ssl, mod-ssl, auth-ldap and open-ldap also. All this stuff works fine as is, except our friend the mod_jk.so connector, and compiling it from

SV: Need Tomcat freeware(for trial)

2001-02-02 Thread Jørgen Ramskov
Sorry, you can't get at trial version of Tomcat. What you can get is a version licensed under the same license as Apache, which is an Open Source license. Therefore you can download binaries (and source) for free here: http://jakarta.apache.org/site/binindex.html There is only that one version

Problem with tags that set scripting variables

2001-02-02 Thread Collins, Jim
Hi, I have writen a very simple tag and jsp, what I want to do is set a scripting variable in the tag. Below is the jsp, taglib, and tag handler. When I try and run the jsp it throws a JasperException saying that test is an undefined variable. I have looked at the generated code and I can see

RE: Tomcat + Apache under Mandrake

2001-02-02 Thread GOMEZ Henri
I'm using the rpm's from the Jakarta project, tomcat-3.2.1-1.noarch.rpm tomcat-mod-3.2.1-1.rpm Thanks to java, no arch dependance. I've apache, apache-devel, open-ssl, mod-ssl, auth-ldap and open-ldap also. All this stuff works fine as is, except our friend the mod_jk.so

Problem with extra path info not redirected to servlet

2001-02-02 Thread Peter Thorsager
Hi, I've looked through the archieves for info on this problem, but the only one that came close had a solution that does not work for me, let me explain: I use Tomcat 3.2 to run a servlet located at "http://localhost/servlet", the servlet name is nexus.It is currently setup with an entry

Re: Problem with extra path info not redirected to servlet

2001-02-02 Thread Holger Hartwig
Peter, change servlet-mapping servlet-namenexus/servlet-name url-pattern/nexus/url-pattern /servlet-mapping to servlet-mapping servlet-namenexus/servlet-name url-pattern/nexus/*/url-pattern /servlet-mapping ^ | then

ClassPath question?

2001-02-02 Thread Jian Zhang
Hello; Can anyone help with this compile error msg: javac HelloWorld.java HelloWorld.java:1: Package javax.servlet not found in import. import javax.servlet.*; ^ I have included the servlet.jar in my classpath: printenv CLASSPATH

Re: ClassPath question?

2001-02-02 Thread André Alves
In the CLASSPATH is necessary put the name of the archive, as follow: /usr/local/tomcat/lib/servlet.jar --- Jian Zhang [EMAIL PROTECTED] escreveu: Hello; Can anyone help with this compile error msg: javac HelloWorld.java HelloWorld.java:1: Package javax.servlet not found in import.

RE: ClassPath question?

2001-02-02 Thread Christopher Kirk
As far as classpaths are concerned, you can think of a jar file as a directory (not a file). That is, unlike files (.class files especially) you must explicitly specify the jar file on the class path. That is, to pick up the servlet jar file, specify the following path. You will have to do a

Re: Need Tomcat freeware(for trial)

2001-02-02 Thread R N Mukherjee
DOWLLOAD A 3.O MB ZIP FILE FROM http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin R.K.JHA,SAIL At 15:13 02/02/01 +0530, you wrote: Hi , I have been trying out servlets using jws2.0, Came to know about tomcat and apache server combination through servlet-interest list. Have

Re: Problem with extra path info not redirected to servlet

2001-02-02 Thread Peter Thorsager
Thanks, that did it. Boy have I spent a lot of time trying to figure that out :O Peter Thorsager - Original Message - From: "Holger Hartwig" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 02, 2001 12:09 Subject: Re: Problem with extra path info not redirected to servlet

RE: ClassPath question?

2001-02-02 Thread Jian Zhang
Thanks. I just tried "/usr/local/tomcat/lib/servlet.jar" and it worked. I noticed that the first line HelloWorld.java file is "import java.io.*" But it did not create any problem on compiling given previous classpath. Does it mean java libs have some difference from each other? jian As far

I need help!!!

2001-02-02 Thread Rajashanin
Hi This is Rajashanin from India, I installed Apache and Tomcat in my machine to run JSP based project, I have tried a lot but I am unable to run my project, can you please tell me, where to put the JSP files, templates and the Java files?, does the Java files need to be compiled before

Re: I need help!!!

2001-02-02 Thread Narayanan
HI Where u have placed the application If u have not created any application just place the JSP under root and all the java files under web-inf . Narayanan s.w Engineer Enhancement Technologies Chennai-17 [EMAIL PROTECTED] - Original Message - From: Rajashanin

RE: ClassPath question?

2001-02-02 Thread Christopher Kirk
_Normally_ the core java libraries are inserted onto the classpath for you, hence you may not always have to setup a classpath. javax.* is not part of the core libraries, its name actually stands for 'java extensions'. Over time some of these extensions, such as swing (javax. swing) have made

Re: I need help!!!

2001-02-02 Thread Rajashanin
Dear Narayanan I have placed the JSP files and HTML files in the Web-apps folder and theand .class files in the Web-inf - classes folder, and now it's working fine, Thankx for ur reply and timely help Mr.Narayanan Cheers Rajashanin - Original Message - From: Narayanan

RE: Running web apps from a custom directory (W2K,IIS5,Tomcat 3.2 .1)

2001-02-02 Thread Vegard Skjefstad
aahhh.. that was better. Thanks a lot, Randy. At 15:08 01.02.2001 -0500, you wrote: Don't create virtual directories, edit the uriworkermap.properties file. Randy -Original Message- From: Vegard Skjefstad [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001

Re: AW: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Juan Julian Merelo Guervos
[EMAIL PROTECTED] wrote: Hi, I haven't been able to install mod_jk.so with Apache 1.3.17. I have downloaded the mod_jk.so binary from the jakarta site, and I get this error: Syntax error on line 8 of

problem with init-param

2001-02-02 Thread Martin Schmidt
Hi, my init-params were set if i enable load-on-startup (got some System.outs in the init()). But if i invoke a request, first the init is called again (hm?) and second the init-params are null!!! Here's my web.xml (taken from WEB-INF): ?xml version="1.0" encoding="ISO-8859-1"? !DOCTYPE

AW: AW: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Andreas . cloess
I am not using the default RedHat installation, but a "local" one; and I am loading the conf file "by hand"; besides, the /usr/local/apache/libexec/mod_jk.so does exist. Do you mean that it's trying to load it from some other place? Yes, that's what I

Unable to run tomcat 4.0 on win 98

2001-02-02 Thread Sachin S. Khanna
Hello, I'm trying to run tomcat on my mchine which has a jdk1.2 installed. But the statup.bat file throws this error : Relocation Error : Null relocation target has occured in org/apache/crimson... Please let me know why is this happening and how do i get rid of this fatal error. Have

RE: simple jsp forwarding

2001-02-02 Thread Debra Locke
We typically use a jsp template which dynamically creates all display pages using several jsp pages. However we do not use links to accomplish this. Instead we have a class file that defines "defaults" for request attributes (i.e. public static final String ATTR_CONTENT_JSP = "DisplayContent";)

RE: problem with init-param

2001-02-02 Thread Kevin Jones
You have two instances of the servlet executing. One with the name (/servlet/Init-Test) and one without (/servlet/Test)(this is expected). The firstone gets initialised and the init-params get set. The container hjas no info. about the second, apart from the fact that you are calling it through

date

2001-02-02 Thread Carlos
in jsp how i get the date for print in web in the format XX-XX-XX? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: date

2001-02-02 Thread Peter Thorsager
Use the MessageFormat object in java.text.MessageFormat included in the JDK. Peter Thorsager - Original Message - From: "Carlos" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 02, 2001 15:23 Subject: date in jsp how i get the date for print in web in the format

RE: date

2001-02-02 Thread Michael Wentzel
in jsp how i get the date for print in web in the format XX-XX-XX? Works just like any other java class: java.util.GregorianCalendar cal= new GregorianCalendar(); java.text.SimpleDateFormat format = new SimpleDateFormat("mm-dd-yy"); String s = format(cal.getTime()); --- Michael Wentzel

AW: date

2001-02-02 Thread Kurt, Oliver
or use java.util.DateFormat -Ursprngliche Nachricht- Von: Peter Thorsager [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 2. Februar 2001 15:25 An: [EMAIL PROTECTED] Betreff: Re: date Use the MessageFormat object in java.text.MessageFormat included in the JDK. Peter Thorsager -

Re: date

2001-02-02 Thread Kevin Sangeelee
On Fri, 2 Feb 2001, Carlos wrote: in jsp how i get the date for print in web in the format XX-XX-XX? java.util.Calendar - but *please* - this is not a Tomcat or even JSP issue. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: can4t build mod_jk under AIX :-(((

2001-02-02 Thread Denis Benoit
Hi, rainer Wrote: i work on AIX 4.3.3 and with apache 1.13.14 and need zu build a mod_jk but it doesn4t work. i am using java 1.3.0. when i execute the apxs-tool described in the mod_jk-howto the linker reports an error and stops. /usr/local/apache/bin/apxs -o mod_jk.so -I../jk

Re: starting Tomcat at boot time on Linux

2001-02-02 Thread Jan Labanowski
If you want to start Apache+Tomcat at boot time, you may want to look at some of my scripts: http://www.ccl.net/cca/software/UNIX/apache/ Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Kinnear Rd,

Re: problem with init-param

2001-02-02 Thread Martin Schmidt
Thanks Kevin, shame on me. I guess this is my biggest mistake in the last 2 month. Maybe i should find a rich woman and stop working/programming ;) Thanks again. Martin Kevin Jones wrote: You have two instances of the servlet executing. One with the name (/servlet/Init-Test) and one

Reserved parameter names?

2001-02-02 Thread Chris Janicki
I've discovered (after some frustration) than certain variable names used in an HTML form won't be passed to my bean via the "jsp:setProperty" tag. For example, using "page" as a name doesn't work. I *can* explicitly set it via: myBean.setPage(request.getProperty("page")); But this

Re: Reserved parameter names?

2001-02-02 Thread William Brogden
Chris Janicki wrote: I've discovered (after some frustration) than certain variable names used in an HTML form won't be passed to my bean via the "jsp:setProperty" tag. For example, using "page" as a name doesn't work. I *can* explicitly set it via:

Logging problems

2001-02-02 Thread Nik Makepeace
Does anyone know how to stop tomcat sending all the servlet error output to the screen? The Loggers adequatelt trap and write all the tomcat output, but System.err always seems to go to screen. Any suggestions? Nik - To

RE: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Wise, Bowden (CRD)
Hey J I am stuck where you are. I was trying to use the mod_jserv_tomcat.so that you can download. My configuration is RedHat 6.2 on a Dell PC. And I get that same /usr/local/apache/libexec/mod_jserv_tomcat.so is garbled - perhaps this is not an Apache module DSO? So are those binaries for

Re: Logging problems

2001-02-02 Thread Peter Thorsager
Redirect both the System.out and the System.err to the same outputstream (which is your FileOutputStream), then you'll avoid the error messages in the window. Peter Thorsager - Original Message - From: "Nik Makepeace" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 02,

Logout

2001-02-02 Thread Marino Vittorio
Hi folks. I'd like to logout from a jsp app, I am using Tomcat JDBC Realm to log in the system. Any idea? Thanks, Vittorio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: date

2001-02-02 Thread Carlos
in a jsp page i have put the next but doesn't run: Why? % java.util.GregorianCalendar cal= new GregorianCalendar(); java.text.SimpleDateFormat format = new SimpleDateFormat("mm-dd-yy"); String s = format(cal.getTime()); % htmlbody % out.println(s); % /body/html thanks Carlos -

several tomcat questions

2001-02-02 Thread Nick Polyak
Hi,I am new to tomcat, so, please forgive the naiveté of my questions.I am using Tomcat 3.2.1. Is it possible to create a db connection pool inside Tomcat? If yes, thenhow.2. How can I create a servlet pool, with the specified number of servletsinitialized at the start up time and the

RE: date

2001-02-02 Thread Michael Wentzel
in a jsp page i have put the next but doesn't run: Why? % java.util.GregorianCalendar cal= new GregorianCalendar(); java.text.SimpleDateFormat format = new SimpleDateFormat("mm-dd-yy"); String s = format(cal.getTime()); % htmlbody % out.println(s); % /body/html Give a little

RE: date

2001-02-02 Thread CPC Livelink Admin
What is the error message? It could be that if you did not import java.util.* and java.text.*, then it can't find the classes listed after the 'new'. Try it like this : % java.util.GregorianCalendar cal= new java.util.GregorianCalendar(); java.text.SimpleDateFormat format = java.text.new

RE: date

2001-02-02 Thread Michael Wentzel
Replying to my own post...;P I was just talking to Randy(Layman) about this and we figured that more than likely your problem is the mask value that I gave you in the code snippet is incorrect. In your API docs check out java.text.SimpleDateFormat for the correct masks(javadocs can be your best

RE: several tomcat questions

2001-02-02 Thread Randy Layman
-Original Message- From: Nick Polyak [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 10:21 AM To: [EMAIL PROTECTED] Subject: several tomcat questions Hi, I am new to tomcat, so, please forgive the naivet of my questions. I am using Tomcat 3.2. 1. Is it possible to create a

Re: Logout

2001-02-02 Thread Matt Goss
Marino, invalidate the session codeses.invalidate();/code Matt Marino Vittorio wrote: Hi folks. I'd like to logout from a jsp app, I am using Tomcat JDBC Realm to log in the system. Any idea? Thanks, Vittorio - To

RE: Logging problems

2001-02-02 Thread Nik Makepeace
On 2 Feb 2001, at 16:09, Adrian Papari wrote: how do you handle the exceptions? if you, for instance, redirect the user to an error page when an error occurs, you (or, erm, the user ) shouldn't see the internal error messages. They aren't 500 errors, but rather conscious decisions to write

RE: performance

2001-02-02 Thread RBinion
Tomcat does indeed "catch up" if I stop the jmeter client, accessing the application through a browser is much more responsive, but still a little slower than I would hope. The same test with resin does not show any noticeable degradation in performance. In fact I upped the ante with resin. I

RE: Logging problems

2001-02-02 Thread Randy Layman
Create a special servlet that, in its init method, it sets System.err to a FileOutputStream. Then add this servlet to the web.xml file with a load-on-startup. I would suggest a low number (Integer.MIN_VALUE+1) so that it starts before any of your other servlets. Randy

RE: Logging problems

2001-02-02 Thread Adrian Papari
well; you could always write your own logging-routine/class... and then in your code handle exceptions similar to the example-"code" below: try { /* lot of important code */ } catch ( ExceptionYouWantToCatch excp ) { new LogFile( excp.getMessage(), logFilePath ); } there's also

RE: date

2001-02-02 Thread Clayton Peirens
INSTEAD OF: java.text.SimpleDateFormat format = java.text.new SimpleDateFormat("mm-dd-yy"); USE: java.text.SimpleDateFormat format = java.text.new SimpleDateFormat("MM-dd-yy"); "mm" is for minutes, not month -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]] Sent:

Web Application -- Netscape speed problem

2001-02-02 Thread venkatesan
Hi All, I have done codig for dynamically generated html pages using servlets-tomacat-Rmi through Apach web server.. I am getting data for html pages from Sql-server which is in windows machine... And my servlets-tomcat is in Linux machine which is running through Apache web server..

How to catch handle HTTP errors (esp. 404) ?

2001-02-02 Thread Jean-Franois Calzaroni
I'd like to know if Tomcat (standalone mode) enables transfer errors (especially 404 persona non grata !) and how to configure this. Thank you ~ JF - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

RE: performance

2001-02-02 Thread Todd Carmichael
My tests, using Microsofts Web Application Stress (WAS) Tool, had the following results for a simple servlet that all it did was display a single html table: Weblogic: 490 requests/sec Tomcat: 540 requests/sec Resin: 850 requests/sec - produced numerous socket errors (Connection reset by peer).

Whitespace

2001-02-02 Thread Cato Førrisdahl
Hi, I have some jsp-pages which, when run, generates a lot of whitespace in the resulting page. It typically looks something like: ---Start--- ?xml version="1.0"? ... --Stop-- Is there a way to prevent tomcat from making all this whitespace and make output like: --Start-- ?xml

RE: performance

2001-02-02 Thread Michael Wentzel
The real question being asked is Tomcat suitable for production environments. This is something I really would like to get a feel for from other developers experiences. I am very interested in using Tomcat for production and the performance seems reasonable enough for me. I am

Re: date

2001-02-02 Thread Carlos
if i put that in a jsp page appears the next error: how can i get the date? thanks Error: 500 Localizacion: /fecha.jsp Error interno del servlet: org.apache.jasper.JasperException: No se puede compilar la clase para JSP/opt/jakarta/work/www.opticagaldakao.com_8080/_0002ffecha_0002ejspfecha_j

RE: performance

2001-02-02 Thread Alistair Hopkins
Slightly off topic, but I have been testing various components, among them XSL processors. I found that the ASF processor (Xalan) was not the fastest, Saxon being about 30% faster, but it was the most robust: ie, it continued to result in no error at any load, whereas Saxon frequently caused

RE: performance

2001-02-02 Thread Randy Layman
We are about to install an application for a very security concisous client. They weren't worried about monitoring the application (they just want to check the machine is running and has CPU cycles to spare). On security, however, they took a different approach than what I

RE: date

2001-02-02 Thread Byung Jin Chun
Carlos, java.text.SimpleDateFormat myDateFormatter = new java.text.SimpleDateFormat("MM-dd-yy"); String date = myDateFormatter.format( new java.util.Date() ); Cheers, Jin -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 11:23 AM To:

RE: date

2001-02-02 Thread Randy Layman
Corrected code: java.util.Calendar cal= new java.util.GregorianCalendar(); java.text.SimpleDateFormat format = new java.text.SimpleDateFormat("MM-dd-yy"); String s = format.format(cal.getTime()); Double check the mask is really what you want. -Original Message- From: Carlos

How to catch and handle 404 error ?

2001-02-02 Thread Jean-Franois Calzaroni
Hi ~ I'd like to know if Tomcat (standalone installation) is able to catch HTTP errors (especially 404), and how to configure this. Thanks ~ JF - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

Tomcat + JNI problem

2001-02-02 Thread Manoj Thakur
Hello Amandeep, Hope you can help me. I am running Tomcat version 3.1 on HPUX 11.0 with Apache. What I am trying to do is invoke a C function (using JNI) from a servlet. The C function is compiled into a shared library. Now, if I write a simple JAVA application, use JNI and execute the C

RE: Integrating Tomcat and Apache

2001-02-02 Thread Jeff Davies
Thanks for the tip. I D/L'd GNU Make and the original problem has been resolved (i.e. it gets further in the compilation effort when I run "make" in the src/connectors directory). However, I now get an "error 1" from make, caused by some problem in the apxs module. Does anyone know whjy this

how to disable the tomcat webserver?

2001-02-02 Thread Marc Leblanc
Hi everyone , we devellope with tomcat/cocoon but recently ive noticed that everyone on the net can see our code beacause tomcat allow people to browse the directory where our code his. anyone know how to shutdown the tomcat webserver or simply configure it , that

How to disable tomcat webserver ?

2001-02-02 Thread Marc Leblanc
Hi everyone , we devellope with tomcat/cocoon but recently ive noticed that everyone on the net can see our code beacause tomcat allow people to browse the directory where our code his. anyone know how to shutdown the tomcat webserver or simply configure it , that hewill not let everyone

RE: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread GOMEZ Henri
It seems that Jyve didn't update the Q/A allready. You could see here the text: What's are the message about EAPI or garbled modules ? The message 'mod_jk.so (or mod_jserv.so) is garbled - perhaps this is not an Apache module DSO ?' arrive when you're trying to install a mod_jk.so DSO module

RE: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread GOMEZ Henri
Added to FAQOMATIC, finalement :-) http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/acti on/SetAll/project_id/2/faq_id/12/topic_id/42/question_id/762 All the RPMs present on jakarta.apache.org are compiled under Linux Redhat 6.2 and the Apache is so a apache with EAPI

RE: Problems with mod_jk.so, RH7.0, binary/compiled

2001-02-02 Thread Wise, Bowden (CRD)
Well, I didnt even recompile apache, I just took the binaries. It seems that if binaries are provided at www.apache.org they should all work together. Does this mean the binary distribution of apache is standard and not EAPI but the binaries for mod_jk and mod_jserv are EAPI? -Original

RE: How to disable tomcat webserver ?

2001-02-02 Thread Furmaniak Christophe
check this http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml cF -Message d'origine- De: Marc Leblanc [mailto:[EMAIL PROTECTED]] Date: vendredi 2 fvrier 2001 17:45 : [EMAIL PROTECTED] Objet: How to disable tomcat

Re: performance

2001-02-02 Thread William Brogden
There are a lot of design decisions with Java that have a great effect on throughput. I found the following book very enlightening: Java Performance and Scalability vol 1. by Dov Bulka pub by Addison Wesley ISBN 0 201 70429 3 -- WBB - [EMAIL PROTECTED] Java Cert mock exams

security - what do when a login fails?

2001-02-02 Thread Vijay Prabhakar
Title: security - what do when a login fails? I was looking at the JDBCRealm class provided with Tomcat 3.2.1. I noticed that it has a boolean authenticate() method that returns true when a username and password pair are valid. But when that method returns false, the int authenticate()

Re: Basic Auth JDBC Realm

2001-02-02 Thread Craig R. McClanahan
Marino Vittorio wrote: I want to build an authentication mechanism via JDBC realm and basic authentication that lets me request for user role in each jsp page of my application. In other words I want a jsp page to be accessed from more than 1 role, and put if statements to show links

RE: Tomcat and OpenSSL/Keytool

2001-02-02 Thread Coetmeur, Alain
whare security provider are you using... I've installed JSSE from SUN and this works... I've just been unable to load a private key from openSSL to the JKS keystore... however the certificates can be imported easily -Message d'origine- De: Steve Smale [mailto:[EMAIL PROTECTED]]

Re: Cancing of pages

2001-02-02 Thread Craig R. McClanahan
Tarun Gupta wrote: Hi guys, Does tomcat caches the content displayed on the site or provision is to be made for cahcing to happen. Basically, Tomcat 3.x doesn't cache anything ... however, if you are using Tomcat to serve static content (like plain HTML files), it does check the last

Re: Difficulties getting JDBCRealm to work with MySQL driver

2001-02-02 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Thanks Ignacio! The realm specification in server.xml now reads: Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" driverName="org.gjt.mm.mysql.Driver" connectionURL="jdbc:mysql://localhost/authority?user=rootamp;

Re: Server Side Includes(SSI) and Tomcat vs JSP Include Directive

2001-02-02 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Does Tomcat have the ability to parse a common SSI like the following on an '.shtm' page. !-- BEGIN HEADER TABLE-- !--#include virtual="/includes/header.htm"-- !-- END HEADER TABLE-- My setup is Tomcat 3.2.1 and IIS 4.0. I have '.shtm'

Re: Whitespace

2001-02-02 Thread Luc Vanlerberghe
The whitespace is not generated by tomcat, but is present in your source-jsp page between the jsp tags. If you have a page that starts like: %@ page contentType="text/html"% %@ page session="true"% %@ page import="java.util.*,org.vanlerberghe.luc.spaans.*"% jsp:useBean id="topicHome"

JSP pages in webapps/ROOT will not 'recompile'

2001-02-02 Thread Chris Ward
I am trying to run an application in ROOT, and have changed several JSP pages to look at a different images directory, but none of them have actually changed. I noticed that there is no context for ROOT in server.xml, which is where I thought that maybe the reloadable=false was set. Any ideas?

installation help

2001-02-02 Thread affan
Apologise for question. We are ISP we need some help to installation of tomcat. as well as in configuration of tomcat. we don't need to run any port like 8080 or 8000 we need just user type the url and all jsp and servlet run in his directory. Please any body help us. We are in UK.

Reloadable not working

2001-02-02 Thread AC
Hi, just a simple question.. I spend some times trying to disable the reloadable flax in my context. The server.xml configuration is: (I'm using virtual hosting) Host name="testA.mydomain..net" Context path="/tf" docBase="webapps/tf"

IP hostname questions

2001-02-02 Thread Bill_Fellows/MO/americancentury
Hello, I was wondering, how _does_ Tomcat figure out what my IP address is? What if I have two network cards and two IP address? Does Tomcat take both? I've been looking through the source (3.2.1) and I've found some places where I think it could be acquiring it, but I'm not quite sure what

RE: installation help

2001-02-02 Thread Michael Wentzel
What are your configurations(standalone, with Apache, etc...)? If you're running standalone just change the http port in conf/server.xml to 80 instead of 8080. If you're running Apache you don't need to change the ports of Tomcat you only need to configure Apache and apj. ---Michael

What kind of container isn't an engine

2001-02-02 Thread Thom Park
Hello, I'm intrigued by a comment in the tomcat 4 server.xml file: "Normally, that Container is an "Engine", but this is not required." What does this mean then? Is it possible to construct a container that isn't called a container, if so how and what would this really mean? What is meant by

.class files outside of /webapps/root subdirectory?

2001-02-02 Thread Martin Goebel
Hello, I'm using Tomcat 3.2 on Windows NT. From another machine, I start an applet (which, among others, invokes a servlet) being in the directory /webapps/root/myAppletDirectory. Do my other classes used by the applet necessarily have to be in a subdirectory of /webapps/root, or is it

Re: Need help

2001-02-02 Thread Avery Buffington
Simplest solution (if you can admin the firewall) would be to put ssh on the tomcat box and allow the firewall to pass the ssh traffic. Sooner or later you are going to need to access the box for maintennence or upgrading and this would allow you access it in a secure manner (and not have to

SV: Whitespace

2001-02-02 Thread Cato Førrisdahl
Cato Frrisdahl wrote: Hi, I have some jsp-pages which, when run, generates a lot of whitespace in the resulting page. It typically looks something like: ---Start--- ?xml version="1.0"? ... [snip] Luc Vanlerberghe wrote: The whitespace is not generated by tomcat, but is present in your

Re: installation help

2001-02-02 Thread affan
I need in on NT help affan - Original Message - From: Michael Wentzel To: '[EMAIL PROTECTED]' Sent: Friday, February 02, 2001 5:44 PM Subject: RE: installation help What are your configurations(standalone, with Apache, etc...)? If you're running

  1   2   >