RE: Tomcat uptime...

2001-10-19 Thread Darrell Porter

I have 8 Tomcat 3.2.3 servers running on Win2K and reboot them approximately
every 60 days due to scheduled maintenance (blowing the dust out, etc).

I would suggest you examine the logs and find out why the 500 errors are
being generated - often caused by database disconnects, poor coding
practices, unstable underlying OS issues (one of my dev machines had to be
rebuilt because Win2k became corrupt and was generating all sorts of 500
errors).  Before you rebuild the box, build a new box and run your code
there to see if you're experiencing the same issues.

Darrell


-Original Message-
From: Chris Gross [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 9:37 AM
To: tomcatlist
Subject: Tomcat uptime...



How long do you guys go without restarting tomcat?  I have a developer here
telling me that tomcat should be restarted every day or so.  We have been
getting error code 500s and he is saying that is because we need to restart
tomcat??  We are running 3.2.3.

-chris




RE: Security Question

2001-10-19 Thread Darrell Porter

What is your debug level in the context?

Darrell


-Original Message-
From: Gerry Duhig [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 9:34 AM
To: [EMAIL PROTECTED]
Subject: Fw: Security Question


I am using Tomcat with JBoss and JBoss is handling security. Everything
works fine and each time a secured component is accessed I see two lines in
the logs:

User: name is authenticated
User: name is authorized

There are now thousands of these lines! How do I get rid of them?

There are so many it must be a significant impact on performance and its
over-filling the logs.

Help please

Gerry



RE: Win200 crashing with Tomcat 4

2001-10-19 Thread Darrell Porter

I had a Win2K server that was rebooting periodically for no apparent reason.

As it turns out, the problem was that the server had Automatic Recovery
turned on in the BIOS (Compaq, HP and Dell servers have this feature) and
disabling this feature stopped the inexplicable reboots.

Check it out.

Darrell

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Win200 crashing with Tomcat 4




On Fri, 19 Oct 2001, Pae Choi wrote:

 Date: Fri, 19 Oct 2001 01:44:13 -0700
 From: Pae Choi [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Win200 crashing with Tomcat 4

 This is real scary if Janek's story is true. Could the TC dev. team
 confirm this?

 Since Janek is only Testing so it should not a big issue to
 produce the test cases Janek has.


Tomcat by itself (i.e. stand-alone, with no type 2 JDBC drivers or other
native code) is 100% pure Java.  Java programs CANNOT cause a system
reboot (or even a core dump) unless there is a bug in the JVM.  And even
then, the fact that you're getting a reboot is either a bug in your
operating system or a hardware problem.

If you are using native code inside Tomcat (typically from a JDBC driver),
then it is entirely possible for bugs in that code to cause coredumps in
the JVM process -- but an OS that reboots is a faulty OS.  I would start
with applying all of the recent patches to W2K Pro.


 Pae


Craig McClanahan



500 Error Handling

2001-08-23 Thread Darrell Porter

Is it possible for Tomcat 3.2.x to redirect to an errors page rather than
displaying the raw 500 error in the browser?

Thanks

Darrell Porter

Dilbert: I have become one with my computer. It is a feeling of ecstasy...
the blend of logic and emotion. I have reached...
Dogbert: Nerdvana





RE: help...help

2001-07-13 Thread Darrell Porter

Dhwani,

If you're running under NT/2000, check the
C:\WINNT\SYSTEM32\DRIVERS\ETC\HOSTS file (not HOSTS.SAM).
If you're running Unix or a Unix-like operating system, check /etc/hosts or
/etc/resolv.conf

localhost should be directed to 127.0.0.1 in the hosts file


I hope this helps,

Darrell


-Original Message-
From: Dhwani K. Bhayani [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 12:58 AM
To: [EMAIL PROTECTED]
Subject: help...help



I cannot access through http://localhost:8080/examples/jsp/index.html
but through IP http://127.0.0.1:8080/examples/jsp/index.html
Is it something wrong? And now how to access through
e.g http:/www.concept.com/numguess.jsp ?
I have done each and evry steps but not able to run this.
The IP of this site is different so how to set up.I read
setting virtual host section but still not done.Please
tell me the steps to do.I have already done successfully all the
steps mentioned in tomcat-iis-howto.html.What else I need to do?
please help me if anyone can?

Dhwani








RE: There is no disk in the drive!

2001-07-11 Thread Darrell Porter

1.) Open the folder on your hard drive (InitialProject).
2.) Right click your mouse in the folder.
3.) Select New Text Document
4.) Name the Document swa (no extension)
5.) If prompted to change the filename extension click YES

If this works, let me know.

thanks

Darrell Porter
Operations Manager
WiseConnect, Inc
www.wiseconnect.com

-Original Message-
From: Frank Lawlor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 8:17 AM
To: Tomcat (E-mail)
Subject: There is no disk in the drive!


When I run my web application using Tomcat as a service
under windows 2000 (Tomcat 3.1.1) I'm running into a strange
message.

My app runs an eternal .cmd file to populate some 
directories.  One of the lines in the cmd file is
  xcopy InitialProject\*.*  Projects\%1 /E

This works fine when Tomcat is not a service, but when it
is a service, the server machine twice puts up a message
box with:

  There is no disk in the drive.  Please insert a disk in the
drive \Device\Harddisk\DR1.

If I hit Continue it goes on to work just fine.

If I put in two xcopy statements the message comes up
four times, so it seems to be a result of the two xcopy
arguments.

Changing the argument paths to explicit paths doesn't
help.  E.g.,
  xcopy C:\Tomcat\XXX\InitialProject\*.*  C:\Tomcat\XXX\Projects\%1 /E

Other commands (e.g., mkdir) don't seem to have any 
problem.

Any idea how to fix this?

Thanks,

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.





RE: Restarting Tomcat on NT

2001-07-03 Thread Darrell Porter

Steve,

If you're running personal web server, IIS, or some third party apps that
have integrated web servers (several webcam products come to mind), then
shut these down.  This is most likely the offending application.

Darrell


