RE: I admit it -- I'm too lazy to read the documentation

2001-09-06 Thread Cory Powers

Don't forget that you need to be root to open ports below 1024 for listening
on Linux.

-Original Message-
From: Curtis Dougherty [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 4:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: I admit it -- I'm too lazy to read the documentation


You have an additional file to change to make TOMCAT work on any port lower
than 1024...

-Original Message-
From: Brent Hughes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 8:40 AM
To: [EMAIL PROTECTED]
Subject: RE: I admit it -- I'm too lazy to read the documentation


I was just kidding I'm not really that lazy. I just thought someone would
respond faster if I said that.

I actually already tried to change the one in server.xml to port 80 before I
sent the email. That was probably pretty stupid but I thought it might work
anyway. A full text search of the conf directory only revealed two instances
of 8080, and I tried changing them both to 80, but the thing stopped
working. ***Is what I'm trying to do even possible, or is Tomcat just
designed to require a numerical extension to the URL?*** If it is, that's
okay. I just thought it would be cooler if my URL remained constant.

Did it stop working because of a port conflict on 80?

I actually read most of the docs, and I text searched the doc directory for
8080. Most of the results were just hyperlink examples.

Thanks,
Brent

///
///

-Original Message-
From: Thomas Cherry [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 6:39 AM
To: [EMAIL PROTECTED]
Subject: Re: I admit it -- I'm too lazy to read the documentation


Since you are lazy, why stop with reading at all, just grep the config files
for 8080 and hope it's the right one.

- Original Message -
From: "Brent Hughes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 06, 2001 7:32 AM
Subject: I admit it -- I'm too lazy to read the documentation


> I have the thing running...
> It only works on localhost:8080 though...
> I need to get rid of this 8080 thing.
> If you guys could point me to the right
> section of the docs it would be a big help.
>
> Thanks,
> Brent
>



RE: Is someone attempting to hack my server's tomcat 3.2.3?

2001-08-06 Thread Cory Powers

Try this link

http://aris.securityfocus.com/alerts/codered2/

-Original Message-
From: Jeff Rancier [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 8:42 AM
To: [EMAIL PROTECTED]
Subject: RE: Is someone attempting to hack my server's tomcat 3.2.3?


I am seeing similar messages.

-Original Message-
From: Kasnol (2001) [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 05, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: Is someone attempting to hack my server's tomcat 3.2.3?


Hello all,

I am using tomcat 3.2.3, windows 2000 professional at my home, upon
occasional inspection of my tomcat log,  an intresting, strange error is
observed and enclosed below. I only can caputure 200 lines from my log
screen, but below is the best bit of the tomcat output. The full version is
appended below to my message:

Parse error, missing : in  ccept: */*
t
Full  GET
/default.ida?N




NNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7
801%
u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a  HTTP/1.0
Content-type: text/xmlHOST:www.worm.com Accept: */*
trol: bypass-client=202.156.138.27
Connection: closeVia: 1.0 HHCE3X-Forwarded-For: 202.156.138.27

I can tell that someone is trying to access via GET method, and
default.ida(?) or  is it downloading somestuff somewhere in the net?

I believe it can be somehow related to the recent worm scare at win2k.
Is someone trying to implant a worm in my computer, or is this something
tomcat, win2k,  is vulnerable to ?
I haven't seen anything wrong with my computer yet... but I guess I should
start a full visurs scan

Thankx!
Any help/light is appreciated
Regards
Kas

/* Log Description ***/
2001-08-05 19:53:07 - ContextManager: Error reading request, ignored -
java.lang
.NumberFormatException: 3379
at java.lang.Integer.parseInt(Integer.java:423)
at java.lang.Integer.parseInt(Integer.java:463)
at
org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java:
284)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:200)
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:484)

Parse error, missing : in  ccept: */*
t
Full  GET
/default.ida?N




NNN%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7
801%
u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a  HTTP/1.0
Content-type: text/xmlHOST:www.worm.com Accept: */*
trol: bypass-client=202.156.138.27Connection: closeVia: 1.0
HHCE3X-Forward
ed-For: 202.156.138.27

2001-08-05 19:55:27 - Ctx(  ): 404 R(  + /default.ida + null) null
2001-08-05 20:10:54 - ContextManager: Error reading request, ignored -
java.lang
.NumberFormatException: 3379
at java.lang.Integer.parseInt(Integer.java:423)
at java.lang.Integer.parseInt(Integer.java:463)
at
org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java:
284)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:200)
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:484)

