jsp IIS Logfile entries?

2002-01-03 Thread Corun

Hello!

I could not find a solution to my problem anywhere on the net or in the mailing list 
archives but maybe one of you is able to help me.
If there is a solution...

Actually Tomcat is running well on a few Win2K servers, I just have an issue with the 
IIS logfiles.

Tomcat produces logfile entries like this one when JSPs are accessed:

2002-01-03 08:10:26 10.2.3.121 - W3SVC1 ISIO4 10.2.252.113 80 GET 
/jakarta/isapi_redirect.dll - 200 20990 10.2.252.113 
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) JSESSIONID=uzlr32dre1 -


I am unable to produce a useful Website statistic when I only have 
/jakarta/isapi_redirect.dll as the requested page in the logfiles.

Is it possible to to configure Tomcat or IIS so that I see requests like this in the 
logfile, where it would include the actual .jsp page?:

2002-01-03 07:50:29 10.2.3.121 - W3SVC1 ISIO4 10.2.252.113 80 GET /default.jsp - 304 0 
10.2.252.113 Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0) - -


I have found that if the default page of the website is accessed by using:
http://www.mydomain.com/
I get a correct entry in the log file, but this call:
http://www.mydomain.com/default.jsp
would produce an entry with /jakarta/isapi_redirect.dll ??

Any help would be appreciated very much.
Thanks!


--
Click here for your very own create-a-date adventure from MatchMaker
Go to http://ecard.matchmaker.com/dating.html

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tomcat and ultadev

2002-01-03 Thread ras

Hello,

I'm new to jsp and I'm trying to configure ultradev to work with the jsp
taglib. Up to now I've installed and worked with tomcat, for me that means
that tomcat was installed right.
I'm on train to follow the tutorial that come with the taglibs distrubution
and when I copy the *.war directory in the webapps and then place a copy of
the TLD file of  custom tag library into the TLDParser.war/tlds directory?
or the TLDParser/tlds directory when  I create it by hand,  then tomcat
does't start any more. I don't kwon what it is, I've tried many things, but
I come always to the error point again.

Pls help

Xaver

PS:I've attached the messages in a file.

Sticart
Mannheimer Str.1


76334 Leopoldshafen

Tel 07247 20176
Tel 07247 963991
[EMAIL PROTECTED]



error
Description: Binary data

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


tomcat root context

2002-01-03 Thread Scott Eade

The server.xml provided with tomcat 4.01 includes:

!-- Tomcat Root Context --
!--
  Context path= docBase=ROOT debug=0/
--

and yet the files in webapps/ROOT are server up when the url
http://localhost:8080 is used regardless of the fact that the Context
element above is commented out.

Does this mean that ROOT has special significance and it is
hardcoded somewhere or am I missing something in a config
file that instructs tomcat to use this as the default context?

Thanks,

Scott


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




cannot find jdk when upgraded to j2sdk1.4.0-beta3

2002-01-03 Thread Rob Turtle

Dear All, 

I had everything up and running fine, but then I made the lethal decision
that I neede to upgrade from j2sdk1.3.1 to 1.4.0-beta3. I've adjusted my
classpath variables to take account of the fact it is now installed in
c:\jdk1.4 so in theory it should be seeing it.

However, when I try to install tomcat-4.0.1 I get told it can't find a jdk
on my machine and please can I download one from sun. 

I've read some of the older posts and can't see anything in them that would
help. In fact is was one of the older posts that led to re-installation into
jdk1.4 incase seeing to dots was a problem.

