IIS + Tomcat + SSL

2001-05-26 Thread Todd Sussman

We have a working IIS + Tomcat 3.2.1 server running under windows 2000.
We would like to add SSL security.  I recieved my cert from Verisign and
installed it.  The problem is that I don't think the JSP's aree using
the SSL information.  Is there anyway to test this or a howto I can
check.

Thank You
Todd

-Original Message-
From: Nirvana [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 27, 2001 8:24 AM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat and weblogic


Tomcat is a servlet/JSP engine with a small in efficient web engine. It
can
not host any other stuff like EJBs or anything. But Weblogic is an
AppServer. So it has both an EJB container/engine and a Servlet/JSP
engine.
but some ppl use tomcat for their servlet/JSP hosting for it's known
performance and use any other appserver like weblogic for EJB hosting.

-Nirvana

-Original Message-
From: Salwa Ananou <[EMAIL PROTECTED]>
To: Tomcat-User (E-mail) <[EMAIL PROTECTED]>
Date: Friday, May 25, 2001 3:26 AM
Subject: Tomcat and weblogic


>Hi,
>
>I m a new tomcat user and i don't know a lot about it;
>
>My stuff is designed to work with an application server and i need also
>tomcat;
>
>Can i use Tomcat as a application server, ? or must I install weblogic
and
>tomcat at the same machine;
>
>or does weblogic include all tomcat fonctionalities; so i don't need
tomcat.
>
>thanks
>
>




Re: Tomcat and weblogic

2001-05-26 Thread Nirvana

Tomcat is a servlet/JSP engine with a small in efficient web engine. It can
not host any other stuff like EJBs or anything. But Weblogic is an
AppServer. So it has both an EJB container/engine and a Servlet/JSP engine.
but some ppl use tomcat for their servlet/JSP hosting for it's known
performance and use any other appserver like weblogic for EJB hosting.

-Nirvana

-Original Message-
From: Salwa Ananou <[EMAIL PROTECTED]>
To: Tomcat-User (E-mail) <[EMAIL PROTECTED]>
Date: Friday, May 25, 2001 3:26 AM
Subject: Tomcat and weblogic


>Hi,
>
>I m a new tomcat user and i don't know a lot about it;
>
>My stuff is designed to work with an application server and i need also
>tomcat;
>
>Can i use Tomcat as a application server, ? or must I install weblogic and
>tomcat at the same machine;
>
>or does weblogic include all tomcat fonctionalities; so i don't need
tomcat.
>
>thanks
>
>




Javamail issue and binary attachments

2001-05-26 Thread John Harris

I'm trying to get a simple javamail client to work under Tomcat 3.2.1 as a servlet. I 
have the servlet done, and it works under my debug environment (I'm using the free 
ServletExecDebugger). 

The servlet takes the input from an HTML form (multipart/form-data encryption type). 
The servlet parses through the different boundaries. If a file is sent it wraps it 
into a MimeBodyPart and eventually adds to a MimeMultipart object and sends it through 
SMTP.

Under the ServletExecDebugger, file attachments both plain text and binary work just 
fine - no issues.

When I move it to my webapp under Tomcat 3.2.1, only plain text files work, if you 
submit the HTML form with a binary file - the e-mail gets to the recepient without the 
binary file. Tomcat 3.2.1 is the default setup. Any hints or direction would be 
greatly appreciated.

John Harris




Re: Frame for form login

2001-05-26 Thread BillWorker 2i Development Team

This is a problem I faced, too. I see two possible solutions.

i. use JavaScript in login.jsp so that onLoad event will ensure that it
is on top and not inside a frame.

ii. direct to a page saying relogin and that should do even if the relogin page
comes inside the frame the login will come on top.

I think ii. is simple and I have done this as it does not require
JavaScript to be enabled in the client browser.

Ashish

-- 
BillWorker 2i Development Team,
Infocom Solutions Pvt. Ltd.



tomcat services on NT

2001-05-26 Thread prabakaran

Hi all,

    I installed tomcat in winnt and configured jk_nt_service to
start the service on control panel.I'm able to
access the servlet examples that come with tomcat but i have problem in
accessing the JSP examples.I modifed the wrapper.properties file as
given in
tomcat documentation. the error "page cannot be found " is displayed

Anyone have answer ??
 

TIA

prabakar
 
 




Re: form-based authentication tomcat->apache

2001-05-26 Thread Andrew Robson

Try putting
JkMount  /examples/jsp/security/login/j_security_check ajp13
into httpd.conf

andrew

On Sun, 27 May 2001, you wrote:
> Hi everyone,
> 
> Has anyone been able to get the form-based authentication example to work
> with tomcat? I can get it to work if I connect to tomcat's own http-server
> on port 8080
> but when I connect to the same example via apache (via mod_jk to tomcat)
> after I log in I get
> http://localhost/examples/jsp/security/login/j_security_check
> 
> with a message saying "the page cannot be found".
> Is this a known bug in tomcat? Is there some subtle configuration thing
> I've missed?
> 
> -Mike Jennings
> 
> __
> Mike Jennings
> Southgate  Software Ltd.
> 250-382-6851 (ph)
> 250-382-6800 (fax)
> [EMAIL PROTECTED]
-



SocketException

2001-05-26 Thread Enrique Cea

Hello.

Im testing a Java application that connects to a servlet and send it some objects, 
then the server connects to a RMI remote object and do some tasks on it.

I think everything is well configured but get this exception when trying to connect to 
the server:

-- Exception -

2001-05-26 12:39:02 - ContextManager: SocketException reading request,
ignored - java.net.SocketException: Connection reset by peer: JVM_recv
in socket input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:86)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
at 
org.apache.tomcat.service.http.HttpRequestAdapter.doRead(HttpRequestAdapter.java:115)
at 
org.apache.tomcat.core.BufferedServletInputStream.doRead(BufferedServletInputStream.java:106)
at 
org.apache.tomcat.core.BufferedServletInputStream.read(BufferedServletInputStream.java:128)
at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:138)
at 
org.apache.tomcat.service.http.HttpRequestAdapter.readNextRequest(HttpRequestAdapter.java:129)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:195)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

 /Exception --

