Tomcat dies immediately under windows

2001-01-01 Thread Eric Armstrong

Note: Please use "reply all", as I am not 
  subscribed at this address.

Problem:
  * OS = Win98.
  * Tomcat startup announces "it is starting in a new
window".
  * A window flashes up for an instant, and then
disappears.
  * No LOGS directory was created.
  * After manually creating the directory, no log is
written there after a retry.
  * The process list does not show any instance of
tomcat running
  
I've set up Tomcat successfully under Solaris,
so I'm somewhat familiar with the process. Obviously,
I have some setting wrong, but what? How can I find
out, or has anyone experienced a similar problem?

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




Re: Tomcat dies immediately under windows

2001-01-01 Thread Jaap van der Molen

Edit startup.bat and change the command after ":start" to
"call %TOMCAT_HOME%\bin\tomcat run %1 %2 %3 %4 %5 %6 %7 %8 %9"
i.e. replace "start" by "run"

Tomcat will now run in the same window, enabling you to read the error
messages.

re Jaap



- Original Message -
From: "Eric Armstrong" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; "me" [EMAIL PROTECTED]
Sent: Monday, January 01, 2001 10:52
Subject: Tomcat dies immediately under windows


 Note: Please use "reply all", as I am not
   subscribed at this address.

 Problem:
   * OS = Win98.
   * Tomcat startup announces "it is starting in a new
 window".
   * A window flashes up for an instant, and then
 disappears.
   * No LOGS directory was created.
   * After manually creating the directory, no log is
 written there after a retry.
   * The process list does not show any instance of
 tomcat running

 I've set up Tomcat successfully under Solaris,
 so I'm somewhat familiar with the process. Obviously,
 I have some setting wrong, but what? How can I find
 out, or has anyone experienced a similar problem?

 -
 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 dies immediately under windows

2001-01-01 Thread Jaap van der Molen

Edit startup.bat and change the command after ":start" to
"call %TOMCAT_HOME%\bin\tomcat run %1 %2 %3 %4 %5 %6 %7 %8 %9"
i.e. replace "start" by "run"

Tomcat will now run in the same window, enabling you to read the error
messages.

re Jaap

- Original Message - 
From: "Eric Armstrong" [EMAIL PROTECTED]

 Problem:
   * OS = Win98.
   * Tomcat startup announces "it is starting in a new
 window".
   * A window flashes up for an instant, and then
 disappears.
   * No LOGS directory was created.
   * After manually creating the directory, no log is
 written there after a retry.
   * The process list does not show any instance of
 tomcat running



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




Loading .so library

2001-01-01 Thread rjraman



Hi all,
 Iam having problem with loading a libMy.so library with tomcat.  Can you
suggest a solution. Thanks a lot for
sparing your time.
 Whenever I execute a servlet class which loads this library using a Java
call System.loadLibrary, it throws the
following exception.

Internal Servlet Error:
java.lang.UnsatisfiedLinkError: no SessionAPI in shared library path

How do I set the Library path. Should I use workers for it ?

Thanks and regards,
ravik



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




Re: Building mod_jk on Mac OS X

2001-01-01 Thread Tom Woteki

FYI, I discovered this in the macosx-dev (www.omnigroup.com) list archive.
Highly relevant in case you hadn't seen it. And it works!

