Re: Building Tomcat-3.2.1

2001-03-18 Thread Arnaud Vandyck
Not sure, but don't you need the servlet-api (servlet.jar)? http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.tar.gz or http://jakarta.apache.org/builds/tomcat/release/v3.2.1/src/jakarta-servletapi-3.2-src.zip Niels Wagner wrote: > > Hi everybody, > > i do

Re: problem with JSP displaying broken image link

2001-03-18 Thread jdh
Could some one please confirm that geocities is using mod_rewrite or something of that nature? Just write simple jsp to display an jpeg hosted on geocities and tell me if you get a broken image link. Be sure to clear the cache first before you test this. Thanks. - Original Message -

Re: problem with JSP displaying broken image link

2001-03-18 Thread jdh
Do you know a way around this? -Jeff - Original Message - From: Igor Shevchenko <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 18, 2001 11:55 PM Subject: Re: problem with JSP displaying broken image link > > > My JSP is located on my own server (ISP is pacbell). The

My code

2001-03-18 Thread java4dinman
My application works perfectly fine with the public static void main but not with Servlets in Tomcat import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class IDSTest2 extends HttpServlet{ public void doGet(HttpServletRequest request,

Re: problem with JSP displaying broken image link

2001-03-18 Thread Igor Shevchenko
> My JSP is located on my own server (ISP is pacbell). The images are hosted > by geocities. Do you pay for hosting on geocities ? If not then this is a hotlinking - you're trying to cheat them by stealing their traffic... So dont be surprised that images are not downloading - protection from

Re: MySql Problem (Error Message) Thanx

2001-03-18 Thread Home_Admin/home
What does your connection syntax look like? Are you using the correct driver? What is the package name? There is a mailing list for Java-MySQL that deals with JDBC and MySQL exclusively if you aren't able to get an answer here. I subscribe to it as well. [EMAIL PROTECTED] Neill Laney http://ho

MySql Problem (Error Message) Thanx

2001-03-18 Thread java4dinman
I dont know why its looking for MyODBC Unable to load driver. java.sql.SQLException: [TCX][MyODBC]Can't connect to MySQL server on 'localhost' (10061) at sun.jdbc.odbc.JdbcOdbc.createSQLException (JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)

MySql Problem (Error Message) Thanx

2001-03-18 Thread java4dinman
I dont know why its looking for MyODBC Unable to load driver. java.sql.SQLException: [TCX][MyODBC]Can't connect to MySQL server on 'localhost' (10061) at sun.jdbc.odbc.JdbcOdbc.createSQLException (JdbcOdbc.java:6031) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)

RE: Plese, could you comment on this.. Hanging Tomcat (Standlone) - problem and solution

2001-03-18 Thread Tal Dayan
I think the Ajp connector is configured by default to use the PoolTcpConnector connector which uses PoolTcpEndpoint, so the problem may affect Ajp as well. Maybe one of the Tomcat experts on the list can elaborate on this. Tal > -Original Message- > From: Tagunov Anthony [mailto:[EMAI

RE: NEW_LOADER in m1 tomcat.sh

2001-03-18 Thread GOMEZ Henri
>Can someone please tell me more about this change in the tomcat.sh >startup script? It looks like jars in TOMCAT_HOME/lib are no longer >geting added to the classpath- is this the new model? In my project >I like to deploy the jars directly to TOMCAT_HOME/lib where >they will be >found when

Re: Starting Tomcat in Apache

2001-03-18 Thread Kenneth Westelinck
Hi, Tomcat and Apache are not running in background. It should be possible to run both Apache and Tomcat as a service. If this is the case, than indeed you are uncertain about the result of the script. If however you run the script in a command window, you can see immediately if something goe

Re: MySql Problem

2001-03-18 Thread Rob Tanner
Since I work with MySQL both in servlets and in regular applications, I have the jar file in the lib/ext directory of the jre. But I have no idea what you're referring to by the org.apache class. I know of only two MySQL drivers, twz1.jdbc.mysql and org/gjt/mm/mysql. Of those, only the latt

Re: MySql Problem

2001-03-18 Thread dick
Hi Dinman, Did you set your classpath to point the location where you place you mmysql driver? Actually you can place the driver anywhere you like provided that you set the classpath correctly! Of course ,you have to prefix the driver class with the correct package name e.g. org.gjt.mm.mysql.Driv

Re: problem with JSP displaying broken image link

2001-03-18 Thread jdh
My JSP is located on my own server (ISP is pacbell). The images are hosted by geocities. -Jeff - Original Message - From: Igor Shevchenko <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 18, 2001 1:51 PM Subject: Re: problem with JSP displaying broken image link > > >

Re: MySql Problem

2001-03-18 Thread Home_Admin/home
Here's the location of the mm driver in an application called HOME \tomcat-3.21\webapps\home\WEB-INF\classes\org\gjt\mm\mysql Move the "org" directory after unpacking to the classes directory of your application, thus org.gjt.mm.mysql.Driver corresponds to the directory structure given. Generic

MySql Problem

2001-03-18 Thread java4dinman
Hi I am trying to Acces MySql thru JDBC using mmysql driver. But when I run thru Servlets in Tomcat it doesnot read the org.apache class. Can anyone say where should I keep my jar files when I acces the data from Servlets. Thanx in advance. DINMAN Enjoy being an Indyan at http://www.indya.

RE: Servlet path configuration in Tomcat/Apache

2001-03-18 Thread Andy Cole
Hi. I am trying to change the physical path for servlets as well in Unix Enivroment. Do you have a copy of server.xml for me to check against mine? Appreciate if you can share and thanks in advance. --Original Message-- From: "Zhengan Cai" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: M

JSP Explorer and Tomcat documentation

2001-03-18 Thread Mike Slinn
I've been working on some documentation for Tomcat, the open source reference platform for Java Servlets and Java Server Pages (JSP). I paused along the way to create a tool that I call JSP Explorer, and I'm pretty excited by it! You can try JSP Explorer for free at http://tomcat.mslinn.com/ JSP

Re: Tomcat can't start by daemon in Digital UNIX V4.0F (alpha)

2001-03-18 Thread Milt Epstein
On Mon, 19 Mar 2001, [ks_c_5601-1987] Á¤¸í¿ì wrote: > OS Digital UNIX V4.0F (alpha) > Tomcatjakarta-tomcat-3.2.1 > JDK jdk1.2.2 > > Tomcat can't start by daemon in Digital UNIX V4.0F (alpha) > > I started Tomcat using 'startup.sh', and then logout > > Login,

NEW_LOADER in m1 tomcat.sh

2001-03-18 Thread Jason Novotny
Can someone please tell me more about this change in the tomcat.sh startup script? It looks like jars in TOMCAT_HOME/lib are no longer geting added to the classpath- is this the new model? In my project I like to deploy the jars directly to TOMCAT_HOME/lib where they will be found when Tomcat

Tomcat can't start by daemon in Digital UNIX V4.0F (alpha)

2001-03-18 Thread 정명우
OS  Digital UNIX V4.0F (alpha) Tomcatjakarta-tomcat-3.2.1 JDK  jdk1.2.2   Tomcat can't start by daemon in Digital UNIX V4.0F (alpha)   I started Tomcat using 'startup.sh',  and then logout   Login, and then Tomcat be stoped   thank you!! ^^!

Looking for mod_jk.so under solaris 2.7

2001-03-18 Thread C.M. Rahman (jr.)
I am having problem adding the mod_jk.so under solaris 2.7. Can somebody here help? Thanks I am getting this error below # apxs -o mod_jk.so -c -I/usr/j2se/include -I/usr/j2se/include/solaris -I../jk/ -l posix4 -DSOLARIS *.c ../jk/*.c gcc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_N

Re: [Tomcat-user] Servlet Context Parameter... illegal characters...

2001-03-18 Thread Craig R. McClanahan
On Sun, 18 Mar 2001, James Carroll wrote: > > Hi, > > in my web.xml in the part that specifies: > > databaseURL > > > this works: > jdbc:mysql://localhost/db > > but this doesn't: > > jdbc:mysql://localhost/db?user=name&password=pw e> > > Either the ? or the & is mess

Re: servlet mapping under tomcat4

2001-03-18 Thread Craig R. McClanahan
On Sun, 18 Mar 2001 [EMAIL PROTECTED] wrote: > Hi everyone, > > I'm having trouble getting servlet mapping to work under Tomcat > 4.0-1-b1. > > In previous version of Tomcat, it was enough to just put your servlet > mapping class in the "classes" directory under $TOMCAT_HOME and add this > t

Re: Tomcat SSL context or directory

2001-03-18 Thread Tu-Thach
I understand that you can set up Apache and Tomcat so that only certain context or directory is SSL supported. But what about if I only want to use Tomcat and not Apache. Regard to your question, Apache does support jsp and servlets with virtual host correctly. What version are you using and w

Re: problem with JSP displaying broken image link

2001-03-18 Thread Igor Shevchenko
> I have been having trouble displaying images from my JSP(s). It > seems like all my images that exist on http://www.geocities.com come > up as broken image links.Is there a bug in the JSP server? I can > display those images as plain .html file but not in my JSP. Where is your JSP lo

Tomcat Ant and JDK

2001-03-18 Thread Juan Alberto Cirez
Hello there to all. I have recently complied Tomcat, Ant, and JDK and all went well. I did this on a P200 running slackware 7.0 Kernel 2.2.13. While building ant I rant into a little problem concerning libX11.so.6. Instead of installing all the X11 libs I just copied this file from another system

Is there a maximum number of sessions in tomcat?

2001-03-18 Thread Greg Combs
Title: Is there a maximum number of sessions in tomcat?      at around 800 connections a red hat 7.0 machine with apache 1.3.19 and tomcat 3.2.1 starts dropping the established sessions saying, "nope, i don't recall you logging in"  and then eventually *no one* gets in.    is there some co

RE: RMI with the IIS/Tomcat behind a firewall

2001-03-18 Thread Adam Fowler
Take a look at the following link. It uses HTTP to connect to a servlet and then the servlet does everything else:- http://developer.java.sun.com/developer/technicalArticles/RMI/rmi/ It's all pure Java. Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wa

Re: problem with JSP displaying broken image link

2001-03-18 Thread jdh
Yes, I captured the source and viewed it as an HTML page and the image links show up fine. They only show up as broken links in the JSP page. This seems to happen to images from geocities for some strange reason. -Jeff - Original Message - From: William Brogden <[EMAIL PROTECTED]> To:

Re: Plese, could you comment on this.. Hanging Tomcat (Standlone) - problem and solution

2001-03-18 Thread David Crooke
We are running Apache 1.3.14 on FreeBSD 4.0, back ending on JServ 1.1b3 on the Sun 1.2.2 JVM on Linux 2.2.12 (RH 6.1) - multiple appservers, multiple VM's per, etc. I can tell you that this configuration is stable and resilient under large loads; we have tested it to destruction, and it degrades

Plese, could you comment on this.. Hanging Tomcat (Standlone) - problem and solution

2001-03-18 Thread Tagunov Anthony
On Sun, 18 Mar 2001 10:08:42 -0800, Tal Dayan wrote: >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1006 >This is a severe problem that opens Tomcat stand-alone mode to DOS attaches but >more importantly, it makes it incapable of surviving a single busy day on a >production system of one o

Re: JDBC Driver

2001-03-18 Thread Brett Knights
> > Try FreeTDS (www.freetds.org, I think). I've used their straight TDS > driver with excellent results. They also have a Type 4 JDBC > driver as > well. I haven't had occasion to use it, but if it performs as well as > the straight TDS driver, I'm sure you'll be pleased. Unfortunately it look

[Tomcat-user] Servlet Context Parameter... illegal characters...

2001-03-18 Thread James Carroll
Hi, in my web.xml in the part that specifies: databaseURL this works: jdbc:mysql://localhost/db but this doesn't: jdbc:mysql://localhost/db?user=name&password=pw Either the ? or the & is messing up the parser... Is this a bug? or is there a way of escaping the special

test

2001-03-18 Thread Tagunov Anthony
please disregard this message

Hanging Tomcat (Standlone) - problem and solution

2001-03-18 Thread Tal Dayan
FIY, If you are running Tomcat 3.x in standalone mode (that is, no Apache), you may want to take a look at bug #1006: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1006 It describes a major reliability problem we encountered and how we addressed it with a simple patch. Tal Disclaimer:

Re: Applets, Servlets, Security issues

2001-03-18 Thread Web master
Try running policytools (it will update .java.policy not java.policy) Caprio, Mike wrote: > > Hi folks, > > I'm hoping someone on the list can point me in the right direction > on a problem I'm having with applet to servlet communication. > Specifically, I'm getting: > > java.security.AccessC

RE: How to get rs.last() supported by Tomcat

2001-03-18 Thread Jack Li
Scott, I am not writing class. I am simple wring a jsp page. the source codes are: - <%@ page import="java.sql.*"%> <% Connection con = null; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con = D

Building Tomcat-3.2.1

2001-03-18 Thread Niels Wagner
Hi everybody, i downloaded the source of tomcat 3.2.1 and tried to build it. I followed the README and got ant, jaxp (1.0.1), jsse ... My setup: SuSE Linux 7.0, IBMJava2-13. Environment variables export JAKARTA_HOME=/opt export TOMCAT_HOME=/opt/jakarta-tomcat-3.2.1 export JAVA_HOME=/opt/IBMJav

RE: How to get rs.last() supported by Tomcat

2001-03-18 Thread Scott Walter
Tomcat will only look in the web-inf\classes and web-inf\jar directories for classes. If the driver is already packaged in a jar file place it in the web-inf\jar directory, otherwise place it in web-inf\classes. If you have just the classes to the driver, make sure the package structure remains

RE: How to get rs.last() supported by Tomcat

2001-03-18 Thread Jack Li
Scott, I created the statment by using: "createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY)" I pointed JAVA_HOME to c:\jdk1.3. As I know, jdk3.0 has JDBC 2.0 in it. When I used the javac to compile a similar program at DOS prompt and it worked fine. But the same cod

Re: Starting Tomcat in Apache

2001-03-18 Thread Milt Epstein
On Sun, 18 Mar 2001, Peter Bernard West wrote: > Kenneth, > > I don't know enough about the Win environment. In the absence of a > return value for the script, everything becomes uncertain. Under > linux, tomcat is started in the background, and I assume the same > thing is happening under Win

RE: Is ajp12 a necessity..if so why

2001-03-18 Thread Milt Epstein
On Sun, 18 Mar 2001, Andy wrote: > Although I wouldn't normally answer this kind of question as the > answer is well documented, I can see where one only using tomcat > would not feel compelled to read the mod_jk or mod_jserv > documentation. > > You can remove the ajp12 connector.. however...to

servlet mapping under tomcat4

2001-03-18 Thread cgokey
Hi everyone, I'm having trouble getting servlet mapping to work under Tomcat 4.0-1-b1. In previous version of Tomcat, it was enough to just put your servlet mapping class in the "classes" directory under $TOMCAT_HOME and add this to your web.xml file: PyServlet

Re: How to get rs.last() supported by Tomcat

2001-03-18 Thread Scott Walter
First of all are you using a JDBC 2.0 driver? How are you creating your statement object. By default statement objects are forward-only. You need use a onverloaded version of the createStatement() method to make it scrollable, which is needed for the last() method. Check the jdk api docs for

RE: Is ajp12 a necessity..if so why

2001-03-18 Thread Andy
Although I wouldn't normally answer this kind of question as the answer is well documented, I can see where one only using tomcat would not feel compelled to read the mod_jk or mod_jserv documentation. You can remove the ajp12 connector.. however...tomcat will no longer shutdown correctly. Mean

How to get rs.last() supported by Tomcat

2001-03-18 Thread Jack Li
Hello, I need help on JDBC 2.0. I have Apache, Tomcat 3.2.1 and jdk1.3. But I can't call JDBC 2.x methods such as rs.last(). Any ideas? Thanks, Jack

Re: problem with JSP displaying broken image link

2001-03-18 Thread William Brogden
> jdh wrote: > > I have been having trouble displaying images from my JSP(s). It > seems like all my images that exist on http://www.geocities.com come > up as broken image links.Is there a bug in the JSP server? I can > display those images as plain .html file but not in my JSP. > >

Re: Tomcat SSL context or directory

2001-03-18 Thread Mark W . Webb
I am not sure how you can set up SSL for only certain context sections. If you use virtual hosts in apache you should be able to set up different directories with different security levels. This is what I am trying to do, but the virtual host in apache cannot server jsp or servlets right now.

Re: Starting Tomcat in Apache

2001-03-18 Thread Peter Bernard West
Kenneth, I don't know enough about the Win environment. In the absence of a return value for the script, everything becomes uncertain. Under linux, tomcat is started in the background, and I assume the same thing is happening under Windows. The uncertainty is in the timing of the startup of ja

Error when apachectl startssl

2001-03-18 Thread Yefym . Dmukh
Subject: when apache+ssl starting -error:line 240 httpd.conf(loading libssl.so ) -error occurs-"Can not load libexec/libssl.so.0 " or something like this Solve: copy opennssl/lib* to apache_home/libexec Bye! Certainly! this is not a clear way. The problems are in pathes. I believe