Use Tomcat 3.2 as Servletengine for iPlanet Enterprise Webserver4.1

2001-01-30 Thread Frank Mau
Hi, I need some experience for this problems. Any ideas what and where to do ? Thanks Frank mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: list of HttpSession objects

2001-01-30 Thread Ivo Limmen
Title: RE: list of HttpSession objects Do you always get the nullpointerexception or is it only when the user closes the connection? I am working on a similar problem, I want to see how many sessions are active. I have tried to use a weak reference to each session object but it didn't work bec

Re: Xalan & Tomcat: Please HELP!!!!!!!!!!!!!!!!!!!!

2001-01-30 Thread Holger Hartwig
Hi Doug, I had a simial problem when using Tomcat 3.2.1 together with enhydras xlmc package. I had to remove parser.jar and jaxp.jar (in TOMCAT_HOME/lib) from the classpath. Then tomcat uses the classes from apache for its own xml parsing, and it worked. Be careful to specify the jars in the righ

Secured Document with Tomcat?

2001-01-30 Thread Lukman W. Kusuma
Dear All, I am sorry if my question below are one of the FAQs, but I really couldn't choose the keyword of my issue. I am using Tomcat 3.1 (yes, only Tomcat, no Apache) with Caldera OpenLinux 2.4, OpenSSL, and a database to store/modify/read secured online documentation. It works fine for all new

Problems in Tomcat 3.2.1 plus JBuilder4 Foundation Environment.

2001-01-30 Thread Kenichi Mori
Hi, everyone! I have found the way to use JBuilder4 Foundation with Tomcat 3.2.1. With a great help of Anand Sankaran's Page: http://www.geocities.com/SiliconValley/Peaks/3649/jbuilderdebug.html . Tomcat now runs in JB4F. But I got 20+ of same warinings. I got them in Japanese. So I translate t

list of HttpSession objects

2001-01-30 Thread TeamOn Crosswinds
Hi, We are moving to Tomcat3.2.1 and noticed a problem. We monitor user-activity per web-server by keeping a list of HTTPSession objects; we query this list to see the sessions active (and thereby some ser information) at a given point. With this version of tomcat, there seems to be this HTTPSes

rc.local problem starting tomcat instances

2001-01-30 Thread Phillip Rhodes
I put the following in my rc.local file. If I have it in a "start.sh" file, it works. It brings up everything. However, in rc.local, it does not work, and I do not see anything in my log files. Other commands that I have in rc.local do start (e.g. apache). Thanks so much! JAVA_HOME=/usr/loca

help please

2001-01-30 Thread Sergio & Noelle
I have downloaded the jakarta-tomcat.zip file as well as the sdk1.3 in order to build jsp pages. However, when i go through the setup for the standalone tomcat- I get a bad command or file name. What should I be checking for? Thank you, Sergio 303-566-7062 -

Tomcat 4.0 B1 with Apache

2001-01-30 Thread Jeff Davies
Hi all, I'm brand new to this list, so please forgive an ignorant question: Are there any instructions for seeting up Tomcat 4.0 B1 with Apache? I couldn't find any in the Tomcat distribution. I imagine someone has already cracked this nut and posted a web page somewhere. Any links? - Jeff Dav

Re: Servlet and jsp configuration problem ?

2001-01-30 Thread Jan Labanowski
Try to see some examples of servlet remapping at my http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml Jan On Wed, 31 Jan 2001, Gunawan Tanudy wrote: > HI.. > Can somebody help me , i got really frustrated regarding mapping servlet and > jsp file to tomcat. > I use Apache+ tomcat.

Re: Problem with apxs and mod_jk

2001-01-30 Thread Jan Labanowski
The apxs is a perl script... The first line should be like: #!/usr/bin/perl or #!/usr/local/bin/perl or whatever... Do: which perl and put the stuff which it returns as the first line of apxs... remember to put the #! before it... Jan On Tue, 30 Jan 2001, Marilee Niemi wrote: > I am tryi

Apache to Tomcat Connector Problem