http://www.omnigroup.com/mailman/archive/macosx-dev/2000-September/004046.ht
ml



 From: James Duncan Davidson [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 28 Dec 2000 02:51:50 -0500
 To: [EMAIL PROTECTED]
 Subject: Re: Building mod_jk on Mac OS X
 
 On 12/27/00 9:10 AM, "Tom Woteki" [EMAIL PROTECTED] wrote:
 
 I am attempting to build mod_jk on Mac OS X (because I don't think there is a
 pre-built binary). The build fails because the directive #include dlfcn.h
 in
 source code fails. There seems to be no such header file anywhere in the OS X
 public beta distribution.
 
 I am attempting to build using Project Builder, Apple¹s IDE. I have taken
 this
 approach because I don¹t know the command line options to pass to the build
 script for Mac OS X/Darwin.
 
 At least one of the MacOS X/Darwin developers hangs out on the httpd list.
 If you are serious about hacking Apache based C code on Darwin (a *good*
 thing -- I *love* my MacOS X installation), I'd go check there.
 
 -- 
 James Duncan Davidson[EMAIL PROTECTED]
 !try; do()
 


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




Re: anyone using ajp13 protocol with mod_jk?

2001-01-01 Thread Tom Woteki

I was having what seems to have been a similar problem though I can't say
for sure because I didn't have my logs set up the way you appear to have. In
any case, the root problem for me was that the permissions on my webapp work
files were set to root. Upon setting ownership recursively to me everything
with ajp13 seems to be working well.

-- 
Tom Woteki, a.k.a. Dr. Wo
mail to:[EMAIL PROTECTED]
202-544-2743 (fax)
 From: William Au [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Thu, 28 Dec 2000 18:42:09 -0500
 To: [EMAIL PROTECTED]
 Subject: anyone using ajp13 protocol with mod_jk?
 
 Is anyone actually using the ajp13 protocol with mod_jk?
 I tried it but had to switch back to ajp12.  It seems faster
 but less reliable.  I am getting the following error messages
 in mod_jk.log.  All these messages occur multiple
 times.  They only occur when I use the ajp13 protocol.
 
 In mod_jk.log:
 
 [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 145
 [jk_ajp13_worker.c (173)]: In jk_endpoint_t::connect_to_tomcat, failed
 errno = 145
 [jk_ajp13_worker.c (584)]: Error connecting to the Tomcat process.
 [jk_ajp13_worker.c (325)]: Error ajp13_process_callback - write failed
 
 In tomcat.log:
 
 2000-12-28 04:04:07 - Ctx( /examples ): Exception in: R( /examples +
 /10k.jsp + null) - java.lang.NullPointerException
   at _0002f_00031_00030k_0002ejsp10k_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.Ajp13ConnectionHandler.processConnection(C
 ompiled
 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)
 
 Bill
 


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




Re: Unsubscribing

2001-01-01 Thread Mark Koscak

I believe you have to respond to the confirmation of unsubscription.

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 31, 2000 10:09 AM
Subject: Unsubscribing


 Twice now I have sent a message to unsubscribe to the digest. Each time I
 have received a confirmation message that I have been "unsubscribed". I am
 still receiving the digest.

 What do I do?


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


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




BUG REPORT: Tomcat dies immediately under windows

2001-01-01 Thread Eric Armstrong

Ah. I see it. It's a bug in tomcat.bat

The start option in tomcat.bat sets the global
CLASSPATH variable, but does not use the 
command-line option on the "start java" command
to pass it to the JVM.

The script expects the new shell to inherit
the CLASSPATH settings, as it would in Unix. 
In windows 98, however, the new shell starts
with a pristine environment.

(DOS shells are magnificently stupid in that
respect. Changing directories in a subshell
affects the PARENT shell. In other words, 
inheritance works in *reverse*. Too weird for
words.)

Two Possible Solutions:
  1. Use the java command's command line option
 to set the classpath

  2. Recurse. Make the tomcat start option
 do this:
   start tomcat run

The latter is the simpler hack, though less 
efficient.

In my version, I used:
  start /minimized tomcat run

Eric Armstrong wrote:
 
 Note: Please use "reply all", as I am not
   subscribed at this address.
 
 Problem:
   * OS = Win98.
   * Tomcat startup announces "it is starting in a new
 window".
   * A window flashes up for an instant, and then
 disappears.
   * No LOGS directory was created.
   * After manually creating the directory, no log is
 written there after a retry.
   * The process list does not show any instance of
 tomcat running
 
 I've set up Tomcat successfully under Solaris,
 so I'm somewhat familiar with the process. Obviously,
 I have some setting wrong, but what? How can I find
 out, or has anyone experienced a similar problem?

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




Re: Tomcat dies immediately under windows

2001-01-01 Thread Eric Armstrong

More info:
  "tomcat run"  works fine. (runs in the same window)
  "tomcat start" fails. (separate window dies)

Some environment setting must be missing in the new
window.

Eric Armstrong wrote:
 
 Note: Please use "reply all", as I am not
   subscribed at this address.
 
 Problem:
   * OS = Win98.
   * Tomcat startup announces "it is starting in a new
 window".
   * A window flashes up for an instant, and then
 disappears.
   * No LOGS directory was created.
   * After manually creating the directory, no log is
 written there after a retry.
   * The process list does not show any instance of
 tomcat running
 
 I've set up Tomcat successfully under Solaris,
 so I'm somewhat familiar with the process. Obviously,
 I have some setting wrong, but what? How can I find
 out, or has anyone experienced a similar problem?

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




Re: Tomcat dies immediately under windows

2001-01-01 Thread Alef Arendsen

There was a discussion on this a couple of days ago...

what solved the problem was: http://www.geocities.com/jdrudnicki/

I think it had got something to do with environment space of command prompt
on Win98 or something...

Alef



- Original Message -
From: "Eric Armstrong" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; "me" [EMAIL PROTECTED]
Sent: Monday, January 01, 2001 22:35
Subject: Re: Tomcat dies immediately under windows


 More info:
   "tomcat run"  works fine. (runs in the same window)
   "tomcat start" fails. (separate window dies)

 Some environment setting must be missing in the new
 window.

 Eric Armstrong wrote:
 
  Note: Please use "reply all", as I am not
subscribed at this address.
 
  Problem:
* OS = Win98.
* Tomcat startup announces "it is starting in a new
  window".
* A window flashes up for an instant, and then
  disappears.
* No LOGS directory was created.
* After manually creating the directory, no log is
  written there after a retry.
* The process list does not show any instance of
  tomcat running
 
  I've set up Tomcat successfully under Solaris,
  so I'm somewhat familiar with the process. Obviously,
  I have some setting wrong, but what? How can I find
  out, or has anyone experienced a similar problem?

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



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




problems with build.sh for newbie

2001-01-01 Thread Russell Francis

Hi,

Built a brand new linux machine this week with Tomcat 3.2.1 and have
successfully run the sample apps. I started the tutorial but have not been
successul building my first helloworld program.

when executing ./build.sh I get the error:

Couldn't find or load essential class 'java/lang/Object'
java.lang.NoClassDefFoundError java/lang/Object
./build.sh: line 12: 1662 Aborted $CP:$CLASSPATH
org.apache.tools.ant.Main -Dtomcat.home=$TOMCAT_HOME "$@"

From the searches of the archives that I have performed so far I see that
for this type of error the solution seems to be to make sure that the
CLASSPATH is set. My CLASSPATH is set to all the .jar files in
TOMCAT_HOME/lib/ and JAVA_HOME/lib/tools.jar.

Should I have a TOMCAT_HOME/classes directory?

Any ideas how to fix this?

thanks
Russ.


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




redirect to a static page from tomcat to apache

2001-01-01 Thread Randy Paries

Hello,

Is there anyway to do a forward from a servlet in tomcat to a static page
that apache only knows.
ie.
apache knows that /foo is /home/foo.

but when the servlet executes and does the following(see snippet below),
Tomcat does not know where /foo is mapped to. If I set up a context in
server.xml it will work. But then for my app it gets more complicated ,
because x.html is a frame that calls two cgi programs. And of course tomcat
doesn't know about these guys.

So what are my options?

IS there way to set up a cgi-bin directory under tomcat?

Thanks

From within a servlet.
-
String URL = "/foo/x.html";
RequestDispatcher disp =
getServletConfig().getServletContext().getRequestDispatcher(jspURL);
disp.forward(req,res);
-


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




Re: No Subject

2001-01-01 Thread Pete Ehli

I have no idea - I haven't done ssl yet.
-- Pete --
- Original Message -
From: "Lorenzo Pastore" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 29, 2000 3:48 AM
Subject: No Subject


 Good Morning

 I'm Pastore Lorenzo
 I need a Help for use Tomcat SSL Direct.
 I have configured my Tomcap for use SSL and I certificate it ( using
 internet manual page

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-ssl-howto.htm
l ).
 And for here ALL OK

 But if I open tomcat by Netscape in HTTP on port 8081 the server respond
 while
 if I open HTTPS on port 8443 the browser respond "you have request a
 secure document " and when I confirm the message the browser
 crashing ( it is bloking ).

 ON SERVER RETURN THIS ERROR

 ContextManager: IOException reading request, ignored -
 javax.net.ssl.SSLException: Unrecognized SSL handshake.


 CAN YOU HELP ME PLEASE


 -
 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 dies immediately under windows

2001-01-01 Thread andyjee

What was the solution to your problem?  How do I  pose my own questions?
- Original Message -
From: Alef Arendsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; me [EMAIL PROTECTED]
Sent: Monday, January 01, 2001 4:44 PM
Subject: Re: Tomcat dies immediately under windows


 There was a discussion on this a couple of days ago...

 what solved the problem was: http://www.geocities.com/jdrudnicki/

 I think it had got something to do with environment space of command
prompt
 on Win98 or something...

 Alef



 - Original Message -
 From: "Eric Armstrong" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; "me" [EMAIL PROTECTED]
 Sent: Monday, January 01, 2001 22:35
 Subject: Re: Tomcat dies immediately under windows


  More info:
"tomcat run"  works fine. (runs in the same window)
"tomcat start" fails. (separate window dies)
 
  Some environment setting must be missing in the new
  window.
 
  Eric Armstrong wrote:
  
   Note: Please use "reply all", as I am not
 subscribed at this address.
  
   Problem:
 * OS = Win98.
 * Tomcat startup announces "it is starting in a new
   window".
 * A window flashes up for an instant, and then
   disappears.
 * No LOGS directory was created.
 * After manually creating the directory, no log is
   written there after a retry.
 * The process list does not show any instance of
   tomcat running
  
   I've set up Tomcat successfully under Solaris,
   so I'm somewhat familiar with the process. Obviously,
   I have some setting wrong, but what? How can I find
   out, or has anyone experienced a similar problem?
 
  -
  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: Tomcat dies immediately under windows

2001-01-01 Thread andyjee

What was the solution to your problem?  How do I  pose my own questions?

- Original Message - 
From: Eric Armstrong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; me [EMAIL PROTECTED]
Sent: Monday, January 01, 2001 4:35 PM
Subject: Re: Tomcat dies immediately under windows


 More info:
   "tomcat run"  works fine. (runs in the same window)
   "tomcat start" fails. (separate window dies)
 
 Some environment setting must be missing in the new
 window.
 
 Eric Armstrong wrote:
  
  Note: Please use "reply all", as I am not
subscribed at this address.
  
  Problem:
* OS = Win98.
* Tomcat startup announces "it is starting in a new
  window".
* A window flashes up for an instant, and then
  disappears.
* No LOGS directory was created.
* After manually creating the directory, no log is
  written there after a retry.
* The process list does not show any instance of
  tomcat running
  
  I've set up Tomcat successfully under Solaris,
  so I'm somewhat familiar with the process. Obviously,
  I have some setting wrong, but what? How can I find
  out, or has anyone experienced a similar problem?
 
 -
 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 dies immediately under windows

2001-01-01 Thread andyjee

What was the solution to your problem?  How do I  pose my own questions?

- Original Message - 
From: Jaap van der Molen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 01, 2001 5:23 AM
Subject: Re: Tomcat dies immediately under windows


 Edit startup.bat and change the command after ":start" to
 "call %TOMCAT_HOME%\bin\tomcat run %1 %2 %3 %4 %5 %6 %7 %8 %9"
 i.e. replace "start" by "run"
 
 Tomcat will now run in the same window, enabling you to read the error
 messages.
 
 re Jaap
 
 - Original Message - 
 From: "Eric Armstrong" [EMAIL PROTECTED]
 
  Problem:
* OS = Win98.
* Tomcat startup announces "it is starting in a new
  window".
* A window flashes up for an instant, and then
  disappears.
* No LOGS directory was created.
* After manually creating the directory, no log is
  written there after a retry.
* The process list does not show any instance of
  tomcat running
 
 
 
 -
 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: beginner needs help(Compile error)

2001-01-01 Thread Ralph Jensen

I tried it and the same happened. The reason was that on my system (LINUX)
the TOMCAT_HOME environment variable wasn't set and thus the classpath for
the build script wasn't constructed properly and thus the jar file
containing org.apache.tools.ant wasn't found. Look at the code of the build
script ( build.bat or build.sh ) to see the details.

There may be a better solution, but setting TOMCAT_HOME at the beginning of
the build script will solve the problem.

Ralph Jensen

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 31, 2000 12:00 AM
Subject: beginner needs help(Compile error)


 Dear Helper,

 I am running the application fine with the following commands...

 set TOMCAT_HOME=e:\foo\jakarta-tomcat-3.2.1
 set JAVA_HOME=e:\jdk1.3
 cd jakarta-tomcat-3.2.1\bin
 startup
 cd ..
 cd doc
 cd appdev
 cd sample

 The above outputs the following path info also...

 Using CLASSPATH:
e:\foo\jakarta-tomcat-3.2.1\classes;e:\foo\jakarta-tomcat-3.2.1

\lib\ant.jar;e:\foo\jakarta-tomcat-3.2.1\lib\jasper.jar;e:\foo\jakarta-tomc
at-3.

2.1\lib\jaxp.jar;e:\foo\jakarta-tomcat-3.2.1\lib\parser.jar;e:\foo\jakarta-
tomca

t-3.2.1\lib\servlet.jar;e:\foo\jakarta-tomcat-3.2.1\lib\webserver.jar;C:\Si
lverS

tream30\COMPILECACHE\LOCALHOST\DEVELOP_BEANS\CLASSES;C:\SilverStream30\LIB\
Silve

rServerAll.zip;c:\SilverStream30\lib\servlet.jar;c:\SilverStream30\jre\lib\
rt.ja

r;c:\SilverStream30\lib\silverdesignerall.zip;c:\SilverStream30\Docs\help\b
ooks\

TechCode\jsptech6;c:\SilverStream30\jre\lib\ext\jndi.jar;c:\SilverStream30\
lib\j
 avax_sql.zip;e:\jdk1.3\lib\tools.jar

 I am then typing build in the sample directory but here I come unstuck...

 E:\foo\jakarta-tomcat-3.2.1\doc\appdev\samplebuild
 Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/
 Main

 Can you throw any light on this?

 Regards Charles



 Your email address says a lot about you.
 Express yourself @ another.com
 http://another.com/jump.jsp?destDesc=another.com/login.jsp?sig=393





---
-


 -
 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: BUG REPORT: Tomcat dies immediately under windows

2001-01-01 Thread Eric Armstrong

Here is the change I made to tomcat.bat to 
solve the problem:

:startServer
echo Starting tomcat in new window
start %TOMCAT_HOME%\bin\tomcat run
goto cleanup


Eric Armstrong wrote:
 
 Ah. I see it. It's a bug in tomcat.bat
 
 The start option in tomcat.bat sets the global
 CLASSPATH variable, but does not use the
 command-line option on the "start java" command
 to pass it to the JVM.
 
 The script expects the new shell to inherit
 the CLASSPATH settings, as it would in Unix.
 In windows 98, however, the new shell starts
 with a pristine environment.
 
 (DOS shells are magnificently stupid in that
 respect. Changing directories in a subshell
 affects the PARENT shell. In other words,
 inheritance works in *reverse*. Too weird for
 words.)
 
 Two Possible Solutions:
   1. Use the java command's command line option
  to set the classpath
 
   2. Recurse. Make the tomcat start option
  do this:
start tomcat run
 
 The latter is the simpler hack, though less
 efficient.
 
 In my version, I used:
   start /minimized tomcat run
 
 Eric Armstrong wrote:
 
  Note: Please use "reply all", as I am not
subscribed at this address.
 
  Problem:
* OS = Win98.
* Tomcat startup announces "it is starting in a new
  window".
* A window flashes up for an instant, and then
  disappears.
* No LOGS directory was created.
* After manually creating the directory, no log is
  written there after a retry.
* The process list does not show any instance of
  tomcat running
 
  I've set up Tomcat successfully under Solaris,
  so I'm somewhat familiar with the process. Obviously,
  I have some setting wrong, but what? How can I find
  out, or has anyone experienced a similar problem?

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




RE: Tomcat dies immediately under windows

2001-01-01 Thread Marc Saegesser

Eric,

I don't have access to a Win98 system so could you please test the attached
tomcat.bat file.  I've changed the java commands to use a -classpath
argument.  It works fine on WinNT but I'd like to get a test on Win98 before
I commit the changes.

-Original Message-
From: Eric Armstrong [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 01, 2001 3:36 PM
To: [EMAIL PROTECTED]; me
Subject: Re: Tomcat dies immediately under windows


More info:
  "tomcat run"  works fine. (runs in the same window)
  "tomcat start" fails. (separate window dies)

Some environment setting must be missing in the new
window.

Eric Armstrong wrote:

 Note: Please use "reply all", as I am not
   subscribed at this address.

 Problem:
   * OS = Win98.
   * Tomcat startup announces "it is starting in a new
 window".
   * A window flashes up for an instant, and then
 disappears.
   * No LOGS directory was created.
   * After manually creating the directory, no log is
 written there after a retry.
   * The process list does not show any instance of
 tomcat running

 I've set up Tomcat successfully under Solaris,
 so I'm somewhat familiar with the process. Obviously,
 I have some setting wrong, but what? How can I find
 out, or has anyone experienced a similar problem?

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

 tomcat.bat

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


Mail Notification

2001-01-01 Thread Administrator

The attached message has had some or all attachments deleted because of the following 
reason:

Message contains attachments: tomcat.bat

Additional Information:

none



Eric,

I don't have access to a Win98 system so could you please test the attached
tomcat.bat file.  I've changed the java commands to use a -classpath
argument.  It works fine on WinNT but I'd like to get a test on Win98 before
I commit the changes.

-Original Message-
From: Eric Armstrong [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 01, 2001 3:36 PM
To: [EMAIL PROTECTED]; me
Subject: Re: Tomcat dies immediately under windows


More info:
  "tomcat run"  works fine. (runs in the same window)
  "tomcat start" fails. (separate window dies)

Some environment setting must be missing in the new
window.

Eric Armstrong wrote:

 Note: Please use "reply all", as I am not
   subscribed at this address.

 Problem:
   * OS = Win98.
   * Tomcat startup announces "it is starting in a new
 window".
   * A window flashes up for an instant, and then
 disappears.
   * No LOGS directory was created.
   * After manually creating the directory, no log is
 written there after a retry.
   * The process list does not show any instance of
 tomcat running

 I've set up Tomcat successfully under Solaris,
 so I'm somewhat familiar with the process. Obviously,
 I have some setting wrong, but what? How can I find
 out, or has anyone experienced a similar problem?

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

 tomcat.bat

-
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: How to enable ISAPI filters in IIS management console

2001-01-01 Thread Marc Saegesser

Nagaraj,

Could you elaborate on the tomcat+IIS issues?  If there are Tomcat problems,
then lets fix them.  If the problems are with IIS then we should at least be
able to document them, if not provide work arounds.


-Original Message-
From: G.Nagarajan [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 30, 2000 7:24 AM
To: [EMAIL PROTECTED]
Subject: RE: How to enable ISAPI filters in IIS management console


The green arrow appears only when all the entries are correct. you don't
have to do anything to enable it.

The mistake could be anywhere, for example

1. Wrong directory specified in the registry entries
2. Some typos in the registry entries
..

In my case, I had mistyped the directory name for the logs.

The best thing is to go through each step carefully.


p.s. tomcat+IIS is not quite ok. It throws new issues every day.
better go in for Linux or sun-Solaris. Open-source s/w are allergic to
windows!
Regards
Nagaraj.

-Original Message-
From: Hawkins, Keith (Keith) [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 29, 2000 9:41 PM
To: [EMAIL PROTECTED]
Subject: How to enable ISAPI filters in IIS management console



I have installed the isapi_redirect.dll and have added the filter to the
ISAPI filters tab
of the Default Web Site properties page.  The filter status has a red down
arrow
and the enable button is always greyed out.  I tried restarting IIS, but the
filter
status never changed to active (Green up arrow.)

What steps do I need to take to get IIS to activate this filter?

This is pretty basic stuff I am asking.  I hope someone can point me in the
right direction.

Thanks,
Keith


-
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: redirect to a static page from tomcat to apache

2001-01-01 Thread Randy Paries

Thats what I thought.

but when I call::

RequestDispatcher disp =
getServletConfig().getServletContext().getRequestDispatcher(URL);
and URL = http://www.mydomain.com/consultant/index.html

disp returns a null.

I can cut and paste the URL from the error message to the browser and it
works ok.

Randy




-Original Message-
From: COLE,GLENN (Non-HP-SantaClara,ex2) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 01, 2001 7:48 PM
To: '[EMAIL PROTECTED]'
Subject: RE: redirect to a static page from tomcat to apache


Hi, Randy --

Offhand, I'd suggest fully-qualifying the URL, e.g.,

   String URL = "http://localhost/foo/x.html";

My recollection (such as it is) is that Tomcat takes
/name as relative to the current webapp; I *think* that
fully-qualifying the URL will get around this.

--Glenn


-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 01, 2001 4:25 PM
To: [EMAIL PROTECTED]
Subject: redirect to a static page from tomcat to apache


Hello,

Is there anyway to do a forward from a servlet in tomcat to a static page
that apache only knows.
ie.
apache knows that /foo is /home/foo.

but when the servlet executes and does the following(see snippet below),
Tomcat does not know where /foo is mapped to. If I set up a context in
server.xml it will work. But then for my app it gets more complicated ,
because x.html is a frame that calls two cgi programs. And of course tomcat
doesn't know about these guys.

So what are my options?

IS there way to set up a cgi-bin directory under tomcat?

Thanks

From within a servlet.
-
String URL = "/foo/x.html";
RequestDispatcher disp =
getServletConfig().getServletContext().getRequestDispatcher(jspURL);
disp.forward(req,res);
-


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


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




Tomcat alternative authentication

2001-01-01 Thread Charles Talleyrand

Hello,
I'm sorry if this topic has been covered recently but I just signed 
up.  At any rate, I am looking for some help or at least some 
documentation on how I supposed to use the security constraint and 
authentication and all of that.  In my web app, I had defined a 
directory that would hold my secure content and mirrored web.xml in 
the /examples directory as a starting point.  I have written a 
servlet that works just dandy to query our database and provide 
authentication and tracking for an intranet app.  I'm now stuck 
trying to glue my module into tomcat and I'm not having a bit of 
luck.  Perhaps, ok, perhaps nothing, I _don't_ understand what all is 
meant by all the authentication methods given (FORM vs BASIC).  I 
liked the functionality and apperant ease of the example secure jsp's 
and thought it'd be slick to use that for my app.  Any thoughts, 
hints, suggestions, etc. would be most appreciated.

/charles

Tell all your friends about wowwowmail.zzn.com

ZapZone Network brought to you by FortuneCity. http://www.fortunecity.com Get 100 
megabytes of free

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




Re: Setting properties outside of the WAR

2001-01-01 Thread Ritchie Young

Thanks for the response but that wasn't quite what I was getting at.

The idea was that there should be some easy way for an administrator to set
a property for the application. It just strikes me that the TOMCAT_OPTIONS
variable is a slightly cumbersome way especially when there start to be a
few more applications.

I thought that the "Context" tag in server.xml wouldn't be a bad place to
incorporate application specific settings such as where the application can
find it's properties file. This would also allow for multiple instance of
the same application to use different configurations but only one WAR file.

Cheers
Ritchie

 To set properties dynamically in your application you can try this command

 java.lang.System.setProperty(key,value)

 Or

 System.getProperties().put("HTTPClient.dontChunkRequests", "true");



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




Re: Tomcat alternative authentication

2001-01-01 Thread Neil Aggarwal

Charles:

I have created a set of installation notes on Apache, Java, and
Tomcat in our Reading Room. I was able to set-up Basic 
authentication in Tomcat.

Take a look at http://www.JAMMConsulting.com and click
on the reading room button.

I hope this helps.

Neil.


--
Neil Aggarwal
JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development -- Java, JSP, servlets, databases

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




error-code with tomcat 3.2.1

2001-01-01 Thread Boris Ioffe

Fellows!
I was tackling this topic for weeks and it seems like this feature won't
work for me. The situation is simple like 3-4 previously described in this
forum. I need XML based error page.
 I'll explain behavior of my tomcat instance.
relevant part of web.xml:
error-page
error-code404/error-code
locationerror/404.jsp/location
/error-page


First it doesn't react on anything in location but error.jsp
if I put error.jsp it goes to loop and then overflows.
if I remove / thingy
for once it returns strange 500 error with null in body content and switches
to standard IE fill of 404 error message .
ppl just please tell me that it works somehow. Project ends by January 10.



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




Can't locate custom tag library

2001-01-01 Thread Bob Law




I've been developing an application using tomcat 
and apache for a few months, and things are working great. I have 
encountered a problem when I move my code to a machine behind a firewall. 
When I initially installed it, things worked fine, but the last few weeks they 
haven't worked at all. When I try to load a page that uses a custom tag, I 
am told that it is unable to open the custom tag library. I also am told 
that the network is not reachable. Everything is on the same box. I 
know that the company's network is extremely tight (it is a bank) and they 
frequently change the settings. Is there any way to have tomcat read the 
file on the local machine? It all works on my machine at home, just not on 
the machines at work. I am running Linux.

Thanks,
Bob Law
[EMAIL PROTECTED]


Re: Tomcat alternative authentication

2001-01-01 Thread Ted Husted

 I _don't_ understand what all is meant by all the authentication
methods given (FORM vs BASIC).  

FORM means you have your own method, that you are collecting logins via
HTML forms, and storing it in the servlet session context.

BASIC means you are using the built-in HTTP method, and checking the
headers for login information.

For some background on authentication with Tomcat, see also


http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto



http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg03534.html

 

and ProtectedPage - chapter 3 of Marty Hall's Core Servlets and JSP
(www.coreservlets.com).


-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel 716 425-0252; Fax 716 223-2506.
-- http://www.husted.com/



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




AW: Upload problem: bug at Multipartrequest when deals with mixed pa rameters types

2001-01-01 Thread Ralph Einfeldt

To me your problem looks like your form bean is not found at runtime.
But that has nothing to do with Multipartrequests.

 -Ursprüngliche Nachricht-
 Von: Jose Euclides da Silva Junior - DIGR.O
 [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 29. Dezember 2000 16:11
 An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Betreff: Upload problem: bug at Multipartrequest when deals with mixed
 pa rameters types
 
 java.lang.NoSuchMethodError: FormBean: method
 (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/l
 ang/String;Lja
 va/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/
 String;Ljava/l
 ang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Stri
 ng;Ljava/lang/
 Stri
   at StarServletnew.doPost(StarServletnew.java, Compiled Code)

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