I think hat the exception occurs before init method of the servlet.

The code of the java program that connect to the server is:

 Code of the client --

URL servlet = new URL("http://127.0.0.1:8080/prueba/anyadirMensajeServlet";);

Mensaje msg = new MensajeReal();

URLConnection con = servlet.openConnection();
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream());
out.writeObject(msg);
out.writeInt(1);

out.flush();
out.close();

--- /code of the client --

and the code of the servlet is

-- code of the servlet --

public void doPost( HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
ObjectInputStream in = new ObjectInputStream(req.getInputStream());

try {

Mensaje mensaje = (Mensaje) in.readObject();
int foro = (int) in.readInt();

//The parent class of this server connects to a RMI Servidor object
//and asings it to servidro object

servidor.anyadirMensaje(mensaje, foro);



} catch (Exception e) {
e.printStackTrace();
}

in.close();

}

-- /code of the servlet --


Thank you in advance and sorry for having to send this big post.




form-based authentication tomcat->apache

2001-05-26 Thread Michael Jennings

Hi everyone,

Has anyone been able to get the form-based authentication example to work
with tomcat? I can get it to work if I connect to tomcat's own http-server
on port 8080
but when I connect to the same example via apache (via mod_jk to tomcat)
after I log in I get
http://localhost/examples/jsp/security/login/j_security_check

with a message saying "the page cannot be found".
Is this a known bug in tomcat? Is there some subtle configuration thing
I've missed?

-Mike Jennings

__
Mike Jennings
Southgate  Software Ltd.
250-382-6851 (ph)
250-382-6800 (fax)
[EMAIL PROTECTED]




off list contact

2001-05-26 Thread Neil Jolly

Anybody trying to reach me please use [EMAIL PROTECTED], as I'm unsubscribing 
from the mail list due to the massive volume.

Neil



Fwd: Re: problems with installation

2001-05-26 Thread david

My java is working fine on ME but tomcat is coming up with the following message
Including all jars in c:\j3t\tomcat\lib in your CLASSPATH.

Using CLASSPATH: c:\j3t\tomcat\classes;c:\j3t\tomcat\lib\ANT.JAR;c:\j3t\tomcat\l
ib\JASPER.JAR;c:\j3t\tomcat\lib\JAXP.JAR;c:\j3t\tomcat\lib\PARSER.JAR;c:\j3t\tom
cat\lib\SERVLET.JAR;c:\j3t\tomcat\lib\WEBSER~1.JAR;;c:\jdk1.3\javamail\mail.jar;
c:\jdk1.3\activation\activation.jar;c:\j3t\mysql_drivers\twz1\noopt;c:\j3t\mysql
_drivers\mm\lib\mm_mysql-2_0_2-bin.jar;"c:\jdk1.3"\lib\tools.jar

Starting Tomcat in new window
Bad command or file name



 the autoexec seems just to ignore 
>certain things, like the java mail stuff, but it does do the java path coz i 
>can compile code.
>Here is my autoexec at the moment, I have been trying to get this to work all 
>day,
>SET windir=C:\WINDOWS
>SET winbootdir=C:\WINDOWS
>SET COMSPEC=C:\WINDOWS\COMMAND.COM
>SET PROMPT=$p$g
>SET TEMP=C:\WINDOWS\TEMP
>SET TMP=C:\WINDOWS\TEMP
>SET JAVA_PATH="c:\jdk1.3"
>SET JAVA_HOME="c:\jdk1.3"
>SET J3T_HOME="c:\j3t"
>SET TOMCAT_HOME="c:\j3t\tomcat"
>SET CLASSPATH="c:\jdk1.3\javamail\mail.jar"
>SET CLASSPATH="c:\jdk1.3\activation\activation.jar"
>SET PATH="c:\jdk1.3\javamail"
>I hope you can see an error.
>
>On Sat, 26 May 2001 14:57:47 -0400 "Guido Medina" <[EMAIL PROTECTED]> wrote:
>>set java_path="c:\jdk"
>>set java_home=%java_path%
>>set path=%path%;%java_path%\bin;.
>>
>>check is that is already done...
>>
>>Guido.
>>
>>- Original Message -
>>From: <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>
>>Sent: Saturday, May 26, 2001 2:51 PM
>>Subject: Re: problems with installation
>>
>>
>>> Hiya, thanks for that, but now it is saying this when I double click on
>>tomcat
>>> startup
>>> Including all jars in c:\j3t\tomcat\lib in your CLASSPATH.
>>>
>>> Using CLASSPATH:
>>c:\j3t\tomcat\classes;c:\j3t\tomcat\lib\ANT.JAR;c:\j3t\tomcat\l
>>>
>>ib\JASPER.JAR;c:\j3t\tomcat\lib\JAXP.JAR;c:\j3t\tomcat\lib\PARSER.JAR;c:\j3t
>>\tom
>>>
>>cat\lib\SERVLET.JAR;c:\j3t\tomcat\lib\WEBSER~1.JAR;;c:\j3t\tomcat\classes;c:
>>\j3t
>>>
>>\tomcat\lib;c:\jdk1.3\javamail-1.2\mail.jar;c:\jdk1.3\activation\activation.
>>jar;
>>>
>>c:\jdk1.3\javamail\mail.jar;.;c:\jdk1.3\activation\activation.jar;c:\jdk1.3\
>>java
>>>
>>mail\mail.jar;.;c:\jdk1.3\activation\activation.jar;c:\jdk1.3\javamail\mail.
>>jar;
>>>
>>.;c:\jdk1.3\activation\activation.jar;c:\jdk1.3\javamail\mail.jar;.;c:\jdk1.
>>3\ac
>>>
>>tivation\activation.jar;c:\jdk1.3\javamail\mail.jar;.;c:\jdk1.3\activation\a
>>ctiv
>>>
>>ation.jar;c:\j3t\mysql_drivers\twz1\noopt;c:\j3t\mysql_drivers\mm\lib\mm_mys
>>ql-2
>>> _0_2-bin.jar;c:\jdk1.3\lib\tools.jar
>>>
>>> Starting Tomcat in new window
>>> Bad command or file name
>>>
>>> sorry for being a pain, can you help?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Get your firstname@lastname email for FREE at http://Nameplanet.com/?su
>>>
>>
>>
>
>
>-- 
>Get your firstname@lastname email for FREE at http://Nameplanet.com/?su
>