2001-01-30 Thread John McKim
or: Cannot load /usr/local/apache/bin/libexec/mod_webapp.so into server: undefined symbol: ap_ctx_get. Not quite sure what I am doing wrong. Any help will be greatly appreciated. Configuration: - tomcat-4.0-src-20010130 - jakarta-servletapi-4.0-20010130 - apache-1.3.17 - jdk1.3.0_0

Servlet and jsp configuration problem ?

2001-01-30 Thread Gunawan Tanudy
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 then in myserver directory i make the tree like this: /WEB-INF/classes /servle

some serious problem with jsp & java classes

2001-01-30 Thread Kotturi, Rajendra
We are having Tomcat 3.1 with apache installed on a sun solaris system and was running happily. But when I changed some JSP files and also some of the java files which were referred by/used by these JSP files, compiled them and copied the JSP files and the class files to their respective directori

Re: Problems starting up Tomcat 3.2.1

2001-01-30 Thread Pete Ehli
If you use these .exe's in windows, tomcat always starts and I never have a problem - download them at http://www.geocities.com/jdrudnicki/ just drop them in your tomcat bin directory - and like any .exe just double click the Jstart.exe or Jstop.exe -- no need to set any enviorment variables or cl

Help with Tomcat 3.2 under Netscape NES 3.6

2001-01-30 Thread David Tarrant
   Hi, I am having trouble getting Tomcat 3.2 working under Netscape Enterprise Server 3.6 running on a NT4 workstation. Any help would be great   Although we have been using Tomcat under Apache, a client wishes it to run under NES, which we know nothing about.   I configured the OBJ.CONF fil

Re: Problem with apxs and mod_jk

2001-01-30 Thread dale+tomcat
If the file begins with something like: #!/bin/csh Check that csh is actually at that location... thanks, - Dale On Tue, Jan 30, 2001 at 04:35:01PM -0800, Marilee Niemi wrote: > I am trying to integrate Tomcat and Apache using the mod_jk. My problem > seems pretty basic but since I am new I

Classpath Woe

2001-01-30 Thread Gerald McCollam
hi, i've been having the same problem as several others here -- tomcat can't find my oracle jdbc drivers no matter where they're located. i placed a copy of classes12.zip (for oracle) in every conceivable place with no luck and finally decided tomcat doesn't like class packages if they're zi

Problem with apxs and mod_jk

2001-01-30 Thread Marilee Niemi
I am trying to integrate Tomcat and Apache using the mod_jk. My problem seems pretty basic but since I am new I cannot figure out why its happening. I am trying to run the "apxs" command to generate the mod_jk.so file. The message I am getting is /usr/local/apache/bin/apxs: not found I check

RE: getting server push to work

2001-01-30 Thread Sean Agnew
Thankyou greatly. I will use your test cases. -Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 4:05 PM To: [EMAIL PROTECTED] Subject: Re: getting server push to work The servlet below works under Linux with Sun JDK 1.2.2, tomcat

Xalan & Tomcat: Please HELP!!!!!!!!!!!!!!!!!!!!

2001-01-30 Thread Doug Ferguson
I have figured out that my problem is directly related to Tomcat. I believe there is a descrepancy with the xml parser that tomcat is loading ant the one that xalan would like to see. Is there a way to provide a different classpath for the serlvet and/or context that is different from the classp

Re: getting server push to work

2001-01-30 Thread dale+tomcat
The servlet below works under Linux with Sun JDK 1.2.2, tomcat 3.3 dev to Netscape 4.7 on NT. Different browsers handle push differently, you'll need to experiment. thanks, - Dale import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class TestPushServlet extends HttpS

Problems starting up Tomcat 3.2.1

2001-01-30 Thread Rene van Egmond
Hi All, I have a problem starting up Tomcat 3.2.1. It was running happily for but now it doesn't anymore. I re-installed pretty much everything from the ground up: new Apache server etc. downloaded Tomcat but even running it stand-alone doesn't work, let alone integrating it back into my Apache s

Re: running as non-root/auto mode?

2001-01-30 Thread Geoff Lane
I wrote a shell script that sets environment variables and then called the tomcat start script. This works well. Then you just need to put it in /etc/init.d/ and make the symbolic links from the appropriate run levels. You can make tomcat run as a non-root user, but only if you want to have it li

Re: Do I need apache for servlet-only use?