2001-08-05 20:23:28 - ContextManager: Error reading request, ignored -
java.lang
.NumberFormatException: 3379
at java.lang.Integer.parseInt(Integer.java:423)
at java.lang.Integer.parseInt(Integer.java:463)
at
org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java:
284)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:200)
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:484)

2001-08-05 20:29:41 - ContextManager: Error reading request, ignored -
java.lang
.NumberFormatException: 3379
at java.lang.Integer.parseInt(Integer.java:423)
at java.lang.Integer.parseInt(Integer.java:463)
at
org.apache.tomcat.core.RequestImpl.getContentLength(RequestImpl.java:
284)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:200)
at

RE: Problems when connecting JSP and Oracle

2001-08-01 Thread Cory Powers

enclose the username and password variables in quotes

String username="user_xx";
String password="xxx";

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 11:24 AM
To: [EMAIL PROTECTED]
Subject: Problems when connecting JSP and Oracle


Hi!

I am trying to publish this page:

//


<%@ page import="java.sql.*" %>
<%
String url = "jdbc:pool:oracle:thin:@localhost:1521:MY_DB";
String username=user_xx;
String password=xxx;
Connection conn = DriverManager.getConnection(url, username,
password);
Statement stat = conn.createStatement();
ResultSet result = stat.executeQuery("SELECT * FROM MY_TABLE");
result.next();
int n = result.getInt(1);
result.close();
n++;
stat.executeUpdate("UPDATE DBTest SET Tested = " + n);
%>
  Database test executed <%= n %> times.
<%
conn.close();   
%>
  
   


But I get this error:

org.apache.jasper.JasperException: Unable to compile class for
JSP/usr/lib/jakarta-tomcat-3.2.3/work/localhost_8080/_0002fdb_0002ejsp
db_jsp_1.java:65: Undefined variable: user_xx
String username=user_xx;
^
/usr/lib/jakarta-tomcat-3.2.3/work/localhost_8080/_0002fdb_0002ejspdb_
jsp_1.java:66: Undefined variable: xxx
String password=xxx;

What am I doing wrong?

-
This mail was sent through Eoffice: http://www.eoffice.dk



RE: image resize

2001-07-31 Thread Cory Powers

I'm not sure, but there is good info on working with images on the jguru
site. Try http://www.jguru.com/faq/home.jsp?topic=Media


-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 11:13 AM
To: [EMAIL PROTECTED]
Subject: image resize


Hi, 
this is probably a bit of topic...
What would be the best way to resize images with servlet ?
I have .jpgs and .gifs in files (not kept in database) and I need to
create new files in different sizes from those images.
Is anyone willing to give me a hint (or more :) on how to do it. 

thanx
-r




RE: Tomcat & Frames

2001-07-20 Thread Cory Powers

I just change the frame name in index.html and update the javascript to
reflect the name change AFTER I have loaded the page at least once because
it only seems to happen when Tomcat is recompiling. BTW It happens on both
NS and IE so, I doubt it is really a browser bug...