-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



RE:Empty mod_jk.log

2001-05-26 Thread David M Sirkin

No need to reply to my previous post folks, I found the problem. I needed to
put a carraige-return at the end of the Include directive in http.conf. Ugh.
At least the problem/soltion will be posted to help others in the future.
Thanks again,

David S



Empty mod_jk.log

2001-05-26 Thread David M Sirkin

I'm running Tomcat 3.2.1 and Apache 1.3.19 on RedHat 7.1. Following all the
install directions to get Tomcat and Apache cooperating and using mod_jk and
ajp13 workers, nearly all works fine. The problem is that mod_jk.log remains
empty even after serving some .jsp pages. jasper.log and servlet.log seem to
be logging fine. File ownership for all 3 is root.root. I've tried including
the lines:

  JkLogFile $TOMCAT_HOME/logs/mod_jk.log
  JkLogLevel warn

both at the bottom of httpd.conf directly and within an "Included" custom
file $TOMCAT_HOME/conf/mod_jk.conf-custom, based on mod_jk.conf-auto. I
receive no error messages at the console when Tomcat starts:

  [root]# /etc/rc.d/init.d/tomcat start
  Using classpath: /usr/tomcat/lib/ant.jar:/usr/tomcat/lib/jasper.jar:/usr/
  tomcat/lib/jaxp.jar:/usr/tomcat/lib/parser.jar:/usr/tomcat/lib/servlet.jar:
  /usr/tomcat/lib/test:/usr/tomcat/lib/webserver.jar:/usr/java/jdk1.3.1/lib/
  tools.jar:/usr/share/pgsql/jdbc7.0-1.2.jar
  [root]# 2001-05-26 03:48:24 - ContextManager: Adding context Ctx( /examples )
  2001-05-26 03:48:24 - ContextManager: Adding context Ctx( /admin )
  Starting tomcat. Check logs/tomcat.log for error messages 
  2001-05-26 03:48:24 - ContextManager: Adding context Ctx(  )
  2001-05-26 03:48:24 - ContextManager: Adding context Ctx( /test )
  2001-05-26 03:48:24 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
  2001-05-26 03:48:24 - PoolTcpConnector: Starting Ajp13ConnectionHandler on 8009

So does anyone have a good lead for what else to try? Thanks very much,

David S



Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Joan

ok,
the files seem to be in the apxs path

this is my os.h file located to /usr/lib/apache/include:

/* 
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 2000 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
 * .
 *
 * Portions of this software are based upon public domain software
 * originally written at the National Center for Supercomputing Applications,
 * University of Illinois, Urbana-Champaign.
 */

#ifndef APACHE_OS_H
#define APACHE_OS_H

#include "ap_config.h"

#ifndef PLATFORM
#define PLATFORM "Unix"
#endif

/*
 * This file in included in all Apache source code. It contains definitions
 * of facilities available on _this_ operating system (HAVE_* macros),
 * and prototypes of OS specific functions defined in os.c or os-inline.c
 */

#if !defined(INLINE) && defined(USE_GNU_INLINE)
/* Compiler supports inline, so include the inlineable functions as
 * part of the header
 */
#define INLINE extern ap_inline

INLINE int ap_os_is_path_absolute(const char *file);

#include "os-inline.c"

#else

/* Compiler does not support inline, so prototype the inlineable functions
 * as normal
 */
extern int ap_os_is_path_absolute(const char *file);
#endif

/* Other ap_os_ routines not used by this platform */

#define ap_os_is_filename_valid(f)  (1)
#define ap_os_kill(pid, sig)kill(pid, sig)

/*
 *  Abstraction layer for loading
 *  Apache modules under run-time via 
 *  dynamic shared object (DSO) mechanism
 */

#ifdef HAVE_DL_H
#include 
#endif

/*
 * Do not use native AIX DSO support on releases of AIX prior
 * to 4.3. 
 */
#ifdef AIX
#if AIX < 43
#undef HAVE_DLFCN_H
#endif
#endif

#ifdef HAVE_DLFCN_H
#include 
#else
void *dlopen(const char *, int);
int dlclose(void *);
void *dlsym(void *, const char *);
const char *dlerror(void);
#endif