2001-01-30 Thread Kief Morris
James Jouett typed the following on 05:00 PM 1/30/2001 -0600 >There are no pages or images - I'm just using HTTP as the mechanism to post a >request to a servlet from a client, so nothing is static. My main concerns are >the configuration options of standalone Tomcat (security, SSL, redirection, >

jsp:include & jsp:forward

2001-01-30 Thread Doremieux, Olivier
Hello, Is there some way to have a jsp:include & jsp:forward on the same page? I am trying to write some code like that : foo Updating the Database... Please WaitDone. <% // Database Update here } %> But I am getting the following error : Error: 500 Location: /processTask0.js

running as non-root/auto mode?

2001-01-30 Thread Joe Laffey
What is the easiest way to have tomcat startup at boottime running as user www? Also, can we now use the non-manual auto-startup mode that worked with ApacheJServ1.0? (Where Java starts up automagically)?? Thx, Joe Laffey LAFFEY Computer Imaging St. Louis, MO - ---

RE: Tomcat/Xalan

2001-01-30 Thread Anthony Ikeda
What version of Xalan are you using? Anthony Ikeda, Web Application Developer, Proxima Technology, Level 13, 181 Miller Street, North Sydney Australia PH: +612-9458-1718 Mob: 041 624 5143 > -Original Message- > From: Doug Ferguson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 31 Janu

Re: Where is mod_jk.so for linux?

2001-01-30 Thread Steve Ruby
Ritwick Dhar wrote: > > The binary of mod_jk seems to have been removed from the site. I had no > problems compiling it using apxs, but that may have been because I compiled > Apache from scratch. > > Send me mail directly if you want me to send you my copy. > > Rit > > -Original Message--

RE: Where is mod_jk.so for linux?

