RE: mod_jk installation

2001-02-26 Thread Adam Fowler
Hi, Usually local strings are used to internationalise an application. You may want to try your contexts using windoze paths e:\dir\dir2\file instead of forward slashes which are UNIX/Linux file separators. Regards, Adam. -Original Message- From: Chris Andreou [mailto:[EMAIL PROTECTED]

RE: Starting Tomcat

2001-02-26 Thread Adam Fowler
Hi, I have a very basic Mandrake startup script available in the downloads section at http://willow.cc.edu/docs/adminguide You may need to edit a few paths, though, as I stupidly put tomcat in the wrong place. 8o) I'd be interested in exactly how you end up configuring the startup. If you don'

Re: help!! how to deploy a WAR file?

2001-02-26 Thread Sharon . Chua
thanks, john, for your reply. well actually, i did not create the war file :P for testing purposes, i copied the examples.war from the webapps dir into /home/sharon/mydocroot/ui my tomcat resides in /home/sharon/jakarta-tomcat-3.2.1 i'm using the binaries downloaded from the tomcat site i've rem

Re: help!! how to deploy a WAR file?

2001-02-26 Thread John Clark L. Naldoza
Hi, Try to delete everything that the WAR file would contain... i.e. Application Directory that the WAR would expand to...;-) Try to restart tomcat and see if that helps... BTW, how did you create the war file? Did you use the build.xml script? Cheers, John Clark > > hi, > > i'm new

Re: Starting Tomcat

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Ferdinand Enario wrote: > I am new to tomcat. I have just installed tomcat on Linux Mandrake 7.1 with > Apache on it. I was able to configure this: > http://localhost/examples/jsp/index.html My problem now is how do I start > tomcat automatically before Apache starts (auto lo

help!! how to deploy a WAR file?

2001-02-26 Thread Sharon . Chua
hi, i'm new to tomcat... could someone please tell me how i shld deploy a WAR file? i'm NOT using the default webapps docroot, which i think is the problem... upon restarting tomcat, will it automatically expand my WAR file? or do i have to do it manually? i've done some tests myself.it does

Re: Tomcat .vs. jspGNU

2001-02-26 Thread Brett W. McCoy
On Tue, 27 Feb 2001, Moin Anjum H. wrote: > I have not worked with jspGNU. But all my java portals are in > Apache-Tomcat. It is the best combination of web server i have worked > with. It is still working well. I'm in the middle of migrating an application server from GNUJsp to Tomcat. As far

Re: Tomcat .vs. jspGNU

2001-02-26 Thread Moin Anjum H.
Hi Kunwar, I have not worked with jspGNU. But all my java portals are in Apache-Tomcat. It is the best combination of web server i have worked with. It is still working well. Regards Moin. [EMAIL PROTECTED] wrote: > hi all > > I'm a student who has to do a project (customer portal)using JSP a

RE: ejb and apache

2001-02-26 Thread guyr
Title: RE: ejb and apache No, Apache is a web server, not an ejb container.  Look at www.jboss.org for an open-source application server. -Original Message- From: sanjeev Biswas [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 7:42 AM To: [EMAIL PROTECTED] Subject: ejb an

Re: Difficulty getting IIS to recognize additional Tomcat contexts

2001-02-26 Thread Shrisha Radhakrishna
That shouldn't be the cause since the context "examples" works.. Anyway, I tried it to no avail... --Shrisha - Original Message - From: "Craig O'Brien" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 6:22 PM Subject: RE: Difficulty getting IIS to recognize ad

Tomcat 3.2.1 mod_jk binaries for Solaris 8/SPARC and Linux (non-EAPI)

2001-02-26 Thread Jones, Stephen
Okay, I can't zip the non-EAPI ones small enough... (the group only takes 100k mesgs) Email me if you actually want them and don't find me annoying... Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: Progress in JSP/Servlet

2001-02-26 Thread Jones, Stephen
Here is an alternate method of redirecting the browser: response.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY); response.setHeader("Location", sURL); We use this instead of sendRedirect() or flushing so that we can send redirects even though we had already committed the response by sendin

use of servlet tag in the apache/tomcat