/* probably on an older system that doesn't support RTLD_NOW or RTLD_LAZY.
 * The below define is a lie since we are really doing RTLD_LAZY since the
 * system doesn't support RTLD_NOW.
 */
#ifndef RTLD_NOW
#define RTLD_NOW 1
#endif

#ifndef RTLD_GLOBAL
#define RTLD_GLOBAL 0
#endif

#if (defined(__FreeBSD__) ||\
 defined(__OpenBSD__) ||\
 defined(__NetBSD__) ) && !defined(__ELF__)
#define DLSYM_NEEDS_UNDERSCORE
#endif

#define ap_os_dso_handle_t  void *
voidap_os_dso_init(void);
void *  ap_os_dso_load(const char *);
voidap_os_dso_unload(void *);
void *  ap_os_dso_sym(void *, const char *);
const char *ap_os_dso_error(void);

#endif  /* !APACHE_OS

Re: Problem with importing package in JSP

2001-05-26 Thread Chris Janicki

Is it possible your "Classname" is not unique?... there might be a name 
conflict with another class of the same name (in some other package).

>> Original Message <<

On 5/26/01, 5:14:20 AM, Kris Gonzalez <[EMAIL PROTECTED]> wrote 
regarding Problem with importing package in JSP:


> I've got a strange situation with my JSP not accessing classes in a
> package properly.  When i use the <% page import="package.name.*" %>
> notation and try referencing the class by name, I get an "unable to
> create a bean of class Classname" compiler error.  This problem is
> solved if I refer to the Class with the entire package notation
> (eliminating the need to import the package at all).

> Also, if I delete the import statement altogether, the compiler error
> changes to "Class not found," meaning it's obviously finding the class
> when I import the package but will not create and instance unless I
> refer to the class with its entire package notation.

> This error only occurs for the package which I've created.  I'm able to
> successfully import other packages into the JSP and reference its
> classes directly w/o the entire package path.

> Any and all help is appreciated!!!
> -kg



Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Jeff Waugh

These constants are defined in /usr/include/dlfcn.h (or something included
from there).
They are also defined in $APACHE_HOME/include/os.h

You definitely need them to build a shared library.

-Jeff

- Original Message -
From: "Joan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 26, 2001 7:34 PM
Subject: Re: openbsd and mod_jk.so build problem


