Netscape Crisis

2001-07-28 Thread Ewan Makepeace

Please note: I am NOT subscribed to this list, as my ISP does not give me
enough space to cope with the level of traffic it generates. Please cc me
personally on any reply. Thanks.

I have a commercial Java application running under Tomcat [was 3.2.1, now
3.2.2] for the last 4 months. Tomcat has been fantastic, I am extremely
happy with it. However I have added extensive help files with lots of
graphics and last month had two partial server hangs, which I assumed might
be the effect of putting too much regular server load on Tomcat. Therefore I
decided to install Apache [on 80] and let Tomcat be delegated the servlet
requests [on 8080].

I set this up as follows:

1. include include c:/tomcat/conf/mod_jk.conf-auto to httpd.conf
2. copy mod_jk.dll to c:/program files/apache group/apache/modules
2. uncomment LoadModule jserv_module modules/ApacheModuleJServ.dll at
tomcat.conf
3. uncomment ApJServDefaultHost localhost at tomcat.conf
4, add at tomcat.conf
DocumentRoot c:/tomcat/webapps/root

Directory c:/tomcat/webapps/root
Options Indexes FollowSymLinks
#   Options -Indexes
/Directory

Location c:/tomcat/webapps/root/WEB-INF/
AllowOverride None
deny from all
/Location

and it runs fine. I tested it and notified the client that I would roll out
the new version on Monday. Today I have realised that although it works fine
on MS IE, it does not work with Netscape Communicator [versions 4.75 or
6.0]. What happens is that regular pages are served OK but my servlets get
displayed as raw HTML. If I modify the URL to access port 8080 instead the
page gets displayed correctly, so the problem seems to be related to the
Apache/Tomcat handoff.

I suspect this is a known problem, but I couldn't see any reference in the
FAQ. I wouldn't bother you guys on the mailing list if I hadn't already
promised a Monday delivery...

Thanks in advance for any pointers,
rgds
Ewan Makepeace


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




where to find ODBC-JDBC Bridge for Linux/Tomcat

2001-07-28 Thread wxgu



Hi All
where to find ODBC-JDBC Bridge for Linux/Tomcat?

TIA

BOB


Servlet handling Apache errors

2001-07-28 Thread Thomas Osterlie

Hi,

For days I've been searching the Internet for clues as to how to solve
this problem. I'm using Tomcat 3.2.3 connected to Apache 1.3.19 through
mod_jk.

The situation is as follows: when Apache comes up with a 404 error we're
using Apache's ErrorDocument to pass control on to a new program which
searches the files availbale to the web server for possible file name
matches according to certain criterias. These possible matches are
returned as links in the 404 error page. We used to do this by pointing
the ErrorDocument 404 to a PHP page.

With PHP this is simple, as we can make use of Apache's environment
variables to figure out the original request URI. A new customer is
interested in the same functionality, but wants us to use servlet instead
of PHP.

My Apache server, foo.bar, has

  ErrorDocument 404 /myServlet/errorHandler

in its httpd.conf.

When a client requests http://foo.bar/foobar.html and foobar.html doesn't
exist, a 404 error occurs. Because of the ErrorDocument directive in
httpd.conf, Apache invokes the errorHandler servlet. However, no traces of
the original request to http://foo.bar/foobar.html is available to the
servlet. Servlets run out of Apache's process space and therefore
has no access to Apache's environment variables, so we saw this one
coming.

However, in order to search for likely candidates to be returned with the
error page, this information needs to be made available to the servlet in
some way or another. Anyone got any clue as to how we may solve this
situation? Is it possible to pass some of the environment variables as
paramters in the ErrorDocument directive?

Thanks,

Thomas Osterlie
Consultant, ConsultIT A/S
URI: http://www.consultit.no
E-mail: [EMAIL PROTECTED]





white space in JSP - question from a newbie

2001-07-28 Thread Rodney J. Lucas



I ran across a problem while trying to learn how to program with tomcat/jsp.