2001-02-26 Thread KAPIL SHUKLA
Dear friends I am trying to migrate from java web server to apache/tomacat.problem is this that ,site uses tag extensively,in its shtml pages. these servlets are not executed properly on the apache/tomcat. any work around kapil -

Progress in JSP/Servlet

2001-02-26 Thread Parayali, Jayesh 1065
Title: Progress in JSP/Servlet Hi, I need to show a text message while a jsp/servlet is doing some work. If I use out.flush() or response.flushBuffer(), I can not use sendRedirect since the Response has already been committed Any help is appreciated. Thanks, Jayesh

Tomcat 3.2.1 mod_jk binaries for Solaris 8/SPARC and Linux (EAPI)

2001-02-26 Thread Jones, Stephen
Since my company is attempting to redistribute mod_jk in binary format to simplify installing our web product, I compiled these versions of mod_jk for SSL-enabled (EAPI) Apache 1.3.17. The attached tarball includes: mod_jk_bin/mod_ssl/linux-i386/mod_jk.so mod_jk_bin/mod_ssl/solaris8-sparc/mod_jk

Internal server error on stress test

2001-02-26 Thread Norio Takeuchi
Hi, I'm new to tomcat. I made a test servlet which access to MySQL with mm.mysql JDBC Driver. This servlet work very good when I hit from a single browser. But whenever I try 1 minute stress test ,using Microsofts Web Application Stress Tool, it occurs "Internal Server Error" frequently in apac

Re: with Tomcat4.0

2001-02-26 Thread Craig R. McClanahan
S Ramakrishnan wrote: > Thanks for your note. > > web.xml for my application has clearly > bound a set of 's with a servlet > class. Hence the container must be able to > uniquely determine the set of initial parameters, > given a servlet class file, regardless of by what name > ("default" or oth

RE: Difficulty getting IIS to recognize additional Tomcat contexts