I'm running win98 on a novel network. I've had it up and running before so
not being able to now is a bit annoying (I'm behind schedule with something
that I'm trying to do for the company - server programming isn't my field
but I'm trying to learn. I actually work in strategy research!)

I would be very greatful for any light that could be cast on the problem

Rob Turtle

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Problem with iso-8859-2 charset

2002-01-03 Thread Nikola Milutinovic

Maciej Ko³odziej wrote:

 Hi,
 
 In Your mail sent Wednesday, January 02, 2002 I wrote:
 
 MK I'm  using  Tomcat 3.3 on Linux Debian unstable system. Everything was
 MK fine  until  I made an upgrade of the distribution. Now all iso-8859-2
 MK chars  are  returned  as  two-byte  values  (Unicode?),  and  I can see
 MK question  marks  and  squares  instead of letters. Does anyone have an
 MK idea what can it be? Configuration problem? Same jsp pages worked fine
 MK before the upgrade.


To what version?


 I found some new interesting information about this behavior:
 
 First,  in  case  described  above,  if I choose Encoding-UTF-8 in my
 browser everything looks  fine.
 That means, that Tomcat(?) converts chars from iso-8859-2 in .jsp file
 to  unicode on the server output. So setting the page charset to utf-8
 in meta should work.


So, Tomcat is just plain spitting it out. It is a bit strange that it should 
print it as UTF-8. My understanding is that, if not specified, Tomcat will use 
default JVM character encoding to convert the output. The default is, usually, 
ISO-8859-1.

This is usually derived from UNIX locale environment.


 Second,  I  found,  that if I use a bean:message .../ tag to insert
 text  from  properties  file  and  the text contains polish characters
 entered  in  unicode  (like \u0105) then the encoding on the output is
 back iso-8859-2, so there is conversion, but in this case from Unicode
 to iso-8859-2 (browser is set to iso-8859-2).
 
 So  the problem is partially solved, because I can choose one of these
 solutions  to get desirable result. But I'm just curious - what can be
 the cause of that?


Have you set JSP page output encoding properly? I found out that my troubles 
were caused by misinterpreting JSP specification - pageEncoding atribute 
doesn't do the job, I had to use contentType instead. So, something like this 
should work:

%@ page
   info=Test page
   contentType=text/html; charset=iso-8859-2
%%!
...
%%
...
%html
head
titleTest page/title
meta http-equiv=Content-Type value=text/html; charset=iso-8859-2
/head

body
...
/body
/html

Nix.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: cannot find jdk when upgraded to j2sdk1.4.0-beta3

2002-01-03 Thread Remy Maucherat

 Dear All,

 I had everything up and running fine, but then I made the lethal decision
 that I neede to upgrade from j2sdk1.3.1 to 1.4.0-beta3. I've adjusted my
 classpath variables to take account of the fact it is now installed in
 c:\jdk1.4 so in theory it should be seeing it.

 However, when I try to install tomcat-4.0.1 I get told it can't find a jdk
 on my machine and please can I download one from sun.

 I've read some of the older posts and can't see anything in them that
would
 help. In fact is was one of the older posts that led to re-installation
into
 jdk1.4 incase seeing to dots was a problem.

 I'm running win98 on a novel network. I've had it up and running before so
 not being able to now is a bit annoying (I'm behind schedule with
something
 that I'm trying to do for the company - server programming isn't my field
 but I'm trying to learn. I actually work in strategy research!)

 I would be very greatful for any light that could be cast on the problem

This should be fixed in the installer for 4.0.2 b1.
The problem was that Sun changed the registry entries they were using, and
the old installer wasn't using the value of JAVA_HOME either to get the Java
path.

Remy


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




BadTargetURI error (again)

2002-01-03 Thread Caroline Clewlow

If anyone has even the remotest idea of a solution for this I'd really appreciate some 
advice.

I am getting the above error returned by the SOAP server when I try to use the 
GetQuote method in the StockQuote soap sample.
I have read a number of discussions about this and have tried to remedy it by 
including the soap-2_0 directory in the tomcat classpath so that the sample classes 
can be found.  
THis was to
no avail.

My classpath settings are below.
set  
CP=%CATALINA_HOME%\common\lib\xerces.jar;%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar;e:\soap-2_0\;%CATALINA_HOME%\common\lib\soap.jar
if %JSSE_HOME% ==  goto noJsse
set CP=%CP%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar
:noJsse
set CLASSPATH=%CP%;%CLASSPATH%

Thanks again
Caroline


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Servlet running twice at the same moment.

2002-01-03 Thread Cox, Charlie

did you put a 
return;
after your forward? If not the jsp will continue running...

Charlie

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 02, 2002 2:30 PM
 To: Tomcat Users List
 Subject: Re: Servlet running twice at the same moment.
 
 
 
 Glad someone brought this up.  Seems as though some of my jsp 
 pages are
 being executed twice.  It doesn't seem to send information to 
 the browser
 twice, but it is causing havoc on my logic.  I can see 
 System.outs being
 executed twice and any logic / methods are being executed 
 twice.  In my
 case it seems as though the jsp:forward is in some way causing the
 behavior.
 
 If anyone else has run across this situation, I would 
 definitely like to
 know what is going on and how to resolve this issue.
 
 I'm also using IE 5.x, tomcat 3.2.x and linux.  If code is 
 needed, I'll
 have to send tomorrow.
 
 Thanks in advance
 
 kb
 
 
 
   
   
 Robin Lee 
   
 tech_supportTo: Tomcat Users 
 List [EMAIL PROTECTED] 
 @uls.comcc:  
   
  Subject: Re: 
 Servlet running twice at the same moment. 
 01/02/02  
   
 11:12 AM  
   
 Please
   
 respond to
   
 Tomcat Users  
   
 List  
   
   
   
   
   
 
 
 
 Well, that depends on which code you would like to see?  The 
 login code is
 pretty basic...
 
 Here's is my validateLoginServlet...
 I am using a type4 jdbc driver (thinweb.tds driver).
 
 import Common.dbfiles.*;
 
 import java.io.*;
 import java.util.*;
 import java.sql.*;
 import javax.servlet.*;
 import javax.servlet.http.*;
 
 public class ValidateLoginServlet extends HttpServlet
 {
  public void service(HttpServletRequest req, HttpServletResponse res)
 throws IOException
  {
   String errorCode = ;
 
   try
   {
// get a connection
Class c = Class.forName(com.thinweb.tds.Driver);
Connection dbConn =
 DriverManager.getConnection(jdbc:twtds:sqlserver://[removed];user
 =[removed]
 ;password=[removed];TDS=7.0);
// instantiate data objects
DBCustomersSet customersSet = new 
 DBCustomersSet(dbConn,Customers);
//DBCustomers customers = new DBCustomers();
 
// Now set the where clause to get the member (using setFilter)
customersSet.setFilter(LoginID=' +
 req.getParameter(LoginID) + ');
 
Vector customersQuery = customersSet.query();
//Create a session.
HttpSession session = req.getSession(true);
//Now let's see if any records were returned.
if (customersQuery != null  !customersQuery.isEmpty())
{
 customersSet.firstRecord();
 
 //DBCustomers cust = (DBCustomers) custSet.record();
 DBCustomers theCustomer = (DBCustomers) customersSet.record();
 //DBCustomers theCustomer = 
 (DBCustomers)customersQuery.elementAt(0);
 
 //Now we want to check the password.
 if 
 (theCustomer.getPassword().equals(req.getParameter(Password)))
 {
  session.setAttribute(theCustomer,theCustomer);
  errorCode = 0;
  System.out.println(UserID:  + theCustomer.getLoginID() +
 has logged in.);
  customersSet.userLoggedIn();
 }
 else
 {
  //Wrong password, set the errorCode to 1.
  errorCode = 1;
 }
}
else
{
 //Not found, set the errorCode to 2.
 errorCode = 2;
}
session.setAttribute(errorCode,errorCode);
//System.out.println(ValidateLoginServlet errorCode:  + 
 errorCode);
dbConn.close();
   }
   catch (SQLException sqle)
   {
System.out.println(Sql Exception:  + sqle);
   }
   catch (ClassNotFoundException cnfe)
   {

RE: cannot find jdk when upgraded to j2sdk1.4.0-beta3

2002-01-03 Thread Rob Turtle

Thanks a lot - seems to work fine

bye
Rob

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Servlet basic question...classpaths and servlet locations.

2002-01-03 Thread Neale, Robert

I have Apache 1.3 and Tomcat 3.3 installed. I'm using Tomcat to run
servlets, having used JSERV in the past.  My question is, how does tomcat
decide where to look for the class to run?

Secondly, if it runs the class, how can I set the classpath for it? 

With JServ it was easy. I set lots of wrapper.classpaths in jserv.conf and
any request received by Apache that had /servlet in it was directed at
JServ.

I've read the Tomcat docs but couldn't understand it. 

What I'm looking for is a step by step guide for taking a class, lets call
it LN.class, and being able to call it fron a browser by
http://localhost/.../LN

I can get the examples working e.g 


http://localhost/examples/servlet/SessionExample

that is in the webapps\examples\web-inf\classes directory. How can I
implement my LN class?

The LN class will run if I put it under the Root\web-inf\classes directory
but then complains that it can't find another class that it uses that should
be in the classpath (but isn't because I don't know how to set it.

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England  Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01, IIS and JSPs

2002-01-03 Thread Hessing Ingo


Hi, Daniel,

_how_ does your program redirect to the Tomcat server?

If it is not necessary to modify any of the conf files then you can't be
using the ajp13 protocoll (which is disabled by default) or any worker
concept (would need a workers.properties conf file), right? So do you
use the standard secondary web server HTTP port 8080 connection? This
would mean that Tomcat is in standalone-mode, right?

And one last question: are sessions supported by your method? Or does
each request start a new session (which also happens when the
isapi_redirect.dll-filter is _not_ global and therefor is no solution
either)? Would be great if you could test this (for example with the
numberguess demo of the Tomcat standard installation).

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Servlet basic question...classpaths and servlet locations.

2002-01-03 Thread Andrew Gilbert

The documentation in 3.3 on classpaths is quite good, with an excellent
graphic describing classloaders and how/where things get loaded.

http://localhost:8080/doc/tomcat-ug.html#configuring_classes

Would also suggest familiarity with the Servlet and JSP specs (ie, an
understanding of WEB-INF/lib and WEB-INF/classes)

Hope this helps.

 -Original Message-
 From: Neale, Robert [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 03, 2002 7:42 AM
 To: '[EMAIL PROTECTED]'
 Subject: Servlet basic question...classpaths and servlet locations.
 
 
 I have Apache 1.3 and Tomcat 3.3 installed. I'm using Tomcat to run
 servlets, having used JSERV in the past.  My question is, how 
 does tomcat
 decide where to look for the class to run?
 
 Secondly, if it runs the class, how can I set the classpath for it? 
 
 With JServ it was easy. I set lots of wrapper.classpaths in 
 jserv.conf and
 any request received by Apache that had /servlet in it was directed at
 JServ.
 
 I've read the Tomcat docs but couldn't understand it. 
 
 What I'm looking for is a step by step guide for taking a 
 class, lets call
 it LN.class, and being able to call it fron a browser by
 http://localhost/.../LN
 
 I can get the examples working e.g 
 
 
 http://localhost/examples/servlet/SessionExample
 
 that is in the webapps\examples\web-inf\classes directory. How can I
 implement my LN class?
 
 The LN class will run if I put it under the 
 Root\web-inf\classes directory
 but then complains that it can't find another class that it 
 uses that should
 be in the classpath (but isn't because I don't know how to set it.
 
 -- 
 The content of this e-mail is confidential, may contain 
 privileged material
 and is intended solely for the recipient(s) named above. If 
 you receive this
 in error, please notify Software AG immediately and delete 
 this e-mail.
 
 Software AG (UK) Limited
 Registered in England  Wales 1310740
 Registered Office: Hudson House, Hudson Way,
 Pride Park, Derby DE24 8HS
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat 4.0.1 http to https redirection port number problem

2002-01-03 Thread laitinenj

Hi!

I'm trying to configure my tomcat 4.0.1 standalone to redirect an adress 
http://localhost:8080/some/thing to an address 
https://localhost:8443/some/thing

I've made the proper changes to the server.xml and to the web.xml and 
actually the redirection happens. But when I print out information out 
from the http request it says that the port that is being used is the 
old 8080. I'm using the request's getServerPort() method.

Does anyone have an idea why the port number won't change to the 8443? 
Because of the old port number none of my pictures nor form actions 
work.

Here are the essential parts from my web.xml and server.xml:

web.xml
---
  ...
  security-constraint
web-resource-collection
  web-resource-namesomething/web-resource-name
  url-pattern/*/url-pattern
/web-resource-collection
user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
  /security-constraint
  ...
---

server.xml
---
I uncommented this Connector from the server.xml:
!-- Define an SSL HTTP/1.1 Connector on port 8443 --

Thanks for everyone!


// Janne Laitinen

__
Tämän ilmaisen suomalaisen sähköpostin tarjosi http://www.jippii.fi/
Käy tutustumassa netin parhaaseen pelipaikkaan Pasimaailmaan.


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Servlet basic question...classpaths and servlet locations.

2002-01-03 Thread Neale, Robert

Ok, I'll re-read it again. I've solved my problem of it not picking up my
own servlet. I hadn't got a jkmount directive redirecting requests.

One question on this, 

If I make the following request
http://localhost/examples/servlet/SnoopServlet examples is mentioned in a
jkmount directive and I have a directory examples that contains
snoopservlet. Does the value you mention in the jkmount directive have to
immediatley follow the host name in the URL? It seems to, I just need
confirmation.

-- 
The content of this e-mail is confidential, may contain privileged material
and is intended solely for the recipient(s) named above. If you receive this
in error, please notify Software AG immediately and delete this e-mail.

Software AG (UK) Limited
Registered in England  Wales 1310740
Registered Office: Hudson House, Hudson Way,
Pride Park, Derby DE24 8HS

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




update from jserv to tomcat 4.0.1

2002-01-03 Thread marcel beltz

hello,
we have a running configuration of apache with mod_jserv. but we have
every day a out of memory exception and we want to change to tomcat
4.0.1. our website based only on JSP and servlets, is it better to use
apache with tomcat or only tomcat?

mfg
Marcel Beltz



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Regarding tomcat3.2.3

2002-01-03 Thread Hessing Ingo


Hi!

There is an official howto here:

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html

Also I know two tutorials for SSL (unfortunately the second one which is
shorter and easier is German language only):

http://www.stephanwiesner.de/java/how_to_install_soap.htm

http://www.torsten-horn.de/techdocs/ssl.htm

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: servlet/jsp executing twice at the same moment

2002-01-03 Thread kalven . beaver


It is not that my code continues to run, but that the ENTIRE jsp runs
twice.  Spent 3 hours last night on this and still could not find a
resolve.  I'm not sure if it is a bug or some configuration problem.  Some
jsp's run once and some run twice.  Fortunately for debugging purposes, the
same ones run once and the same ones run twice.  If anyone has any
suggestions or experienced the same behavior, please advise on solutions.

I've not noticed that you need to place an explicit return after the
forward, but I'll make a mental note.

Thanks,
kb


   
 
Cox,  
 
Charlie To: Tomcat Users List 
[EMAIL PROTECTED] 
ccox@cincom.cc:   
 
com Subject: RE: Servlet running twice at the 
same moment. 
   
 
01/03/02   
 
04:54 AM   
 
Please 
 
respond to 
 
Tomcat Users   
 
List   
 
   
 
   
 



did you put a
 return;
after your forward? If not the jsp will continue running...

Charlie

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 02, 2002 2:30 PM
 To: Tomcat Users List
 Subject: Re: Servlet running twice at the same moment.



 Glad someone brought this up.  Seems as though some of my jsp
 pages are
 being executed twice.  It doesn't seem to send information to
 the browser
 twice, but it is causing havoc on my logic.  I can see
 System.outs being
 executed twice and any logic / methods are being executed
 twice.  In my
 case it seems as though the jsp:forward is in some way causing the
 behavior.

 If anyone else has run across this situation, I would
 definitely like to
 know what is going on and how to resolve this issue.

 I'm also using IE 5.x, tomcat 3.2.x and linux.  If code is
 needed, I'll
 have to send tomorrow.

 Thanks in advance

 kb





 Robin Lee

 tech_supportTo: Tomcat Users
 List [EMAIL PROTECTED]
 @uls.comcc:

  Subject: Re:
 Servlet running twice at the same moment.
 01/02/02

 11:12 AM

 Please

 respond to

 Tomcat Users

 List








 Well, that depends on which code you would like to see?  The
 login code is
 pretty basic...

 Here's is my validateLoginServlet...
 I am using a type4 jdbc driver (thinweb.tds driver).

 import Common.dbfiles.*;

 import java.io.*;
 import java.util.*;
 import java.sql.*;
 import javax.servlet.*;
 import javax.servlet.http.*;

 public class ValidateLoginServlet extends HttpServlet
 {
  public void service(HttpServletRequest req, HttpServletResponse res)
 throws IOException
  {
   String errorCode = ;

   try
   {
// get a connection
Class c = Class.forName(com.thinweb.tds.Driver);
Connection dbConn =
 DriverManager.getConnection(jdbc:twtds:sqlserver://[removed];user
 =[removed]
 ;password=[removed];TDS=7.0);
// instantiate data objects
DBCustomersSet customersSet = new
 DBCustomersSet(dbConn,Customers);
//DBCustomers customers = new DBCustomers();

// Now set the where clause to get the member (using setFilter)
customersSet.setFilter(LoginID=' +
 req.getParameter(LoginID) + ');

Vector customersQuery = customersSet.query();
//Create a session.
HttpSession session = req.getSession(true);
//Now let's see if any records were returned.
if 

Re: servlet/jsp executing twice at the same moment

2002-01-03 Thread Robin Lee

Is it just JSP's or Servlets too?  My problem is just servlets (although i
have yet to see any jsp's run twice)...

I'm still looking on solutions myself, but none so far.  Anyone?

I have noticed though, if i tried it in Netscape (6+), it is ok.  Also tried
it on the server computer (localhost), and it doesn't do it there either.  I
figured it might be IE5.5, and it may have to do with the computer speed?
(On the server, i used IE5.5 as well)...
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 9:18 AM
Subject: RE: servlet/jsp executing twice at the same moment



 It is not that my code continues to run, but that the ENTIRE jsp runs
 twice.  Spent 3 hours last night on this and still could not find a
 resolve.  I'm not sure if it is a bug or some configuration problem.  Some
 jsp's run once and some run twice.  Fortunately for debugging purposes,
the
 same ones run once and the same ones run twice.  If anyone has any
 suggestions or experienced the same behavior, please advise on solutions.

 I've not noticed that you need to place an explicit return after the
 forward, but I'll make a mental note.

 Thanks,
 kb



 Cox,
 Charlie To: Tomcat Users List
[EMAIL PROTECTED]
 ccox@cincom.cc:
 com Subject: RE: Servlet running
twice at the same moment.


 01/03/02
 04:54 AM
 Please
 respond to
 Tomcat Users
 List





 did you put a
  return;
 after your forward? If not the jsp will continue running...

 Charlie

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 02, 2002 2:30 PM
  To: Tomcat Users List
  Subject: Re: Servlet running twice at the same moment.
 
 
 
  Glad someone brought this up.  Seems as though some of my jsp
  pages are
  being executed twice.  It doesn't seem to send information to
  the browser
  twice, but it is causing havoc on my logic.  I can see
  System.outs being
  executed twice and any logic / methods are being executed
  twice.  In my
  case it seems as though the jsp:forward is in some way causing the
  behavior.
 
  If anyone else has run across this situation, I would
  definitely like to
  know what is going on and how to resolve this issue.
 
  I'm also using IE 5.x, tomcat 3.2.x and linux.  If code is
  needed, I'll
  have to send tomorrow.
 
  Thanks in advance
 
  kb
 
 
 
 
 
  Robin Lee
 
  tech_supportTo: Tomcat Users
  List [EMAIL PROTECTED]
  @uls.comcc:
 
   Subject: Re:
  Servlet running twice at the same moment.
  01/02/02
 
  11:12 AM
 
  Please
 
  respond to
 
  Tomcat Users
 
  List
 
 
 
 
 
 
 
 
  Well, that depends on which code you would like to see?  The
  login code is
  pretty basic...
 
  Here's is my validateLoginServlet...
  I am using a type4 jdbc driver (thinweb.tds driver).
 
  import Common.dbfiles.*;
 
  import java.io.*;
  import java.util.*;
  import java.sql.*;
  import javax.servlet.*;
  import javax.servlet.http.*;
 
  public class ValidateLoginServlet extends HttpServlet
  {
   public void service(HttpServletRequest req, HttpServletResponse res)
  throws IOException
   {
String errorCode = ;
 
try
{
 // get a connection
 Class c = Class.forName(com.thinweb.tds.Driver);
 Connection dbConn =
  DriverManager.getConnection(jdbc:twtds:sqlserver://[removed];user
  =[removed]
  ;password=[removed];TDS=7.0);
 // instantiate data objects
 DBCustomersSet customersSet = new
  DBCustomersSet(dbConn,Customers);
 //DBCustomers customers = new DBCustomers();
 
 // Now set the where clause to get the member (using setFilter)
 customersSet.setFilter(LoginID=' +
  req.getParameter(LoginID) + ');
 
 Vector customersQuery = customersSet.query();
 //Create a session.
 HttpSession session = req.getSession(true);
 //Now let's see if any records were returned.
 if (customersQuery != null  !customersQuery.isEmpty())
 {
  customersSet.firstRecord();
 
  //DBCustomers cust = (DBCustomers) custSet.record();
  DBCustomers theCustomer = (DBCustomers) customersSet.record();
  //DBCustomers theCustomer =
  (DBCustomers)customersQuery.elementAt(0);
 
  //Now we want to check the password.
  if
  (theCustomer.getPassword().equals(req.getParameter(Password)))
  {
   session.setAttribute(theCustomer,theCustomer);
   errorCode = 0;
   System.out.println(UserID:  + theCustomer.getLoginID() +
  has logged in.);
  

Servlet Filter

2002-01-03 Thread Gianluca D'Introno

Can I use Filter to send resource stored in another webserver to client
browser?
How can I do it?
Thanks!!!


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




getting '302 Moved Temporarily' response on some redirects

2002-01-03 Thread klaus rubba

I'm running Tomcat through VAJ, and everything works fine in IE5, but in 
netscape 4.77 I get '302 Moved Temporarily' response for some of my 
redirects.

The weird thing is, some of my redirects work and some don't, and they all 
do so consistently. But I can see no difference in how the code is executed. 
I don't call return after redirects, but no code gets executed after the 
redirects anyhow.

I realize that redirects work by returning status 302 and browser getting 
the correct page in the 'location' header, and i examined the headers in 
both responses (one that works and one that doesn't) and could find no 
difference.

Anybody have any ideas what the problem might be?

Thanks!

Klaus

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Converting Tomcat 3.2 to 4.0 with IIS 4

2002-01-03 Thread Terrence Beard

Hello all!

Here's what we've got: WinNT 4SP6 running IIS 4. We support several seperate
web sites via IIS (couple internal, several external). The source for each
is kept on a seperate directory path, different from the Tomcat path. The
JSP pages are being serviced by Tomcat 3.2. 

Here's the question: we would like to upgrade to Tomcat 4.0 (Catalina?).
We've download the software, and installed it. We've also got the latest
JDK. We can get Tomcat 4 service running, and the localhost examples work.
We can even get the isapi_redirect.dll green arrow through IIS. The
problem is the contexts. To get Tomcat 3.2 to recognize the different paths
for the different sites, we had to define new Context tags in the server.xml
file for each one. So, a site has a context foo which is pointed at the
path for that site. Then we invoke the files via url such as
www.foo.com/foo/file.jsp. These contexts are of course defined in the
uriworkermap.properties file under conf directory.

However, according the docs I've read on Tomcat 4, it should be a simple
matter of putting the entries in the uriworkermap conf file and running.
This apparently does not work (says it can't find the files). Moreover, the
server.xml file for Tomcat 4 is much more complicated than it's 3.2
counterpart, which I must admit is a bit beyond me.

We would be happy with having Tomcat service all of the files, regardless of
where they are (ie - JSP file on URL, hand it to Tomcat).

All suggestions are welcome and appreciated.

Thanks!

Terry Beard



Re: How to include across contexts/webapps?

2002-01-03 Thread Craig R. McClanahan



On Wed, 2 Jan 2002, Daishi Harada wrote:

 Date: Wed, 02 Jan 2002 19:56:34 -0800
 From: Daishi Harada [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: How to include across contexts/webapps?


 Hi,

 I have what seems like (and probably is) a very simple problem, but I
 haven't been able to find a solution. Any help/hints would be
 appreciated.

 I'm trying to build a website in a typical sort of way, with headers
 and footers isolated and %@include%'ed into the actual
 pages. However, now I'd like to modularize somewhat and decompose
 parts of the site into their own projects/contexts, while still having
 each project share common headers and footers. Unfortunately,
 %@include% is relative to the current context, so I haven't been
 able to figure out a good way to share the header/footer information
 across each of the contexts/apps. Is there a canonical way of doing
 something like this?


The fact that includes are context-relative is in the Servlet and JSP
specifications, so we cannot change it.

In my own apps, I accomplish your goal in an indirect manner -- I keep a
single copy of the shared header/footer files in a CVS repository that is
separate from my Tomcat webapps directory.  Then, as part of deploying a
particular webapp, I copy in the shared files out of this repository into
*each* webapp that requires them.  That way, I still have a single source
file to change in case updates are needed, at the (insignificant) cost of
a little extra disk space.

 TIA,
 Daishi


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: tomcat root context

2002-01-03 Thread Craig R. McClanahan



On Thu, 3 Jan 2002, Scott Eade wrote:

 Date: Thu, 3 Jan 2002 20:22:13 +1100
 From: Scott Eade [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: tomcat root context

 The server.xml provided with tomcat 4.01 includes:

 !-- Tomcat Root Context --
 !--
   Context path= docBase=ROOT debug=0/
 --

 and yet the files in webapps/ROOT are server up when the url
 http://localhost:8080 is used regardless of the fact that the Context
 element above is commented out.

 Does this mean that ROOT has special significance and it is
 hardcoded somewhere or am I missing something in a config
 file that instructs tomcat to use this as the default context?


All directories in the webapps directory are automatically recognized
and installed as web applications, using the directory name to create the
context path.  This is why your root webapp gets created even with this
entry commented out -- it just receives default configuration values.

The name ROOT is indeed recognized specially as the webapp that will be
attached to the context path  (i.e. a zero-length string).  This webapp
will process all requests that are not matched to any other context path.

 Thanks,

 Scott


Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: How to include across contexts/webapps?

2002-01-03 Thread Marcin Jaskula

  I'm trying to build a website in a typical sort of way, with headers
  and footers isolated and %@include%'ed into the actual
  pages. However, now I'd like to modularize somewhat and decompose
  parts of the site into their own projects/contexts, while still having
  each project share common headers and footers. Unfortunately,
  %@include% is relative to the current context, so I haven't been
  able to figure out a good way to share the header/footer information
  across each of the contexts/apps. Is there a canonical way of doing
  something like this?
 
 
 In my own apps, I accomplish your goal in an indirect manner -- I keep a
 single copy of the shared header/footer files in a CVS repository that is
 separate from my Tomcat webapps directory.  Then, as part of deploying a
 particular webapp, I copy in the shared files out of this repository into
 *each* webapp that requires them.  That way, I still have a single source
 file to change in case updates are needed, at the (insignificant) cost of
 a little extra disk space.

Hi

If you work on UNIX make one directory with the common files and
in each of apps directories make symbolic links to the common dir.
If you modify a file in a common dir you see the changes in all apps
without committing and updating CVS. And you do not need extra
disk space.

Marcin

 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: BadTargetURI error (again)

2002-01-03 Thread Craig R. McClanahan



On Thu, 3 Jan 2002, Caroline Clewlow wrote:

 Date: Thu, 03 Jan 2002 12:51:18 -
 From: Caroline Clewlow [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: BadTargetURI error (again)

 If anyone has even the remotest idea of a solution for this I'd really
 appreciate some advice.

 I am getting the above error returned by the SOAP server when I try to use the 
GetQuote method in the StockQuote soap sample.
 I have read a number of discussions about this and have tried to remedy it by 
including the soap-2_0 directory in the tomcat classpath so that the sample classes 
can be found.
 THis was to
 no avail.

 My classpath settings are below.
 set  
CP=%CATALINA_HOME%\common\lib\xerces.jar;%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar;e:\soap-2_0\;%CATALINA_HOME%\common\lib\soap.jar
 if %JSSE_HOME% ==  goto noJsse
 set 
CP=%CP%;%JSSE_HOME%\lib\jcert.jar;%JSSE_HOME%\lib\jnet.jar;%JSSE_HOME%\lib\jsse.jar
 :noJsse
 set CLASSPATH=%CP%;%CLASSPATH%

 Thanks again
 Caroline


Since this is an error being returned by your SOAP server, not Tomcat,
you'd be *much* better served asking about this on the user list for your
SOAP server.  If I had to guess, though, I'd bet it's something wrong with
your SOAPAction header, or with how you've configured URIs to match up to
business logic classes.

But the message isn't coming from Tomcat ...

Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Servlet Filter

2002-01-03 Thread Craig R. McClanahan



On Thu, 3 Jan 2002, Gianluca D'Introno wrote:

 Date: Thu, 3 Jan 2002 17:55:12 +0100
 From: Gianluca D'Introno [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: tomcat list [EMAIL PROTECTED]
 Subject: Servlet Filter

 Can I use Filter to send resource stored in another webserver to client
 browser?
 How can I do it?
 Thanks!!!


You could do this kind of thing in a Filter, but that's not really what
they are designed for.

However, you can do it with a standard Servlet as well -- in the doGet()
and/or doPost() methods of your servlet, you would use an
HttpURLConnection to go get the data from the remote webserver, and then
copy it to the output of this request.  There's some example code for
using HttpURLConnection in the Java Language Tutorial (see the Networking
Trail) at http://java.sun.com/docs/books/tutorial/.

Craig McClanahan


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




need ur support

2002-01-03 Thread puneet sachar

hi guys

well all u tomcat cat guys thanx a lot for so many
questions and answers and thanx esp tom 
for being so co-opertaive 

well this is mot any question mail

this is just to inform u all guys Puneet Sachar thatz
me is no longer with shyama software solutions 
due to some dirty unavoidable circumtances i have
resigned form my office and now currently looking for
job

today i suffered a major set back when i came to know
my company director and ceo has installed a software
spectorsoft on machine which track down all events and
mail and password and makes a report...

my boss has hacked my account also he is so rich i
can't thought of logging a fir against him

i request u plz mail to spectorsoft abt the event and
ask them why don't they ensure that every client of
thier follow a guideline before installing the
software ..cos its written over there every employee
should know abt the software being installed on
machine

i'm really upset all my efforts are waisted and i
cannot punish the faulty guy

regards
Puneet

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: apache and tomcat with mod_webapp

2002-01-03 Thread Ladjicke Diouf

I'm trying to use webapp_modd with tomcat and cvs is not working
when I issue the command
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login
I get cvs not found. Anybody ever encountered this issue?

From: Hitesh Sharma [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
CC: tomcat developers [EMAIL PROTECTED]
Subject: apache and tomcat with mod_webapp
Date: Sat, 29 Dec 2001 13:03:44 +0530

hi all
I am using apache as my webserver and tomcat as the servlet runner. I am
able to run servlets transparently with help of warp connector module
mod_webapp.
My concern is can I use the webdav capablities of tomcat over warp
connector. I tried that but failed.
Looking into logs I found that apache is not passing the DAV specific
requests to tomcat. Are there some option to tell apache to forward DAV
requests also.
My httpd.conf contains the following lines.
-
LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp buildserver:8008
WebAppDeploy webdav warpConnection /webdav


Please note that I can open the index file residing in the webdav folder
when I point the explorer to it but I fail to add the same folder as a
webfolder on my win2000 box.

Any suggestions ?
Thanks in advance

hitesh






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


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]





_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




missing web.xml

2002-01-03 Thread yi wang

Dear Sir,

I am using tomcat4.0 to deploy my webapps, but I
always get the error messages in my log file:

ContextConfig[/phoneSBC]: Missing application web.xml,
using defaults only


but my web.xml file is under WEB-INF, i do not know
why it gives me this error, i tried many many times,
and never succeed. I then tested it with tomcat3.2, it
is ok, so please help me to figure it out.


Thanks ahead.

Yi

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




JDBCRealm problems - sqlserver

2002-01-03 Thread Chaitresh

Hi,

I am having problems setting up the JDBCRealm. The database is sqlserver. I have 
downloaded the drivers and add them to the CLASSPATH. The configuration in the xml 
file looks like this:
  
 server.xml clip BEGIN ---

Realm  className=org.apache.catalina.realm.JDBCRealm debug=99
   driverName=com.microsoft.jdbc.sqlserver.SQLServerDriver
   
connectionURL=jdbc:microsoft:sqlserver://dbmachine:;DatabaseName=SomeDataBase?username=uname;password=passwd
   userTable=user_table userNameCol=user_name userCredCol=pass
   userRoleTable=user_role roleNameCol=role_name /
 
 server.xml clip END ---


But I keep getting this error:

Error Message Begin

Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Catalina.start: LifecycleException:  Exception opening database connection:  
java.sql.SQLException: com.microsoft.jdbc.sqlserver.SQLServerDriver
LifecycleException:  Exception opening database connection:  java.sql.SQLException: 
com.microsoft.jdbc.sqlserver.SQLServerDriver
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.sql.SQLException: com.microsoft.jdbc.sqlserver.SQLServerDriver
at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:538)
at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Error Message End

Any help is appreciated!

-Chaitresh



Re: Drive Mapping with drive letters

2002-01-03 Thread Chaitresh

If I'm not mistaken, Context path considers webapps as its root. So if you
say something like

Context path=/pics docBase=pictures debug=0 privileged=true  /

tomcat looks for tomcat-home/webapps/pics

So in your case, it may be looking for directory structure similar to

tomcat-home/webapps/F:/myapp/pics

The appbase in the Host tag of the server.xml may have someting to do
with this.

Dont take my word for it, I may be wrong!!

-Chaitresh


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 11:15 AM
Subject: Drive Mapping with drive letters


 Hi,

 I am using Tomcat 4.01 standalone on a win2000 box and need to map a
 network drive as a context so that I can see the stuff with relative
paths.
 Can I do something like the tag below?  The doc has lots of examples but
 none that deal with drive letters (probably since it's a win32 only
thing).

 Context path=F:/myapp/pics docBase=pictures debug=0
privileged=true
  /

 Could someone correct this or point me to some documentation that I may
 have overlooked?

 Thanks,
 __
 Joseph Chandler
 Software Engineer
 Franke Holding USA
 305 Tech Park Drive
 La Vergne, TN  37086
 USA
 Switchboard: +1-615-287-8243
 Fax: +1-615-287-8343
 mailto:[EMAIL PROTECTED]
 http://www.franke.com


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: RE: can anyone help

2002-01-03 Thread liakim . ladipo

yes, tomcat is running. tomcat is configured in server.xml to listen to localhost:8080 
however it still not working even if I change the connectionport to say 8180 in 
server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' 
Href='http://www.talk21.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: RE: can anyone help

2002-01-03 Thread Josh Knowles

Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to localhost:8080 
however it still not working even if I change the connectionport to say 8180 in 
server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' 
Href='http://www.talk21.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: RE: can anyone help

2002-01-03 Thread Mark . Donoghue

Also, what is the output when you start Tomcat? -Mark

-Original Message-
From: Josh Knowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:39 PM
To: Tomcat Users List
Subject: RE: RE: can anyone help


Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new'
Href='http://www.talk21.com/redirect.html?http://www.talk21.com'http://www.
talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Drive Mapping with drive letters

2002-01-03 Thread joseph . chandler


That fixed it :)

If you are ever in Tennessee, I'm going to have to buy you a cold one.

Thanks!
__
Joseph Chandler
Software Engineer
Franke Holding USA
305 Tech Park Drive
La Vergne, TN  37086
USA
Switchboard: +1-615-287-8243
Fax: +1-615-287-8343
mailto:[EMAIL PROTECTED]
http://www.franke.com


   

Craig R.  

McClanahan  To: Tomcat Users List 
[EMAIL PROTECTED]
craigmcc@apacc:   

che.org Subject: Re: Drive Mapping with drive 
letters 
   

01/03/2002 

01:29 PM   

Please 

respond to 

Tomcat Users  

List  

   

   







On Thu, 3 Jan 2002 [EMAIL PROTECTED] wrote:

 Date: Thu, 3 Jan 2002 13:15:15 -0600
 From: [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Drive Mapping with drive letters

 Hi,

 I am using Tomcat 4.01 standalone on a win2000 box and need to map a
 network drive as a context so that I can see the stuff with relative
paths.
 Can I do something like the tag below?  The doc has lots of examples but
 none that deal with drive letters (probably since it's a win32 only
thing).

 Context path=F:/myapp/pics docBase=pictures debug=0 privileged
=true
  /

 Could someone correct this or point me to some documentation that I may
 have overlooked?


Try turning things around a little, and you will do better:

  Context path=/pictures docBase=F:/myapp/pics ... /

The path attribute is the context path of the webapp (so its contents
would be vislble via URLs like http://localhost:8080/pictures/foo.gif;),
while the docBase attribute is the relative or absolute pathname to the
base directory for this web application.

See the Server Configuration Reference documentation included with Tomcat
for more details on all the server.xml settings.  It's also available
online:

  http://jakarta.apache.org/tomcat/tomcat-4.0-docs/config/

 Joseph Chandler

Craig McClanahan


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]






--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

I have started tomcat using the shortcut created on installation as well as from the 
ms-dos shell

C:\JAKARTA TOMCAT 4.0\BIN\STARTUP.BAT without any joy



 Also, what is the output when you start Tomcat? -Mark

-Original Message-
From: Josh Knowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:39 PM
To: Tomcat Users List
Subject: RE: RE: can anyone help


Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http://www.talk21.com'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www'http://www/a
talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: RE: RE: can anyone help

2002-01-03 Thread Josh Knowles

What does it say after you type startup?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


I have started tomcat using the shortcut created on installation as well as from the 
ms-dos shell

C:\JAKARTA TOMCAT 4.0\BIN\STARTUP.BAT without any joy



 Also, what is the output when you start Tomcat? -Mark

-Original Message-
From: Josh Knowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:39 PM
To: Tomcat Users List
Subject: RE: RE: can anyone help


Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http://www.talk21.com'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www'http://www/a
talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: RE: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

it says the following:
Using CATALINA_BASE: c:\jakarta tomcat 4.0
Using CATALINA_HOME: c:\jakarta tomcat 4.0
Using CLASSPATH: c:\jakarta tomcat 4.0\bin\bootstrap.jar;c:\jdk1.3.1_01\lib\
tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01

 What does it say after you type startup?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


I have started tomcat using the shortcut created on installation as well as from the 
ms-dos shell

C:\JAKARTA TOMCAT 4.0\BIN\STARTUP.BAT without any joy



 Also, what is the output when you start Tomcat? -Mark

-Original Message-
From: Josh Knowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:39 PM
To: Tomcat Users List
Subject: RE: RE: can anyone help


Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new'
Href='a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com'''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com''/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http://www.talk21.com'/a/aa
 Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www''http://talk21.btopenworld.com/redirect.html?http://www'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www'http://www/a/a
talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

Re: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to 
localhost:8080 however it still not working even if I change the connectionport to 
say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http://www.talk21.com'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: RE: RE: RE: can anyone help

2002-01-03 Thread Guido Medina

Listen me, rigth click on the shortcut, check the enviroment memory or
something like that, and put the maximum that appears there and also add
this to autoexec.bat and restart your machine, anytime that you add anything
to autoexec.bat you MUST restart the machine :-) win9x

set JAVA_HOME=...
set JAVA_PATH=%JAVA_HOME%

That's it, it is normal on windows 98.

Guido.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:15 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


it says the following:
Using CATALINA_BASE: c:\jakarta tomcat 4.0
Using CATALINA_HOME: c:\jakarta tomcat 4.0
Using CLASSPATH: c:\jakarta tomcat
4.0\bin\bootstrap.jar;c:\jdk1.3.1_01\lib\
tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01

 What does it say after you type startup?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


I have started tomcat using the shortcut created on installation as well as
from the ms-dos shell

C:\JAKARTA TOMCAT 4.0\BIN\STARTUP.BAT without any joy



 Also, what is the output when you start Tomcat? -Mark

-Original Message-
From: Josh Knowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:39 PM
To: Tomcat Users List
Subject: RE: RE: can anyone help


Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new'
Href='a Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com'
''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirec
t.html?http://www.talk21.com''/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
rect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http:/
/www.talk21.com'/a/aa Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www''http://talk21.btopenworld.com/redirect.html?h
ttp://www'/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www'http://www/a
/a
talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redi
rect.html?http://www.talk21.com'/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'htt
p://www.talk21.com/a/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: 

RE: RE: RE: RE: can anyone help

2002-01-03 Thread Guido Medina

Also set:

set CATALINA_HOME=path\to\tomcat
set TOMCAT_HOME=%CATALINA_HOME%

just in case...

Guido.

-Original Message-
From: Guido Medina [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:29 PM
To: 'Tomcat Users List'
Subject: RE: RE: RE: RE: can anyone help


Listen me, rigth click on the shortcut, check the enviroment memory or
something like that, and put the maximum that appears there and also add
this to autoexec.bat and restart your machine, anytime that you add anything
to autoexec.bat you MUST restart the machine :-) win9x

set JAVA_HOME=...
set JAVA_PATH=%JAVA_HOME%

That's it, it is normal on windows 98.

Guido.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:15 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


it says the following:
Using CATALINA_BASE: c:\jakarta tomcat 4.0
Using CATALINA_HOME: c:\jakarta tomcat 4.0
Using CLASSPATH: c:\jakarta tomcat
4.0\bin\bootstrap.jar;c:\jdk1.3.1_01\lib\
tools.jar
Using JAVA_HOME: c:\jdk1.3.1_01

 What does it say after you type startup?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:53 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


I have started tomcat using the shortcut created on installation as well as
from the ms-dos shell

C:\JAKARTA TOMCAT 4.0\BIN\STARTUP.BAT without any joy



 Also, what is the output when you start Tomcat? -Mark

-Original Message-
From: Josh Knowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 2:39 PM
To: Tomcat Users List
Subject: RE: RE: can anyone help


Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new'
Href='a Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com/redirect.html?http://www.talk21.com'
''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirec
t.html?http://www.talk21.com''/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
rect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http:/
/www.talk21.com'/a/aa Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www''http://talk21.btopenworld.com/redirect.html?h
ttp://www'/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www'http://www/a
/a
talk21.com/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redi
rect.html?http://www.talk21.com'/aa Target='_new'

RE: RE: RE: can anyone help

2002-01-03 Thread Guido Medina

go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

http://127.0.0.1:8080 instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
rect.html?http://www.talk21.com''http://www.talk21.com/redirect.html?http:/
/www.talk21.com'/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'htt
p://www.talk21.com/a/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at a
Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'htt
p://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



Extending Standard Context

2002-01-03 Thread Mark Shaw

I have 2 questions, one regarding the general order of Context
initialization and the other regarding the use of Contexts, any insight is
appreciated.
 
1) If I define multiple contexts under the same Host will their constructors
be called in the same order in which they're defined in server.xml (this
looks to be the case, but I wasn't sure if it's guaranteed)?  Is there a way
to guarantee that their start() methods will be called in that same order
(this isn't the case so I'm looking for a way to order them)?  Here's my
example server.xml:
 
Context path=/1 docBase=. className=mypackage.MyContext/
Context path=/2 docBase=. className=mypackage.MyContext/
Context path=/3 docBase=. className=mypackage.MyContext/ 
 
2) I'm using dummy contexts and mapping these to components within my
application, such as a rule engine, daemon threads, etc. in order to use
Tomcat's manager application to start, stop, and install these components
which have their own thread associated with them.  I've done this by
extending StandardContext and spawning a new thread when MyContext is
created and mapping the Context lifecycle commands to this thread.  Apart
from violating the Servlet spec by creating my own thread, is this a
horrible idea?  Does anyone have a better way of managing server components
within Tomcat?  
 
Thanks for your help,
-Mark Shaw
[EMAIL PROTECTED]



Please: Tomcat 4.0.1 webhosting setup

2002-01-03 Thread Johan Ekenberg

Sorry for resending this so soon. I'm under high pressure to resolve this,
so if anyone knows something about it, PLEASE help me out!

--

I'm looking for guidelines how to integrate Tomcat 4.0.1 into an existing
Apache/PHP setup on a webhosting server. Is it at all possible to run Apache
with TC 4 (through mod_webapp?) in a transparent and flexible way for a
thousand VirtualHosts? Each VHost should have their own servlet repository.

Basically what I'd like to do is:
   - Every user has a subdirectory (e.g ~/public_html/servlets)
 where they put their servlets.
   - Apache handles all requests.
   - When a request comes for a *.jsp file or a servlet,
 the request is dispatched to TC.

The docs for TC4 all seem to assume that I want to run a standalone Tomcat
to handle all http requests. I can't find any info on integrating it with
Apache.

All help appreciated!

Best regards,
/Johan Ekenberg


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Extending Standard Context

2002-01-03 Thread Guido Medina

I can suggest something for the second question:

1) Define a java bean (a class) that implements runnable inside
WEB-INF\classes
2) Add this bean to every JSP  Servlet that you want it to include so, the
first will start() the process and also put the scope=application

By that way I guess you aren't violating the Servlet Spec and I guess also
is better than redefine your own context class. Don't you think ?

Regards,

Guido.

-Original Message-
From: Mark Shaw [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:38 PM
To: '[EMAIL PROTECTED]'
Subject: Extending Standard Context


I have 2 questions, one regarding the general order of Context
initialization and the other regarding the use of Contexts, any insight is
appreciated.
 
1) If I define multiple contexts under the same Host will their constructors
be called in the same order in which they're defined in server.xml (this
looks to be the case, but I wasn't sure if it's guaranteed)?  Is there a way
to guarantee that their start() methods will be called in that same order
(this isn't the case so I'm looking for a way to order them)?  Here's my
example server.xml:
 
Context path=/1 docBase=. className=mypackage.MyContext/
Context path=/2 docBase=. className=mypackage.MyContext/
Context path=/3 docBase=. className=mypackage.MyContext/ 
 
2) I'm using dummy contexts and mapping these to components within my
application, such as a rule engine, daemon threads, etc. in order to use
Tomcat's manager application to start, stop, and install these components
which have their own thread associated with them.  I've done this by
extending StandardContext and spawning a new thread when MyContext is
created and mapping the Context lifecycle commands to this thread.  Apart
from violating the Servlet spec by creating my own thread, is this a
horrible idea?  Does anyone have a better way of managing server components
within Tomcat?  
 
Thanks for your help,
-Mark Shaw
[EMAIL PROTECTED]



Re: update from jserv to tomcat 4.0.1

2002-01-03 Thread Marcelo Demestri

If you only use jsp's pages and servlets and don't have a lot of people
accesing your site, Tomcat Stand-Alone is the right play, I think.

Marcelo

- Original Message -
From: marcel beltz [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 8:53 AM
Subject: update from jserv to tomcat 4.0.1


 hello,
 we have a running configuration of apache with mod_jserv. but we have
 every day a out of memory exception and we want to change to tomcat
 4.0.1. our website based only on JSP and servlets, is it better to use
 apache with tomcat or only tomcat?

 mfg
 Marcel Beltz



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: RE: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'http://127.0.0.1:8080/a
 instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi'http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi/a
rect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'''http://www.talk21.com''/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http:/'http://www.talk21.com/redirect.html?http://a
/www.talk21.com'/aa Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'/ahtt
p://www.talk21.com/a/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at a
Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'/ahtt
p://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'http://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at http://www.talk21.com



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: RE: RE: RE: can anyone help

2002-01-03 Thread Guido Medina

look don't ping 127.0.0.1, open the browser and type:

http://127.0.0.1:8080 or the port you specified, type exactly as it is: h t
t p : / / 127.0.0.1 : port If you don't put the http it wont understand,
that's normal in the browser when you the IP address instead if the
qualified name.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you
suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'htt
p://127.0.0.1:8080/a instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com/redi'http://talk21.btopenworld.com/
redirect.html?http://www.talk21.com/redi/a
rect.html?a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'''h
ttp://www.talk21.com''/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
rect.html?http:/'http://www.talk21.com/redirect.html?http://a
/www.talk21.com'/aa Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redi
rect.html?http://www.talk21.com'/ahtt
p://www.talk21.com/a/a
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at a
Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com''http://talk21.btopenworld.com/redi
rect.html?http://www.talk21.com'/ahtt
p://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




talk21 your FREE portable and private address on the net at
a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'htt
p://www.talk21.com/a



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL 

java.lang.outofmemory exception

2002-01-03 Thread Frank Diakovasilis

I wrote an application that, run within Tomcat(4.0) and really beaten on,
throws an outofmemory exception.  The thing is, I don't think It is my app,
and when viewing task manager, I see that there is plenty of memory
available.  Has anybody come across this, is there a setting in Tomcat (or
jvm for that matter) that will let me allocate more of the available memory
to the app?



Anyone ever respond to this - RemoteRuntimeException under tomcat3.3 WL 6.1

2002-01-03 Thread Andrew Gilbert

Picked this up from the archive for the list and curious if anyone has
responded to it. We see the same thing. Under Tomcat 3.3 with WL 5.1 we
get a partial stack trace on the console of Tomcat anytime an app level
exception comes back over the wire, using WL 6.1 it gets worse than that
and the http request fails back to the end user. Exceptions being thrown
extend either Exception of Finder/Create, and are not EJB exceptions.
Original Post
From: Dan Lipofsky Subject: RemoteRuntimeException Date: Mon, 24 Dec
2001 09:08:32 -0800 I have this problem in tomcat-3.3 but not in
tomcat-3.2.4. I am using tomcat for JSP and weblogic server 6.1 for EJB.
The EJB throws an exception like com.mycompany.FoobarException but it
shows up in my JSP page nested inside a
weblogic.rmi.extensions.RemoteRuntimeException. I am using the same
weblogic install in both cases so I doubt it is weblogic's fault. Is
this a bug in tomcat-3.3? Or something else? Thanks, Dan 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Extending Standard Context

2002-01-03 Thread Micael Padraig Og mac Grene

At 04:41 PM 1/3/02 -0400, you wrote:
I can suggest something for the second question:

1) Define a java bean (a class) that implements runnable inside
WEB-INF\classes
2) Add this bean to every JSP  Servlet that you want it to include so, the
first will start() the process and also put the scope=application

By that way I guess you aren't violating the Servlet Spec and I guess also
is better than redefine your own context class. Don't you think ?

Regards,

Guido.


Cool, Guido. 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: RE: RE: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

thats what I have been doing all along - it still says 'page cannot be displayed'
 look don't ping 127.0.0.1, open the browser and type:

a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'http://127.0.0.1:8080/a
 or the port you specified, type exactly as it is: h t
t p : / / 127.0.0.1 : port If you don't put the http it wont understand,
that's normal in the browser when you the IP address instead if the
qualified name.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you
suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'/ahtt
p://127.0.0.1:8080/a instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld/a
com/redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi''http://www.talk21.com/redi'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/'http://talk21.btopenworld.com//a
redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi'http://www.talk21.com/redi/a/a
rect.html?a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.comhttp://talk21.btopenworld.com/redirect.html?http://www.talk21.com'''/ah
ttp://www.talk21.com''/aa Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi'http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi/a
rect.html?http:/'a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http:/'http://www.talk21.com/redirect.html?http://a/a
/www.talk21.com'/aa Target='_new'
Href='a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld/a
com/redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com'''http://www.talk21.com''/aa
 Target='_new' 

RE: RE: RE: RE: RE: can anyone help

2002-01-03 Thread Josh Knowles

Did you change the root context docBase or do you even have any files for it to serve?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: RE: can anyone help


thats what I have been doing all along - it still says 'page cannot be displayed'
 look don't ping 127.0.0.1, open the browser and type:

a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'http://127.0.0.1:8080/a
 or the port you specified, type exactly as it is: h t
t p : / / 127.0.0.1 : port If you don't put the http it wont understand,
that's normal in the browser when you the IP address instead if the
qualified name.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you
suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'/ahtt
p://127.0.0.1:8080/a instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld/a
com/redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi''http://www.talk21.com/redi'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/'http://talk21.btopenworld.com//a
redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi'http://www.talk21.com/redi/a/a
rect.html?a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.comhttp://talk21.btopenworld.com/redirect.html?http://www.talk21.com'''/ah
ttp://www.talk21.com''/aa Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi'http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi/a
rect.html?http:/'a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redirect.html?http:/'http://www.talk21.com/redirect.html?http://a/a
/www.talk21.com'/aa Target='_new'
Href='a Target='_new'
Href='a Target='_new' 

RE: RE: RE: RE: RE: can anyone help

2002-01-03 Thread Guido Medina

I'm almost leaving, send me all the logs files to see what could be, they
are in CATALINA_HOME\logs

I will try answer you by tomorrow

Guido.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:51 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: RE: can anyone help


thats what I have been doing all along - it still says 'page cannot be
displayed'
 look don't ping 127.0.0.1, open the browser and type:

a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'htt
p://127.0.0.1:8080/a or the port you specified, type exactly as it is: h t
t p : / / 127.0.0.1 : port If you don't put the http it wont understand,
that's normal in the browser when you the IP address instead if the
qualified name.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you
suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://127.0.0.1:8080''http://talk21.btopenworld.com/redi
rect.html?http://127.0.0.1:8080'/ahtt
p://127.0.0.1:8080/a instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/r
edirect.html?http://talk21.btopenworld/a
com/redirect.html?a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
''http://www.talk21.com/redi'/aa Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/'http://talk21.btopenworld.com//a
redirect.html?a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
'http://www.talk21.com/redi/a/a
rect.html?a Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.comhttp://talk21.btopenworld.com/re
direct.html?http://www.talk21.com'''/ah
ttp://www.talk21.com''/aa Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.
com/redirect.html?http://www.talk21.com/redi'http://talk21.btopenworld.com/
redirect.html?http://www.talk21.com/redi/a
rect.html?http:/'a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi
rect.html?http:/'http://www.talk21.com/redirect.html?http://a/a
/www.talk21.com'/aa Target='_new'
Href='a Target='_new'
Href='a Target='_new'
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.

Re: RE: RE: RE: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

I am afraid, I am new to java what do you mean???
 Did you change the root context docBase or do you even have any files for it to 
serve?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: RE: can anyone help


thats what I have been doing all along - it still says 'page cannot be displayed'
 look don't ping 127.0.0.1, open the browser and type:

a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'http://127.0.0.1:8080/a/a
 or the port you specified, type exactly as it is: h t
t p : / / 127.0.0.1 : port If you don't put the http it wont understand,
that's normal in the browser when you the IP address instead if the
qualified name.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you
suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new'
Href='a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'''http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'/a/ahtt
p://127.0.0.1:8080/a instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new'
Href='a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld''http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld/a/a
com/redirect.html?a Target='_new' Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi'''http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi''/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://www.talk21.com/redi''http://www.talk21.com/redi'/a/aa
 Target='_new' 

Re: RE: RE: RE: RE: RE: can anyone help

2002-01-03 Thread liakim . ladipo

that another problem no log file is been created in logs\ when a run start.bat is 
spawns another window however this shuts itself down before I can read what it says :(
 I'm almost leaving, send me all the logs files to see what could be, they
are in CATALINA_HOME\logs

I will try answer you by tomorrow

Guido.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:51 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: RE: can anyone help


thats what I have been doing all along - it still says 'page cannot be
displayed'
 look don't ping 127.0.0.1, open the browser and type:

a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'/ahtt
p://127.0.0.1:8080/a or the port you specified, type exactly as it is: h t
t p : / / 127.0.0.1 : port If you don't put the http it wont understand,
that's normal in the browser when you the IP address instead if the
qualified name.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: RE: can anyone help


I can ping localhost OK, I get a reply back
if I I ping 127.0.0.1:8080 I get Unknown host 127.0.0.1:8080.

I have aslo increased the mememory capacity is the startup.bat as you
suggested.


 go to the ms dos prompt and type this:

ping localhost

and tell me what happens

also type

a Target='_new'
Href='a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld/a
com/redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080'''http://127.0.0.1:8080''/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redi'http://talk21.btopenworld.com/redi/a
rect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://127.0.0.1:8080''http://127.0.0.1:8080'/a/ahtt
p://127.0.0.1:8080/a instead of localhost and tell me what happen

Guido

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:18 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: RE: can anyone help


yeap, it still fails to find localhost
 Did you restart tomcat after changing the server.xml? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: can anyone help


yes, tomcat is running. tomcat is configured in server.xml to listen to
localhost:8080 however it still not working even if I change the
connectionport to say 8180 in server.xml

Liakim

 This may be a stupid question but, are you sure Tomcat is running when you
try to hit it?  

If it is then look in the server.xml file.  Look at the HTTP connector to
see what port Tomcat is configured to listen to.

-Mark

-Original Message-
From: Gerrit Kuilder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 9:57 AM
To: Tomcat Users List
Subject: Re: can anyone help


I am not sure if this is valid for windows but on linux/tomcat rpm's I 
found that 4.01 ist listening on port 8180.

Give it a try

Regards,

Gerrit

[EMAIL PROTECTED] wrote:

 Hi everyone,
 
 Can anyone help with a problem I am a having wtih starting tomcat.
 I have only started to learn java but I have ran into a few problems
getting started.
 
 I am running java on windows 98 on a laptop that also has  PWS installed. 
 
 I have edited the autoexec.bat to include these two lines:
 
 set JAVA_HOME=C:\jdk1.3.1_01
 set CATALINA_HOME=C:\Program Files\Apache Tomcat 4.0
 
 however when I browse to localhost:8080 the page cannot be displayed and
an error file is not been generated in the log directory.
 
 does anyone know how to fix this?
 
 many thanks
 
 Liakim
 
 
 
 
 talk21 your FREE portable and private address on the net at
a Target='_new' Href='a Target='_new'
Href='a Target='_new'
Href='a Target='_new'
Href='a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld/a
com/redirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld''http://talk21.btopenworld'/aa
 Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld.com/r'http://talk21.btopenworld.com/r/a
edirect.html?a Target='_new' 
Href='http://talk21.btopenworld.com/redirect.html?http://talk21.btopenworld'http://talk21.btopenworld/a/a
com/redirect.html?a Target='_new'
Href='a Target='_new' 

Re: Extending Standard Context

2002-01-03 Thread Craig R. McClanahan



On Thu, 3 Jan 2002, Mark Shaw wrote:

 Date: Thu, 3 Jan 2002 12:37:56 -0800
 From: Mark Shaw [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: Extending Standard Context

 I have 2 questions, one regarding the general order of Context
 initialization and the other regarding the use of Contexts, any insight is
 appreciated.

 1) If I define multiple contexts under the same Host will their constructors
 be called in the same order in which they're defined in server.xml (this
 looks to be the case, but I wasn't sure if it's guaranteed)?  Is there a way
 to guarantee that their start() methods will be called in that same order
 (this isn't the case so I'm looking for a way to order them)?  Here's my
 example server.xml:

 Context path=/1 docBase=. className=mypackage.MyContext/
 Context path=/2 docBase=. className=mypackage.MyContext/
 Context path=/3 docBase=. className=mypackage.MyContext/


There are no guarantees about the startup order of contexts within the
same host.

In the HEAD branch of Tomcat 4 (i.e. what you get when you download a
recent nightly build), there is a guarantee about the order that Service
elements are initialized in.  Assume a configuration like this:

  Server ...

Service ...
  Connector ...
  Engine ...
Host ...
  Context path=/a1 .../
  Context path=/a2 .../
/Host
  /Engine
/Service


Service ...
  Connector ...
  Engine ...
Host ...
  Context path=/b1 .../
  Context path=/b2 .../
/Host
  /Engine
/Service

  /Server

then, Tomcat will guarantee to start all of the /a1 and /a2 contexts
(in some undefined order), before going on and starting the /b1 and
/b2 contexts (in some undefined order).  But this might be more pain
than you really want to go through.

 2) I'm using dummy contexts and mapping these to components within my
 application, such as a rule engine, daemon threads, etc. in order to use
 Tomcat's manager application to start, stop, and install these components
 which have their own thread associated with them.  I've done this by
 extending StandardContext and spawning a new thread when MyContext is
 created and mapping the Context lifecycle commands to this thread.  Apart
 from violating the Servlet spec by creating my own thread, is this a
 horrible idea?  Does anyone have a better way of managing server components
 within Tomcat?

One approach might be to use an application event listener for the
contextCreated() and contextDestroyed() method (you would implement
ServletContextListener).  This way, you can fire up whatever services you
need when the webapp is started, and gracefully clean them up when it is
stopped -- without having to modify Tomcat at all.

Note that the restriction on starting your own threads is a J2EE
requirement, not a servlet spec one.  It's legal to do that in a non-J2EE
environment.  (If you run Tomcat under a security manager, you'll also
need to ensure that the code is granted the required permissions in the
conf/catalina.policy file).


 Thanks for your help,
 -Mark Shaw
 [EMAIL PROTECTED]


Craig



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Please: Tomcat 4.0.1 webhosting setup

2002-01-03 Thread Craig R. McClanahan



On Thu, 3 Jan 2002, Johan Ekenberg wrote:

 Date: Thu, 3 Jan 2002 21:42:02 +0100
 From: Johan Ekenberg [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Please: Tomcat 4.0.1 webhosting setup

 Sorry for resending this so soon. I'm under high pressure to resolve this,
 so if anyone knows something about it, PLEASE help me out!


I know how to set this kind of thing up with Tomcat stand-alone (there's a
feature called User Home Directories), but not using the web connector
behind Apache ... sorry.

The only difference from your suggested approach would be that users would
put ther servlet classes in ~/public_html/WEB-INF/classes.

Craig McClanahan


 --

 I'm looking for guidelines how to integrate Tomcat 4.0.1 into an existing
 Apache/PHP setup on a webhosting server. Is it at all possible to run Apache
 with TC 4 (through mod_webapp?) in a transparent and flexible way for a
 thousand VirtualHosts? Each VHost should have their own servlet repository.

 Basically what I'd like to do is:
- Every user has a subdirectory (e.g ~/public_html/servlets)
  where they put their servlets.
- Apache handles all requests.
- When a request comes for a *.jsp file or a servlet,
  the request is dispatched to TC.

 The docs for TC4 all seem to assume that I want to run a standalone Tomcat
 to handle all http requests. I can't find any info on integrating it with
 Apache.

 All help appreciated!

 Best regards,
 /Johan Ekenberg


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: java.lang.outofmemory exception

2002-01-03 Thread Yoav Shapira

Hi,
Default JVM allows for 64MB max to the heap.  You may want to 
increase that by using CATALINA_OPTS, e.g.:
CATALINA_OPTS='-Xmx128m'
would allow the JVM to use up to 128MB of memory.  There are many
other settings available, see the Java runtime options on java.sun.com.

Yoav

Frank Diakovasilis wrote:
 
 I wrote an application that, run within Tomcat(4.0) and really beaten on,
 throws an outofmemory exception.  The thing is, I don't think It is my app,
 and when viewing task manager, I see that there is plenty of memory
 available.  Has anybody come across this, is there a setting in Tomcat (or
 jvm for that matter) that will let me allocate more of the available memory
 to the app?

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: java.lang.outofmemory exception

2002-01-03 Thread Mark C. Prins



 -Original Message-
 From: Frank Diakovasilis [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 03, 2002 5:02 PM
 To: 'Tomcat Users List'
 Subject: java.lang.outofmemory exception


 I wrote an application that, run within Tomcat(4.0) and really beaten on,
 throws an outofmemory exception.  The thing is, I don't think It
 is my app,
 and when viewing task manager, I see that there is plenty of memory
 available.  Has anybody come across this, is there a setting in Tomcat (or
 jvm for that matter) that will let me allocate more of the
 available memory
 to the app?


try the virtual machine options...
find the key Apache Tomcat\Parameters in the regisrty of your system.
There's one or more JVM Option Number xx there, I think you can add another
specifying stack/heap memory for java (the -X options-see java -help and
java -X)
mark


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.01, IIS and JSPs

2002-01-03 Thread Daniel Parnell

G'day Ingo,

The program uses the Warp protocol which is enabled by default, and from
what I read of the docs is the prefered method of communicating with Tomcat.
They way I use it is to create a virtual directory, and then put my JSPs in
it.
I have associated the .JSP extension with my program, so whenever a JSP is
requested, my program handles the request and sends it on to Tomcat using
the Warp protocol.

As for sessions, yes, they are supported :)

Daniel

- Original Message -
From: Hessing Ingo [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 04, 2002 1:02 AM
Subject: Re: Tomcat 4.01, IIS and JSPs



Hi, Daniel,

_how_ does your program redirect to the Tomcat server?

If it is not necessary to modify any of the conf files then you can't be
using the ajp13 protocoll (which is disabled by default) or any worker
concept (would need a workers.properties conf file), right? So do you
use the standard secondary web server HTTP port 8080 connection? This
would mean that Tomcat is in standalone-mode, right?

And one last question: are sessions supported by your method? Or does
each request start a new session (which also happens when the
isapi_redirect.dll-filter is _not_ global and therefor is no solution
either)? Would be great if you could test this (for example with the
numberguess demo of the Tomcat standard installation).

bestWISHES

Ingo

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat Spawning, memory usage

2002-01-03 Thread Armbrust, Daniel C.

I am running a copy of Tomcat 4.0.1 on RedHat 7.2 with Suns java SDK version
1.3.01.

I also have apache installed, (whichever version ships with redhat 7.2) and
one application deployed through the warp connector to apache.

The webapps that come with tomcat (manager, examples, etc) are also still
deployed.

My problem is that whenever Tomcat is started, it spawns off at least 30
processes identified only as java when I do a ps -e command, and each one of
these processes eats up about 23.1 MB of Ram, which ends up making Tomcat
take more than 900 MB of RAM when no one is even hitting the server!

I tried changing the MinProcessors and MaxProcessors both down to 1
throughout the server.xml file, but this has little to no affect on the
number of processes spawned.

How do I control the number of java processes spawned?  I'm only using this
machine for development, so I am the only user.  Having Tomcat take up 900MB
of Ram seems quite ridiculous.

Thanks for any help,

Dan

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Noticing when browser drops/closes socket to Tomcat

2002-01-03 Thread cam



Is there a way to notice or capture inside a servlet(jsp)
thread when the browser closes the TCP/IP connection to
Tomcat ??

Thanks,
Cameron Elliott


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Catalina and frames

2002-01-03 Thread Christian Bourque

Hi !

Since I installed Catalina 4.0.1, this code is not working anymore :

...
frameset rows='90,155,*' frameborder='0' border='0'
  frame name=upper  src=javascript:top.upperHTML()  scrolling=no 
frameborder='0' border='0' 
  frame name=middle src=javascript:top.middleHTML() scrolling=no 
frameborder='0' border='0'
  frame name=lower  src=javascript:top.lowerHTML()  scrolling=no 
frameborder='0' border='0'
/frameset
...

JavaScript Console:
Error: top.upperHTML is not a function
Error: top.middleHTML is not a function
Error: top.lowerHTML is not a function

It works just fine in Tomcat 3.2.3 ?

Is this a security restriction or what ?

Regards
Christian Bourque





apache 1.3.22 and tomcat 4.0.1 configuration problem

2002-01-03 Thread Bin Wu

Hi,

I config the tomcat 4.0.1 and apache 1.3.22 in win2k
following the instruction.  The jsp examples are
working fine using http://localhost/examples.  I have
an application which is working fine under
localhost:8080/app(also work fine between tomcat 3.2.3
and apache 1.3.22).  But when I start the
localhost/app/login.jsp,type user infor and click
submit,after a long time, it returns HTTP 500 -
Internal server error The page basiclly calls a
javabean(connect oracle db through jdbc) to verify the
user account then forward to a new page.  It seems the
connection between apache and tomcat is broken after
that. http://localhost/examples won't work any more. 
I just wonder how I can start to debug or find the
real problem.  Any idea will be greatly appreciated!

BW

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Tomcat, the JRE, and a CD-ROM

2002-01-03 Thread Paul Gross

Here is a strange question for anyone who thinks that they can help 
me...

I am trying to send a runnable version of my web application on a CD, 
so that it can run entirely from the CD, without installing anything on 
the user's machine.

I plan to do this by having a copy of the JRE plus my web app (JSP 
files, Servlet claass files etc) on the CD, and pointing both JAVA_HOME 
and TOMCAT_HOME to the appropriate direcories on the CD.

I have tried an experiment on my hard disk by setting JAVA_HOME to my 
JRE version 1.3.1, and my Tomcat 3.2.1 seems OK with this.

When Tomcat starts, my pages still work - it does not seem to need the 
Java compiler, and so it seems reasonable that a CD would work as well.

What I don't want top do is to burn a set of CDs, mail them out, and 
then find that there is some other limitation built-in to Tomcat that 
requires the use of the JDK instead of the JRE.

Has anybody had any experience with this, or can anybody think of any 
likely pitfalls?

Also, would it be possible to leave out the JSP files from the CD, and 
just use the compiled servlet code?

Thanks in anticipation,

Paul



Powered by telstra.com

 


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat, the JRE, and a CD-ROM

2002-01-03 Thread Tom Drake

Paul:

Tomcat only needs tools.jar (from jdk) for compiling JSP's. If you
pre-compile
your JSP's (using JSPC), you can deploy them as servlets (with servlet
mappings
in web.xml). Your run-time will then be able to run everything with only
the JRE.

Tom Drake


- Original Message -
From: Paul Gross [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 03, 2002 4:28 PM
Subject: Tomcat, the JRE, and a CD-ROM


| Here is a strange question for anyone who thinks that they can help
| me...
|
| I am trying to send a runnable version of my web application on a CD,
| so that it can run entirely from the CD, without installing anything on
| the user's machine.
|
| I plan to do this by having a copy of the JRE plus my web app (JSP
| files, Servlet claass files etc) on the CD, and pointing both JAVA_HOME
| and TOMCAT_HOME to the appropriate direcories on the CD.
|
| I have tried an experiment on my hard disk by setting JAVA_HOME to my
| JRE version 1.3.1, and my Tomcat 3.2.1 seems OK with this.
|
| When Tomcat starts, my pages still work - it does not seem to need the
| Java compiler, and so it seems reasonable that a CD would work as well.
|
| What I don't want top do is to burn a set of CDs, mail them out, and
| then find that there is some other limitation built-in to Tomcat that
| requires the use of the JDK instead of the JRE.
|
| Has anybody had any experience with this, or can anybody think of any
| likely pitfalls?
|
| Also, would it be possible to leave out the JSP files from the CD, and
| just use the compiled servlet code?
|
| Thanks in anticipation,
|
| Paul
|
|
| 
| Powered by telstra.com
|
|
|
|
| --
| To unsubscribe:   mailto:[EMAIL PROTECTED]
| For additional commands: mailto:[EMAIL PROTECTED]
| Troubles with the list: mailto:[EMAIL PROTECTED]
|
|
|


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Difference: TOMCAT and APACHE

2002-01-03 Thread Mando Ruckotte


Hello All,

I would like to implement servlets on a webserver/http
server

what would i use: Tomcat, Apache or IIS???

what do i need?

what are the differences between tomcat and apache??? 

can i use one without the other???


Thanks,

Mando

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Configuring Jaspers Compiler Options

2002-01-03 Thread mark_d_porter

Hey Folks!

Sorry if this is a repost ... sent it out earlier but still hasnt shown up on the list.

I'm setting up tomcat 3.2.3 on an Irix6.5 box (java sdk1.3.1) and am having problems 
compiling any jsp code. Jasper fails with an Error 500 and the requisite JSPException 
stack trace complaining that javac was passed in invalid flag ( -encoding ). Is there 
any way to configure the options that are passed to jasper? Why am I having this 
problem on Irix and not other platforms in my shop (linux and HPUX). I'd appreciate 
any help if anyone has seen this before!

Thanks

Mark





RE: Configuring Jaspers Compiler Options

2002-01-03 Thread Lai Kok Cheong


could you type check your CLASSPATH on your irix machine ?
I suspect most probably your IRIX machine has another copies of  servlet.jar
files 



 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, January 04, 2002 2:16 AM
 To:   [EMAIL PROTECTED]
 Subject:  Configuring Jaspers Compiler Options
 
 Hey Folks!
 
 Sorry if this is a repost ... sent it out earlier but still hasnt shown up
 on the list.
 
 I'm setting up tomcat 3.2.3 on an Irix6.5 box (java sdk1.3.1) and am
 having problems compiling any jsp code. Jasper fails with an Error 500 and
 the requisite JSPException stack trace complaining that javac was passed
 in invalid flag ( -encoding ). Is there any way to configure the options
 that are passed to jasper? Why am I having this problem on Irix and not
 other platforms in my shop (linux and HPUX). I'd appreciate any help if
 anyone has seen this before!
 
 Thanks
 
 Mark
 
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Visual Cafe Tomcat Debugging - cafe4.5-tomcat4.0.zip

2002-01-03 Thread Camilo Wilson

This was answered by Donie Kelly in October in a zip file, but the archive bot doesn't 
provide the zip file.
Could someone plz mail it or post a URL for  cafe4.5-tomcat4.0.zip?

Thank you.
Camilo Wilson
Cogix




RE: Difference: TOMCAT and APACHE

2002-01-03 Thread Lai Kok Cheong


If you wre to implement servlets then amongst the three options , tomcat has
to be in your wishlist
Apache and IIS is only use to serves static pages ( we exclude iis for .asp
)
So if you only want to serve jsp files tomcat alone should be sufficient .

 -Original Message-
 From: Mando Ruckotte [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, January 04, 2002 2:03 AM
 To:   Tomcat Users List
 Subject:  Difference: TOMCAT and APACHE
 
 
 Hello All,
 
 I would like to implement servlets on a webserver/http
 server
 
 what would i use: Tomcat, Apache or IIS???
 
 what do i need?
 
 what are the differences between tomcat and apache??? 
 
 can i use one without the other???
 
 
 Thanks,
 
 Mando
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Extending Standard Context

2002-01-03 Thread Craig R. McClanahan



On Thu, 3 Jan 2002, Mark Shaw wrote:

 Date: Thu, 3 Jan 2002 17:56:26 -0800
 From: Mark Shaw [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: Extending Standard Context

 Craig, thanks for the quick reply.

 A quick follow-up: is there any reason to use ServletContextListener vs.
 LifecycleListener (declaring the listener in web.xml vs. server.xml)?


Technologyically, they do very similar things ... but there is one
extremely important difference:  ServletContextListener is portable to
*any* servlet container that implements Servlet 2.3, while
LifecycleListener is something specific to Tomcat 4.


 Thanks again,
 -Mark

 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 03, 2002 1:02 PM
 To: Tomcat Users List
 Subject: Re: Extending Standard Context



 On Thu, 3 Jan 2002, Mark Shaw wrote:

  Date: Thu, 3 Jan 2002 12:37:56 -0800
  From: Mark Shaw [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
  Subject: Extending Standard Context
 
  I have 2 questions, one regarding the general order of Context
  initialization and the other regarding the use of Contexts, any insight is
  appreciated.
 
  1) If I define multiple contexts under the same Host will their
 constructors
  be called in the same order in which they're defined in server.xml (this
  looks to be the case, but I wasn't sure if it's guaranteed)?  Is there a
 way
  to guarantee that their start() methods will be called in that same order
  (this isn't the case so I'm looking for a way to order them)?  Here's my
  example server.xml:
 
  Context path=/1 docBase=. className=mypackage.MyContext/
  Context path=/2 docBase=. className=mypackage.MyContext/
  Context path=/3 docBase=. className=mypackage.MyContext/
 

 There are no guarantees about the startup order of contexts within the
 same host.

 In the HEAD branch of Tomcat 4 (i.e. what you get when you download a
 recent nightly build), there is a guarantee about the order that Service
 elements are initialized in.  Assume a configuration like this:

   Server ...

 Service ...
   Connector ...
   Engine ...
 Host ...
   Context path=/a1 .../
   Context path=/a2 .../
 /Host
   /Engine
 /Service


 Service ...
   Connector ...
   Engine ...
 Host ...
   Context path=/b1 .../
   Context path=/b2 .../
 /Host
   /Engine
 /Service

   /Server

 then, Tomcat will guarantee to start all of the /a1 and /a2 contexts
 (in some undefined order), before going on and starting the /b1 and
 /b2 contexts (in some undefined order).  But this might be more pain
 than you really want to go through.

  2) I'm using dummy contexts and mapping these to components within my
  application, such as a rule engine, daemon threads, etc. in order to use
  Tomcat's manager application to start, stop, and install these components
  which have their own thread associated with them.  I've done this by
  extending StandardContext and spawning a new thread when MyContext is
  created and mapping the Context lifecycle commands to this thread.  Apart
  from violating the Servlet spec by creating my own thread, is this a
  horrible idea?  Does anyone have a better way of managing server
 components
  within Tomcat?

 One approach might be to use an application event listener for the
 contextCreated() and contextDestroyed() method (you would implement
 ServletContextListener).  This way, you can fire up whatever services you
 need when the webapp is started, and gracefully clean them up when it is
 stopped -- without having to modify Tomcat at all.

 Note that the restriction on starting your own threads is a J2EE
 requirement, not a servlet spec one.  It's legal to do that in a non-J2EE
 environment.  (If you run Tomcat under a security manager, you'll also
 need to ensure that the code is granted the required permissions in the
 conf/catalina.policy file).

 
  Thanks for your help,
  -Mark Shaw
  [EMAIL PROTECTED]
 

 Craig



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Difference: TOMCAT and APACHE

2002-01-03 Thread Mando Ruckotte

Sir Lai, 

you mean i could use TOMCAT alone as an HTTP/WEB
Server?

for use with servlets and JSP?

And also why do they integrate TOMCAT to IIS or
APACHE?

Can TOMCAT implement ASP?


Cheers,

Mando
Forgive me, im a newbie =)



--- Lai Kok Cheong [EMAIL PROTECTED] wrote:
 
 If you wre to implement servlets then amongst the
 three options , tomcat has
 to be in your wishlist
 Apache and IIS is only use to serves static pages (
 we exclude iis for .asp



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Difference: TOMCAT and APACHE

2002-01-03 Thread Mando Ruckotte

Sir Lai, 

How do i set it up? any good links on how to do it?



Cheers,

Mando
Forgive me, im a newbie =)



--- Lai Kok Cheong [EMAIL PROTECTED] wrote:
 
 If you wre to implement servlets then amongst the
 three options , tomcat has
 to be in your wishlist
 Apache and IIS is only use to serves static pages (
 we exclude iis for .asp



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




tomcat sending 200 response code instead of 404 when error-page used

2002-01-03 Thread Kirby Vandivort

Hello,

I am using the error-page directive in my web.xml file to redirect
users to an html file, /404.html.

When I do this, though, it appears that tomcat is sending a response
code of 200 instead of 404.  Is this the way that it should be?  It
seems to me it should send a response code of 404 and then go ahead and
send the contents of the 404.html file.

Someone out there with a more recent knowledge of how http response
headers are parsed can possibly set me straight on this one.

Thanks,

-- 

Kirby Vandivort  Theoretical Biophysics Group
Email: [EMAIL PROTECTED]  3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/University of Illinois
Phone: (217) 244-5711405 N. Mathews Ave
Fax  : (217) 244-6078Urbana, IL  61801, USA

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




servlest and JSP's on PWS(win98)

2002-01-03 Thread Mando Ruckotte

hi all,


how do i integrate tomcat to
PersonalWebServer(WIN98SE)? or how do i implement
servlets and JSP's in PWS?

any configuration?

help!!!

thanks,

mando

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Difference: TOMCAT and APACHE

2002-01-03 Thread Artigas, Ricardo Y.

Yes you could also use TOMCAT as web server but in terms of serving static
(html) pages, they say it's not as fast as Apache. It is advisable to use
Tomcat for serving the servlet and jsp files only. I don't know if this has
changed with Tomcat 4.

You can integrate TOMCAT with IIS or Apache so that IIS or Apache will serve
the static pages while servlets and jsp files are served by TOMCAT. This
way, you get the best of both with Tomcat serving jsp and servlets while
Apache or IIS serving html/static pages.

TOMCAT can't interpret ASP. Only IIS.

HTH.

:~)
Ricky Y. Artigas
Database Administrator /
Analyst/Programmer 
Information Technology Division
Easycall Communications Phils., Inc.
 ---
 IMPORTANT NOTICE: 
  
 This message (and any attachment hereto) may contain privileged and/or
 confidential information specific to EasyCall. If you are not the intended
 addressee indicated in this message, you may not copy or disseminate this
 message (or any attachment hereto) to anyone. Instead, please destroy this
 message (and any attachment hereto), and kindly notify the sender by reply
 email. Any information in this message (and any attachment thereto) that
 do not relate to the official business of EasyCall shall be understood as
 neither given nor endorsed by the company.
 
 
 -Original Message-
 From: Mando Ruckotte [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, January 04, 2002 12:27 PM
 To:   [EMAIL PROTECTED]
 Cc:   [EMAIL PROTECTED]
 Subject:  RE: Difference: TOMCAT and APACHE
 
 Sir Lai, 
 
 you mean i could use TOMCAT alone as an HTTP/WEB
 Server?
 
 for use with servlets and JSP?
 
 And also why do they integrate TOMCAT to IIS or
 APACHE?
 
 Can TOMCAT implement ASP?
 
 
 Cheers,
 
 Mando
 Forgive me, im a newbie =)
 
 
 
 --- Lai Kok Cheong [EMAIL PROTECTED] wrote:
  
  If you wre to implement servlets then amongst the
  three options , tomcat has
  to be in your wishlist
  Apache and IIS is only use to serves static pages (
  we exclude iis for .asp
 
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




DNS lookup not working

2002-01-03 Thread Kirby Vandivort

Using tomcat 4.0.1 standalone..

My DNS lookups don't seem to be working..  Relevant bits of files:

server.xml:

   !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
Connector className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=6/
!-- Note : To disable connection timeouts, set connectionTimeout value
 to -1 --

!-- Define an SSL HTTP/1.1 Connector on port 8443 --
Connector className=org.apache.catalina.connector.http.HttpConnector
   port=8443 minProcessors=5 maxProcessors=75
   enableLookups=true



java code:

You (or someone at  +
httpReq.getRemoteHost() + ( + httpReq.getRemoteAddr() + )\n +

output:

You (or someone at 127.0.0.1(127.0.0.1)  


I don't think it is a DNS thing.  The machine is resolving names just
as it always has..  This has been happening since I switched to tomcat
a couple of weeks ago; I just now started extensive testing and noticed
it, though.

Any ideas ?

 
-- 

Kirby Vandivort  Theoretical Biophysics Group
Email: [EMAIL PROTECTED]  3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/University of Illinois
Phone: (217) 244-5711405 N. Mathews Ave
Fax  : (217) 244-6078Urbana, IL  61801, USA

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: JDBCRealm problems - sqlserver

2002-01-03 Thread tai liang

  Hi,I think
com.microsoft.jdbc.sqlserver.SQLServerDriver
 is  a jdbcpool driver.
--- Chaitresh [EMAIL PROTECTED] wrote:
 Hi,
 
 I am having problems setting up the JDBCRealm. The
 database is sqlserver. I have downloaded the drivers
 and add them to the CLASSPATH. The configuration in
 the xml file looks like this:
   
  server.xml clip BEGIN
 ---
 
 Realm 
 className=org.apache.catalina.realm.JDBCRealm
 debug=99
   

driverName=com.microsoft.jdbc.sqlserver.SQLServerDriver
   

connectionURL=jdbc:microsoft:sqlserver://dbmachine:;DatabaseName=SomeDataBase?username=uname;password=passwd
userTable=user_table userNameCol=user_name
 userCredCol=pass
userRoleTable=user_role roleNameCol=role_name
 /
  
  server.xml clip END
 ---
 
 
 But I keep getting this error:
 
 Error Message
 Begin
 
 Starting service Tomcat-Standalone
 Apache Tomcat/4.0.1
 Catalina.start: LifecycleException:  Exception
 opening database connection:  java.sql.SQLException:
 com.microsoft.jdbc.sqlserver.SQLServerDriver
 LifecycleException:  Exception opening database
 connection:  java.sql.SQLException:
 com.microsoft.jdbc.sqlserver.SQLServerDriver
 at

org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
 at

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
 at

org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at

org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at

org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at

org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at

org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at

org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native
 Method)
 at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
 - Root Cause -
 java.sql.SQLException:
 com.microsoft.jdbc.sqlserver.SQLServerDriver
 at

org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:538)
 at

org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
 at

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
 at

org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
 at

org.apache.catalina.core.StandardService.start(StandardService.java:388)
 at

org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
 at

org.apache.catalina.startup.Catalina.start(Catalina.java:776)
 at

org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
 at

org.apache.catalina.startup.Catalina.process(Catalina.java:179)
 at java.lang.reflect.Method.invoke(Native
 Method)
 at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
 
 Error Message End
 
 Any help is appreciated!
 
 -Chaitresh
 


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Difference: TOMCAT and APACHE

2002-01-03 Thread Lai Kok Cheong

Yes 
--And also why do they integrate TOMCAT to IIS or
APACHE?
I already answered your question in my previous mail.



 -Original Message-
 From: Mando Ruckotte [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, January 04, 2002 4:27 AM
 To:   [EMAIL PROTECTED]
 Cc:   [EMAIL PROTECTED]
 Subject:  RE: Difference: TOMCAT and APACHE
 
 Sir Lai, 
 
 you mean i could use TOMCAT alone as an HTTP/WEB
 Server?
 
 for use with servlets and JSP?
 
 And also why do they integrate TOMCAT to IIS or
 APACHE?
 
 Can TOMCAT implement ASP?
 
 
 Cheers,
 
 Mando
 Forgive me, im a newbie =)
 
 
 
 --- Lai Kok Cheong [EMAIL PROTECTED] wrote:
  
  If you wre to implement servlets then amongst the
  three options , tomcat has
  to be in your wishlist
  Apache and IIS is only use to serves static pages (
  we exclude iis for .asp
 
 
 
 __
 Do You Yahoo!?
 Send your FREE holiday greetings online!
 http://greetings.yahoo.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Problems with Tomcat4, Reflection Classloading

2002-01-03 Thread Jiger Java

Hi all,
  I am using Tomcat 4.0 final, JDK 1.4 beta 3, Win98 for dev.
I am using a automatic bean population class to automatically populate bean 
based on request object just like in Struts.
   Ok, now the problem comes during population when I receive the following 
exception.

java.lang.IllegalArgumentException: object is not an instance of declaring 
class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at java.lang.reflect.Method.invoke(Method.java:327)
at com.co.util.FormUtil.populateBean(FormUtil.java:66)
at com.co.util.FormUtil.populateBean(FormUtil.java:18)
at DomcnoEtppServlet.doGet(Unknown Source)
at DomcnoEtppServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at MVCServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
at java.lang.Thread.run(Thread.java:539)

I notice this problem when Tomcat is left unused for sometime  also when a 
class when compiled is re-loaded by tomcat. since some property is not set 
its validation fails  is sent back to form page with the errors 
highlighted.
  If I continue sending request or try to refresh the page it then gives the 
the following error

Root Cause:
java.lang.NoClassDefFoundError: sun/reflect/MethodAccessorImpl
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:49)
at 
sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:384)
at java.security.AccessController.doPrivileged(Native Method)
at 
sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:380)
at 
sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:62)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:31)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at java.lang.reflect.Method.invoke(Method.java:327)
at com.co.util.FormUtil.populateBean(FormUtil.java:66)
at com.co.util.FormUtil.populateBean(FormUtil.java:18)
at AuthenticationServlet.doGet(Unknown Source)
at AuthenticationServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at MVCServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(Unknown Source)
at org.apache.catalina.servlets.InvokerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at