> Well, I made a symlink of these files to /usr/include and tried to build
> again as described in the previous mail but the result was the same...
> Thank you Jack but it isn't the solution with my environment.
>
> Do you think I can do this with JDK 1.3.1rc2?
> what is the command you used with apxs?
> Is you mod_jk.so working on a openbsd platform?
>
> Or is anyone another idea?
>
> Le Samedi 26 Mai 2001 18:17, vous avez écrit :
> > I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
> > jni_md.h.  I put them in /usr/include and the problem went away.
> >
> > Hope it helps,
> >
> > Jack
> >
> > joan wrote:
> > > hey,
> > > I tried to build mod_jk.so on openbsd but I failed...
> > > My environment is as follows:
> > >   * OpenBSD 2.8 Current/ i386
> > >   * JDK 1.1.8 (built from ports)
> > >   * Tomcat 3.2.1
> > >
> > > I used from
> > > /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
> > >
> > > root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
> >
> -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
> > > -I../jk mod_jk.c ../jk/*.c
> > >
> > > and the output was:
> > > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c mod_jk.c
> > > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c
../jk/jk_ajp12_worker.c
> > > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
> > > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c
../jk/jk_ajp13_worker.c
> > > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
> > > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
> > > ../jk/jk_jni_worker.c:764: warning:
> > > #warning ---
> > > ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS!
SUPPORT
> > > FOR JAVA 2 FEATURES DISABLED
> > > ../jk/jk_jni_worker.c:766: warning:
> > > #warning ---
> > > ../jk/jk_jni_worker.c: In function `load_jvm_dll':
> > > ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
> > > function)
> > > ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported
only
> > > once ../jk/jk_jni_worker.c:724: for each function it appears in.)
> > > ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
> > > function)
> > > apxs:Break: Command failed with rc=65536
> > > root@localhost#
> > >
> > > I searched all the mailing list but I did not found the solution...
> > > Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good
> > > response was replied...
> > >
> > > On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
> > > The shell script with tomcat-3.2.1 is buggy on freebsd but works well
on
> > > linux.
> > > So I used the apxs command that fails for openbsd and that is
described
> > > at the beginning of the message
> > >
> > > So, is there anyone who succesfully built mod_jk.so on openbsd?
> > > Please help me...
> > >
> > > Thanks
>




IIS with Tomcat 3.2.1 on Windows 2000

2001-05-26 Thread LUN


Hi all,
I have installed IIS with Tomcat 3.2.1 on
Windows 2000 Server English. but I found that the filter
cannot show the green up arrow. I have checked the setting
and restart the server many times.
Since I have do that succssfully with the same OS.
Anyone have recommendation 
Thanks in Advanced




RE: IIS with Tomcat 3.2.1 on Windows 2000

2001-05-26 Thread Will Thien

Check for Typo's in registry. Also check check your virtual directory
spelling. Restart all IIS services after changing registry. Below is a
layout of what I used with tomcat being in H:\apps. You do not include the
"//" only a "/".

Will Thien

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="H:\\apps\\tomcat\\logs\\iis_redirect.log"
"log_level"="debug"
"worker_file"="H:\\apps\\tomcat\\conf\\workers.properties"
"worker_mount_file"="H:\\apps\\tomcat\\conf\\uriworkermap.properties"

-Original Message-
From: LUN [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 26, 2001 12:25 PM
To: tomcat-user
Subject: IIS with Tomcat 3.2.1 on Windows 2000


Hi all,
I have installed IIS with Tomcat 3.2.1 on
Windows 2000 Server English. but I found that the filter
cannot show the green up arrow. I have checked the setting
and restart the server many times.
Since I have do that succssfully with the same OS.
Anyone have recommendation 
Thanks in Advanced





Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Joan

Well, I made a symlink of these files to /usr/include and tried to build 
again as described in the previous mail but the result was the same...
Thank you Jack but it isn't the solution with my environment.

Do you think I can do this with JDK 1.3.1rc2?
what is the command you used with apxs?
Is you mod_jk.so working on a openbsd platform?

Or is anyone another idea?

Le Samedi 26 Mai 2001 18:17, vous avez écrit :
> I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
> jni_md.h.  I put them in /usr/include and the problem went away.
>
> Hope it helps,
>
> Jack
>
> joan wrote:
> > hey,
> > I tried to build mod_jk.so on openbsd but I failed...
> > My environment is as follows:
> >   * OpenBSD 2.8 Current/ i386
> >   * JDK 1.1.8 (built from ports)
> >   * Tomcat 3.2.1
> >
> > I used from
> > /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
> >
> > root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
> > -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
> > -I../jk mod_jk.c ../jk/*.c
> >
> > and the output was:
> > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c mod_jk.c
> > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
> > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
> > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
> > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
> > cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT
> > -I../li b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
> > -I/usr/local/jd k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd
> > -I/usr/lib/apache/inclu de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
> > ../jk/jk_jni_worker.c:764: warning:
> > #warning ---
> > ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT
> > FOR JAVA 2 FEATURES DISABLED
> > ../jk/jk_jni_worker.c:766: warning:
> > #warning ---
> > ../jk/jk_jni_worker.c: In function `load_jvm_dll':
> > ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
> > function)
> > ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only
> > once ../jk/jk_jni_worker.c:724: for each function it appears in.)
> > ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
> > function)
> > apxs:Break: Command failed with rc=65536
> > root@localhost#
> >
> > I searched all the mailing list but I did not found the solution...
> > Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good
> > response was replied...
> >
> > On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
> > The shell script with tomcat-3.2.1 is buggy on freebsd but works well on
> > linux.
> > So I used the apxs command that fails for openbsd and that is described
> > at the beginning of the message
> >
> > So, is there anyone who succesfully built mod_jk.so on openbsd?
> > Please help me...
> >
> > Thanks



IIS with Tomcat 3.2.1 on Windows 2000

2001-05-26 Thread LUN

Hi all,
I have installed IIS with Tomcat 3.2.1 on 
Windows 2000 Server English. but I found that the filter
cannot show the green up arrow. I have checked the setting 
and restart the server many times. 
Since I have do that succssfully with the same OS.
Anyone have recommendation 
Thanks in Advanced 




Re: problems with installation

2001-05-26 Thread Guido Medina

Rigth click on the tomcat.bat and go the enviroment space, set it up for the
maximun you can...

Guido.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 26, 2001 6:41 AM
Subject: problems with installation


> Hi, I am having problems getting tomcat running under ME.
> I am getting the following error message:
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Unable to set CLASSPATH dynamically.
> Note: To set the CLASSPATH dynamically on Win9x systems
> only DOS 8.3 names may be used in TOMCAT_HOME!
> Setting your CLASSPATH statically.
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
> Out of environment space
>
> Using CLASSPATH: c:\j3t\tomcat\classes
>
> Starting Tomcat in new window
> Bad command or file name
>
> I have set tomcat_home in the autoexec but it seems to be ignoring it.
>
>
>
> --
> Get your firstname@lastname email for FREE at http://Nameplanet.com/?su
>




Re: uploading 1 GB files using FTP from my website

2001-05-26 Thread Steve Ruby

If you want to do it with an HTML form, then that isn't ftp, that
is a multi-part mime encoded form post.  I wouldn't do that
with a 1 gig file if I were you. It isn't as robust as FTP
and the mime-encoding will add size to thie file and time to
the upload.

But if you want to try all you need is a servlet to accept
the post and decide it. The package at
http://servlets.com/cos/index.html
has some functionality for handling multi-part mime data.



aswath satrasala wrote:
> 
> I don't want to do it through URLs.
> I would like to do it with in my webapplication, using HTML form
> 
> -Aswath
> 
> >From: Kris Gonzalez <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: uploading 1 GB files using FTP
> >Date: Sat, 26 May 2001 04:30:54 -0500
> >
> >current versions of netscape and ie allow for ftp access, so your main
> >trial would be dynamically constructing ftp urls which allow for
> >access...
> >
> >and this is really no problem at all:  just have your user go through
> >some sort of login mechanism, which dynamically constructs a link in the
> >form of:
> >
> >ftp://username:[EMAIL PROTECTED]
> >
> >the user clicks, they have access to the ftp server, and can use thier
> >browser to perform the uploads
> >
> >-kg
> >
> >
> >
> >aswath satrasala wrote:
> > >
> > > Hello,
> > > I had posted this message earlier.
> > > I am posting again for more information.
> > >
> > > How can the user upload 1GB file using FTP.
> > >
> > > I am currently planning to use multipart form posting and using
> > > JSPSmart free download.
> > > I heard from the userlist, that this will be very slow, and
> > > should think of using FTP.
> > >
> > > How can I give FTP upload to the user from my web site
> > >
> > > Thanks
> > > -Aswath
> > > _
> > > Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com



uploading 1 GB files using FTP from my website

2001-05-26 Thread aswath satrasala

I don't want to do it through URLs.
I would like to do it with in my webapplication, using HTML form

-Aswath

>From: Kris Gonzalez <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: uploading 1 GB files using FTP
>Date: Sat, 26 May 2001 04:30:54 -0500
>
>current versions of netscape and ie allow for ftp access, so your main
>trial would be dynamically constructing ftp urls which allow for
>access...
>
>and this is really no problem at all:  just have your user go through
>some sort of login mechanism, which dynamically constructs a link in the
>form of:
>
>ftp://username:[EMAIL PROTECTED]
>
>the user clicks, they have access to the ftp server, and can use thier
>browser to perform the uploads
>
>-kg
>
>
>
>aswath satrasala wrote:
> >
> > Hello,
> > I had posted this message earlier.
> > I am posting again for more information.
> >
> > How can the user upload 1GB file using FTP.
> >
> > I am currently planning to use multipart form posting and using
> > JSPSmart free download.
> > I heard from the userlist, that this will be very slow, and
> > should think of using FTP.
> >
> > How can I give FTP upload to the user from my web site
> >
> > Thanks
> > -Aswath
> > _
> > Get your FREE download of MSN Explorer at http://explorer.msn.com

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




Re: openbsd and mod_jk.so build problem

2001-05-26 Thread Jack Lauman

I had the same problem with JDK1.3.1rc2... It's looking for jni.h and
jni_md.h.  I put them in /usr/include and the problem went away.

Hope it helps,

Jack

joan wrote:
> 
> hey,
> I tried to build mod_jk.so on openbsd but I failed...
> My environment is as follows:
>   * OpenBSD 2.8 Current/ i386
>   * JDK 1.1.8 (built from ports)
>   * Tomcat 3.2.1
> 
> I used from
> /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
> 
> root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include
> -I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include
> -I../jk mod_jk.c ../jk/*.c
> 
> and the output was:
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c mod_jk.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
> ../jk/jk_jni_worker.c:764: warning:
> #warning ---
> ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR
> JAVA 2 FEATURES DISABLED
> ../jk/jk_jni_worker.c:766: warning:
> #warning ---
> ../jk/jk_jni_worker.c: In function `load_jvm_dll':
> ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
> function)
> ../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only once
> ../jk/jk_jni_worker.c:724: for each function it appears in.)
> ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
> function)
> apxs:Break: Command failed with rc=65536
> root@localhost#
> 
> I searched all the mailing list but I did not found the solution...
> Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good
> response was replied...
> 
> On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
> The shell script with tomcat-3.2.1 is buggy on freebsd but works well on
> linux.
> So I used the apxs command that fails for openbsd and that is described at
> the beginning of the message
> 
> So, is there anyone who succesfully built mod_jk.so on openbsd?
> Please help me...
> 
> Thanks



Re: Re: frame for form login

2001-05-26 Thread david

Oh, I don't know. Sorry.

On Sat, 26 May 2001 17:48:48 +0200 [EMAIL PROTECTED] (TWR - Hauptuser) 
wrote:
>Thanks,
>
>but target="_top" in web.xml as
> 
>/login.jsp target="_top"
>/error.jsp
>
>
>produces a not found error.
>
>Friendly
>   Thomas
>


-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



Re: Re: frame for form login

2001-05-26 Thread TWR - Hauptuser

Thanks,

but target="_top" in web.xml as
 
/login.jsp target="_top"
/error.jsp


produces a not found error.

Friendly
   Thomas



Re: Frame for form login

2001-05-26 Thread david

Does target="_top" not work?

On Sat, 26 May 2001 17:23:11 +0200 [EMAIL PROTECTED] (TWR - Hauptuser) 
wrote:
>Hello,
>
>I am using form based login for my web application and after some 
>difficulties everyting works fine - well, almost everything: I am using 
>frames in my web app and after timeout the login page login.jsp always 
>appears in the current frame not in a top window (like target=_parent"). How can I achieve this? Writing login.jsp target=_parent in 
>the web.xml doesn't work. Any idea?
>
>Thank you in advance
>
>Thomas
>


-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



Frame for form login

2001-05-26 Thread TWR - Hauptuser

Hello,

I am using form based login for my web application and after some 
difficulties everyting works fine - well, almost everything: I am using 
frames in my web app and after timeout the login page login.jsp always 
appears in the current frame not in a top window (like 


Help in configuring IIS with tomcat on win2k

2001-05-26 Thread Ajay Gabriel

Hi All,
 I had followed all the instruction given in Tomcat-iis how to.
 Tomcat is not working with IIS 5.0 on win2k. 
 I have downloaded release build of tomcat3.2 and got isapi_redirect.dll
from win32 directory...

 I am getting all the logs...c:\jakarta-tomcat\logs\isapi.log
 logs says::

  [jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/examples/jsp/index.html]
is points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[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 [/jakarta/isapi_redirect.dll] is not
a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/jakarta/isapi_redirect.dll] is points to the web-inf directory
[jk_isapi_plugin.c (517)]: HttpExtensionProc started
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 2280
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 2280
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2280
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
sequence
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating
mark
[jk_ajp12_worker.c (472)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (488)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Status: 404 Not Found
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Type:
text/html
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read
Content-Type=text/html
[jk_ajp12_worker.c (542)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Length: 201
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Content-Length=201
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Servlet-Engine: Tomcat
Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Servlet-Engine=Tomcat
Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86;
java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (502)]: ajpv12_handle_response, read 
[jk_ajp12_worker.c (504)]: ajpv12_handle_response, headers are done
[jk_ajp12_worker.c (563)]: ajpv12_handle_response, starting response
[jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response
[jk_ajp12_worker.c (574)]: ajpv12_handle_response, reading response body
[jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write
[jk_ajp12_worker.c (590)]: ajpv12_handle_response, response body is done
[jk_ajp12_worker.c (602)]: ajpv12_handle_response done
[jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done



  c:\winnt\system32\logfiles\w3svc1\...
 #Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2001-05-26 14:42:26
#Fields: time c-ip cs-method cs-uri-stem sc-status 
14:42:26 127.0.0.1 GET /jakarta/isapi_redirect.dll 200

*
   I have given the execute permission for virtual directory jakarta...
   All the registery settings are as per given in the tomcat-iis how to doc..
**
  In my tomcat window it shows ::

2001-05-26 08:11:12 - ContextManager: Adding context Ctx( /examples )
2001-05-26 08:11:12 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-05-26 08:11:12 - ContextManager: Adding context Ctx(  )
2001-05-26 08:11:12 - ContextManager: Adding context Ctx( /test )
2001-05-26 08:11:13 - PoolTcpConnector: Star

RE: problem with /jakarta/isapi_redirect.dll on win2k

2001-05-26 Thread Will Thien

This might help also. Do not add any drive letters. cut and paste.

Under the tomcat conf directory

In the server.xml enter above the context examples. Also restart all
internet services not just the web server., the iis redirector dll will not
re-read the registry and files other wise





Also add any context to the uriworkermap.properties. Here are some examples

# Mount the examples context to the ajp12 worker
/examples/*=ajp12
/willtest/*=ajp12
/bull/*=ajp12

*

-Original Message-
From: Sachin Phatak [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 26, 2001 7:07 AM
To: tomcat-user
Subject: Re: problem with /jakarta/isapi_redirect.dll on win2k


Just right click on this file and say merge.
provided the directory structure has not been changed. If you have then edit
the attachment and change the path as relevant.
Most often this problem is caused by a typo in the registry entries.
thanks
sax

- Original Message -
From: Robert, Betts <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 6:48 PM
Subject: problem with /jakarta/isapi_redirect.dll on win2k


> Howdy
>
> I have looked at the docs, faq and gone throught the list archive, but not
> found a solution to my particular problem.
>
> I have installed tc 3.2.1 on a win2k prof machine with iis 5, running
tomcat
> out of process.
>
> I can run tomcat with no problems as a service or as a stand alone
> executable.
>
> I can also load isapi_redirect.dll as a ISAPI filter and it shows the
green
> light.
>
> I have tripple checked that the right permissions have been setup on the
> virtual directory /jakarta, and that it includes execute permissions.
>
> Can anyone please help me or point me in the right direction.
>
> I get an file not found error when run the examples, BUT I get NO ERROR
when
> I run http://localhost:8080/examples/jsp/index.html.
>
> Thanks
>
> Rob
>
> Now for the problem details:
>
> When from my browser I call "http://localhost/examples/jsp/index.html";, I
> get the followinf out put:
>
> Not Found (404)
> Original request: /jakarta/isapi_redirect.dll
>
> Not found request: /jakarta/isapi_redirect.dll
>
> Web Logfile has the following:
>
> 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 401
> 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 200
>
> The output from tomcat:
>
> 2001-05-23 03:05:41 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll
> + null) null
>
>
>




Mail Notification

2001-05-26 Thread Administrator

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

Message contains attachments: jakarta.reg

Additional Information:

none



Just right click on this file and say merge.
provided the directory structure has not been changed. If you have then edit
the attachment and change the path as relevant.
Most often this problem is caused by a typo in the registry entries.
thanks
sax

- Original Message -
From: Robert, Betts <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 6:48 PM
Subject: problem with /jakarta/isapi_redirect.dll on win2k


> Howdy
>
> I have looked at the docs, faq and gone throught the list archive, but not
> found a solution to my particular problem.
>
> I have installed tc 3.2.1 on a win2k prof machine with iis 5, running
tomcat
> out of process.
>
> I can run tomcat with no problems as a service or as a stand alone
> executable.
>
> I can also load isapi_redirect.dll as a ISAPI filter and it shows the
green
> light.
>
> I have tripple checked that the right permissions have been setup on the
> virtual directory /jakarta, and that it includes execute permissions.
>
> Can anyone please help me or point me in the right direction.
>
> I get an file not found error when run the examples, BUT I get NO ERROR
when
> I run http://localhost:8080/examples/jsp/index.html.
>
> Thanks
>
> Rob
>
> Now for the problem details:
>
> When from my browser I call "http://localhost/examples/jsp/index.html";, I
> get the followinf out put:
>
> Not Found (404)
> Original request: /jakarta/isapi_redirect.dll
>
> Not found request: /jakarta/isapi_redirect.dll
>
> Web Logfile has the following:
>
> 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 401
> 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 200
>
> The output from tomcat:
>
> 2001-05-23 03:05:41 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll
> + null) null
>
>
>

 jakarta.reg



Re: problem with /jakarta/isapi_redirect.dll on win2k

2001-05-26 Thread Sachin Phatak

Just right click on this file and say merge.
provided the directory structure has not been changed. If you have then edit
the attachment and change the path as relevant.
Most often this problem is caused by a typo in the registry entries.
thanks
sax

- Original Message -
From: Robert, Betts <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 6:48 PM
Subject: problem with /jakarta/isapi_redirect.dll on win2k


> Howdy
>
> I have looked at the docs, faq and gone throught the list archive, but not
> found a solution to my particular problem.
>
> I have installed tc 3.2.1 on a win2k prof machine with iis 5, running
tomcat
> out of process.
>
> I can run tomcat with no problems as a service or as a stand alone
> executable.
>
> I can also load isapi_redirect.dll as a ISAPI filter and it shows the
green
> light.
>
> I have tripple checked that the right permissions have been setup on the
> virtual directory /jakarta, and that it includes execute permissions.
>
> Can anyone please help me or point me in the right direction.
>
> I get an file not found error when run the examples, BUT I get NO ERROR
when
> I run http://localhost:8080/examples/jsp/index.html.
>
> Thanks
>
> Rob
>
> Now for the problem details:
>
> When from my browser I call "http://localhost/examples/jsp/index.html";, I
> get the followinf out put:
>
> Not Found (404)
> Original request: /jakarta/isapi_redirect.dll
>
> Not found request: /jakarta/isapi_redirect.dll
>
> Web Logfile has the following:
>
> 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 401
> 12:52:51 127.0.0.1 W3SVC1 80 GET /jakarta/isapi_redirect.dll 200
>
> The output from tomcat:
>
> 2001-05-23 03:05:41 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll
> + null) null
>
>
>

 jakarta.reg


openbsd and mod_jk.so build problem

2001-05-26 Thread joan

hey,
I tried to build mod_jk.so on openbsd but I failed...
My environment is as follows:
  * OpenBSD 2.8 Current/ i386
  * JDK 1.1.8 (built from ports)
  * Tomcat 3.2.1

I used from 
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3

root@localhost#/usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include 
-I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/lib/apache/include 
-I../jk mod_jk.c ../jk/*.c

and the output was:
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c mod_jk.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../li
b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include -I/usr/local/jd
k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd -I/usr/lib/apache/inclu
de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
../jk/jk_jni_worker.c:764: warning:
#warning ---
../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 HEADERS! SUPPORT FOR
JAVA 2 FEATURES DISABLED
../jk/jk_jni_worker.c:766: warning:
#warning ---
../jk/jk_jni_worker.c: In function `load_jvm_dll':
../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
function)
../jk/jk_jni_worker.c:724: (Each undeclared identifier is reported only once
../jk/jk_jni_worker.c:724: for each function it appears in.)
../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
function)
apxs:Break: Command failed with rc=65536
root@localhost#

I searched all the mailing list but I did not found the solution...
Tue, 06 Feb 2001,Tobias Oberstein wrote a similar message but no good 
response was replied...

On Freebsd 4.3 Released I've successfully built a working mod_jk.so.
The shell script with tomcat-3.2.1 is buggy on freebsd but works well on 
linux.
So I used the apxs command that fails for openbsd and that is described at 
the beginning of the message

So, is there anyone who succesfully built mod_jk.so on openbsd?
Please help me...

Thanks




Re: java beans

2001-05-26 Thread david

The best place to start is the java.sun tutorial.

On Sat, 26 May 2001 13:35:16 +0300 "Mehmet Ugur Kuzu (LinkPlus)" 
<[EMAIL PROTECTED]> wrote:
>hi everybody,
>
>i am new in jsp programming 
>i want to use java bean features in jsp 
>do you know any resources(papers, some example beans etc.)  about java beans
>
>
>thanks at all
>


-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



java beans

2001-05-26 Thread Mehmet Ugur Kuzu (LinkPlus)
Title: java beans





hi everybody,


i am new in jsp programming 
i want to use java bean features in jsp 
do you know any resources(papers, some example beans etc.)  about java beans 


thanks at all





problems with installation

2001-05-26 Thread david

Hi, I am having problems getting tomcat running under ME.
I am getting the following error message:
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Unable to set CLASSPATH dynamically.
Note: To set the CLASSPATH dynamically on Win9x systems
only DOS 8.3 names may be used in TOMCAT_HOME!
Setting your CLASSPATH statically.
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space

Using CLASSPATH: c:\j3t\tomcat\classes

Starting Tomcat in new window
Bad command or file name

I have set tomcat_home in the autoexec but it seems to be ignoring it.



-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su



Re: uploading 1 GB files using FTP

2001-05-26 Thread Kris Gonzalez

current versions of netscape and ie allow for ftp access, so your main
trial would be dynamically constructing ftp urls which allow for
access...

and this is really no problem at all:  just have your user go through
some sort of login mechanism, which dynamically constructs a link in the
form of:

ftp://username:[EMAIL PROTECTED]

the user clicks, they have access to the ftp server, and can use thier
browser to perform the uploads

-kg



aswath satrasala wrote:
> 
> Hello,
> I had posted this message earlier.
> I am posting again for more information.
> 
> How can the user upload 1GB file using FTP.
> 
> I am currently planning to use multipart form posting and using
> JSPSmart free download.
> I heard from the userlist, that this will be very slow, and
> should think of using FTP.
> 
> How can I give FTP upload to the user from my web site
> 
> Thanks
> -Aswath
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com



Problem with importing package in JSP

2001-05-26 Thread Kris Gonzalez

I've got a strange situation with my JSP not accessing classes in a
package properly.  When i use the <% page import="package.name.*" %>
notation and try referencing the class by name, I get an "unable to
create a bean of class Classname" compiler error.  This problem is
solved if I refer to the Class with the entire package notation
(eliminating the need to import the package at all).

Also, if I delete the import statement altogether, the compiler error
changes to "Class not found," meaning it's obviously finding the class
when I import the package but will not create and instance unless I
refer to the class with its entire package notation.

This error only occurs for the package which I've created.  I'm able to
successfully import other packages into the JSP and reference its
classes directly w/o the entire package path.

Any and all help is appreciated!!!
-kg