2001-02-26 Thread Craig O'Brien
Hello, Why don't you guys just try simplifying things and dropping the variable. My config files look like yours but I'm not using variables. Mine works fine with tomcat 3.2 on IIS. Perhaps too much perl?? /test/*=ajp12 Worth a try, only takes 2 minutes. Also try dropping the "trusted" fi

Tomcat .vs. jspGNU

2001-02-26 Thread kunwar
hi all I'm a student who has to do a project (customer portal)using JSP and Oracle8 on a redhat 6i Intel machine. The problem is that the client has reffered two options: 1. Tomcat 2. jspGNU and we have to use whichever is the best for the job. If anyone can help with answers or websites, ple

problems with apache and formbased sec?

2001-02-26 Thread John de la Garza
Are there any major problems with formbased security when running apache and tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: JNI shared libraries and wars

2001-02-26 Thread Craig R. McClanahan
Nick Christopher wrote: > My web app uses some JNI code. Currently I've put the shared library > into $TOMCAT_HOME/lib and added that directory to LD_LIBRARY_PATH. > > I'd like something more elegant and that worked on Un*x and Windoze. > I'd love to get it into the war file. > Unfortunately, n

Re: Case Sensitivity

2001-02-26 Thread Craig R. McClanahan
"Bilodeau, David" wrote: > Our Intranet developers are using Tomcat for an internal site. > > We have just upgraded from 3.1 to 3.2. > > Now, many of our hyperlinks are case sensitive whereas before they seemed to > be case insensitive. > > I'm just asking this question on behalf of the content o

Re: using tomcat 4 - Newbie

2001-02-26 Thread Craig R. McClanahan
David Treves wrote: > Hi there, > > I am trying to implement the "HttpSessionActivationListener" interface, > but my compiler doesnt recognize it, what should I do about it? > Because this interface was added in the servlet 2.3 API classes, you need to make sure that the servlet.jar file tha

Re: tomcat4... pretends to be tomcat3

2001-02-26 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: > I have removed tomcat 3.2.1 from my freebsd4.2 > machine and installed tomcat4 instead. After re-booting > and starting the tomcat server, I still get the > tomcat3.2.1 splash page... How can this be?! > It means one of two possible things: * You still have 3.2.1 inst

Re: tc4: catalina.home vs "catalina.install"

2001-02-26 Thread Craig R. McClanahan
Endre Stølsvik wrote: > On Sun, 25 Feb 2001, Craig R. McClanahan wrote: > > | Endre Stølsvik wrote: > | > | > Hi! > | > > | > It kind of seems to me that there is some "inconsistency" between the > | > catalina.home and where you actually want tomcat4 to _run_. > | > > | > I have a bunch of "inst

Re: tc4: "No processor available, rejecting this connection"

2001-02-26 Thread Craig R. McClanahan
Endre Stølsvik wrote: > On Sun, 25 Feb 2001, Craig R. McClanahan wrote: > > | Endre Stølsvik wrote: > | > | > My config is like this: > | > > | > | >port="##HTTPPORT##" minProcessors="1" maxProcessors="3" > | >acceptCount="100" debug="99" connectionTimeout="60

Re: JDBCRealm

2001-02-26 Thread Craig R. McClanahan
Herchel Wojciech wrote: > Hi! > I've got the following problem - I want to dynamically display certain > information to a user, depending upon a role they've been granted (via JDBC > authorisation). how do i do that? getParameter("role") returns null. > The getParameter() method returns paramete

Re: Difficulty getting IIS to recognize additional Tomcat contexts

2001-02-26 Thread Shrisha Radhakrishna
Nada. I have pulled the last strand of hair off my bald colleague's head. --Shrisha - Original Message - From: "Todd Carmichael" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 5:01 PM Subject: RE: Difficulty getting IIS to recognize addi

RE: Difficulty getting IIS to recognize additional Tomcat contexts

2001-02-26 Thread Todd Carmichael
Same problem here. Any luck resolving the problem? -Original Message- From: Shrisha Radhakrishna [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 10:06 PM To: [EMAIL PROTECTED] Subject: Re: Difficulty getting IIS to recognize additional Tomcat contexts Here's a snippet from

Re: disabled cookies create a new session id

2001-02-26 Thread Guntupalli Shanti
Forgot to mention I use encodeURL for all the links I have in my pages Any ideas would be appreciated. Thanks...Shanti At 04:51 PM 2/26/2001 -0800, you wrote: >Hi > >I have seen so many people sending mails regarding the same problem but I >didn't find a solution yet. > >I am running TomCat 3.2

disabled cookies create a new session id

2001-02-26 Thread Guntupalli Shanti
Hi I have seen so many people sending mails regarding the same problem but I didn't find a solution yet. I am running TomCat 3.2 on Apache 1.3.12 through mod_jserv (tried mod_jk also). As long as I enable the cookies and run my application (which is a bunch of servlets) I have no problem. But

[ANNOUNCEMENT] Tomcat 3.2.2 beta 1 released

2001-02-26 Thread Marc Saegesser
I am pleased to announce that the Tomcat 3.2.2 beta 1 release is now available for download at http://jakarta.apache.org/builds/tomcat/release/v3.2.2-beta-1 Tomcat 3.2.2 contains bug fixes collected since the release of Tomcat 3.2.1. The bugs known to be fixed in this release are listed in the R

formbased security apache/tomcat

2001-02-26 Thread John de la Garza
I have been developing on just tomcat...not I have to deploy on apache/tomcat. I've set everything up put when a user tries to go to a formbased security protected area I get a file not found when I submit the password (right or wrong passwd). Any suggestions? -

Starting Tomcat

2001-02-26 Thread Ferdinand Enario
Hi, I am new to tomcat. I have just installed tomcat on Linux Mandrake 7.1 with Apache on it. I was able to configure this: http://localhost/examples/jsp/index.html My problem now is how do I start tomcat automatically before Apache starts (auto load on machine boot). Please help. Ferdinand --

Can anyone decipher this Tomcat error?

2001-02-26 Thread Conrad Gustafson
Hello there,   Configuring Tomcat with IIS, I get an http 404 error when trying to hit http://localhost/examples/jsp/index.html.    Do the following debug lines from the command prompt window mean anything to any Tomcat gurus out there?   I know about the "Socket write error" problem betw

Re: MySQL driver - java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

2001-02-26 Thread RameshBabu R Muthuvel
Try the following 1) URL = "jdbc:mysql:test"; 2) Add the classpath "c:\mm.mysql-2.0.2-bin.jar" as follows: Start>Settings>Control Panel>System>Environment>System Variables 3) Restart the computer Try again. I got it, you too will get it. ramesh

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Randy Layman wrote: > I've found it easire to simply pass the session ID as a parameter, > and then in my servlet receive it back and use the > HttpSessionContext.getSession(sessionID). I find it easier than messing > with the cookies. According to the 2.2 spec of the

RE: with Tomcat4.0

2001-02-26 Thread S Ramakrishnan
Thanks for your note. web.xml for my application has clearly bound a set of 's with a servlet class. Hence the container must be able to uniquely determine the set of initial parameters, given a servlet class file, regardless of by what name ("default" or otherwise) the servlet is invoked. Then w

mod_jk installation

2001-02-26 Thread Chris Andreou
I have installed (migrated) from jser_mod to jk_mod. I installed and I was able to run the examples. My problems is when I registered a new within Tomcat and try to run a simple sevlet then I get the exception handling errors. The steps i followed were: Server xml: httpd.conf : Alias /e

RE: Tomcat running inprocess with Netscape 3.62 webserver.

2001-02-26 Thread prasad . moganna
Don't be misleaded by the name of the dir. I wanted to use the struts framework, but for this one of the pre-requisites was to have a servlet container, which the documentation suggested tomcat and I went for that. Before jumping into writing the app., I thought I would first write a simple "Hel

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Randy Layman
Never thought of that - its not been a problem with my configurations Randy -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 5:53 PM To: [EMAIL PROTECTED] Subject: RE: Connecting to a servlet from within an applet >

JSP caching

2001-02-26 Thread Jim Miani
Hi, I've been using Tomcat for about 2 months. For 7 weeks and 6 days, JSP recompilation worked fabulously, no complaints. It never cached. Today, suddenly, everytime I want to change a class file that is called by a JSP page, I have to *ugh* stop and restart Tomcat to get the new class file in

Re: with Tomcat4.0

2001-02-26 Thread Bo Xu
S Ramakrishnan wrote: > I am afraid I do not understand. Why are the two correlated? > Unless I am mistaken, servlet mapping is for > arriving at compact URLs for user convenience. > > Why is this mandatory in order to specify > 's? > > Thanks, > > Rk > x77309 > > On Mon, 26 Feb 2001 10:58:44 >

RE: Connecting to a servlet from within an applet

2001-02-26 Thread GOMEZ Henri
> I've found it easire to simply pass the session ID as a >parameter, >and then in my servlet receive it back and use the >HttpSessionContext.getSession(sessionID). I find it easier >than messing >with the cookies. > Yes but how did mod_jk will find and use it this way ? ---

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Randy Layman
I've found it easire to simply pass the session ID as a parameter, and then in my servlet receive it back and use the HttpSessionContext.getSession(sessionID). I find it easier than messing with the cookies. Randy -Original Message- From: GOMEZ Henri [mailto:[EMAIL PRO

RE: Tomcat running inprocess with Netscape 3.62 webserver.

2001-02-26 Thread Adam Fowler
Hi, Should it be looking under the d:\struts directory? I thought struts was another jakarta project? Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth Carroll College, WI, USA(2000-2001) web: http://gucciboy.dyndns.org/aff9 e-mail: [EMA

Tomcat running inprocess with Netscape 3.62 webserver.

2001-02-26 Thread prasad . moganna
Hi guys, I am trying to set up tomcat to run inside the Netscape's webserver process. Using Netscape Enterprise Server 3.62 I followed all the steps mentioned in the documentation to run tomcat inside the webserver process. Downloaded the jni_connect.dll, changed the server.xml and worker.proper

Re: with Tomcat4.0

2001-02-26 Thread S Ramakrishnan
I am afraid I do not understand. Why are the two correlated? Unless I am mistaken, servlet mapping is for arriving at compact URLs for user convenience. Why is this mandatory in order to specify 's? Thanks, Rk x77309 On Mon, 26 Feb 2001 10:58:44 Craig R. McClanahan wrote: > > >S Ramakris

RE: Connecting to a servlet from within an applet

2001-02-26 Thread GOMEZ Henri
> You simply need to make a request. It depends upon what you are >trying to do. A GET or POST request can be made by >URLConnection fairly >easily. If you are looking for a session, you have to pass >the session id >back (the applet doesn't know about the cookies of the browser >its r

Invalid Authorizaton

2001-02-26 Thread Bryan Murtha
I keep getting this error, I'm connecting to a mySQL database on the same Sun box as the webserver and Tomcat are running, I can use this same user/pass to connect through Perl DBI and everything is OK, but here I am told it's invalid. Have tried it using several different users, with no alpha

RE: Installing Tomcat

2001-02-26 Thread Randy Layman
You need to install a JDK (from eitehr Sun or IBM) You need to download and un-tar/zip the Tomcat binaries (it is writtin in java, so there is only one package. The various binary directories are for the web server connectors) The Where to install is where ever you like.

Re: MySQL driver - java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

2001-02-26 Thread Niels Wagner
Hi, > I try to use MySQL to access the database. > I set the drivername = "org.gjt.mm.mysql.Driver"; > and set URL = "jdbc:odbc:test"; I'm not using exactly the same configuration (Tomcat 4.0,cocoon) but my urls look like url=jdbc:mysql://localhost/ > and I included the "c:\mm.mysql-2.0.2-bin.j

Calling an EJB from a servlet

2001-02-26 Thread Ghislain Gadbois
Hi everyone, I developped a servlet that calls EJB components that are stored in an Oracle 8.1.7 database. When I run my servlet from Oracle JDeveloper, I can call my EJB components without any problem. When I deploy my servlet in Tomcat 3.2.1 (on SunOS 5.6), I always get the following

Problem in Jakarta-Tomcat running in WinNT with multiple NICs

2001-02-26 Thread aneogi
Hi, I'm using Jakarta-Tomcat as the servlet container and also as the default web server listening to 8080 port for a Servlet-Jsp based application. The Servlet has a background thread running that communicates asynchrnously (asynchronous to the HTTP requests) with an external process.

Installing Tomcat

2001-02-26 Thread Noah silva
Hello, I am a programmer and familiar with unix, HTML, and apache, but I am not familiar with JSP, jserv, or tomcat. In looking for a webmail product to meet my needs, I came across "webmail", which despite it's rather generic sounding name, looks like a very nice package. It can be found at: h

Re: load on start-uo

2001-02-26 Thread William Brogden
Neil Wood wrote: > > How do I get a servlet to load up on start-up of tomcat. > > probably easy but I dont know how to? > > where can i find answers to questions that are similar to this one? > Read the documentation, study the Tomcat examples - especially the way web.xml is used, download

RE: JServ -> mod_jk

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Brett W. McCoy wrote: > *sigh* At least I'm the programmer who has to do the re-coding... Oops, that should be "At least I'm NOT the programmer..." :-) -- Brett http://www.chapelperilous.net/~bmccoy/ -

Re: MySQL driver - java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

2001-02-26 Thread Denny Chambers
For the URL try this: URL = "jdbc:mysql://dbserver/dbname?user=myusername&password=myPassword" It's been about a year since I fooled around with MySQL, but this worked for me then. Denny c cw_1 wrote: > > Hi > > I try to use MySQL to access the database. > I set the drivername = "org.gjt.mm

RE: JServ -> mod_jk

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Adam Fowler wrote: > Mod_jk has its own config file called mod_jk.conf.auto you'll need to caopy > this to something like mod_jk.conf.correct and edit it for your paths etc. > After this make sure apache is including it. I got the problem sorted out (not having mod_jk.conf i

load on start-uo

2001-02-26 Thread Neil Wood
How do I get a servlet to load up on start-up of tomcat. probably easy but I dont know how to? where can i find answers to questions that are similar to this one? Thankyou, Neil Neil Wood, Systems Developer, Jungle Online Ltd. www.jungle.com --

Connecting to a servlet from within an applet

2001-02-26 Thread Neil Wood
Hi, how can I configure a servlet in Tomcat to be accessible from within a client side applet? I had this working in Java Web Server but in Tomcat I cant get it to work!! Thanks for any advice!! Neil Neil Wood, Systems Developer, Jungle Online Ltd. www.jungle.com ---

RE: deep web.xml problem

2001-02-26 Thread Dresmond.McLaurin
-Thank you very much, Randy... I got it right now... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: load on start-uo

2001-02-26 Thread Jon Crater
in the web.xml file for your context, map a servlet and use the tag. ServletName Description fully.qualified.class.name 1 be sure to define a servlet mapping as well: ServletName /mappingName Original Message Follows From: "Neil Wood" <[EMAIL PROTECTED]> Reply-To:

How to setup CLASSPATH for different apps.

2001-02-26 Thread Rogelio Estudillo
Hello, I am running Apache with Virtual Hosts and Tomcat 3.2 (mod_jserv) on Linux . I'm trying to run multiple JVM's on the same machine (alpha and beta setup.) I've modified the httpd.conf to support the two virtual hosts and the ApJ mountpoints, created a server_alpha.xml and a server_beta.xml

admin

2001-02-26 Thread Shai Bentin
anybody know of a good tool for tomcat administration, something like an applet or application that lets you easily configure tomcat configuration files? thnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: JServ -> mod_jk

2001-02-26 Thread Adam Fowler
Hi, Mod_jk has its own config file called mod_jk.conf.auto you'll need to caopy this to something like mod_jk.conf.correct and edit it for your paths etc. After this make sure apache is including it. Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wales,

E-mail guidelines...

2001-02-26 Thread Adam Fowler
Hi all, Could everyone please make sure that the to: address when they send e-mail to this list is [EMAIL PROTECTED] and not "tomcat user" "tomcat" or "< ". It's a pain to sort through 50 unknown e-mails to put them in the right place. Also, the e-mail guidelines request that people use plain te

RE: Connecting to a servlet from within an applet

2001-02-26 Thread Randy Layman
You simply need to make a request. It depends upon what you are trying to do. A GET or POST request can be made by URLConnection fairly easily. If you are looking for a session, you have to pass the session id back (the applet doesn't know about the cookies of the browser its running i

Fwd: Connecting to a servlet from within an applet

2001-02-26 Thread Neil Wood
Neil Wood, Systems Developer, Jungle Online Ltd. www.jungle.com Hi, how can I configure a servlet in Tomcat to be accessible from within a client side applet? I had this working in Java Web Server but in Tomcat I cant get it to work!! Thanks for any advice!! Neil Neil Wood, Systems D

Fwd: load on start-uo

2001-02-26 Thread Neil Wood
Neil Wood, Systems Developer, Jungle Online Ltd. www.jungle.com How do I get a servlet to load up on start-up of tomcat. probably easy but I dont know how to? where can i find answers to questions that are similar to this one? Thankyou, Neil Neil Wood, Systems Developer, Jungle Online

load on start-uo

2001-02-26 Thread Neil Wood
How do I get a servlet to load up on start-up of tomcat. probably easy but I dont know how to? where can i find answers to questions that are similar to this one? Thankyou, Neil Neil Wood, Systems Developer, Jungle Online Ltd. www.jungle.com --

Connecting to a servlet from within an applet

2001-02-26 Thread Neil Wood
Hi, how can I configure a servlet in Tomcat to be accessible from within a client side applet? I had this working in Java Web Server but in Tomcat I cant get it to work!! Thanks for any advice!! Neil Neil Wood, Systems Developer, Jungle Online Ltd. www.jungle.com ---

RE: global init param & context-param

2001-02-26 Thread Brett W. McCoy
On Mon, 26 Feb 2001, Brett Knights wrote: > > oamFileProps.load(config.getInitParameter("bw.client.configDir") + > > System.getProperty("file.separator") + > >"SystemPref.properties"); > > > Context.getInitParameter for globals Argh, I was hoping you would

MySQL driver - java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

2001-02-26 Thread c cw_1
Hi I try to use MySQL to access the database. I set the drivername = "org.gjt.mm.mysql.Driver"; and set URL = "jdbc:odbc:test"; and I included the "c:\mm.mysql-2.0.2-bin.jar" in the CLASSPATH, I got the classNotFoundException. I used" Tomcat 3.1 MySQL 3.23.32 jdk1.3 Can some tell me how can

Problem starting Apache and Tomcat

2001-02-26 Thread Rouiller Samuel
Hi, I am using Apache with mod_jk and Tomcat. I included the mod_jk.conf file in my http.conf and configured the workers.properties file. My problem is that apache refuses to start by logging the following in error.log: [Mon Feb 26 20:16:15 2001] [emerg] (2)No such file or directory: Error while

RE: global init param & context-param

2001-02-26 Thread Brett Knights
> oamFileProps.load(config.getInitParameter("bw.client.configDir") + > System.getProperty("file.separator") + >"SystemPref.properties"); > Context.getInitParameter for globals - To unsubs

Re: with Tomcat4.0

2001-02-26 Thread Craig R. McClanahan
S Ramakrishnan wrote: > Environment: > Tomcat 4.0 on NT4.0 > Browser: IE5.5 > > Problem: > I am unable to get to work. > In my web.xml I have > > Quote > Quote > > quotesFile > quotes.txt > > >

Where to place .properties-Files when deploying a .war ?

2001-02-26 Thread Michael Specht
Hello, where i have to place the .properties-Files, when deploying an application as an .war-File? I tried several locations: - in root of war-File - in the WEB-INF/lib-directory - in the WEB-INF/classes directory - in the root of the web-apps/ dir and ... I always get the Message ja

Configuring Tomcat to put GenericServlet.log() output somewhere useful...

2001-02-26 Thread Tom Epperly
How do I configure Tomcat to put servlet logging information (i.e. text passed to the GenericServlet.log() method http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/GenericServlet.html#log(java.lang.String) in a file? Can I put all such logs in one file or do I have to put each indiv

global init param & context-param

2001-02-26 Thread Brett W. McCoy
I am using context-param to set global variables for my servlets, but my servlets are still not seeing them (the value is showing up as null). Here is an example: bw.client.configDir D:\dev\src\conf And the code snippet using the param: oamFileProps.load(config.getInitParameter("b

newbie: I assume Tomcat 3.2.1 does support SSL via IIS

2001-02-26 Thread Todd Carmichael
I would like SSL requests to come into IIS and then be forward to Tomcat in SSL mode. From the documentation (how-to) on how to get SSL to work, only Apace is mentioned. A quick answer would be appreciated. Thanks. - To unsub

about the

2001-02-26 Thread Bo Xu
Hi dear friends :-) I am new to this List, thanks for your help! :-) now I use jakarta-tomcat-4.0-b1(standalone, JDK1.3, winnt40). from the direction of one email in Servlet-List, I find the following link: http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat-4.0/catalina/docs/dev/classlo

More on tomcat with SSL problem

2001-02-26 Thread Mandar Joshi
I created a java client communicating over https and used it with the same URL it throws following exception: javax.net.ssl.SSLException: Received fatal alert: handshake_failure (no cipher suites in common) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b([DashoPro-V1.2-120198]) at

RE: first time user!!!

2001-02-26 Thread Zakaria .
Thanks a lot, it worked!!! I have another question, when i try to compile a simple servlet using: javac -classpath c:\tomcat\lib\servlet.jar MyServlet.java i get an error about the symbol : HttpServlet the same error i get when i use :javac MyServlet.java Like the servlet.jar doesnt work or doe

404 error when pressing 'Submit' button when running a JSP

2001-02-26 Thread Schiff, Nicky
Having installed and attempted to configure Tomcat v3.2.1 and Apache v1.3, I try to run a JSP called 'logon.jsp' via my browser (IE v4.0). The Java application is installed within a Sun Solaris UNIX environment. The JSP is run via the browser by typing in the following URL :- http://:8081/Appli

Cannot load /var/apache/libexec/mod_jserv.so into server

2001-02-26 Thread Mark Sweeney
Hi I'm running apache 1.3 and Tomcat 3.2.1 on a SUN Solaris 8.0 Ultra 1 SPARC platform. I'm able to view the HTTP pages from Apache and run the servlet examples from Tomcat. The problem is I cannot load mod_jserver.so when attempting to load via tomcat.conf file. Below is the output I receiv

Re: TC3.2.1 - response commit on included JSPs

2001-02-26 Thread cmanolache
> > " if that destination is another character or > > byte stream, flush it." > > > > In this case, the destination is the servlet output > > stream - and it has to be flushed. > > That is only because the particular servlet engine > implementation implements the ServletOutputStream of > the Re

RE: apache user group

2001-02-26 Thread Dan Olsen
try: [EMAIL PROTECTED] DanO -Original Message- From: Warren Sze [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 9:49 AM To: [EMAIL PROTECTED] Subject: apache user group Is there a good mailing list for apache questions? Thanks! Warren Sze [EMAIL PROTECTED] 415.371.9853

apache user group

2001-02-26 Thread Warren Sze
Is there a good mailing list for apache questions? Thanks! Warren Sze [EMAIL PROTECTED] 415.371.9853 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: Authentication to LDAP

2001-02-26 Thread Fernando Padilla
get the source form tomcat 4.x, then go look at: // Realm interface src/catalina/src/share/org/apache/catalina/Realm.java // basic realm that most extend src/catalina/src/share/org/apache/catalina/realm/RealmBase.java // and other example realms ( where the LDAP, et al will live in ) src/catal

Re: tomcat.bat

2001-02-26 Thread Peter Andersén
Hi by doing call in bat. call resource.bat /Peter - Original Message - From: "shlomi sarfati" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 26, 2001 5:02 PM Subject: tomcat.bat > Hi > > I need to run something that tomcat depends on before tomcat > starts(rmiregi

Re: Authentication to LDAP

2001-02-26 Thread Peter Andersén
Hi I can be included on this. I have built a bean for doing contextless login into LDAP. It maybe could be useful for this, but i need to understand what do you need for the plugins to work. I have not been looking at this much so if someone could enlight my on the subject i could check. /Peter -

RE: Database connection pool scope

2001-02-26 Thread Randy Layman
You can use static class variables as well - its just shared by all instances. Why not call servlet methods? They are just classes that you will be using. They are implemented as servlets for two reasons: 1. They know they will be started at server startup if config

removing "/servlet" from apache to tomcat ( mod_jk) URL's

2001-02-26 Thread Mohamed Nasser
> Hello folks. > > I have two implememtations of apache-tomcat. > One has all developed servlets in webapps. In this implementation when I > removed the the /servlet/* ajp13 from the JkMount in the mod_jk.conf > and left it as /* ajp13, things worked fine without the /servlet. > However

RE: DOM Level-2 support

2001-02-26 Thread Randy Layman
I believe that you should replace xml.jar and parser.jar in the tomcat\libs directory. There has been some discussion of replacing this in the past and I think the final answer was that this doesn't cause a problem. Randy -Original Message- From: mats andersson [mailto:

RE: Invoking Servlets

2001-02-26 Thread Randy Layman
There are two ways to do this: 1. The simpler and easier to maintain, but not portable across different JSP/Servlet engines: call them as /context/servlet/fullly.qualified.class.name (without .class). 2. The more portable, but more difficult to maintain: add a mapping t

Re: Database connection pool scope

2001-02-26 Thread sayguney
>First of all, there are several connection pools avaiable, so you > might want to look at those before you decide that re-inventing the wheel is > a good thing. I am already evaluating some of the available products, and most probably use one of them, thank you. >Second, most connectio

Re: Database connection pool scope

2001-02-26 Thread Jon Crater
the singleton is just a concrete java class that ensures only one instance can ever be instantiated. i ensure this via this method: public static synchronized ConnectionPool getInstance() throws SQLException { if (instance == null) { instance = new ConnectionPool(d

Re: Invoking Servlets

2001-02-26 Thread mats andersson
By default you should add /servlet/ to your path before the package and class. http://myserver:myport/context-root/servlet/org.foo.bar.ServletName /Mats Andersson [EMAIL PROTECTED] wrote: > How can I get Tomcat to execute my servlets? I'm running Tomcat as an > extension to IIS 5. I managed to

RE: Authentication to LDAP

2001-02-26 Thread GOMEZ Henri
I'd like to do that but I'll need first the LDAPAuthCheck source ;-) La prise de conscience de votre propre ignorance est un grand pas vers la connaissance. -- Benjamin Disraeli >-Original Message- >From: Fernando Padilla [mailto:[EMAIL PROTECTED]] >Sent: Monday, February 26, 2001 5:3

  1   2   >