2001-01-30 Thread Ritwick Dhar
The binary of mod_jk seems to have been removed from the site. I had no problems compiling it using apxs, but that may have been because I compiled Apache from scratch. Send me mail directly if you want me to send you my copy. Rit -Original Message- From: Wise, Bowden (CRD) [mailto:[EMA

RE: Compile Problems (mod_jk.so)

2001-01-30 Thread Mike Braden
Phillip, I posted this under another thread and wanted to make sure you saw it just in case it helps. What version of Perl are you running? apxs is a perl script. Check the version with: # perl -v I had a similar problem with a system, it turned out that it was running perl 4.x. I

RE: Do I need apache for servlet-only use?

2001-01-30 Thread Cor Ruiten
Since Apache will merely forward the servlet requests to Tomcat, I see no reason for incorporating Apache into your environment. I will say this though, if security configuration is something that your are interested in, you will find that Apache is more flexible in its configuration than Tomca

Re: Do I need apache for servlet-only use?

2001-01-30 Thread James Jouett
There are no pages or images - I'm just using HTTP as the mechanism to post a request to a servlet from a client, so nothing is static. My main concerns are the configuration options of standalone Tomcat (security, SSL, redirection, etc) and the HTTP throughput compared to using Apache with Tomcat

RE: problem building mod_jserv

2001-01-30 Thread Mike Braden
What version of Perl are you running? apxs is a perl script. Check the version with: # perl -v I had a similar problem with a system, it turned out that it was running perl 4.x. I upgraded to perl 5.6.0 (5.00 something is required) and it worked OK. You can also check the apxs script to make

RE: Where is mod_jk.so for linux?

2001-01-30 Thread GOMEZ Henri
There are available at : http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/linux/i38 6/ The mod_jk and mod_jserv (for tomcat since it's different from mod_jserv for JServ) were built on Redhat Linux 6.2 against an EAPI Apache (mod_ssl or Redhat Apache for 6.2/7.0) Enjoy... >--

RE: Help On running Tomcat

2001-01-30 Thread Darrell Porter
Try the following in a batch file: start "Tomcat Service" cmd.exe /x /t:0b /k %TOMCAT_HOME%/bin/startup.bat This will start Tomcat in a new process called "Tomcat Service" using the WinNT/2K command processor and will tell the command processor to stay around even after Tomcat dies so you can se

RE: Do I need apache for servlet-only use?

2001-01-30 Thread Morris, Cavan
Think about how many images your pages will have. They will always be static (Unless you're actually generating them on the fly), so if you have more than a few you'll probably want to use apache. -Cavan -Original Message- From: James Jouett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Jan

Tomcat/Xalan

2001-01-30 Thread Doug Ferguson
Sorry if this post isn't a problem with tomcat but xml.apache.org sux. Please respond directly of cc: [EMAIL PROTECTED] I am not on the list Does anybody know if there is anything special you have to do with xalan to get it to work in a server/tomcat. I took one the the simple examples and made

RE: How to prevent a .jsp from being accessed directly?

2001-01-30 Thread BBueckers
Don't include the www in your url-pattern rather if you directory structure is Tomcat | -- webapps | -- mywebapp | -- jsps selectroster.jsp another.jsp another2.jsp you would include /jsps/selectroster.jsp What version o

Re: Do I need apache for servlet-only use?

2001-01-30 Thread James Jouett
Actually, I am defining the production environment, and the design uses servlets to provide scalability and redirection capabilities. So, if I am using servlets with no static web pages in my production envrionment, is there any benefit or added capabilities by using Apache or will Tomcat stand

Re: AW: Still Problems with tag libraries

2001-01-30 Thread Purav Patel - Sun Microsystems
Ralph is right. You don't really need to put an entry for it in the web.xml. I just had it in there since thats what the struts example does. - Purav > I don't change my web.xml at all. > > In my JSP-page I have the following: > > <%@ taglib uri="/WEB

help with getting ajp13 to default...

2001-01-30 Thread Ken Kleiner
Hello... I can't seem to get ajp13 to be the deafault in my mod_jk.conf-auto file. I've added the connector line for it in server.xml but the -auto file keeps getting built with ajp12 references. Anywhere else I should look? I'm using Apache 1.3 and tomcat 3.2.1. Thanks... -- Ken Kl

Re: Tomcat and Apache

2001-01-30 Thread PAsarak
Thank you all for your assistance. It is much appreciated. I suppose I sent the message twice because the mail manager rejected my first message. Thanks again, Paul Asarak - To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: Tomcat and win98 more...

2001-01-30 Thread Bill_Fellows/MO/americancentury
Looks like you got a winner where it says FATAL and then "Address in use" Something (Tomcat, IIS, PWS, WebSphere, YourServerHere) is running on whatever port you have specified for tomcat to start on. Make sure you don't have an instance of tomcat already running or something exceedingly sil

RE: How to prevent a .jsp from being accessed directly?

2001-01-30 Thread Michael Molloy
I've tried several variations, from your suggestion below to including the entire url (www. . . .). I'll take another look at it. Thanks --Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 4:29 PM To: [EMAIL PROTECTED] Subject:

RE: Do I need apache for servlet-only use?

2001-01-30 Thread Cor Ruiten
If you are in a development cycle where you only use servlets, then I would suggest that you utilize Tomcat in standalone mode, as you will not gain anything by throwing Apache into the mix. In fact, However, since you will ultimately deploy to a production environment where you will most like

AW: Still Problems with tag libraries

2001-01-30 Thread Ralph Bobrik
I don't change my web.xml at all. In my JSP-page I have the following: <%@ taglib uri="/WEB-INF/some.tld" prefix="whatever" %> where the uri gives the path to the tld-file relative to the webapp you are working on. Then you need no ... in your web.xml. it's the easiest way I think. Hope that h

RE: How to prevent a .jsp from being accessed directly?

2001-01-30 Thread BBueckers
You may also want to try setting the url pattern relative to the root going only down to the directory in which it exist to see if that atleast works, rather than specifying the coplete path to the file. i.e. /dir1/subdir1/* Bob -Original Message- From: Michael Mo

RE: How to prevent a .jsp from being accessed directly?

2001-01-30 Thread BBueckers
You may want to try setting the url pattern relative to the root i.e. /dir1/subdir1/selectroster.jsp Bob -Original Message- From: Michael Molloy [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 7:41 PM To: Tomcat Subject: How to prevent a .jsp from being accessed directl

Tomcat and win98 more...

2001-01-30 Thread manuel riche
When i try to run tomcat i have this message : D:\Apache Group\jakarta-tomcat-3.2.1\bin>tomcat run Including all jars in ..\lib in your CLASSPATH. Using CLASSPATH: ..\classes;..\lib\ANT.JAR;..\lib\JAXP.JAR;..\lib\SERVLET.JAR;.. \lib\PARSER.JAR;..\lib\WEBSER~1.JAR;..\lib\JASPER.JAR;D:\jdk1.3\lib\

Re: Still Problems with tag libraries

2001-01-30 Thread Purav Patel - Sun Microsystems
I have done this by placing the *.tld files under WEB-INF directory because I had problems when I kept those files in WEB-INF/lib. Then in my web.xml file I refer to this as: /WEB-INF/some.tld /WEB-INF/some.tld Now, in my jsp page, I would have the following:

Do I need apache for servlet-only use?

2001-01-30 Thread James Jouett
The main benefit I've read of using apache with tomcat instead of just tomcat standalone is that apache is faster for serving static pages. If I am starting a new development effort that will only be using servlets, is there any reason to use apache, or should I just stick with tomcat in standalon

Tomcat and windows98

2001-01-30 Thread manuel riche
Is it possible to run tomcat with windows 98 ? I can't do it, the window's command crash before the end of initialisation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

How to prevent a .jsp from being accessed directly?

2001-01-30 Thread Michael Molloy
Since no one responded, does that mean there's nothing wrong with the xml below? It's still not working. Any suggestions would be welcome. --Michael -Original Message- From: Michael Molloy [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 7:41 PM To: Tomcat Subject: How to preve

RE: Help On running Tomcat

2001-01-30 Thread Gilles Laborderie
On Win32 "$TOMCAT_HOME\bin\startup.bat" or "$TOMCAT_HOME\bin\tomcat start" --> will start Tomcat in a different window "$TOMCAT_HOME\bin\tomcat run" --> will start Tomcat in the current MS-DOS prompt window The latter is great to begug a problematic server start since you can actually see the er

Where is mod_jk.so for linux?

2001-01-30 Thread Wise, Bowden (CRD)
Hi Trying to install Tomcat. The user guide says binaries are already available for linux. But I don't see thje mod_jk.so file on the download page. I tried to compile but apxs is giving me an error apxs:Error: @sbindir@/httpd not found or not executable who can help this poor newbie thanks!

Re: Help On running Tomcat

2001-01-30 Thread Steve Ruby
sushil wrote: > > Dear List, > > I am trying to run tomcat stand alone on an NT platform. I am trying to run > the server on a different ip from that of the host i.e we need to be able to > run tomcat not from the localhost address but from an allocated ip address. > > What cahnges do i need to

RE: getting server push to work

2001-01-30 Thread Sean Agnew
I think the problem is that tomcat is buffering data from the servlet, and only sends when the servlet finishes. I've tried the nightly 3.3 builds from 01/29 on NT, with no luck. There should be a way to turn off this buffering but it's been elusive so far. If you figure this out let me know. -Se

RE: getting server push to work

2001-01-30 Thread Nael Mohammad
What will server push do? -Original Message- From: Gerard Monsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 1:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: getting server push to work Oh, woah. I just came in the middle of this discussion. I'm loo

RE: Help On running Tomcat

2001-01-30 Thread Morris, Cavan
You're haveing the same problem I am. If you go run $TOMCAT_HOME\bin\tomcat run it will run the server in the same window so when it quits you'll be able to see why. I'll bet dollars to dounuts you'll see this: Exception in thread "main" java.lang.ExceptionInInitializerError: java.util.Missing

Error when trying to configure tomcat to work with IIS 5.0 on win2000

2001-01-30 Thread Andre Di Cicco
Hi there. Wondering if you can help me get this to work. When i try to run the jsp examples I get the following errors: in the file ex010130.log which was in my System32\LogFiles\W3SVC1 directory - #Software: Microsoft Internet Information Services 5.0 #Version: 1.0 #Date: 2001-01-30 21:25:0

Help On running Tomcat

2001-01-30 Thread sushil
Dear List, I am trying to run tomcat stand alone on an NT platform. I am trying to run the server on a different ip from that of the host i.e we need to be able to run tomcat not from the localhost address but from an allocated ip address. What cahnges do i need to make this work as I keep getti

Re: getting server push to work

2001-01-30 Thread Gerard Monsen
Oh, woah. I just came in the middle of this discussion. I'm looking for something that would let me have server push through HTTP, and this looks like it could work. How does this look on the client side? Do you simply use a URLConnection and read from the InputStream like it was a nor

Exception on Startup in 3.2.1

2001-01-30 Thread Morris, Cavan
Has anyone seen this error on startup in 3.2.1? Exception in thread "main" java.lang.ExceptionInInitializerError: java.util.MissingResourceException : Can't find bundle for base name org.apache.tomcat.resources.LocalStrings, locale en_US at java.util.ResourceBundle.throwMissingResourceExc

Making Tomcat 3.2.1 listen on a given IP/port

2001-01-30 Thread Jack, Adam
All My apologies for asking this, which I guess is in some documentation/archive somewhere --- I just can't find it. I have Tomcat 3.2.1 and I want it to listen on given IP address (on a host with many) and a given port. I've looked in manuals & in server.xml and see some hope -- the virtual se

Re: Build mod_jk.so - no match

2001-01-30 Thread Jan Labanowski
It is known that compiling apache under non-GNU C compiler is a problem... On the other hand, under gcc it compiles like charm... Jan [EMAIL PROTECTED] Jan K. Labanowski|phone: 614-292-9279, FAX: 614-292-7168 Ohio Supercomputer Center|Internet: [EMAIL PROTECTED] 1224 Ki

tomcat 4 / castor

2001-01-30 Thread Alexandre Maret
Hello I'm having trouble trying to run a webapp requiring castor (exolab.org) in tomcat 4. Problems seems to be due to castor requiring xerces, which itself conflict with crimson. I may be completely wrong on this... anyway, I tried to strip unneeded xerces classes while keeping only the relevan

Build mod_jk.so - no match

2001-01-30 Thread Wong, Connie
Hi I try to build mod_jk.so and system replies No match. My configurations is: Solaris 8 Forte developer 6 (C++ compiler) Tomcat 3.2.1 Apache 1.3.14 Both Tomcat and Apache work fine by itself. The online command is: /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include

RE: Tomcat and Apache

2001-01-30 Thread Danganan, Clyde
For Win32 ---> http://jakarta.apache.org/builds/tomcat/release/v3.2.1/bin/win32/i386/ For Linux ---> http://jakarta.apache.org/builds/tomcat/release/v3.1.1/bin/linux/i386/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001

Re: Tomcat and Apache

2001-01-30 Thread Jan Labanowski
Two hours ago, I provided you with the pointer where you can find the mod_jk.so connector: http://www.ccl.net/cca/software/UNIX/apache/index.shtml The RPMS were also mentioned: http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/rpms/ In the Instructions for Linux RH7.0 (e.g.: h

Tomcat and Apache

2001-01-30 Thread PAsarak
I'd like to use the Apache web server with Tomcat 3.2.1. I haven't managed to find the connector for them. Can someone point me to the appropriate URL? Thanks, Paul Asarak - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

TagBeginGenerator.java

2001-01-30 Thread Ralph Bobrik
Hi! I'm developing JSP Taglibs for a research project at our university. While doing so I had some trouble with the setters of the Tags: java.lang.NullPointerException at org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat or.java:196) at org.apache.jasper

Re: applet-servlet communication

2001-01-30 Thread Wyn Easton
Carlos - Sorry 'bout that. You do need a HttpURLConnection to use setRequestMethod. --- Carlos R Armas <[EMAIL PROTECTED]> wrote: > > Will give that a shot. Although it will require a minor modification. > I remember > that rather than using URLConnection, I should use HttpURLConnection > (not

Re: Problem with installing tomcat as NT service - spaces

2001-01-30 Thread kreimer
Try Linux :-) DIEGO RODRIGO wrote: > this is a known limitation, you can't use spaces in the wrapper path. > > d. > > Reply Separator > Subject:RE: Problem with installing tomcat as NT service - spaces in > Author: [EMAIL PROTECTED] > Date: 30/0

RE: Context Help

2001-01-30 Thread CPC Livelink Admin
Be careful with case. The directory name shoul dbe WEB-INF not Web-inf. Even though Windows ignores case, it still preserves case, and tomcat enforces the rules on case sensitivity despite windows. Also, the WEB-INF directory is protected, so no files will be served from there. Regards, Paul

Compile Problems (mod_jk.so)

2001-01-30 Thread Phillip Kuzma
Whenever I build mod_jk.so with apxs i get this problem! Can someone please help! Thank-you Phil [root@Fileserver apache1.3]# apxs -o mod_jk.so -I../jk -I/usr/java/jsdk/include -I/usr/java/jsdk/include/linux -c *.c ../jk/*.c gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NE

RE: Delay in invoking first servlet

2001-01-30 Thread Nicholas Christopher
I've seen the same. And I know the load-on-startup IS working. I added: lynx -dump http://localhost/YOUR_URI_HERE 2> /dev/null To tomcat.sh ... it's not the cure but it masks the symptom. -Original Message- From: Rachel Gollub [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 3

Re: Context Help

2001-01-30 Thread Zelestrial Signs
1) Setting up a Context server.xml C:/SomePath/to/tcpFolderRoot then has the following directory structure C:/SomePath/to/tcpRoot/Web-inf - web.xml goes here if you need one C:/SomePath/to/tcpRoot/Web-inf/classes - java classes including servlets go here in their proper package directory stru

Re: Delay in invoking first servlet

2001-01-30 Thread Kurt Bernhard Pruenner
Rachel Gollub wrote: > I've got tomcat running with apache, and everything's working fine, > but when I invoke the first servlet from a browser, I get a 60-80 > second delay. Everything after that is fast -- it's just that first > servlet that's showing the delay. It doesn't matter which servlet

Re: Delay in invoking first servlet

2001-01-30 Thread Rick Horowitz
Check out a recent thread in the Tomcat message archive...search for "Session creation speed" to find the thread... From one msg in that thread... -Dtomcat.sessionid.randomclass=java.util.Random used to change to use a non-secure Random nbr generator. OK for development, suggest switching b

Re: applet-servlet communication

2001-01-30 Thread Carlos R Armas
Will give that a shot. Although it will require a minor modification. I remember that rather than using URLConnection, I should use HttpURLConnection (not sure, but I think the latter is derived from URLConnection). armas (*) Will not know the results til tomorrow... machine is at home!! Wyn

Re: Delay in invoking first servlet

2001-01-30 Thread Alex Fernández
It's not hard. Just add the following code to your web.xml (the one inside your webapp/WEB-INF, since conf/web.xml isn't used at all): InitServlet InitServlet 1 <...> and then code something like: public class I

RE: Delay in invoking first servlet

2001-01-30 Thread Paul FitzPatrick
There is no difference from a standard servlet in terms of writing it, except for one addition - you have to write an init procedure. Then to make it load on startup, you need to modify your web.xml file to have the container do this process. The prototypes for the functions and the additions to

Re: Re:RE: Problem with installing tomcat as NT service - spaces

2001-01-30 Thread Javier G.Lete
> this is a known limitation, you can't use spaces in the wrapper path. > > wrapper.tomcat_home="C:\Program Files\Application Name\tomcat" > You can always use the following: wrapper.tomcat_home=C:\Progra~1\Applic~1\tomcat (Check the real 8.3 names in your system) -

Re: Delay in invoking first servlet

2001-01-30 Thread Andreas Schlegel
Hi Paul, in your answer toRachel you mention a "load-on-startup servlet". Do you have/know an example how to write and implement such a servlet? Greetings, Andreas Paul FitzPatrick wrote: > I'm not sure, but I've heard on the list that there is an expensive random > number seeding process tha

Re: applet communicating a servlet

2001-01-30 Thread William Brogden
David Treves wrote: > > Hi, > > I am looking for a "How to" document about that subject, does anyone > know of a good article? > > thanks, > David. > The http://javaranch.com/common.jsp collection of methods -- WBB - [EMAIL PROTECTED] Java Cert mock exams http://www.lanw.com/java/jav

RE: RE: Problem with installing tomcat as NT service - spaces

2001-01-30 Thread Damian Penney
Will the old c:\progra~1\applic~1\tomcat method work ? Damian -Original Message- From: DIEGO RODRIGO [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 9:14 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re:RE: Problem with installing tomcat as NT service - spaces Importan

Re: applet-servlet communication

2001-01-30 Thread Wyn Easton
Try adding: uc.setRequestMethod("POST"); Before you get the output stream. Also, a word of caution. I have found that if the response from the web server takes longer that the keep-alive timeout value set for your web sever, your applet will not be notified (no exception thrown).

Context Help

2001-01-30 Thread Java Softech Pvt Ltd
Can anyone help me on how to create a context like /tcp or /exams in the server.xml file. And also please let me know the password and username to enter into the /admin pages. Rajshekhar. - To unsubscribe, e-mail: [EMAIL PR

RE: Tomcat/Apache/Firewalls

2001-01-30 Thread Randy Layman
This is right. The process is firewal -> Apache -> mod_jk -> Tomcat, and then the reverse. The client receives the request on port 80 and never even knows that Tomcat was involved. The downside to this is that you can't shutdown Tomcat from outside the network (probably no a problem,

Re:RE: Problem with installing tomcat as NT service - spaces

2001-01-30 Thread DIEGO RODRIGO
this is a known limitation, you can't use spaces in the wrapper path. d. Reply Separator Subject:RE: Problem with installing tomcat as NT service - spaces in Author: [EMAIL PROTECTED] Date: 30/01/2001 3:54 PM Hi, have you tried to enclose the

can´t build mod_jk with AIX

2001-01-30 Thread boris
hi there! i work under AIX 4.3.3 and with apache 1.13.14 and need zu build a mod_jk but it doesn´t 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 -I/usr/java130/include

applet communicating a servlet

2001-01-30 Thread David Treves
Hi, I am looking for a "How to" document about that subject, does anyone know of a good article? thanks, David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Tomcat/Apache/Firewalls

2001-01-30 Thread Gearoid Griffin
I'm trying to get my head around trying to make tomcat as secure as possible. Basically I'm unable to get any other ports open in our firewall bar 80. What I'm trying to do is when a user sends a request to our site (first hes reversed proxied just to knock out any bizarre strings) then the qu

RE: Delay in invoking first servlet

2001-01-30 Thread Paul FitzPatrick
I'm not sure, but I've heard on the list that there is an expensive random number seeding process that occurs on the first access to the server. This could be what you are seeing. To make this less obtrusive, you could create a load-on-startup servlet which makes a request to your server so that

administrative webapp breaks JDBCRealms

2001-01-30 Thread Ingo Luetkebohle
Hi, on Tomcat 3.2.1 (Linux 2.2, IBM JDK 1.3), I experience the problem that removing an application through the administrative webapp breaks database connections for JDBCRealms (which are not subsequently reestablished, unfortunately). Is this a bug or am I doing something wrong and this shouldn

problem building mod_jserv

2001-01-30 Thread Ben Walls
Hi, Im trying to build mod_jserv.so for Sun OS 5.6, using the command suggested in "Tomcat a minimalist guide" - namely "apxs -c -o mod_jserv.so *.c". This builds away happily until I get the following error message: apxs:Break: Command failed with rc=-256 Can anyone help expain what this mean

Re: HTTPS to HTTP proxying

2001-01-30 Thread Geoff Lane
Because it allows us to have multiple machines serving one URL without having multiple SSL certificates. It also offloads SSL encryption to dedicated hardware. Those are the main reasons. Stefán F. Stefánsson wrote: > > Any particular reason you're using a proxy instead of Tomcats built in > HTT

RE: Apache/Tomcat integration, help !

2001-01-30 Thread GOMEZ Henri
I'll provide one ASAP... On ne peut résoudre les problèmes les plus graves avec le même esprit qui les a crées. -- Albert Einstein >-Original Message- >From: Joel Cordonnier [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 30, 2001 4:47 PM >To: [EMAIL PROTECTED] >Subject: Apache/Tomca

Delay in invoking first servlet

2001-01-30 Thread Rachel Gollub
I've got tomcat running with apache, and everything's working fine, but when I invoke the first servlet from a browser, I get a 60-80 second delay. Everything after that is fast -- it's just that first servlet that's showing the delay. It doesn't matter which servlet I use, or whether I -- it s

  1   2   >