I was running a simple case statement and got an error stating Statement
not reached.
=
Error: 500
Location: /lucas/switch.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for
JSPC:\bin\tomcat\3.2.3\work\localhost_8080%2Flucas\_0002fswitch_0002ejspswit
ch_jsp_3.java:74: Statement not reached.
out.write(\t\r\n\r\n);
^
===

I couldn't figure this out for a while until I understood out how to view
the java produced by the jsp code.  Because my case statement had
whitespaces between jsp tags the jasper engine decided to produce out.write
statements in the wrong place.

I modified my jsp to work but I wanted to ask if this was a bug.
I can just format my code differently, but it seems like a error other
newbies would make and I am sure it can get a bit nastier with more
complicated code. Is this behaviour part of the spec or can I expect
different implementations to behave differently.

Rodney

Here is a listing to reproduce the error.  I have fixed most of the
whitespace problem exept for the case statement just before monday.

==
%!
java.util.Calendar todaysDate= java.util.Calendar.getInstance();
int myDay = todaysDate.get(todaysDate.DAY_OF_WEEK);
%

html
head
titleSWITCH/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head

body bgcolor=#FF text=#00
pfont size=-1 color=red

% switch (myDay) {
case 1: %
Today is Sunday
%  break; %

%  case 2: %
Today is Monday
%  break;

case 3: %
Today is Tuesday
%  break;
case 4: %
Today is Wednesday
%  break;
case 5:%
Today is Thursday
%  break;
case 6: %
Today is Friday
%  break;
case 7: %
Today is Saturday
%  break;
default: %
Invalid day of the week:
%  break;
} %

/font/p
/body
/html




Re: Tomcat on FreeBSD

2001-07-28 Thread Tim O'Neil

At 06:32 AM 7/27/2001, you wrote:
Hello all,

I try to install Tomcat on a Freebsd 5.0 and i don't find a recent jdk.

Could you tell me what version you use if you're on FreeBSD ?
[only jdk1.18 is available for FreeBSD no ?]

(for exemple i will try the JDK + Linux emulation but i'm afraid by
the performance : if somebody could give me a feedback i will greatly
appreciate).

Thanks per advance,

--
  [EMAIL PROTECTED]

  INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4 92 38 50 41
  06902   SOPHIA-ANTIPOLIS cedex (France)Fax: (33/0) 4 92 38 76 02

PS : I have already sign the petition for porting a recent version of
the
JDK under BSD.

Well, there may not be a port, ever, and it has nothing
to do with the will of the fBSD proting team. Read
http://www.freebsd.org/cgi/url.cgi?ports/java/jdk12-beta/pkg-descr
So you can have Java 2 on fBSD now, you'll simply have to build it.




PWS tomcat problem-UCBUS

2001-07-28 Thread ucbus ucbus

Could somebody help me on this.
I have IIS and Tomcat on NT4.0 and could configure successfully. Means that 
the examples  example is working fine. However when I am trying to add my 
MQ wOrkflow application as a web application I am getting the following 
error. The web-appliction need to work in separate directory. ANy help in 
this regard is higly appreciated

404- page not found and the isapi log says

[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL
parameter
[jk_uri_worker_map.c (185)]: In k_uri_worker_map_t::uri_worker_map_free,
NULL parameters
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server

Could somebody help me
UCBUS


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




RE: where to find ODBC-JDBC Bridge for Linux/Tomcat

2001-07-28 Thread Reynir Hbner



its 
in your jdk 1.3 installation ... its just a standard component u dont need 
to install anything more, u should be albe just to use the bridge right 
away.
But 
Ive been testing the bridge with poor results, I especially had problems with 
preparedstatements  the keyword LIKE.
Im 
using NT though, but I think it should be the same...

hope 
it helps, 
-Reynir


  -Original Message-From: wxgu 
  [mailto:[EMAIL PROTECTED]]Sent: Saturday, July 28, 2001 9:48 
  AMTo: [EMAIL PROTECTED]Subject: where to 
  find ODBC-JDBC Bridge for Linux/Tomcat
  Hi All
  where to find ODBC-JDBC Bridge for 
Linux/Tomcat?
  
  TIA
  
  BOB


libocijdbc8.so: cannot open shared object file: No such file ordirectory (libocijdbc8.so)

2001-07-28 Thread Mehul S Dave

Hello.
 Hi it was going all fine.
 I am using JDBC . oci8 for Oracle Driver
 it was working well  very fine  
 suddenly now whenever i invoke an servlet of any JDBC driver
 this error comes.

  Error :java.lang.NullPointerException:
2001-07-29 21:50:59 - Ctx( /sdsi ): Exception in: R( /sdsi +
/servlet/sdsi.sdsi
+ null) - java.lang.UnsatisfiedLinkError: no ocijdbc8 in shared library
path
at java.lang.Runtime.loadLibrary(Runtime.java)
at java.lang.System.loadLibrary(System.java)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at
oracle.jdbc.driver.OracleConnection.init(OracleConnection.java)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:83)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
at sdsi.sdsi.doGet(sdsi.java:29)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4
05)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372
)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:812)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
at java.lang.Thread.run(Thread.java)