-Original Message-
From: Steven Turoff [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 5:30 AM
To: [EMAIL PROTECTED]
Subject: RE: Restarting Tomcat on NT


Actually, I'm not running Tomcat as a service. I meant that I don't have 
any problems starting Tomcat after rebooting the machine. I've run netstat 
-a (results below) and can see that the ports are in use, however that 
information doesn't seem to be very useful. Perhaps I should try running 
tomcat as a service?

Steve

At 05:56 AM 07/03/2001, Randy Layman wrote:

 No, there is no way to free a port.  You mentioned that Tomcat
comes
up after a reboot, implying that you are running Tomcat as a service.  If
that is the case, the process name is jk_nt_service.exe.  Unless you have
another process that is constantly trying to grab that port, Tomcat is
still
running - NT does free the ports when the process dies.

 Also, 2000 (and I believe NT) ship with netstat.  Using netstat
-a
you can determine which ports are currently in use (and their state).

 Randy

  -Original Message-
  From: Steven Turoff [mailto:[EMAIL PROTECTED]]
  Sent: Monday, July 02, 2001 7:34 PM
  To: [EMAIL PROTECTED]
  Subject: RE: Restarting Tomcat on NT
 
 
  I've already tried that. Tomcat is dead, alright. Is there a way to
  explicitly free up a port on NT?
 
  At 06:04 PM 07/02/2001, you wrote:
  Maybe you didn't really kill off Tomcat, but just the DOS
  box it was running
  in,...  (I've seen it happen after closing the DOS box, but not after
  Ctrl+C'ing the program.)
  
  Try bringing up the Task Manager, and make sure there aren't
  any instances
  of a java image name running.
  
   -- Bill K.
  
-Original Message-
From: Steven Turoff [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 3:30 PM
To: [EMAIL PROTECTED]
Subject: Restarting Tomcat on NT
   
   
I am having problems restarting Tomcat on NT. After a
  reboot of the
machine, Tomcat starts without a problem. However, if I stop
Tomcat and
then attempt to restart, I get the following error:
   
FATAL:java.net.BindException: Address in use: bind
java.net.BindException: Address in use: bind
 at java.net.PlainSocketImpl.socketBind(Native Method)
 at
  java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
 at java.net.ServerSocket.init(ServerSocket.java:173)
 at java.net.ServerSocket.init(ServerSocket.java:124)
 at
org.apache.tomcat.net.DefaultServerSocketFactory.createSocket(
DefaultServerSocketFactory.java:97)
 at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTc
pEndpoint.java:239)
 at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnec
tor.java,
Compiled Code)
 at
org.apache.tomcat.core.ContextManager.start(ContextManager.jav
a, Compiled Code)
 at
  org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
   
I'm running Tomcat on port 8080. After I receive the above
error, a netstat
-a yields:
   
   TCPcx628443-b:80070.0.0.0:0  LISTENING
   TCPcx628443-b:80070.0.0.0:0  LISTENING
   TCPcx628443-b:80800.0.0.0:0  LISTENING
   TCPcx628443-b:80800.0.0.0:0  LISTENING
   
So, for some reason, stopping Tomcat does not free up the
port. I must then
reboot my machine to run Tomcat again. I'm using Tomcat 3.2.1
and Classic
VM (build JDK-1.2.2-001, native threads, symcjit).
   
Ideally, I'd like to fix the problem, however, I'm also
interested in any
solution that doesn't require rebooting my machine. I'll be
switching to a
Linux-Tomcat platform soon, but need a solution for the meantime.
   
Thanks,
   
Steve
   
 



RE: WAR file behavior and Tomcat 3.2.x

2001-06-11 Thread Darrell Porter

REPOST as I REALLY need help on this...

I've read the documentation.  I've added the unpackWARfiles=FALSE to my
server.xml

Why is Tomcat still unpacking the WAR file into the WEBAPPS directory?
Should it not simply be unpacking files to WORK as it needs them?

I had heard that it was possible to encrypt or password-protect the WAR file
but I can find no instructions on configuring Tomcat to access these
encrypted files.  Any sources?

Thanks

Darrell Porter


Only a man who can not conquer his deficiencies feels the need to convince
the world he has none.



WAR file behavior and Tomcat 3.2.x

2001-06-05 Thread Darrell Porter

REPOST as I REALLY need help on this...

I've read the documentation.  I've added the unpackWARfiles=FALSE to my
server.xml

Why is Tomcat still unpacking the WAR file into the WEBAPPS directory?
Should it not simply be unpacking files to WORK as it needs them?

I had heard that it was possible to encrypt or password-protect the WAR file
but I can find no instructions on configuring Tomcat to access these
encrypted files.  Any sources?

Thanks

Darrell Porter


Only a man who can not conquer his deficiencies feels the need to convince
the world he has none.




WAR file behavior and Tomcat 3.2.x

2001-06-01 Thread Darrell Porter

I've read the documentation.  I've added the unpackWARfiles=FALSE to my
server.xml

Why is Tomcat still unpacking the WAR file into the WEBAPPS directory?
Should it not simply be unpacking files to WORK as it needs them?

I had heard that it was possible to encrypt or password-protect the WAR file
but I can find no instructions on configuring Tomcat to access these
encrypted files.  Any sources?

Thanks

Darrell Porter


Only a man who can not conquer his deficiencies feels the need to convince
the world he has none.





RE: Âü°íÇϼ¼¿ä

2001-05-10 Thread Darrell Porter

excuse me?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 11:30 PM
Subject: Âü°íÇϼ¼¿ä



¿©·¯ºÐ¿¡°Ô °¡Àå ÇÊ¿äÇÏ°í À¯ÀÍÇÑ ÄÄÇ»ÅÍ °ü·ÃÇÁ·Î±×·¥À»
ÆÄ°ÝÀûÀ¸·Î ½Ñ °¡°Ý¿¡ °ø±ÞÇÕ´Ï´Ù

ÃֽŰÔÀÓ. À¯Æ¿°ü·ÃÇÁ·Î±×·¥. MP3. ºñµð¿À½Ãµð µîµî
¸ðµç ÇÁ·Î±×·¥À» ÆǸÅÇÕ´Ï´Ù

¹°·Ð ½Å¿ë °ÆÁ¤À» ÀüÇô ½Å°æ¾²Áö ¸¶½Ê½Ã¿ä
¾ÐÃàÈ­ÀϼÓÀÇ ³»¿ëÀ» º¸½ÅÈÄ ÀüÈ­³ª ¸ÞÀÏ·Î ¿¬¶ôÁֽʽÿä
ÀÌ ¸ÞÀÏÀ» º¸³½ ¾ÆÀ̵ð·Î´Â ¿¬¶ôÀÌ µÇÁö ¾Ê½À´Ï´Ù.
¾ÐÃàÈ­Àϼӿ¡ ¿¬¶ôó°¡ ÀÖ½À´Ï´Ù(¸ÞÀÏ.ÀüÈ­¹øÈ£) 

=== Ưº° º¸³Ê½º ½Ãµð¸¦ ÁõÁ¤ÇÕ´Ï´Ù ===

È®½ÇÇÏ°Ô ÈÞ´ëÆùÀ¸·Î ¿¬¶ôÁֽʽÿä
°¨»çÇÕ´Ï´Ù

³¡À¸·Î Çã¶ô¾øÀÌ ¸ÞÀÏÀ» µå¸°°ÍÀ» »ç°úµå¸³´Ï´Ù.±×¸®°í ¿©·¯ºÐÀÇ ¸ÞÀÏÁÖ¼Ò´Â
¹«ÀÛÀ§·Î ¸ð¾ÆÁø°ÍÀÌ´Ï ´Ù¸¥ °ÆÁ¤Àº ÇÏÁö ¾ÊÀ¸¼Åµµ µË´Ï´Ù.  

¹Ø¿¡ À̾îÁö´Â °°Àº±Û¿¡¼­ ¸®½ºÆ®¸¦ ´Ù¿î¹ÞÀ¸½Ç¼ö ÀÖ½À´Ï´Ù.
¸¸ÀÏ ¹Ø¿¡ [ ÀÌ ±ÛÀÌ º¸Àδٸé Á¤»óÀÔ´Ï´Ù ] °¡ º¸ÀÌÁö ¾Ê°Å³ª 
À̾߱â.»õ·Ò µîÀÇ Åë½ÅÇÁ·Î±×·¥À» »ç¿ëÇϽŴٸé 
÷ºÎµÈ È­ÀÏ   CDLIST.HTM  ¸¦ ´Ù¿î¹ÞÀ¸½ÅÈÄ¿¡ °Å±â¼­ ¸®½ºÆ®¸¦ ¹ÞÀ¸½Ã¸é µË´Ï´Ù
   




RE: tomcat installation on windows 2000

2001-05-09 Thread Darrell Porter

Do you want to run Tomcat stand-alone or integrated with IIS 5?

Darrell


-Original Message-
From: saraf aparna [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: tomcat installation on windows 2000


Hi

I want to install tomcat on windows 2000 will you
please send me the procedure.

thanks
Aparna

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



RE: Newbie problem starting web server.

2001-05-01 Thread Darrell Porter

The only output to the command window that appears are java specific in
nature (disconnects from the database and the like) and there is not a
non-programmatic way to change this that I am aware of...

Darrell


-Original Message-
From: Peter B. West [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 10:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Newbie problem starting web server.


Darrell Porter wrote:
 
 In the %TOMCAT_HOME%\bin directory is a file called TOMCAT.BAT
 Searching through the file, you will find a code snippet that looks
like
 this:
 
 :startServer
 echo Starting Tomcat in new window
 if %2 == -security goto startSecure
 %_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home=%TOMCAT_HOME%
org.apache.
 tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
 goto cleanup
 
 At the line that begins %_STARTJAVA% add 
 %TOMCAT_HOME%\LOGS\TOMSTART.LOG (without quotes) so that

... and without the newline; i.e.
%TOMCAT_HOME%\LOGS\TOMSTART.LOG
(note the right angle bracket `' at the beginning.  That's what does
the redirect of the output.)

How does this work with stderr on Windows?

Peter
-- 
Peter B. West  [EMAIL PROTECTED]  http://powerup.com.au/~pbwest
Lord, to whom shall we go?



RE: Tomcat Boot: Help!

2001-05-01 Thread Darrell Porter

What does your script look like?

Where is it?



-Original Message-
From: Mike Gruber [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 10:17 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Boot: Help!


I am still desperately trying to get Tomcat 3.2.1 to start up at boot time.
It starts, but then dies before the login.  Running the exact same init
script from the command line works no problem, so I am completely at a loss
as to the cause of the problem.  I am so desperate, I am even willing to
completely change Linux distributions if anyone out there knows a distro
that works with Tomcat.  I am currently using Caldera eServer 2.3 with
jdk1.3.0_02 and apache 1.3.19.  Please reply to this post and tell me what
distribution, versions, etc you are using to make tomcat load at boot time.
Any and all information will be greatly appreciated.


MGRUBER




RE: Newbie problem starting web server.

2001-04-30 Thread Darrell Porter

To (mostly) capture what appears in the tomcat command interpreter window on
a Win32 platform, do the following:

In the %TOMCAT_HOME%\bin directory is a file called TOMCAT.BAT
Searching through the file, you will find a code snippet that looks like
this:

:startServer
echo Starting Tomcat in new window
if %2 == -security goto startSecure
%_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home=%TOMCAT_HOME% org.apache.
tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup

At the line that begins %_STARTJAVA% add 
%TOMCAT_HOME%\LOGS\TOMSTART.LOG (without quotes) so that
it pipes the output of the stream to a file called TOMSTART.LOG in your
tomcat LOGS directory.  From there,
you can cut and paste it or parse it using a log reader or do with it as
you like...

Logging is turned on by context in SERVER.XML in the %TOMCAT_HOME%\conf
directory.  It is specified in the context tag as debug=n where n is a
number from 0 to 9.  See below for content achieved in log files with
different debug levels set.

I hope this helps...

Level 0
   Errors and states that cause a significant change in program flow.  
   = Anything that causes a Discon+Retry or a giveup message.

Level 1
   Important or inaccessible state information.
   = Connection start, Idle disconnection.

Level 2
   Rare things that cause a minor program flow adjustment.
   = No REST, No PASV, etc.

Level 3
   Errors and useful messages that are slightly too verbose or common
   for 0-2 or don't quite fit in the classifications.
   = Login banner

Level 4
   All remote responses or major results. (Trace results)
   = All 999 Xyzzy responses received.

Level 5
   All remote commands or major tasks. (Trace jobs)
   = All commands sent to server.

Level 6
   General information that will not be too verbose but is normally a
   little less important. (Trace state)

Level 7
   Similar to level 3 but verbose or not as useful.

Level 8
   Very verbose information that'll probably be useful sometime.

Level 9
   Anything and everything else, debugs that probably won't be useful
   ever again.(unclassified)
   


-Original Message-
From: jackling [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 3:34 AM
To: [EMAIL PROTECTED]
Subject: Newbie problem starting web server.



version: tomcat 3.1
platform: win98
 
I'm new in configuring tomcat and fail to start the web server. I've
following questions:
1) can I run the tomcat web server on Win98 (9X)? or must be WinNT/2000?
 
2) after I type 'startup' from the /bin directory, another DOS window
prompts up w/ the log (see blow). From this point on, I try using my browser
and type: http://localhost:8080 (or http://localhost:8080/index.html). The
web server seems not running and the browser prompts me to connect to
internet.
 
I don't know how to capture the screen log, below is the extract: (It said
'File not found C:\Apache\Tomcat\webapps\ADMIN.WAR' but the file is in that
directory. So' I don't know why)
 
Context log: path=/ADMIN.WAR File not found
C:\Apache\Tomcat\webapps\ADMIN.WAR
\WEB-INF\web.xml, using only defaults
Context log path=/ADMIN.WAR :jsp: init
Context log path=/ADMIN.WAR :default: init
Context log path=/TEST.WAR :tomcat.errorPage: init
Context log: path=/TEST.WAR File not found
C:\Apache\Tomcat\webapps\TEST.WAR\W
EB-INF\web.xml, using only defaults
Context log path=/TEST.WAR :jsp: init
Context log path=/TEST.WAR :default: init
Context log path=/test :tomcat.errorPage: init
Context log path=/test :jsp: init
Context log path=/test :default: init
Context log path=/EXAMPLES.WAR :tomcat.errorPage: init
Context log: path=/EXAMPLES.WAR File not found
C:\Apache\Tomcat\webapps\EXAMPL
ES.WAR\WEB-INF\web.xml, using only defaults
Context log path=/EXAMPLES.WAR :jsp: init
Context log path=/EXAMPLES.WAR :default: init
Context log path= :tomcat.errorPage: init
Context log path= :jsp: init
Context log path= :default: init
Starting endpoint port=8080
handler=org.apache.tomcat.service.http.HttpConnec
tionHandler
Starting endpoint port=8007
handler=org.apache.tomcat.service.connector.Ajp12
ConnectionHandler

3) I don't see the tomcat/logs files updated. how to turn the log function
on?
 
I'm stuck at this point. Your help is much appreiated.
 
thanks,
jackling.



RE: Installation on Windows ME

2001-04-30 Thread Darrell Porter

What do you mean by dynamically setting environment variables ?

Do you have enough environment space set aside in the window starting Tomcat
(default is 1024 which is woefully inadequate)?

You may also want to check out
http://support.microsoft.com/support/kb/articles/Q269/5/24.ASP

Or you may want to revert to Windows 98 due to the brain-dead changes made
to make Win98 into WinME.

Darrell


-Original Message-
From: Kevin Broderick [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 2:50 AM
To: [EMAIL PROTECTED]
Subject: Installation on Windows ME


Hi,
Probably a very simple question to be asking, but here goes:
Is it possible to / has anybody installed Tomcat on Windows ME ?
I run Tomcat on NT and all works well, but have major errors when
trying to run it on Windows ME. It seems there is an issue with 
dynamically setting environment variables in WinME. 
Has anyone seen this or know of a workaround ?
Any help much appreciated,
Regards
Kevin Broderick



RE: What is errno = 61 and how to resolve it?

2001-04-30 Thread Darrell Porter

errno 61 is Connection refused.  Attached is a comma-delimited list of
errno's for future reference...

I hope this gets you started...

Darrell

Name,Number,Explanation 
EJUSTRETURN,-2,don't modify regs - just return  
ERESTART,-1,restart syscall  
EPERM,1,Operation not permitted  
ENOENT,2,No such file or directory  
ESRCH,3,No such process  
EINTR,4,Interrupted system call  
EIO,5,Input/output error  
ENXIO,6,Device not configured  
E2BIG,7,Argument list too long  
ENOEXEC,8,Exec format error  
EBADF,9,Bad file descriptor  
ECHILD,10 No child processes  
EDEADLK,11,Resource deadlock avoided  
ENOMEM,12,Cannot allocate memory  
EACCES,13,Permission denied  
EFAULT,14,Bad address  
ENOTBLK,15,Block device required  
EBUSY,16,Device busy  
EEXIST,17,File exists  
EXDEV,18,Cross-device link  
ENODEV,19,Operation not supported by device  
ENOTDIR,20 Not a directory  
EISDIR,21,Is a directory  
EINVAL,22,Invalid argument  
ENFILE,23,Too many open files in system  
EMFILE,24,Too many open files  
ENOTTY,25,Inappropriate ioctl for device  
ETXTBSY,26,Text file busy  
EFBIG,27,File too large  
ENOSPC,28,No space left on device  
ESPIPE,29,Illegal seek  
EROFS,30 Read-only file system  
EMLINK,31,Too many links  
EPIPE,32,Broken pipe  
EDOM,33,Numerical argument out of domain  
ERANGE,34,Result too large  
EAGAIN,35,Resource temporarily unavailable  
EINPROGRESS,36,Operation now in progress  
EALREADY,37,Operation already in progress  
ENOTSOCK,38,Socket operation on non-socket  
EDESTADDRREQ,39,Destination address required  
EMSGSIZE,40 Message too long  
EPROTOTYPE,41,Protocol wrong type for socket  
ENOPROTOOPT,42,Protocol not available  
EPROTONOSUPPORT,43,Protocol not supported  
ESOCKTNOSUPPORT,44,Socket type not supported  
EOPNOTSUPP,45,Operation not supported  
EPFNOSUPPORT,46,Protocol family not supported  
EAFNOSUPPORT,47,Address family not supported by protocol family  
EADDRINUSE,48,Address already in use  
EADDRNOTAVAIL,49,Can't assign requested address  
ENETDOWN,50 Network is down  
ENETUNREACH,51,Network is unreachable  
ENETRESET,52,Network dropped connection on reset  
ECONNABORTED,53,Software caused connection abort  
ECONNRESET,54,Connection reset by peer  
ENOBUFS,55,No buffer space available  
EISCONN,56,Socket is already connected  
ENOTCONN,57,Socket is not connected  
ESHUTDOWN,58,Can't send after socket shutdown  
ETOOMANYREFS,59,Too many references: can't splice  
ETIMEDOUT,60 Operation timed out  
ECONNREFUSED,61,Connection refused  
ELOOP,62,Too many levels of symbolic links  
ENAMETOOLONG,63,File name too long  
EHOSTDOWN,64,Host is down  
EHOSTUNREACH,65,No route to host  
ENOTEMPTY,66,Directory not empty  
EPROCLIM,67,Too many processes  
EUSERS,68,Too many users  
EDQUOT,69,Disc quota exceeded  
ESTALE,70 Stale NFS file handle  
EREMOTE,71,Too many levels of remote in path  
EBADRPC,72,RPC struct is bad  
ERPCMISMATCH,73,RPC version wrong  
EPROGUNAVAIL,74,RPC prog. not avail  
EPROGMISMATCH,75,Program version wrong  
EPROCUNAVAIL,76,Bad procedure for program  
ENOLCK,77,No locks available  
ENOSYS,78,Function not implemented  
EFTYPE,79,Inappropriate file type or format  
EAUTH,80 Authentication error  
ENEEDAUTH,81,Need authenticator  
ELAST,81,Must be equal largest errno  


-Original Message-
From: Philippe Roy [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 9:34 AM
To: [EMAIL PROTECTED]
Subject: What is errno = 61 and how to resolve it?


I get an errno = 61 in my mod_jk.log and can't find any documentation that
may explain what this is about. Could someone give me an idea.



RE: Tomcat/IIS 5 /examples solution?

2001-04-26 Thread Darrell Porter

ISAPI applications are called only on demand, if a request explicitly points
to the DLL. Hence, in the most common case - of processing all normal
requests, the additional overhead of a filter will not be incurred.

ISAPI Filters provide call backs at each stage of the processing. Realize
that what is being installed is a filter, not an application and therefore
IIS doesn't know (or even need to know) how to start Tomcat.

The ISAPI filter simply forwards items to Tomcat for processing.

At least, this is what I am told...=P

Darrell


-Original Message-
From: Steve Holmlund [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 3:08 PM
To: [EMAIL PROTECTED]
Subject: Tomcat/IIS 5 /examples solution?


Ok, it was a trip to jGuru and a post by Eric M. from December that may have
provided the answer to my problem. Eric reiterated the isapi_redirect.dll
install procedure in 28 steps. Step #26 was to start Tomcat.

I didn't think this was necessary as I thought that IIS started Tomcat by
having it installed as a filter. Then I re-read the tomcat-iis-howto and lo
and behold, after Configuring the ISAPI Redirector Step 9, there is the
following:

That's all, you should now start Tomcat and ask IIS to serve you the
/examples context.

So I fire up the Jakarta NT Service on the server and test from another
machine.

With IIS running, this works:
http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP)

If I stop IIS, that URL no longer works and I must enter:
http://192.168.1.2:8080/examples/jsp/index.html

which I presume is the standalone Tomcat working???

Can someone confirm that this is correct? If you know and have the time, I
would appreciate understanding why you must both add the filter and start
Tomcat separately. I don't really understand the theory of operation.

Thanks!
Steve



RE: An easy one?...Tomcat IIS

2001-04-24 Thread Darrell Porter

Check out the How-To at

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm
l



-Original Message-
From: Scott Weaver [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 3:33 PM
To: [EMAIL PROTECTED]
Subject: An easy one?...Tomcat  IIS



Hello all,

I'm sure you've seen this question asked before or even answered it.

I have Tomcat running and all the examples in the webapps dir work fine and
I can add my own servlets to webapps and they work and I can create a
directory outside webapps and run a servlet but they all have to be run
using:

http://myserver:8080/mydir/servlet/myservlet

I want to run it here:
http://myserver/mydir/myservlet

What do I have to modify or create to get it to do this?

I understand that Tomcat is running on 8080 and that is how I'm accessing my
servlet but can't I go through port 80 and have IIS redirect to Tomcat?

I've come this far and the solution is probably staring me in the face but
it's Tuesday and the brain is numb already.

Thanks for the help in advance,

Scott



RE: help needed: Server Side Includes

2001-04-19 Thread Darrell Porter



http://www.jspinsider.com/tutorials/jsp/Ray/JSPB_9.html

  -Original Message-From: Sergej Sander 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 19, 2001 
  5:53 AMTo: [EMAIL PROTECTED]Subject: help 
  needed: Server Side Includes
  Hallo!
  
  I am new here, my name is Sergej and I 
  working with web for a couple of years.
  Nowis a time for me to start with 
  tomcat, because it's a part of the software, that 
  we use. 
  
  I can't find any word in the documentation 
  or the faq, if it possible to work with the
  server side includes, like !--#include 
  virtual=""-- instructions in HTML code by 
  tomcat server.
  
  If you can provide me with the advice, I 
  would be fratefull for it.
  
  Thanks,
  
  Sergej


RE: Help with Tomcat log messages

2001-04-18 Thread Darrell Porter

Other than this being a malformed GET operation...

Does the site work at all?

-Original Message-
From: Blankenship, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 8:17 AM
To: '[EMAIL PROTECTED]'
Subject: Help with Tomcat log messages


I have installed Tomcat on a couple of new Windows 2000 servers. I have
everything configured, and my application seems to run fine. When I start
Tomcat it inializes fine. Afterward every 4 seconds or so, it prints out
this message:

2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null

This continues as long as Tomcat is running.

2001-04-18 09:57:51 - Ctx(  ): 400 R( /) null
2001-04-18 09:57:55 - Ctx(  ): 400 R( /) null
2001-04-18 09:57:59 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:03 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:07 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:12 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:16 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:20 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:24 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:28 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:32 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:36 - Ctx(  ): 400 R( /) null
2001-04-18 09:58:40 - Ctx(  ): 400 R( /) null

What does this mean? Is there somewhere to look that explains error codes
such as '400'? How do I make it stop?

Any help would be appreciated.

David Blankenship
KLA-Tencor Control Solutions




RE: ** Does Tomcat need Restart **

2001-04-18 Thread Darrell Porter

The only method whereby I have gotten it to repeatedly work correctly is to
stop Tomcat, blow away the work directory and restart Tomcat.

What would be useful is a method in which Tomcat, upon restart,
automatically compiles all the JSPs in its defined contexts.

Darrell


-Original Message-
From: Meir Faraj [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: ** Does Tomcat need Restart **


and for jsp how to do this ?
I've problem in reloading jsp (after few reloading)
even if I delete the created class from the work/ROOT/ dirrectory.
what I need to do ?
- Original Message -
From: "Scott Judd" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 4:26 PM
Subject: Re: ** Does Tomcat need Restart **


 I'd like to offer two cents on this topic. I have seen both very
successful
 and very unsuccessful results when using servlet reloading on Tomcat.
First,
 make sure that the servlet classes reside in
/webapps/ROOT/WEB-INF/classes.
 Next, make sure that the web.xml file in the  webapps/ROOT/WEB-INF folder
 contains the appropriate entry to register the servlet. Finally, make sure
 that the reloadable attribute for the given context is set to "true" in
 /conf/server.xml.

 Tomcat has demonstrated consistent success in reloading servlets that I
 invoke directly from the CLI of my browser, following the above
 prescription. If I try to vary this formula (place servlets in other
 directories, package servlet classes together, invoke a servlet from
another
 servlet) servlet reloading seems to get hosed and I end up restarting
Tomcat
 in order to "see" the new class files.

 scott

 G:\tomcat\webapps\ROOT\WEB-INF

 From: "Benoit Jacquemont" [EMAIL PROTECTED]
  This feature exists, it is defined by the reloadable parameter for the
  Context. But it is an alpha version feature, so you always need to
restart
  Tomcat.
 
  Benoit
 

   Hi,
  
   Is there any option in tomcat CONFIGURATION by which, I can
   instruct Tomcat
   to restart automatically whenever a servlet gets modified (i.e. I
   re-compile the servlet).
  
   I am running Tomcat and Apache on Linux OS.
  
   Regards,
   Marathe
 





RE: W2000 + apache 1,3 + tomcat 4

2001-04-18 Thread Darrell Porter

Tomcat 3.2.1 (Release)
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.1/bin/win32/i38
6/

Tomcat 4 (beta 3)
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0-b3/

Apache 1.3 Windows 2000 Installation Packages
http://httpd.apache.org/dist/httpd/binaries/win32/

For reference, go to http://www.apache.org for information regarding The
Apache Project
   go to http://jakarta.apache.org for information regarding
Jakarta Project (of which Tomcat is a component)

Darrell


-Original Message-
From: Chelkowski, Tadeusz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 3:51 AM
To: [EMAIL PROTECTED]
Subject: W2000 + apache 1,3 + tomcat 4


I need help:
how to integrate Apchae 1.3 with tomcat 4 on w2000
i got only web_aap.so not dll ?
where can i find it?



RE: setting up tomcat and apache to run together

2001-04-18 Thread Darrell Porter

Because
1) Not everyone knows about them (unfortunately, Tomcat and Apache
are downloadable from many places other than apache.org sites)
2) The how-to's are missing a few key pieces of information - not
that they aren't good, but handing a how-to to a novice user is not the
complete answer, but agreed people should probably start there.

my 3 cents (inflation, don't you know...)

Darrell


-Original Message-
From: Benot Jacquemont [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:11 AM
To: [EMAIL PROTECTED]
Subject: RE: setting up tomcat and apache to run together


Why does nobody wants to read the HowTo-files ??? Tomcat 3.2.1 comes with
three VERY usefull files which are :
tomcat-apache-howto.html
and
Tomcat-Workers-HowTo.html
and
mod_jk-howto.html

These files are also on the jakarta.apache.org website, so why don't you
want to read this howto... They have been designed to be read ! A lot of
people spent nights to write them (;-) ), so, please take a look at them...
If you want, I can even send them to you...


Benot

-Message d'origine-
De : Greg Chakmakian [mailto:[EMAIL PROTECTED]]
Envoy : mercredi 18 avril 2001 17:49
 : [EMAIL PROTECTED]
Objet : setting up tomcat and apache to run together


Bear with me, I know you all have probably already been through this one
before.  I have Apache (for Darwin/Mac OS X) and
Tomcat 3.2.1.  They both run great by themselves; apache on port 80 and
tomcat on 8080.  I want to setup the two so that if I
go to a jsp page on Apache it will use tomcat to process the jsp pages;
i.e - http://www.apache.org/test.jsp gets processed
by tomcat even though its being access through apache.  I know I can turn
off apache and reconfigure tomcat so that it runs
off of port 80, but I would rather do it the other way.  Like I said, I
know this has probably been discussed and I apologize
for being repetitive.  I couldn't find any information on how to do this.
Any help or direction you all could give would be
greatly appreciated.
-greg
Healant
Web Developer
[EMAIL PROTECTED]
[EMAIL PROTECTED]
336-370-0604  x111





RE: apache virtual Hosting with tomcat

2001-04-18 Thread Darrell Porter

You may want to check out

http://www.luminas.co.uk/technology/servlet/tomcat_virtual.html

and

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-apache-howto.
html#virtual_hosting

-Original Message-
From: C.M. Rahman (jr.) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:41 AM
To: [EMAIL PROTECTED]
Subject: apache virtual Hosting with tomcat


Hi, I am using unix apache to do virtual hosting. I have recently added
tomcat and trying to configure virtual hosting. Is there anybody on the list
setup a virtual site with tomcat successfully?

I am failing to load servlet from virtual site.

Thanks

C.M. Rahman
Network Engineer
CCS Internet
13740 Research Blvd. Suite O-4
Austin, TX 78758
[EMAIL PROTECTED]



RE: getting line numbers instead of (compiled code)

2001-04-18 Thread Darrell Porter

But doesn't BSD stand for Basic Standard DOS ?

smirk

Darrell


-Original Message-
From: Christoph Kukulies [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 11:44 AM
To: [EMAIL PROTECTED]
Subject: Re: getting line numbers instead of (compiled code)


On Wed, Apr 18, 2001 at 02:05:59PM -0400, CPC Livelink Admin wrote:
 
 set an environment variable to disable to compiler  - I can never remember
 which one of these two it is, so I just set both (DOS example) :

I looked in bin/tomcat.sh where java is started and tried with -nojit
but my java engine (Sun) doesn't have this commandline option.

I will try this stuff below (although I must say: There are other OSs
than DOS window in this world, mine is FreeBSD :-)

 
 SET JAVA_COMP=NONE
 SET JAVA_COMPILER=NONE
 
 Then start tomcat from that dos window, and life is good.

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]



RE: ** Does Tomcat need Restart **

2001-04-18 Thread Darrell Porter

My shutdown script does it for me =)

-Original Message-
From: Jann VanOver [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 2:24 PM
To: '[EMAIL PROTECTED]'
Subject: RE: ** Does Tomcat need Restart **


I hacked my tomcat startup script to blow away the work directory before
restarting.  Now I don't have to remember to do that anymore.

-Original Message-
From: Darrell Porter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:52 AM
To: '[EMAIL PROTECTED]'
Subject: RE: ** Does Tomcat need Restart **


The only method whereby I have gotten it to repeatedly work correctly is to
stop Tomcat, blow away the work directory and restart Tomcat.

What would be useful is a method in which Tomcat, upon restart,
automatically compiles all the JSPs in its defined contexts.

Darrell


-Original Message-
From: Meir Faraj [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:44 AM
To: [EMAIL PROTECTED]
Subject: Re: ** Does Tomcat need Restart **


and for jsp how to do this ?
I've problem in reloading jsp (after few reloading)
even if I delete the created class from the work/ROOT/ dirrectory.
what I need to do ?
- Original Message -
From: "Scott Judd" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, April 17, 2001 4:26 PM
Subject: Re: ** Does Tomcat need Restart **


 I'd like to offer two cents on this topic. I have seen both very
successful
 and very unsuccessful results when using servlet reloading on Tomcat.
First,
 make sure that the servlet classes reside in
/webapps/ROOT/WEB-INF/classes.
 Next, make sure that the web.xml file in the  webapps/ROOT/WEB-INF folder
 contains the appropriate entry to register the servlet. Finally, make sure
 that the reloadable attribute for the given context is set to "true" in
 /conf/server.xml.

 Tomcat has demonstrated consistent success in reloading servlets that I
 invoke directly from the CLI of my browser, following the above
 prescription. If I try to vary this formula (place servlets in other
 directories, package servlet classes together, invoke a servlet from
another
 servlet) servlet reloading seems to get hosed and I end up restarting
Tomcat
 in order to "see" the new class files.

 scott

 G:\tomcat\webapps\ROOT\WEB-INF

 From: "Benoit Jacquemont" [EMAIL PROTECTED]
  This feature exists, it is defined by the reloadable parameter for the
  Context. But it is an alpha version feature, so you always need to
restart
  Tomcat.
 
  Benoit
 

   Hi,
  
   Is there any option in tomcat CONFIGURATION by which, I can
   instruct Tomcat
   to restart automatically whenever a servlet gets modified (i.e. I
   re-compile the servlet).
  
   I am running Tomcat and Apache on Linux OS.
  
   Regards,
   Marathe
 





RE: help with ie 5.0

2001-04-17 Thread Darrell Porter

Are you using ajp12 or ajp13?

Does it only work if you are "inside" the firewall?

Does it work from Netscape outside the firewall?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 11:15 AM
To: [EMAIL PROTECTED]
Subject: RE: help with ie 5.0


i am running tomcat as an out of process container with iis 5.0, i think 
(it came with win2k), using the isapi redirecter that comes in the 
win32/i386 directory from tomcat's download area, so that iis serves html 
docs and tomcat runs JSPs.

i checked the directory permissions in IIS manager and they are all set to 
anonymous.  any other suggestions?

At 10:54 04/17/2001 -0700, you wrote:
Are you running Tomcat in conjunction with IIS?

If so, make sure you allow anonymous or basic authentication access to the
IIS site, otherwise, it is trying to do NT Challenge/Response
authentication
which doesn't work over port 80.

Darrell


-Original Message-
From: time out [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 10:39 AM
To: [EMAIL PROTECTED]
Subject: help with ie 5.0


i am running tomcat 3.2 on win2k.  i have a jsp that
connects to mssql 2000 via some classes that i have
written.

there is a login for the web application.  the login
process works on all tested netscape and ie version
less than 5.0 ... and that is good, but ie 5.0 and
higher (and aol, as well) seems to just hang, but only
for certain users in the login database

i have narrowed it down to a problem with the web
server being accessed through a raptor firewall that
passes port 80.  when i access the web site directly
through ie 5.0  it works just fine.

any clues are apprecitated and i would be happy to
answer any questions to solve the problem, since i
know that this is a little ambiguous.

thanks.

adam



__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/


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



RE: help with ie 5.0

2001-04-17 Thread Darrell Porter

Here's what I have so far:

Windows 2000.
MS SQL 2000.
Tomcat 3.2 is running ajp12 on port 8007.
IIS 5 is running on port 80.
Guardian Raptor firewall only allows port 80 conversations to the IIS
server.
It works from IE 5.0 from inside the firewall.
Outside the firewall, IE 5.x hangs.  AOL also hangs from outside the
firewall.
Inside or outside the firewall, any version of Netscape and all pre-5.x
versions of IE work.
The IIS server is configured to allow anonymous and NT Challenge/Response.

Additional questions:

Do you have Win2k SP1 loaded?
Is it Win2k Server?  Advanced Server?
Is the IIS server in the same domain/directory that users who are able to
access it from the inside are in?  If not, is there a trust relationship
between the domains?

Thanks

Darrell

-Original Message-
From: time out [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 1:50 PM
To: Darrell Porter
Subject: RE: help with ie 5.0


At 13:36 04/17/2001 -0700, you wrote:
Are you using ajp12 or ajp13?

how do i know that?  when tomcat starts, it says that it is starting ajp12 
connection handler on 8007.

Does it only work if you are "inside" the firewall?

it does work with ie 5.0 inside the firewall.

Does it work from Netscape outside the firewall?

it does work with all netscape versions from outside as well as with ie 4.0.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 11:15 AM
To: [EMAIL PROTECTED]
Subject: RE: help with ie 5.0


i am running tomcat as an out of process container with iis 5.0, i think
(it came with win2k), using the isapi redirecter that comes in the
win32/i386 directory from tomcat's download area, so that iis serves html
docs and tomcat runs JSPs.

i checked the directory permissions in IIS manager and they are all set to
anonymous.  any other suggestions?

At 10:54 04/17/2001 -0700, you wrote:
 Are you running Tomcat in conjunction with IIS?
 
 If so, make sure you allow anonymous or basic authentication access to
the
 IIS site, otherwise, it is trying to do NT Challenge/Response
authentication
 which doesn't work over port 80.
 
 Darrell
 
 
 -Original Message-
 From: time out [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 17, 2001 10:39 AM
 To: [EMAIL PROTECTED]
 Subject: help with ie 5.0
 
 
 i am running tomcat 3.2 on win2k.  i have a jsp that
 connects to mssql 2000 via some classes that i have
 written.
 
 there is a login for the web application.  the login
 process works on all tested netscape and ie version
 less than 5.0 ... and that is good, but ie 5.0 and
 higher (and aol, as well) seems to just hang, but only
 for certain users in the login database
 
 i have narrowed it down to a problem with the web
 server being accessed through a raptor firewall that
 passes port 80.  when i access the web site directly
 through ie 5.0  it works just fine.
 
 any clues are apprecitated and i would be happy to
 answer any questions to solve the problem, since i
 know that this is a little ambiguous.
 
 thanks.
 
 adam
 
 
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/


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


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



RE: Randy - RE: How can I run Batch file from servlet ??

2001-04-16 Thread Darrell Porter

Since you're on a Win32 machine, did you do a search on the local hard drive
for "osql.*" ?

If so, does the path to that location contain any spaces?  If so, specify a
fully qualified path and use the short naming convention for the path (i.e.
C:\Program Files\Oracle Applications\bin\osql.exe becomes
C:\PROGRA~1\ORACLE~1\bin\osql.exe)

Darrell


-Original Message-
From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 9:44 AM
To: [EMAIL PROTECTED]
Subject: Randy - RE: How can I run Batch file from servlet ??



I have set that path variable already.. still its not working did u find
anyother solution

thanx.. for responding lot...

/sunil
--- Randy Layman [EMAIL PROTECTED]
 wrote:

   That sounds like the PATH environment variable isn't set (as in it
can't find osql).

 -Original Message-
 From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 16, 2001 12:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: How can I run Batch file from servlet ??
 
 
 Randy 
 Actually this batch file contains sql command..
 like
 osql -U sa -P -i D:\Myfolder\CreateDatabase.sql
 
 i have tried this time.. with "/c start" option
 Process p = Runtime.getRuntime().exec 
  ("cmd /c start D:\\myFolder\\myBatchFile.bat"); 
  p.waitFor(); 
 and this time its able to fire the batch file
 but that batch file itself giving error that "The name 
 specified is not recognized as an internal or external command"
 
 The good thing is this option of running batch file is 
 working with standalone java application but not with servlet..
 
 /sunil
 --- Randy Layman [EMAIL PROTECTED]
  wrote:
 
 When you create a process like this, its up to you to 
 read and write
 to the process.  This means that any output from your batch 
 file will be
 lost unless you deal with is (Process has methods to get the 
 input and
 output streams for standard in/out/error).
 
 I would suggest you try running your batch file from 
 the tomcat's
 home directory.  The problem is usually one of two things.  
 Either you have
 relative paths which aren't valid in the current context or you are
 expecting environment variables that aren't valid.  (Or possibly its
 actually working but you aren't catching the batch file's 
 input to know
 that).
 
 Randy
 
 
  -Original Message-
  From: Sunil Chandurkar [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 16, 2001 11:47 AM
  To: [EMAIL PROTECTED]
  Subject: How can I run Batch file from servlet ??
  
  
  Hello All !! 
  
  I am in big trouble, i want to call batch file on the server 
  from the servlet. I have tried the following option but they 
  didn't work.. please let me know if is there any way to do it... 
  
  Process p = Runtime.getRuntime().exec 
  ("cmd D:\\myFolder\\myBatchFile.bat"); 
  p.waitFor(); 
  
  also i have tried without cmd option: 
  Process p = Runtime.getRuntime().exec 
  ("D:\\myFolder\\myBatchFile.bat"); 
  p.waitFor(); 
  
  Its not throwing an exception and not even giving me any output.. 
  
  Thanx in Advance...
  
  /sunil 
  
  
  
  _
  Get LifeTime Free email Visit  --- http://www.nagpurcity.net
 
 
 _
 Get LifeTime Free email Visit  --- http://www.nagpurcity.net


_
Get LifeTime Free email Visit  --- http://www.nagpurcity.net



RE: Stopping access to WEB-INF?

2001-04-16 Thread Darrell Porter



Debug 
Levels

Level 0 Errors and 
states that cause a significant change in program flow.  
= Anything that causes a Discon+Retry or a "giveup" message.Level 
1 Important or inaccessible state information. 
= Connection start, Idle disconnection.Level 2 Rare 
things that cause a minor program flow adjustment. = No 
REST, No PASV, etc.Level 3 Errors and useful messages 
that are slightly too verbose or common for 0-2 or don't quite 
fit in the classifications. = Login bannerLevel 
4 All remote responses or major results. (Trace 
results) = All "999 Xyzzy" responses received.Level 
5 All remote commands or major tasks. (Trace 
jobs) = All commands sent to server.Level 
6 General information that will not be too verbose but is 
normally a little less important. (Trace state)Level 
7 Similar to level 3 but verbose or not as useful.Level 
8 Very verbose information that'll probably be useful 
sometime.Level 9 Anything and everything else, debugs 
that probably won't be useful ever 
again. 
(unclassified)

  -Original Message-From: Brian Burridge 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, April 16, 2001 12:42 
  PMTo: [EMAIL PROTECTED]Subject: Stopping 
  access to WEB-INF?
  I see in my mod_jk.conf-auto (which I can't edit 
  of course) that I can put:
  Location "/test/WEB-INF/
   AllowOverride 
None
   deny from all
  /Location
  
  But where can I add that since I can't modify 
  that conf-auto file? Can I put that in my Host tag?
  
  Host name="www.site.com"Context 
  path="" docBase="/www/htdocs/site" 
  debug="0"reloadable="true"/Context/Host
  Also, what does debug mean, and what are the 
  options to set it at?
  
  Brian


RE: Error trying to start Tomcat

2001-03-26 Thread Darrell Porter

environment variables, maybe?



-Original Message-
From: John Wilson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 11:30 AM
To: [EMAIL PROTECTED]
Subject: Error trying to start Tomcat



Looking for help.

On startup, we are getting the following error.  The machine specs are also
listed here.  Has anyone else, on this platform, had this error?

This machine configuration is identical to 2 other machines where Apache
and Tomcat work just fine.  But, we mist have something different.

Does anyone have any ideas?

Any insight is appreciated.

Thanks,

John Wilson
[EMAIL PROTECTED]



Tru64 Unix 4.0F patch kit 5

AlphaServer 1000A 4/266. 384MB RAM.

Java 1.2.2-8 SDK with JavaFVM 1.2.2-4.

Tomcat 3.2.1 binary distribution.

---

Exception in thread "main" java.lang.VerifyError:
(class: org/apache/jasper/servlet/JspServlet,
method: init
signature: (Ljavax/servlet/ServletConfig;)V)
Bad type in putfield/putstatic
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java, Compiled
Code)
at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava,

Compiled Code)
at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoad
er.java,

Compiled Code)
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java,

Compiled Code)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java, Compiled
Code)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java, Compiled
Code)



RE: Tomcat-Startup in windows

2001-03-23 Thread Darrell Porter

The only way I have gotten this to successfully work is to install TweakUI
on the NT/2000 box and set it to login automatically as a non-Administrator
user that has appropriate rights.

On startup, NT/2000 logs in and the Startup folder contains the script which
starts Tomcat, pauses for stabilization, checks to insure Tomcat is running,
and then starts Apache.

Darrell


-Original Message-
From: venkatesan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 12:36 AM
To: tomcat
Subject: Tomcat-Startup in windows


Hi All,
   I have a tomcat server working fine with Apache in Windows-NT. I
have a script which starts tomcat before Apache. Can anybody tell that
where i have to put these script so that tomcat would be started
automatically while my system restarts

Thanks in advance
Regards
Venkatesh



JSP Interaction Problem - Access Denied

2001-03-23 Thread Darrell Porter


---
|  A  |
---
|   | |
| B |C|
|   | |
---

I have an application in which within one browser window I wish to display,
within 3 frames, 3 separate JSPs.

Frames A and B are JSPs sourced from server 1
Frame C is a JSP sourced from Server 2

When the JSP from Frame C attempt to obtain session information from the JSP
in Frame B, the JSP in Frame C generates an ACCESS DENIED error.

How do I fix this, if it is fixable?  Have I provided sufficient
information?

Thanks

_
Darrell Porter
Operations Manager
415.355.9990 x290
[EMAIL PROTECTED]

WiseConnect, Inc. http://www.wiseconnect.com/
"Powering the people behind stores"






RE: Tomcat - Apache installation - please help!!!

2001-03-21 Thread Darrell Porter

You're using Redhat 7.0 and you're getting messages containing D:\ ?!  This
sounds like something for Windows/DOS.

Are you certain you have the correct README files?

Darrell


-Original Message-
From: Patil, Anand [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 11:31 AM
To: [EMAIL PROTECTED]
Subject: Tomcat - Apache installation - please help!!!



 Please help...
 I have redhat 7.0, kernel 2.4.2
 and have downloaded latest source for tomcat, ant, jaxp, jess,
 etc...
 and all my environ variable are set as specified in the README.
 Sorry to bother, but is the build problem I'm having apparent anyone.
 Thanks. 
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\compiler\JspCompiler.
 ja
 va:141: Method getClassName(java.lang.String) not found in class
 org.apache.jasper.compiler.ClassName.
 [javac] realClassName = ClassName.getClassName( getClassFileName() );
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\compiler\JspCompiler.
 ja
 va:142: Exception org.apache.jasper.JasperException is never thrown in the
 body of the corresponding try statement.
 [javac] } catch( JasperException ex) {
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\compiler\JspParseEven
 tL
 istener.java:866: Wrong number of arguments in constructor.
 [javac] = new GeneratorWrapper(new ForwardGenerator(start, attrs,
 param),start, stop);
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\compiler\JspParseEven
 tL
 istener.java:875: Wrong number of arguments in constructor.
 [javac] = new GeneratorWrapper(new IncludeGenerator(start, attrs,
 param),start, stop);
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\compiler\TagLibraryIn
 fo
 Impl.java:521: Incompatible type for constructor. Can't convert
 java.lang.String to boolean.
 [javac] return new TagAttributeInfo(name, required, type, rtexprvalue);
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\compiler\TagLibraryIn
 fo
 Impl.java:521: Incompatible type for constructor. Can't convert boolean to
 java.lang.String.
 [javac] return new TagAttributeInfo(name, required, type, rtexprvalue);
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\JspC.java:329:
 Wrong number of arguments in constructor.
 [javac] CommandLineContext clctxt = new CommandLineContext(
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\JspC.java:367:
 Method compile() not found in class
 org.apache.jasper.compiler.CommandLineCompiler.
 [javac] clc.compile();
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\JspC.java:392:
 Exception org.apache.jasper.JasperException is never thrown in the body of
 the corresponding try statement.
 [javac] } catch (JasperException je) {
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\servlet\JspServlet.ja
 va
 :442: Method compile() not found in class
 org.apache.jasper.compiler.Compiler.
 [javac] outDated = compiler.compile();
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\servlet\JspServlet.ja
 va
 :447: Method compile() not found in class
 org.apache.jasper.compiler.Compiler.
 [javac] outDated = compiler.compile();
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\servlet\JspServlet.ja
 va
 :451: Exception java.io.FileNotFoundException is never thrown in the body
 of
 the corresponding try statement.
 [javac] } catch (FileNotFoundException ex) {
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\share\org\apache\jasper\servlet\JspServlet.ja
 va
 :453: Exception org.apache.jasper.JasperException is never thrown in the
 body of the corresponding try statement.
 [javac] } catch (JasperException ex) {
 [javac] ^
 [javac]
 D:\apache\jakarta-tomcat\src\facade22\org\apache\tomcat\modules\facade22\J
 sp
 Interceptor.java:213: Method compile() not found in class
 org.apache.jasper.compiler.Compiler.
 [javac] compiler.compile();
 [javac] 
 
 Anand Patil
 813 978 4919/  Page-800 985 1743
 Awas Project Team
 Verizon Data Services
 



RE: Simple Question

2001-03-20 Thread Darrell Porter

In a multiuser environment, it is much easier to implement DNS (utilizing
BIND) than managing hosts files.


-Original Message-
From: Amir Nuri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 3:07 AM
To: Tomcat-User
Subject: Simple Question


Do i need DNS in order to use Virtul Hosts ?



RE: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Darrell Porter

In server.xml, you'll see a structure similar to 

Context path="/examples" 
 docBase="webapps/examples" 
 crossContext="false"
 debug="0" 
 reloadable="true"  
/Context

If you want it to be in http://localhost/otherpath then change or add a
context to server.xml such that

Context path="/otherpath" 
 docBase="webapps/otherpath" 
 crossContext="false"
 debug="9" 
 reloadable="true"  
/Context

I believe you also need to change uriworkermap.properties so that your ajp12
or ajp13 worker maps the context so add the line:

/otherpath/*=ajp12

to your tomcat/conf/uriworkermap.properties file.

I hope this helps...

Darrell


-Original Message-
From: Fabricio Costa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 8:56 AM
To: [EMAIL PROTECTED]
Subject: Change path of the jakarta-tomcat on Windows NT


I installed jakarta-tomcat in my windows NT server and i run the .JSP pages
with the path http://localhost/examples/
I want to know how to i can run .JSP pages with another path, for example
http://localhost/otherpath.

Thanks
Fabricio Costa
Brazil.



RE: Help required

2001-03-20 Thread Darrell Porter



Open 
tomcat/bin/startup.bat with your favorite editor and do a search on :startServer 
and see if it is there.

If 
not, that is your problem. 

If it 
is there, you may be running command.com and not cmd.exe when executing 
startup.bat

Always 
use cmd.exe to execute the tomcat scripts.

Darrell


  -Original Message-From: Rajesh Jumde 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 20, 2001 1:56 
  AMTo: [EMAIL PROTECTED]Subject: Help 
  requiredHello everybody, 
   I am trying to configure Tomcat with IIS5.0 on Windows2000 
  prof.  I followed the document Tomcat IIS How To.. 
   But when i restart the IIS the jakarta filter does not show 
  the green up arrow.  As well as when i run Tomcat with 
  bin\startup it gives me the error as  The 
  system cannot find the batch label specified - startServer 
   What is the problem? 
  Thanx in advance Rajesh 


RE: JSP Explorer and Tomcat documentation

2001-03-19 Thread Darrell Porter

With Windows 2000 SP-1 and IE 5.0, I receive the attached error.

Just thought you might like to know.

_
Darrell Porter
Operations Manager
415.355.9990 x290
[EMAIL PROTECTED]

WiseConnect, Inc. http://www.wiseconnect.com/
"Powering the people behind stores"

p.s.  Cool ideas.


-Original Message-
From: Mike Slinn [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 5:53 PM
To: Distribution List Suppressed
Subject: JSP Explorer and Tomcat documentation


I've been working on some documentation for Tomcat, the open source
reference platform for Java Servlets and Java Server Pages (JSP).  I paused
along the way to create a tool that I call JSP Explorer, and I'm pretty
excited by it!

You can try JSP Explorer for free at http://tomcat.mslinn.com/
JSP Explorer is a useful tool for programmers who use JSP and/or Java to
develop program fragments, and for Java students to learn by playing with
example programs.  JSP Explorer differs from traditional IDEs (Integrated
Development Environments) in that it is a web application, and runs from a
web browser.  This allows for some interesting applications, such as
creating online programming manuals and 'live' API documentation that can be
clicked on.  Sample program fragments can be 'brought to life' and run so
that the reader can experiment with the code presented.
I'd love to receive feedback on JSP Explorer!  Let me know what you think.
Can you see how you might be able to use this tool?

Mike

---
Michael Slinn  tel: 1-650-571-8436  eFax:  1-413- 581-2104
mslinn.com, inc.
4230 Wooster Ave, San Mateo, CA  94403-5051
http://www.mslinn.com



RE: JSP Explorer and Tomcat documentation

2001-03-19 Thread Darrell Porter

oops...here's the error



-Original Message-
From: Mike Slinn [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 5:53 PM
To: Distribution List Suppressed
Subject: JSP Explorer and Tomcat documentation


I've been working on some documentation for Tomcat, the open source
reference platform for Java Servlets and Java Server Pages (JSP).  I paused
along the way to create a tool that I call JSP Explorer, and I'm pretty
excited by it!

You can try JSP Explorer for free at http://tomcat.mslinn.com/
JSP Explorer is a useful tool for programmers who use JSP and/or Java to
develop program fragments, and for Java students to learn by playing with
example programs.  JSP Explorer differs from traditional IDEs (Integrated
Development Environments) in that it is a web application, and runs from a
web browser.  This allows for some interesting applications, such as
creating online programming manuals and 'live' API documentation that can be
clicked on.  Sample program fragments can be 'brought to life' and run so
that the reader can experiment with the code presented.
I'd love to receive feedback on JSP Explorer!  Let me know what you think.
Can you see how you might be able to use this tool?

Mike

---
Michael Slinn  tel: 1-650-571-8436  eFax:  1-413- 581-2104
mslinn.com, inc.
4230 Wooster Ave, San Mateo, CA  94403-5051
http://www.mslinn.com


 

RE: How can I access tomcat's admin pages?

2001-03-19 Thread Darrell Porter

Look in tomcat-users.xml

-Original Message-
From: Batsheva Raviv [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 9:18 AM
To: [EMAIL PROTECTED]
Subject: How can I access tomcat's admin pages?


I have 2 questions:
1. How can I access tomcat's admin pages?
2. When ever I try the to execute the following URL :
http://braviv:8080/admin/contextAdmin/contextAdmin.html, a window pup up
with the message "Enter Network Password".  Please type your user name and
password.
The window print also site:braviv,  Realm Admin
does anybody know what should be the user name and the password.
Batsheva



RE: Problems with hosts, please help me!

2001-03-19 Thread Darrell Porter



What 
does your config.xml and web.xml look like?

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 19, 2001 7:42 
  AMTo: [EMAIL PROTECTED]Subject: Problems 
  with hosts, please help me!
  Hello, I´ve installed Tomcat on Windows NT and it 
  runswhen I use the name of the machine in the URL(example: "http://server/examples/jsp/index.html"), 
  but itdoesn´t run when I use the internal or external IP (e:"http://192.168.167.2/examples/jsp/index.html" 
  or"http://200.56.130.196/examples/jsp/index.html").I 
  would thank if you could help me.


RE: Windows 2000 and Tomcat

2001-03-19 Thread Darrell Porter

is the mime type for .jsp set on the Windows 2000 server machine?



-Original Message-
From: Elizabeth Riley [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 5:45 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Windows 2000 and Tomcat


It says page cannot be found. (I tried both ways). 
However, if I type in the whole path to a specific jsp application that's in
the examples directory (like numguess.jsp), I see the jsp code displayed. It
makes me wonder if .jsp isn't being re-directed to tomcat. 

Also in my ISAPI.log file (when I enter the path name to numguess.jsp) it
says 
."numguess.jsp is not a servlet url.
Check if numguess.jsp points to the web-inf directory. "

Any clue as to what that is supposed to be telling me?

-Original Message-
From: Alejandro [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 1:39 PM
To: [EMAIL PROTECTED]
Subject: RE: Windows 2000 and Tomcat


Hi
Try in the other computer which is on the same network typing:
"http://IPNUMBER/examples/jsp/index.html", where IPNUMBER is the ip of the
computer where tomcat is running. If it doesn't work type: "IPNUMBER:8080"
in place of "IPNUMBER"


- Original Message -
From: Elizabeth Riley [EMAIL PROTECTED]
To: tomcat-user [EMAIL PROTECTED]
Sent: Thursday, March 15, 2001 5:54 PM
Subject: Windows 2000 and Tomcat


 I am installing tomcat to work in conjunction with Windows 2000 server. I
 believe I have done all the steps in the documentation for 'Tomcat IIS How
 To'. I have verified that things are working by going to the browser on
the
 server and typing 'localhost/examples/jsp/index.html'. This works fine.
 However, if I go to another computer that is on the same network and type
 the IP address of the server followed by
 'tomcat/webapps/examples/jsp/num/numguess.jsp', I get the html 'source'
 displayed in my browser.
 Any suggestions on where to find the solution to this? Have I missed a
 critical step?

 Elizabeth Riley
 Division of Information Technology
 Macon State College
 100 College Station Dr.
 Macon, GA 31206
 478-757-2582


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



RE: CTRL_LOGOFF_EVENT service solution?

2001-03-14 Thread Darrell Porter

What do you mean by
"requires complex editing of the registry, which can't be done with an
install program" ?

What is so complex about the registry settings that a program can't do it?

Darrell


-Original Message-
From: Siebenmann, Joe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 5:36 AM
To: '[EMAIL PROTECTED]'
Subject: CTRL_LOGOFF_EVENT service solution?


Of the many possible solutions for solving the logoff problem when running
Tomcat as a service, most seem to be
wrappers that "allow you to run your Java application as an NT service,
blocking the CTRL_LOGOFF_EVENT" such as
http://www.eworksmart.com/jnt/

But, can you use such an application for Tomcat?  jk_nt_service points to
wrapper.properties.  Other things must happen before you try and start
org.apache.tomcat.startup.Tomcat.

TomcatWrapper.class ( used with jsrvany ) requires complex editing of the
registry, which can't be done with an install program.

Has anyone found a way to use something like the above, with Tomcat, without
complex registry editing?

Thanks,


Joe Siebenmann
Inciscent
Phone:  703-205-5927
Fax:   703-876-5973



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Tomcat - Apache : performance

2001-03-14 Thread Darrell Porter

If you're doing this as a service provider, yes - put Tomcat on at least one
other server.  Ideally, you would load-balance multiple Apache servers and
multiple Tomcat servers.

Darrell


-Original Message-
From: Bart Ronsyn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 9:17 AM
To: [EMAIL PROTECTED]
Subject: Tomcat - Apache : performance


People,

We run an Apache Webserver and host websites for companies.
I wonder how much servlets and Tomcat slow down the loading
of the webpages on our webserver ?  The servlets will be used to implement 
chatboxes, database applications f.e. ...
Should I consider to install Tomcat on our other server machine
to avoid decreasing the performance of our webserver ?

Thanks a lot !

Bart,
Besite
www.besite.be
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Odd problem restarting tomcat

2001-03-14 Thread Darrell Porter

How are you starting these services on production?

Is it different on dev?



Darrell


-Original Message-
From: Andy C [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 8:58 AM
To: [EMAIL PROTECTED]
Subject: Odd problem restarting tomcat


Under Tomcat 3.2.1,Apache 1.3.12,mm.mysql.2.0.4,mysql 3.3.28,NT 2000

On one machine when it is restarted some jsp pages work correctly while
others
give an error.  See below for the full error.  The pages are generated from
jsp from
data in a mysql database.  Only by carefully restarting the apache, tomcat
and
mysql services  in the correct order with a delay between the restarts do
the pages
start working correctly.  The pages will then work correctly until the
server is restarted.

I'm at a bit lost as to which component is actually causing the trouble !
The fault
does not appear on a test machine that does restart and work without user
intervention
Because the main server is under load, could it be that the jsp pages are
attempting
to access resources that are not yet available causing a permanent failure ?

Andy C
Editor R2 Project
http://www.r2-dvd.org

Full error is
org.apache.jasper.JasperException
 at java.lang.Throwable.(Compiled Code)
 at org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(Compiled
Code)
 at org.apache.jasper.runtime.JspRuntimeLibrary.introspect(Compiled Code)
 at _0002farticle_0002ejsp_0002farticle_jsp_0._jspService(Compiled Code)
 at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(Compiled Code)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled
Code)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
 at org.apache.tomcat.core.Handler.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
 at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)

Root cause:
java.lang.reflect.InvocationTargetException
 at org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(Compiled
Code)
 at org.apache.jasper.runtime.JspRuntimeLibrary.introspect(Compiled Code)
 at _0002farticle_0002ejsp_0002farticle_jsp_0._jspService(Compiled Code)
 at org.apache.jasper.runtime.HttpJspBase.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(Compiled Code)
 at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Compiled
Code)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(Compiled Code)
 at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
 at javax.servlet.http.HttpServlet.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.doService(Compiled Code)
 at org.apache.tomcat.core.Handler.service(Compiled Code)
 at org.apache.tomcat.core.ServletWrapper.service(Compiled Code)
 at org.apache.tomcat.core.ContextManager.internalService(Compiled Code)
 at org.apache.tomcat.core.ContextManager.service(Compiled Code)
 at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Compiled Code)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
 at java.lang.Thread.run(Compiled Code)






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Adding new servlets?

2001-03-13 Thread Darrell Porter

My experience is "Yes"  you do have to stop and restart Tomcat


-Original Message-
From: Sankaranarayanan Ganapathy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:01 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Adding new servlets?


Thanx ruby, more question was more towards adding a new context. If I add a
new context do I have to start tomcat again for it to start serving it?

--Ganesh

-Original Message-
From: Steve Ruby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Adding new servlets?


Sankaranarayanan Ganapathy wrote:
 
 Do we have to reload tomcat, everytime we add a new webapp?
 
 Is it possible to add a webapp to a running tomcat?
 
 Thanx
 Ganesh


It will reload itself it you make sure server.xml has
reloadable="true" in the servlet context definition, this
should be the default value for a context that isn't
specified (atleast under 3.2)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Off topic: Single login for separate web applications?

2001-03-13 Thread Darrell Porter

There's always Single Sign-On from Novell

http://developer.novell.com/research/devnotes/1999/november/05/dpv.htm

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 4:39 AM
To: [EMAIL PROTECTED]
Subject: Off topic: Single login for separate web applications?




Hi,

Sorry for posting this off topic question. I would really appreciate any
pointers into the right direction.

What I would like to know is what you would need in general to create a
single
login to different web applications on different web servers (and possibly
platforms)? I gues the servers would need some shared repository for
login/passwords, but how would it be possible after logging in to one server
to
pass on this fact to the other servers?

I hope the answer is as simple as the question,

Wilko Hische



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: license for Tomcat

2001-03-12 Thread Darrell Porter

I think this just about covers your questions...

/* 
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 2000-2001 The Apache Software Foundation.  All rights
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *notice, this list of conditions and the following disclaimer in
 *the documentation and/or other materials provided with the
 *distribution.
 *
 * 3. The end-user documentation included with the redistribution,
 *if any, must include the following acknowledgment:
 *   "This product includes software developed by the
 *Apache Software Foundation (http://www.apache.org/)."
 *Alternately, this acknowledgment may appear in the software itself,
 *if and wherever such third-party acknowledgments normally appear.
 *
 * 4. The names "Apache" and "Apache Software Foundation" must
 *not be used to endorse or promote products derived from this
 *software without prior written permission. For written
 *permission, please contact [EMAIL PROTECTED]
 *
 * 5. Products derived from this software may not be called "Apache",
 *nor may "Apache" appear in their name, without prior written
 *permission of the Apache Software Foundation.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * 
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * http://www.apache.org/.
 *
 * Portions of this software are based upon public domain software
 * originally written at the National Center for Supercomputing
Applications,
 * University of Illinois, Urbana-Champaign.
 */



-Original Message-
From: Sharon Moshkovitz [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 9:06 AM
To: '[EMAIL PROTECTED]'
Subject: license for Tomcat


hello
I'm a product manager at a software development company called orsus
solutions.
We would like to give the installation files of Tomact 3.2.1 with our
product's installation, so the user will install Tomcat as is webserver. I
would like to know if there is a license we need from you, or if you have
any demand, like writing somewhere that we r using your software, or
anything else.
please do answer me ASAP.
thanks in advance.

Sharon Moshkovitz
Product Manager
5386859


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: set CLASSPATH DOS 8.3 names maybe used in TOMCAT_HOME

2001-03-12 Thread Darrell Porter



You 
must set a CLASSPATH variable. As you have used extended directory names 
(i.e. C:\Program Files\Apache Web Server\Jakarta-Tomcat), you'll need to 
explicitly set a CLASSPATH environment variable.

something like 

set 
CLASSPATH=%TOMCAT_HOME%\webapps\ROOT\WEB-INF\classesset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\webapps\ROOT\WEB-INF\lib\struts.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\webapps\ROOT\WEB-INF\lib\jdom.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\webapps\ROOT\WEB-INF\lib\xerces.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\webapps\ROOT\WEB-INF\lib\jturbo.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\webapps\ROOT\WEB-INF\lib\j2ee.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jaxp.jarset 
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\parser.jar

I hope 
this helps


_ 

  
Darrell Porter Operations Manager 415.355.9990 
x290 [EMAIL PROTECTED] 
WiseConnect, Inc. http://www.wiseconnect.com/ "Powering the people behind stores" 
Visit our GlobalShop booth #4473 in 
i3Go wireless with the 
WiseConnect Workspace  Palm!Enter 
to win 
a Palm VII by selecting: Enter to Win! http://www.wiseconnect.com/palmVII.html 


  -Original Message-From: Richard Tham 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 12, 2001 11:01 
  AMTo: [EMAIL PROTECTED]Subject: set 
  CLASSPATH DOS 8.3 names maybe used in TOMCAT_HOME
  
  Hi,
  
  I'm running Win ME.
  Here is a copy of my autoexec.bat 
  file:
  
  SET COMSPEC=C:\WINDOWS\COMMAND.COMSET windir=C:\WINDOWSSET 
  winbootdir=C:\WINDOWSSET PROMPT=$p$gSET TEMP=C:\WINDOWS\TEMPSET 
  TMP=C:\WINDOWS\TEMPSET 
  PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3\BINSET 
  JAVA_HOME=C:\JDK1.3SET ANT_HOME=C:\Progra~1\Apache~1\jakart~1\SET 
  TOMCAT_HOME=C:\Progra~1\Apache~1\jakart~1\However, when running startup.bat file, I got the following error 
  msg:
  
  Unable to set CLASSPATH dynamicallyNote: To set CLASSPATH dynamically 
  in Win9X systemsonly DOS 8.3 names maybe used in TOMCAT_HOME!!
  
  I've posted a copy of the screenshot 
  here:
  http://pwp.maxis.net.my/richardtham/screen.jpg
  Pls help !!
  What does it mean by DOS 8.3 names use in 
  TOMCAT_HOME ??
  Is this the right way to set path in Win ME 
  ??
  
  Any help is greatly appreciated !!
  
  Best Regards,
  
  Richard
  
  
  


RE: remove me form the mailing list

2001-03-08 Thread Darrell Porter

 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-Original Message-
From: Martin Quinn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 5:32 PM
To: [EMAIL PROTECTED]
Subject: Re: remove me form the mailing list


Me also - i have been trying for a week to get off this list

"Kelly, Jeff" wrote:

 Can some human get me off this mailing list PLEASE!!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, 9 March 2001 11:18 a.m.
 To: [EMAIL PROTECTED]
 Subject: failure notice

 Hi. This is the qmail-send program at apache.org.
 I'm afraid I wasn't able to deliver your message to the following
addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.

 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. (#5.1.1)

 --- Below this line is a copy of the message.

 Return-Path: [EMAIL PROTECTED]
 Received: (qmail 61668 invoked from network); 8 Mar 2001 22:17:35 -
 Received: from its-mail1.massey.ac.nz (HELO cc-server9.massey.ac.nz)
 (130.123.128.11)
   by h31.sny.collab.net with SMTP; 8 Mar 2001 22:17:35 -
 Received: from its-mm1.massey.ac.nz (its-mm1.massey.ac.nz
[130.123.128.45])
 by cc-server9.massey.ac.nz (8.9.3/8.9.3) with ESMTP id LAA05793
 for [EMAIL PROTECTED]; Fri, 9 Mar 2001 11:17:11
 +1300 (NZDT)
 Received: from its-xchg2.massey.ac.nz (not verified[130.123.128.28]) by
 its-mm1.massey.ac.nz with MailMarshal (4,0,9,0)
 id B0002201f9; Fri, 09 Mar 2001 11:12:48 +1300
 Received: by its-xchg2.massey.ac.nz with Internet Mail Service
(5.5.2650.21)
 id FNSJH32A; Fri, 9 Mar 2001 11:12:48 +1300
 Message-ID:
[EMAIL PROTECTED]
 From: "Kelly, Jeff" [EMAIL PROTECTED]
 To: "'tomcat-user-uc.984088499.kpclpbcnfpodkjahaebk-j.j.kelly='"
  [EMAIL PROTECTED]
 Subject:
 Date: Fri, 9 Mar 2001 11:12:48 +1300
 MIME-Version: 1.0
 X-Mailer: Internet Mail Service (5.5.2650.21)
 Content-Type: text/plain;
 charset="iso-8859-1"
 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Tomcat setup

2001-03-02 Thread Darrell Porter

What OS are you running?

I'll presume Windows 95/98.

The simplest way to fix the "Out of Environment Space" is is to modify
C:\CONFIG.SYS and add or modify the existing SHELL= line to read as such:

SHELL=C:\WINDOWS\COMMAND.COM /P /E:3072

The /P tells COMMAND.COM to Persist after loading and the /E: tells
COMMAND.COM to provide an environment space of  bytes where  is a
decimal number.

If your CONFIG.SYS has a [common] section, you'll want to place the SHELL=
statement on the line  below the [common] heading.

Hope this helps,
_____
Darrell Porter
Operations Manager
415.355.9990 x290
[EMAIL PROTECTED]

WiseConnect, Inc. http://www.wiseconnect.com/
"Powering the people behind stores"

Visit our GlobalShop booth #4473 in i3

Go wireless with the WiseConnect Workspace  Palm!
Enter to win a Palm VII by selecting:
Enter to Win! http://www.wiseconnect.com/palmVII.html

-Original Message-
From: Marina Hovakimyan [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 6:40 AM
To: [EMAIL PROTECTED]
Subject: Tomcat setup


I have installed Tomcat and now I need to set it up. Well you please tell me

what exactly I need to add or change. When ever I try to add line "set 
JAVA_HOME = c:\jdk1.1.8" I get an error:
Out of environment space.
Out of environment space.
Unable to determine the value of TOMCAT_HOME.
Please send your response to [EMAIL PROTECTED] as soon as possible.
Thank you very mach.
Marina.

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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Help with welcome-file

2001-03-02 Thread Darrell Porter

Try making the following change:

Context path="app" docBase="/usr/home/web/app"
crossContext="false" debug="0" reloadable="true"/

Note the removal of the '/' before 'app' in the context path.

Hope this helps.

_________
Darrell Porter
Operations Manager
415.355.9990 x290
[EMAIL PROTECTED]

WiseConnect, Inc. http://www.wiseconnect.com/
"Powering the people behind stores"

Visit our GlobalShop booth #4473 in i3

Go wireless with the WiseConnect Workspace  Palm!
Enter to win a Palm VII by selecting:
Enter to Win! http://www.wiseconnect.com/palmVII.html


-Original Message-
From: Thierry Leveque [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 6:38 AM
To: '[EMAIL PROTECTED]'
Subject: Help with welcome-file


Hi

We have a working application under Tomcat 3.2.
To call our main jsp, we have to call the full URL:
www.abcd.com/app/index.jsp

If we try:
www.abcd.com/app

We've got an error from Tomcat:
2001-03-02 09:31:03 - Ctx(  ): 404 R(  + //app/index.jsp + null) JSP
file not found
What is this double / ?? Where does it come from??

I think my web.xml file is ok:

welcome-file-list
welcome-file
index.jsp
/welcome-file
welcome-file
index.html
/welcome-file
welcome-file
index.htm
/welcome-file
/welcome-file-list

web.xml IS in my WEB-INF directory.

And my context too (in server.xml):
Context path="/app" docBase="/usr/home/web/app"
crossContext="false" debug="0" reloadable="true"/

What is wrong?

And if I delete my file index.jsp from my directory, and try the URL
www.abcd.com/app, Tomcat return me the list of the file in my docBase
context directory as it shouldWeird!

Tomcat 3.2 under Solaris 7 on a Sun 450.

Thierry Leveque
Wysdom Inc.
cell: 514-575-6466
tel: 514-395-6060 poste 138
fax: 514-395-6080

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Help On running Tomcat

2001-01-30 Thread Darrell Porter

Try the following in a batch file:

start "Tomcat Service" cmd.exe /x /t:0b /k %TOMCAT_HOME%/bin/startup.bat

This will start Tomcat in a new process called "Tomcat Service" using the
WinNT/2K command processor and will tell the command processor to stay
around even after Tomcat dies so you can see the error.  The other thing I
like to do with the STARTUP.BAT file is add the line

Mode 178,1000

which gives me a scroll-back buffer of 1000 lines of 178 characters each.
This way I can see when the error started.  Realize that it take approx.
178k for each process just for the scroll-back buffer.



-Original Message-
From: sushil [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: Help On running Tomcat


Dear List,

I am trying to run tomcat stand alone on an NT platform. I am trying to run
the server on a different ip from that of the host i.e we need to be able to
run tomcat not from the localhost address but from an allocated ip address.

What cahnges do i need to make this work as I keep getting the screen which
disappears after a few seconds when  trying to run startup.bat

 Regards

Sushil Prabhakar
Cybernet Communications Inc.
Suite 207
20 Amber Street
Markham, Ontario
L3R 5P4
Tel: (905) 947 1801
Fax:(905) 947 1802


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip

2001-01-29 Thread Darrell Porter

Are you hosting this yourself or is it hosted on an ISP-owned machine?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 4:20 AM
To: [EMAIL PROTECTED]
Subject: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip


Hello,

I have a problem with the following setup:
- W2K prof.
- IIS5.0
- Tomcat 3.2.1

I wrote several servlets and they are working when I test mij webapp on
http://localhost ...
unfortunately, when I substitute the localhost name for the real world
(live) ip address or hostname, only static html pages will show but the
servlets do not react anymore to requests.

The isapi.log file tells me the following:

[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed

Could someone explain to me what could be the problem? (I think the problem
is that my isp blocked the 8007 port of mij outgoing server line).

Regards,
Wim Praet.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




A couple of issues with Tomcat/Apache on WinNT

2001-01-29 Thread Darrell Porter

Current configuration:

Self-hosted server
Windows NT 4.0 SP 6a
Apache 1.3.14
Tomcat 3.2.1 with mod_jk 1.0

Problem 1:  Tomcat is not generating the appropriate mod_jk.conf-auto.  It
still generates the tomcat-apache.conf.

Problem 2:  Apache seems to be correctly serving static objects while Tomcat
is serving servlets, however this is only working in the root context.
Neither seem to be working for aliased contexts, and in fact when attempting
to view http://localhost/alias or http://localhost/alias/ a 404 error is
generated.

Any help would be appreciated.

Thanks

Darrell


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Dr. Watson in INETSRV.EXE with Tomcat for Windows

2001-01-18 Thread Darrell Porter

I've a new install with Windows NT 4.0, SP6a; Internet Option Pack 4.0 with
Internet Information Server 4.0 and a need to serve JSPs.  I'm using JDK 1.3
dated 06/02/2000 and Tomcat binaries dated 4/18/2000.  I've installed the
ISAPI redirector per the How-to.  I have Tomcat debugging set to DEBUG
level.

When the redirector hands the request off to Tomcat, the Tomcat log gets the
following entries:

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/images/client2.gif
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/images/client2.gif] is not a
servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/images/client2.gif] is
points to the web-inf directory

at which point INETSRV.EXE meets Dr. Watson with the following entry:

Application exception occurred:
App: exe\inetinfo.dbg (pid=414)
When: 1/17/2001 @ 9:25:21.515
Exception number: c005 (access violation)

Any ideas would be GREATLY appreciated.

Thanks

Darrell Porter


How come every time Pacific Gas and Electric announces a Stage III power
emergency , I am reminded of SimCity 1.0's alert: "Your city is experiencing
brownouts. Build more power plants."



 Darrell Porter.vcf 

 Darrell Porter.vcf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]