-Original Message-
From: RV Tobin [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 11:31 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat & Frames


Hi Corey,

I am going to have to go through my pages.  I know that there are a couple
of places where I refresh the left nav area frame using a page in the main
frame.  Perhaps this could be the cause.  What exactly did you do about it?

Thanks for all the info.  I really appreciate all your help.

Val

- Original Message -
From: "Cory Powers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 10:44 AM
Subject: RE: Tomcat & Frames


> I have forwarded 2 responses I got on the dev list to this list.
>
> For me the problem is related to a JavaScript I have in one frame that
> reloads the other one. Now, this should not cause any problems because
there
> is no loop involved but, it does. If I remove that JavaScript line before
I
> change the jsp page in that frame everything will work ok. Then I put the
> line back and everything works good. This is probably kind of confusing
> e-mail me if you want me to send the pages so you can look at it...
>
> Cory
>
> -Original Message-
> From: RV Tobin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 20, 2001 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: Tomcat & Frames
>
>
> Corey, have you had a response to that bug report you filed regarding the
> problem with Tomcat and frames not loading correctly?  It seems that the
> problem gets better for a while, which makes you think that something you
> did fixed it, when in reality, it is just lying dormant like some
gestating
> alien life form waiting for the right point in development where it can
> burst forth again.
>
> Sometimes, restarting Tomcat and Apache helps.  Sometimes I reboot the
whole
> machine, and other times, even that does not work.  Then, I just have to
> wait until it decides to play nice again.  It is always the .jsp pages
that
> don't load, though.  The frame containing the .html page loads fine, and
> that has a link to another .html page which also loads fine when clicked.
>
> Val
>



RE: Tomcat & Frames

2001-07-20 Thread Cory Powers

I have forwarded 2 responses I got on the dev list to this list. 

For me the problem is related to a JavaScript I have in one frame that
reloads the other one. Now, this should not cause any problems because there
is no loop involved but, it does. If I remove that JavaScript line before I
change the jsp page in that frame everything will work ok. Then I put the
line back and everything works good. This is probably kind of confusing
e-mail me if you want me to send the pages so you can look at it...

Cory

-Original Message-
From: RV Tobin [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: Tomcat & Frames


Corey, have you had a response to that bug report you filed regarding the
problem with Tomcat and frames not loading correctly?  It seems that the
problem gets better for a while, which makes you think that something you
did fixed it, when in reality, it is just lying dormant like some gestating
alien life form waiting for the right point in development where it can
burst forth again.

Sometimes, restarting Tomcat and Apache helps.  Sometimes I reboot the whole
machine, and other times, even that does not work.  Then, I just have to
wait until it decides to play nice again.  It is always the .jsp pages that
don't load, though.  The frame containing the .html page loads fine, and
that has a link to another .html page which also loads fine when clicked.

Val



FW: Tomcat & Frames

2001-07-20 Thread Cory Powers

Here is the second option...

-Original Message-
From: Forrest R. Girouard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 3:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat & Frames



I could be wrong but I thought that if the server supports HTTP 1.1
and the client does not receive a 'connection: close' with the response
that it will re-use the connection.  This means that some of the multiple
simultaneous requests might be handled by the same connection and if the
server has a bug in it's handling of persistent connections one might
get an unexpected "connection reset by peer".   So, if all the other 
possibilities can be eliminated I would investigate the handling of
persistent connections.

Cheers,
Forrest


"Craig R. McClanahan" wrote:
> 
> Servers don't know anything about frames.  The only relevance it has in
> this context is the fact that your browser will typically do multiple
> requests (one per frame) simultaneously, up to some maximum -- typically
> 4.  This is the same reason you see multiple images being downloaded
> simultaneously (these are also done on separate requests).  In most
> browsers, the number of simultaneous requests is configurable somewhere.
> 
> The server is reporting "connection reset by peer" in the middle of a
> request.  That means one of the following things:
> * The browser started a request and the user pressed STOP.
> * The browser started an request in one frame and
>   JavaScript on another frame told it to go somewhere else (which
>   has the same effect as a user pressing STOP).
> * You have a meta refresh reload someplace that is firing so fast that
>   the previous request hasn't had a chance to complete yet.  The five
>   second periodicity makes me pretty suspicious of this.
> * You have some network component in between (a router or proxy) that
>   is misbehaving.
> * You have some completely separate connection attempts going on that
>   are disobeying the HTTP protocol (such as doing a telnet connection
>   to port 8080 and then disconnecting).
> 
> Craig
> 
> On Wed, 18 Jul 2001, Cory Powers wrote:
> 
> > That is what I would have thought to but, as I noted in the bug report,
I
> > can reproduce the error in IE and Netscape on multiple
platforms(different
> > versions of Windows and Linux). Please take a look at this, I think
there is
> > a real issue here. I'm trying to investigate deeper but this is my first
> > expirence with tomcat so I need figure out the code before I could
really
> > make any progress. Any pointers on where to look would be greatly
> > appreciated.
> >
> > BTW I have posted this to the user list and recieved reports of other
users
> > having the same issue but, the only resolution was to restart the server
and
> > this did not work for me, strange...
> >
> > Thanks,
> > Cory
> > [EMAIL PROTECTED]
> >
> > -Original Message-
> > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 18, 2001 11:59 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: Re: Tomcat & Frames
> >
> >
> > First, because servlet containers (and web servers, for that matter)
don't
> > have a clue about frames, it's 99.9% sure to be either an application
> > error, a browser bug, or else a harmless warning that the browser
> > stopped downloading one frame because some JavaScript in the page told
it
> > to do so.
> >
> > Second, these sorts of issues are better discussed on the TOMCAT-USER
> > mailing list.
> >
> > Craig McClanahan
> >
> > On Mon, 16 Jul 2001, Cory Powers wrote:
> >
> > > I am having issues using Tomcat with a frameset page that contains 4
> > frames,
> > > I do not have any problems with the same page when I reduce it to 3
> > frames.
> > > I have created a Bug in the Bugs Database(Bug #2605) and gotten no
> > response.
> > > Can someone please assist me in getting this solved. The Bug entry has
a
> > lot
> > > more detail.
> > >
> > > Thanks,
> > > Cory
> > > [EMAIL PROTECTED]
> > >
> >

-- 
Forrest Girouard @ Openwave Systems Inc.
phone: +1-650-480-4184
mailto:[EMAIL PROTECTED]
http://www.openwave.com




FW: Tomcat & Frames

2001-07-20 Thread Cory Powers

Here is one of the responses I've got on the dev list.

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 1:18 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat & Frames


Servers don't know anything about frames.  The only relevance it has in
this context is the fact that your browser will typically do multiple
requests (one per frame) simultaneously, up to some maximum -- typically
4.  This is the same reason you see multiple images being downloaded
simultaneously (these are also done on separate requests).  In most
browsers, the number of simultaneous requests is configurable somewhere.

The server is reporting "connection reset by peer" in the middle of a
request.  That means one of the following things:
* The browser started a request and the user pressed STOP.
* The browser started an request in one frame and
  JavaScript on another frame told it to go somewhere else (which
  has the same effect as a user pressing STOP).
* You have a meta refresh reload someplace that is firing so fast that
  the previous request hasn't had a chance to complete yet.  The five
  second periodicity makes me pretty suspicious of this.
* You have some network component in between (a router or proxy) that
  is misbehaving.
* You have some completely separate connection attempts going on that
  are disobeying the HTTP protocol (such as doing a telnet connection
  to port 8080 and then disconnecting).

Craig


On Wed, 18 Jul 2001, Cory Powers wrote:

> That is what I would have thought to but, as I noted in the bug report, I
> can reproduce the error in IE and Netscape on multiple platforms(different
> versions of Windows and Linux). Please take a look at this, I think there
is
> a real issue here. I'm trying to investigate deeper but this is my first
> expirence with tomcat so I need figure out the code before I could really
> make any progress. Any pointers on where to look would be greatly
> appreciated.
> 
> BTW I have posted this to the user list and recieved reports of other
users
> having the same issue but, the only resolution was to restart the server
and
> this did not work for me, strange...
> 
> Thanks,
> Cory
> [EMAIL PROTECTED] 
> 
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 18, 2001 11:59 AM
> To: '[EMAIL PROTECTED]'
> Subject: Re: Tomcat & Frames
> 
> 
> First, because servlet containers (and web servers, for that matter) don't
> have a clue about frames, it's 99.9% sure to be either an application
> error, a browser bug, or else a harmless warning that the browser
> stopped downloading one frame because some JavaScript in the page told it
> to do so.
> 
> Second, these sorts of issues are better discussed on the TOMCAT-USER
> mailing list.
> 
> Craig McClanahan
> 
> On Mon, 16 Jul 2001, Cory Powers wrote:
> 
> > I am having issues using Tomcat with a frameset page that contains 4
> frames,
> > I do not have any problems with the same page when I reduce it to 3
> frames.
> > I have created a Bug in the Bugs Database(Bug #2605) and gotten no
> response.
> > Can someone please assist me in getting this solved. The Bug entry has a
> lot
> > more detail. 
> > 
> > Thanks,
> > Cory
> > [EMAIL PROTECTED]
> > 
> 



RE: Unable to start tomcat server

2001-07-19 Thread Cory Powers



Put 
the following lines in your autoexec.bat file
 
set 
JAVA_HOME=c:\jdk1.3.1
set 
TOMCAT_HOME=C:\tomcat
 
change 
the paths to fit your system.
 
Cory

  -Original Message-From: Manish Pradhan 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 19, 2001 1:56 
  PMTo: [EMAIL PROTECTED]Subject: Unable to 
  start tomcat server
  
  Kindly explain to me how to configure java_home 
  or tomcat_home property.Because everytime ,I go tostart the tomcat webserver 
  3.2.2 on my windows 98 system & click on start up.bat there is a 
  message"you must set JAVA_HOME to point at your Java Development Kit 
  Installation.Kindly oblige.


RE: Class reloading

2001-07-19 Thread Cory Powers

I thought that was what the realoadable setting in server.xml was supposed
to do. Of course, I've never got it to work...

 


-Original Message-
From: John Baker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 8:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Class reloading


On Thursday 19 July 2001 12:50 pm, you wrote:
> does anyone know how this is in tomcat 4 ?
>
Oh, sorry. I was referring to Tomcat 4. It's all I use. I can't live without

the newer JSP/Servlet features.

> thanx
> -r
>
>
> -Original Message-
> From: Paul Foxton [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 10:23 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Class reloading
>
>
> AFAIK tomcat doesn't support automatic reloading of classes. You do have
> to
> restart.
>
> Paul
>
> > -Original Message-
> > From: John Baker [mailto:[EMAIL PROTECTED]]
> > Sent: 19 July 2001 11:36
> > To: [EMAIL PROTECTED]
> > Subject: Class reloading
> >
> >
> > Hello.
> >
> > If I write a class and use it in a jsp page, then change the
> > class, I have to
> > restart tomcat. Is there any way I can get around this, ie
> > tell tomcat to
> > reload the class (and forget about the cached loaded copy I
> > expect it has).
> >
> >
> > John
> >
> > --
> > John Baker, BSc CS.
> > Java developer, Linux lover.
> > I don't wanna rock, DJ.

-- 
John Baker, BSc CS.
Java developer, Linux lover.
I don't wanna rock, DJ.



RE: do i need ant to develop jsp pages with tomcat?

2001-07-19 Thread Cory Powers

Ant is such a powerful tool that I not only use it to compile and distibute
my source but, I've started using to do automated tasks in Widows such as,
backing up my source code. Try it, it can really make your life easier.

-Original Message-
From: Jim Cheesman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 4:56 AM
To: [EMAIL PROTECTED]
Subject: Re: do i need ant to develop jsp pages with tomcat?


At 10:31 AM 19/07/01, you wrote:
>hi,
>
>i am new to tomcat. i want to develop jsp pages that should interact with
>databases like mysql e.g. what is ant needed for? do i need it for simple
>jsp development. i just downloaded the tomcat binary and installed it. is
>that all i have to do?


You don't need ant for developing jsp pages - in fact, if all you're doing 
is jsp it's almost useless. BUT... you won't be only doing jsp, as you'll 
need beans and other classes (servlets, for example) to do the database 
access stuff, perhaps a few tags to help with the html, and so on. What ant 
can do is help build (compile, test, jar, distribute) these files, in a 
fairly simple way. (You'll probably have noted that tomcat as well as all 
the other jakarta projects are built using ant...)

If you're going to be doing any (semi)serious development, e.g. more than 
one package, more than 10 or so classes, I'd recommend investing the time 
in learning ant.





--

   *   Jim Cheesman   *
 Trabajo: 
[EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
   I have a twin brother; 
he's identical, but I'm not.




RE: IIS Redirect Issue

2001-07-18 Thread Cory Powers

Sounds like a filesystem premission thing, Do you need to add the
IUSR_ Account file access permissions in the tomcat dirs?

-Original Message-
From: Josh Kuebel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:47 AM
To: [EMAIL PROTECTED]
Subject: IIS Redirect Issue


I have configured Tomcat with IIS, using the Isapi_redirect.dll. The isapi
filter is up and running, and I have the jakarta virtual directory with
execute authority.

Yet, when I attempt to access the page, I can only get to it using the port
number of the tomcat engine (ex. mydomain.com:8080/path). If I leave out the
port, I get directed to a popup login screen with a header "Enter username
and password for unknown at 'domain name'" Is this a known issue. I am
running on Windows NT 4.0 SP6, with IIS 4.0. Tomcat v.3.2.1.

Any help would be appreciated

Thank you

Joshua M. Kuebel
[EMAIL PROTECTED]



RE: :80 x :8080

2001-07-18 Thread Cory Powers

Stop Apache and edit your server.xml file in $TOMCAT_HOME/conf, replace 8080
with 80 and restart tomcat.

-Original Message-
From: applein [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 9:19 AM
To: [EMAIL PROTECTED]
Subject: :80 x :8080


How to setup my linux box running tomcat in port 80 getting off apache?



RE: tomcat and oracle 8.1.6 for linux

2001-07-18 Thread Cory Powers

You can download the current Oracle drivers from otn.oracle.com, you must
sign up for a free ID. Go to http://otn.oracle.com/tech/java/sqlj_jdbc/ for
all the JDBC drivers. I use the pure Java drivers designed for JDK 1.2.x
with my installation. I am running 8.1.7 and JDK 1.3.

Cory


-Original Message-
From: Kelly Mismash [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 2:09 AM
To: [EMAIL PROTECTED]
Subject: Re: tomcat and oracle 8.1.6 for linux


No. You can use a newer version of the JDK with Tomcat. In production we 
are using Oracle 8.1.7, which I think is the same when it comes to the 
JDK, but in development we had been using Oracle 8.1.6. Our environment 
sounds exactly the same as you have described. From the very beginning 
we have been using JDK 1.3 without any problems.

kelly


Jerry Qu wrote:

> Hi All,
> 
>  
> 
> we have tomcat 3.2.1 and oracle 8.1.6 installed on a linux machine. 
> 
>  
> 
> from  the book : "Also note that 
> although other releases of 8.1.6 on other platforms support JDK 1.2 
> for JDBC application development, the 8.1.6.1.0 release of Orcale8i 
> for Linux does not ship with the classes necessary to support JDK 1.2 
> development"(p157)
> 
>  
> 
> we tried to use the jdbc classes from the oracle8i CD. it can only 
> work with JDK1.1.6 but not higher versions.
> 
>  
> 
> because the Jdbc classes are necessary and only from oracle8i CD ( ? I 
> can not find from oracle website).
> 
>  
> 
> Does it mean we Can Only use JDK1.1.6 as the Java engine of Tomcat 3.2.1?
> 
> Any alternative way such that higher Java Version could be used for 
> Tomcat with Oracle 8.1.6, like new oracle jdbc driver availabe or 
> specical setting that put higher java engine and the old Oracle Jdbc 
> driver together?
> 
>  
> 
> TIA
> 
>  
> 
>  
> 
> Jerry Qu
> 
>  
> 



RE: JDK 1.3.0...

2001-07-17 Thread Cory Powers

Or go to the archive at http://java.sun.com/products/archive/index.html

-Original Message-
From: Everitt, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 10:35 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JDK 1.3.0...


All olg JDKs are available on the Sun site, you just have to know where to
look, try going to:
http://java.sun.com/j2se/1.3.0/

Cheers,
Andi

Andrew Everitt
Xerox Mobile Solutions, Cambridge. UK 

> -Original Message-
> From: Dmitri Colebatch [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2001 14:05
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: JDK 1.3.0...
> 
> 
> I have 1.3.0_02 for linux if you want - or anyone else for 
> that matter.
> 
> [dim@dim dim]$ java -version
> java version "1.3.0_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_02)
> Java HotSpot(TM) Client VM (build 1.3.0_02, mixed mode)
> [dim@dim dim]$ 
> 
> cheesr
> dim
> 
> On Tue, 17 Jul 2001, Adam Fowler wrote:
> 
> > Hey all,
> > 
> > Sorry about sending this from a non-subscribed account - 
> I'm at work 8o)
> > 
> > I know a few people were looking for Java 2 SDK version 1.3 
> as opposed to
> > 1.3.1. A friend of mine, Paul, has the Windows install at
> > http://users.aber.ac.uk/pms/jdk/index.html if anyone wants 
> it. I'm still
> > looking for the linux version to put up.
> > 
> > Hope this helps,
> > 
> > Adam.
> > 
> > 
> > Adam Fowler
> > Help Desk Live Project
> > Information Services
> > University of Wales, Aberystwyth
> > E-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 



RE: Problems with install

2001-07-16 Thread Cory Powers

Which build of Tomcat? Is the server responding on port 8080?

-Original Message-
From: Mike Sanders [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Problems with install


I only got a list of 2. The first was the path statement and the second was
the grep... I thought that jserv was causing this problem before but now it
is not installed and the same error is appearing!

- Original Message -
From: "Cory Powers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 12:19 PM
Subject: RE: Problems with install


> It should be loaded and running at that point. run this to make sure it
is.
>
> ps ax | grep "tomcat"
>
> you should get a list of about 15 or so processes.
>
> Cory
>
> -Original Message-
> From: Mike Sanders [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 16, 2001 12:06 PM
> To: [EMAIL PROTECTED]
> Subject: Problems with install
>
>
> Problem with Linux Install:
>
> I have reinstalled RedHat 6.2 without Apache. I then installed JDK 1.2.2
and
> set the paths in the .bashrc. When I attempt to install I do not get an
> error but it just sits on the line that says:
>
> Pool TcpConnector: Starting Ajp12connectionhandler on 8007
>
> If I hit return I end up back at command line... Any ideas?
>



RE: Problems with install

2001-07-16 Thread Cory Powers

It should be loaded and running at that point. run this to make sure it is.

ps ax | grep "tomcat"

you should get a list of about 15 or so processes.

Cory

-Original Message-
From: Mike Sanders [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 12:06 PM
To: [EMAIL PROTECTED]
Subject: Problems with install


Problem with Linux Install:

I have reinstalled RedHat 6.2 without Apache. I then installed JDK 1.2.2 and
set the paths in the .bashrc. When I attempt to install I do not get an
error but it just sits on the line that says:

Pool TcpConnector: Starting Ajp12connectionhandler on 8007

If I hit return I end up back at command line... Any ideas?



RE: Tomcat & Frames

2001-07-16 Thread Cory Powers

UPDATE: I changed the name of the frame in the frameset and it started
working. The problem did come back once I updated the page again but, I
changed the name and it started working again. There is obviously a bug
somewhere in the code causing this I have filed a bug report(#2605) and I am
waiting on a response.

Cory
-Original Message-
From: Cory Powers 
Sent: Monday, July 16, 2001 9:16 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat & Frames


I'm not opening any resources on these frame pages, I am only using a couple
of application scope beans that always remain open. I did notice that it
works when I reduce the number of frames to 3.

-Original Message-
From: RV Tobin [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 14, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat & Frames


I think I've solved my problem.  I don't know if it'll help anyone else
experiencing this, and it's hard to tell if I've really fixed it this time,
because the situation seems to get better sometimes, and then gets worse
again, but so far it looks like it's okay now.

I use UD4 to write my JSPs, and the MM code does not close all the
connections.  It closes the recordsets and the database connections, but it
does not explicitly close the preparedStatements, and that results in memory
leaks.  I think the problem is exacerbated when you use frames, because the
connections never get closed, the frames are always displaying and getting
refreshed, and so, eventually, it takes longer and longer to refresh the
pages.  I've gone through all  my pages and added the statement to close the
preparedStatements, and the pages seem to be loading correctly now every
time, regardless of how often I refresh them.

Val

- Original Message -
From: "Cory Powers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 11:34 AM
Subject: Tomcat & Frames


> I saw an earlier post that described the exact same problem I was having
> with Tomcat 3.2.2 Final and Tomcat 4.0b5 but, I have not seen a response
> yet. I have made a bug report in Bugzilla with no response from there
> either. Here is the problem once again...
>
> I have an index.html file that contains 4 frames all of which are jsp
pages.
> It has been working fine for 2 months. I recently added a link to one of
the
> pages and when I brought the frames page tomcat would not load the
modified
> page, the browser will constantly try and load the page with no success. I
> go directly to the page URL (outside of the frameset) and the page
compiles
> and loads just fine. I go back to the frames page and the page will still
> not load. Tomcat is compiling the page OK but will not server the page.
>
> Has anyone seen a similar problems.
>
> BTW I have restarted the server and tried accessing Tomcat directly on
port
> 8080 instead of using apache and neither have resolved the problem.
>
> Thanks,
> Cory
> [EMAIL PROTECTED]



RE: Tomcat & Frames

2001-07-16 Thread Cory Powers

I'm not opening any resources on these frame pages, I am only using a couple
of application scope beans that always remain open. I did notice that it
works when I reduce the number of frames to 3.

-Original Message-
From: RV Tobin [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 14, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat & Frames


I think I've solved my problem.  I don't know if it'll help anyone else
experiencing this, and it's hard to tell if I've really fixed it this time,
because the situation seems to get better sometimes, and then gets worse
again, but so far it looks like it's okay now.

I use UD4 to write my JSPs, and the MM code does not close all the
connections.  It closes the recordsets and the database connections, but it
does not explicitly close the preparedStatements, and that results in memory
leaks.  I think the problem is exacerbated when you use frames, because the
connections never get closed, the frames are always displaying and getting
refreshed, and so, eventually, it takes longer and longer to refresh the
pages.  I've gone through all  my pages and added the statement to close the
preparedStatements, and the pages seem to be loading correctly now every
time, regardless of how often I refresh them.

Val

----- Original Message -
From: "Cory Powers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 13, 2001 11:34 AM
Subject: Tomcat & Frames


> I saw an earlier post that described the exact same problem I was having
> with Tomcat 3.2.2 Final and Tomcat 4.0b5 but, I have not seen a response
> yet. I have made a bug report in Bugzilla with no response from there
> either. Here is the problem once again...
>
> I have an index.html file that contains 4 frames all of which are jsp
pages.
> It has been working fine for 2 months. I recently added a link to one of
the
> pages and when I brought the frames page tomcat would not load the
modified
> page, the browser will constantly try and load the page with no success. I
> go directly to the page URL (outside of the frameset) and the page
compiles
> and loads just fine. I go back to the frames page and the page will still
> not load. Tomcat is compiling the page OK but will not server the page.
>
> Has anyone seen a similar problems.
>
> BTW I have restarted the server and tried accessing Tomcat directly on
port
> 8080 instead of using apache and neither have resolved the problem.
>
> Thanks,
> Cory
> [EMAIL PROTECTED]



Tomcat & Frames

2001-07-13 Thread Cory Powers

I saw an earlier post that described the exact same problem I was having
with Tomcat 3.2.2 Final and Tomcat 4.0b5 but, I have not seen a response
yet. I have made a bug report in Bugzilla with no response from there
either. Here is the problem once again...

I have an index.html file that contains 4 frames all of which are jsp pages.
It has been working fine for 2 months. I recently added a link to one of the
pages and when I brought the frames page tomcat would not load the modified
page, the browser will constantly try and load the page with no success. I
go directly to the page URL (outside of the frameset) and the page compiles
and loads just fine. I go back to the frames page and the page will still
not load. Tomcat is compiling the page OK but will not server the page.

Has anyone seen a similar problems.

BTW I have restarted the server and tried accessing Tomcat directly on port
8080 instead of using apache and neither have resolved the problem.

Thanks,
Cory
[EMAIL PROTECTED]