Please help.
Thanks in Advance


*
Mehul S Dave
Scientific Officer, (STCS Dept.),
Tata Institute of Fundamental Research
Phone - 2152971 Extn - 2372
Mumbai .
webpage:- http://www.csc.tifr.res.in/~mehul
*




Re: PWS tomcat problem-UCBUS

2001-07-28 Thread Tim O'Neil

At 07:59 AM 7/28/2001, you wrote:
Could somebody help me on this.
I have IIS and Tomcat on NT4.0 and could configure successfully. Means 
that the examples  example is working fine. However when I am trying to 
add my MQ wOrkflow application as a web application I am getting the 
following error. The web-appliction need to work in separate directory. 
ANy help in this regard is higly appreciated

404- page not found and the isapi log says

[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL
parameter
[jk_uri_worker_map.c (185)]: In k_uri_worker_map_t::uri_worker_map_free,
NULL parameters
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server
[jk_isapi_plugin.c (355)]: jk_ws_service_t::write, WriteClient failed
[jk_ajp12_worker.c (601)]: ajpv12_handle_response, error writing back to
server

Could somebody help me
UCBUS

You add a copy of your server.xml and .properties file so we can
see what it's lacking.





how to connect a remote MS-SQL server?

2001-07-28 Thread Jerry QU



Hi All,

How to connect to a remote (Not at the same machine) MS-SQL 
database using JDBC-ODBC bridge?

looking for a simplesample code

TIA

Jerry Qu


Re: how to connect a remote MS-SQL server?

2001-07-28 Thread Tim O'Neil

At 10:52 AM 7/28/2001, you wrote:
Hi All,

How to connect to a remote (Not at the same machine) MS-SQL database using 
JDBC-ODBC bridge?

looking for a simple sample code

Do you have the ms-sql client on your client machine? If so
configure it for tcp/ip and then connect with the same jdbc
code you would use for any data source.




Re: Apxs problem

2001-07-28 Thread Jerry QU

I have the same error on linux, so I use binary from www.apache.org

Jerry

- Original Message - 
From: Mykola A. Nickishov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 28, 2001 6:51 AM
Subject: Re: Apxs problem


 Aaron Cooper [EMAIL PROTECTED] writes:
 
  I re-installed the apache web server , building it from source.  Now I am trying 
to configure tomcat with apache using the mod_jk web adapter.  However, when I run 
apxs, it produces the following message:
  
  gcc -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE -
  DSHARED_MODULE -I/usr/local/apache/include -I../common -I/opt/java1.2/include -I
  /opt/java1.2/include/hp-ux -DHPUX11GCC  -c ../common/jk_ajp12_worker.c
  apxs:Break: Command failed with rc=255
  Error with apxs
 
 I have the same :(
 
 -- 
 ICQ #83060237
 MAN-UANIC NIK6-RIPE
 



Re: how to connect a remote MS-SQL server?

2001-07-28 Thread Jerry QU

but, the client is on a linux machine...then How?

thanks

Jerry


  
- Original Message - 
From: Tim O'Neil [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 29, 2001 1:47 AM
Subject: Re: how to connect a remote MS-SQL server?


 At 10:52 AM 7/28/2001, you wrote:
 Hi All,
 
 How to connect to a remote (Not at the same machine) MS-SQL database using 
 JDBC-ODBC bridge?
 
 looking for a simple sample code
 
 Do you have the ms-sql client on your client machine? If so
 configure it for tcp/ip and then connect with the same jdbc
 code you would use for any data source.
 



Re: how to connect a remote MS-SQL server?

2001-07-28 Thread Tim O'Neil

At 10:59 AM 7/28/2001, you wrote:
but, the client is on a linux machine...then How?

I came up with this after simply entering mssql linux client
in google: http://www.freetds.org/, looks promising after a
glance.
Want more? Do the same.




build mod_jk.so error on aix4.3

2001-07-28 Thread Vibanu

 problem on aix4.3.3, apache  1.3 and tomcat 3.2  I will really appreciate if 
anyone could help...

I issued the following command:

make -f Makefile.linux mod_jk.so

and it ended with the following error:
.. something
.. something
..
..
../jk/jk_uri_worker_map.c, line 62.65: 1506-342 (W) /* detected in 
comment.
../jk/jk_uri_worker_map.c, line 242.77: 1506-342 (W) /* detected in 
comment.
../jk/jk_uri_worker_map.c, line 243.44: 1506-342 (W) /* detected in 
comment.
ld -H512 -T512 -bhalt:4 -bM:SRE -bnoentry 
-bl:/usr/local/apache/libexec/httpd.exp -lc -o mod_jk.so jk_uri_worker_map.o 
jk_map.o jk_sockbuf.o jk_lb_worker.o jk_ajp13_worker.o jk_worker.o jk_pool.o 
jk_jni_worker.o jk_ajp13.o jk_util.o jk_msg_buff.o jk_connect.o 
jk_ajp12_worker.o mod_jk.o 
id:0711-244 ERROR: NO CSECTS OR EXPORTED SYMBOLS HAVE BEEN SAVED.
APXS:BREAK: COMMAND FAILED WITH RC=8
MAKE: 1254-004 THE ERROR CODE FROM THE LAST COMMAND IS 1.

STOP.


.



Re: how to connect a remote MS-SQL server?

2001-07-28 Thread Jim Seach

If you're looking for a commercial solution, we've had
good results with the inet Opta 2000 jdbc driver for
SQL Server.  Licenses start  at $399.

see
http://www.inetsoftware.de/English/Produkte/OPTA/default.htm

Jim
--- Tim O'Neil [EMAIL PROTECTED] wrote:
 At 10:59 AM 7/28/2001, you wrote:
 but, the client is on a linux machine...then How?
 
 I came up with this after simply entering mssql
 linux client
 in google: http://www.freetds.org/, looks promising
 after a
 glance.
 Want more? Do the same.
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Apache cannot connect to Tomcat

2001-07-28 Thread Kelly E. Grooms

Hello,

I've scoured the web and all the Tomcat lists that I can find and still
cannot solve this error.  Everything works fine through port 8080 as
stand-alone, but when I try accessing Tomcat through Apache the page times
out with no output from the JSP.  Afterward my mod_jk.log file contains:

[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 110
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

I compiled mod_jk.so myself.  I've added mod_jk.conf-auto to my httpd.conf
file.  I altered workers.properties to reflect my JAVA_HOME, TOMCAT_HOME and
file separator (/).  I have _not_ added the connector for ajp13 to my
server.xml file.

Here is my configuration:

Mandrake Linux 8.0
Apache 1.3.19
Java 1.3.1 (from Sun)
Tomcat 3.2.3

I've installed older versions of Tomcat on other configurations in the past
and did not have this much trouble.  I'm beginning to feel very discouraged.
Can anyone help?  Thanks.

Kelly E. Grooms
[EMAIL PROTECTED]




how to send email from jsp?

2001-07-28 Thread Jerry QU



Hi All

how to send email from jsp (tomcat on linux)?

TIA

Jerry




jdbc odbc bridge on linux

2001-07-28 Thread Jerry QU



Hi All,

I posted question about how to use Sun's jdbc.odbc bridge from 
jsp on linux to access SQL server on windows. because all examples I saw were 
using LOCALdsn like jdbc:odbc:dsnName. but how to do it if theJSP is 
onlinux and the SQL server is on a remotehost.

something like jdbc:odbc:@host:port:DB_name(or 
DSN)???

I am kind of confused!!

TIA

Jerry





Re: Apxs problem

2001-07-28 Thread Mykola A. Nickishov

Aaron Cooper [EMAIL PROTECTED] writes:

 I re-installed the apache web server , building it from source.  Now I am trying to 
configure tomcat with apache using the mod_jk web adapter.  However, when I run apxs, 
it produces the following message:
 
 gcc -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE -
 DSHARED_MODULE -I/usr/local/apache/include -I../common -I/opt/java1.2/include -I
 /opt/java1.2/include/hp-ux -DHPUX11GCC  -c ../common/jk_ajp12_worker.c
 apxs:Break: Command failed with rc=255
 Error with apxs

I found answer in posting by Scott Tatum from April, 25:
You should edit the $APACHE_HOME/bin/apxs file (it's a perl
script). You should see some lines like this after initial comments
are done: 

--- before ---
my $CFG_LD_SHLIB  = q();  # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(); # substituted via Makefile.tmpl 
my $CFG_LIBS_SHLIB= q();# substituted via Makefile.tmpl 

--- after ---
my $CFG_LD_SHLIB  = q(gcc);  # substituted via Makefile.tmpl
my $CFG_LDFLAGS_SHLIB = q(-shared); # substituted via Makefile.tmpl 
my $CFG_LIBS_SHLIB= q();# substituted via Makefile.tmpl 

In my case this solve the problem :)

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE



Re: how to send email from jsp?

2001-07-28 Thread Jim Seach

Have you looked at the JavaMail API from Sun:

http://java.sun.com/products/javamail/index.html

Jim

--- Jerry QU [EMAIL PROTECTED] wrote:
 Hi All
 
 how to send email from jsp (tomcat on linux)?
 
 TIA
 
 Jerry
 
 
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: jdbc odbc bridge on linux

2001-07-28 Thread Jim Seach

The jdbc odbc bridge requires an odbc driver on the
local machine.  The local datasource then points to
the remote machine that the server is on, rather than
the JDBC URL.  The jdbc odbc driver is also not
multi-threaded, so not a good choice for using with
Tomcat.

I'm not aware of any free jdbc drivers that will work
with SQL Server, but there are a number of commercial
solutions.  I use the OPTA 2000 driver from
www.inetsoftware.de.

Hope this helps,

Jim
--- Jerry QU [EMAIL PROTECTED] wrote:
 Hi All,
 
 I posted question about how to use Sun's jdbc.odbc
 bridge from jsp on linux to access SQL server on
 windows. because all examples I saw were using LOCAL
 dsn like jdbc:odbc:dsnName. but how to do it if the
 JSP is on linux and the SQL server is on a remote
 host.
 
 something like jdbc:odbc:@host:port:DB_name(or
 DSN)???
 
 I am kind of confused!!
 
 TIA
 
 Jerry
 
   
  
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: how to send email from jsp?

2001-07-28 Thread guru

This is a FAQ.  Search http://www.jguru.com/faq/Servlets for email.

 - Alex

On Sun, Jul 29, 2001 at 06:17:51AM +0800, Jerry QU wrote:
 Hi All
 
 how to send email from jsp (tomcat on linux)?
 
 TIA
 
 Jerry
 
 

-- 
Alex Chaffee   mailto:[EMAIL PROTECTED]
jGuru - Java News and FAQs http://www.jguru.com/alex/
Creator of Gamelan http://www.gamelan.com/
Founder of Purple Technology   http://www.purpletech.com/
Curator of Stinky Art Collective   http://www.stinky.com/



RE: jdbc odbc bridge on linux

2001-07-28 Thread Emir Alikadic (ADNOC IST)

Repost your question in plain text instead of RTF and I'll help you.

Regards, 



Emir.

 
-Original Message-
From: Jerry QU [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 29, 2001 2:45 AM
To: [EMAIL PROTECTED]
Subject: jdbc odbc bridge on linux


Hi All,

I posted question about how to use Sun's jdbc.odbc bridge from jsp on linux
to access SQL server on windows. because all examples I saw were using LOCAL
dsn like jdbc:odbc:dsnName. but how to do it if the JSP is on linux and the
SQL server is on a remote host.

something like jdbc:odbc:@host:port:DB_name(or DSN)???

I am kind of confused!!

TIA

Jerry

  



Help with file exists in same context.

2001-07-28 Thread Tia Haenni

I have a servlet which dispatches to other servlets in the same context
through a RequestDispatcher object. I want to provide some guard-rails by
checking if the class file for the receiving servlet exists in the context.
Any direction/advice is much appreciated. TIA

Tia




Re: jdbc odbc bridge on linux

2001-07-28 Thread Pier P. Fumagalli

Emir Alikadic (ADNOC IST) at [EMAIL PROTECTED] wrote:
 
 Repost your question in plain text instead of RTF and I'll help you.

It _was_ also in plaintext, and the second part of the mime was in HTML, not
RTF... I'm not a fan of HTML, but, IMNSHO, this is just plain rude...

Pier




RE: jdbc odbc bridge on linux

2001-07-28 Thread Emir Alikadic (ADNOC IST)

 -Original Message-
 From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, July 29, 2001 8:33 AM
 To: [EMAIL PROTECTED]
 Subject: Re: jdbc odbc bridge on linux
 
 
 Emir Alikadic (ADNOC IST) at [EMAIL PROTECTED] wrote:
  
  Repost your question in plain text instead of RTF and I'll help you.
 
 It _was_ also in plaintext, and the second part of the mime 
 was in HTML, not
 RTF... I'm not a fan of HTML, but, IMNSHO, this is just plain rude...
 
 Pier
 

What is rude was his posting on the list in format other than plain text.
Read the list's FAQ if you don't understand.

The number of fancy-formatted messages is on the rise and if we don't nip
this in the bud, we may find ourselves in a position where folks who don't
use the latest version of $MAILCLIENT are unable to read the messages.  I
myself use MS Outlook 2000 but I have no right to assume what the others are
using.  Hence the warning in the FAQ.

This is not my first post on this topic and I'm afraid it won't be the last.
I'm just trying to create awareness of the problem and I realise I sometimes
have to resort to not-so-nice means to draw the subscribers' attention to
it.  If I can convince one person not to use formatted messages on the list,
I'll be a happy man.

I don't claim to be an all-knowing guru, but what I do know I will not share
with those who are arrogant enough not to respect the rules of the list
they're asking for help from.

Regards,



Emir.



Re: Buggy JSP app

2001-07-28 Thread Craig R. McClanahan



On Fri, 27 Jul 2001, phil_k wrote:

 Hi
 
 any good Samaritans out there who feel generous?
 
 I have been asked to install a JSP 1.2 application, that refuses to run, the
 current error I am getting is:
 
 A Servlet Exception Has Occurred
 org.apache.jasper.JasperException: Unable to compile class for
 JSPI:\tomcat\jakarta-tomcat-4.0-b5\bin\..\work\localhost\_\tsheet\docs\login
 _jsp.java:3: Package code.tsheet not found in import.
 import code.tsheet.*;
^
 
 the code referred to has been unjared and resides under the root folder of a
 tomcat 4.05b installation. It also exists in the jar file in the root folder
 and has been pointed to explicitly in the classpath environment variable.
 
 CLASSPATH=F:\jdk1.3.1\lib;%CLASSPATH%;c:\jspapp;I:\tomcat\jakarta-tomcat-4.0
 -b5\webapps\ROOT\ts-classes.jar

You don't want to do this (Tomcat 4 ignores your class path variable
anyway).

What you do want to do is put the JAR file in the right place.  The
choices are:

* If the JAR file should only be visible to a single web application,
  place it inside the /WEB-INF/lib directory of that application.

* If the JAR file should be visbile to all web applications, place it
  inside the $CATALINA_HOME/lib directory (for you, that probably means
  I:\tomcat\jakarta-tomcat-4.0-b5\lib).

Craig McClanahan