Re: Where to put Java files/classes

2002-10-26 Thread Garrett Smith
you put any classes and packages here:

/webapps/your-app-name/WEB-INF/classes/

jar files (such as mm.mysql) go here:

/webapps/your-app-name/WEB-INF/lib/


Core Servlets and JavaServer Pages by Marty Hall explains all the details
related to the basic issues of configuration (and more advanced issues, too).


Garrett


--- Ryan Heusinkveld [EMAIL PROTECTED] wrote:
 Hi all,
 
 I am trying to configure Tomcat to allow me to import and use classes that I 
 have created within my jsp pages.  I imported them within my page, but I get 
 the error that the classes cannot be found.  I created a directory under my 
 $CATALINA_HOME called 'src', and packaged my classes accordingly under 
 there.  What do I need to do to tell Tomcat that the classes are under 
 there?  Should I be placing them somewhere else?
 Any help is appreciated.
 
 -Ryan
 
 _
 Get a speedy connection with MSN Broadband.  Join now! 
 http://resourcecenter.msn.com/access/plans/freeactivation.asp
 
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
 


=
http://dhtmlkitchen.com/
JSP | Servlets | DHTML 

Garrett Needs A Job

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: where to put servlet classes

2002-10-25 Thread sonam singh

--- Kennedy, Ed [EMAIL PROTECTED] wrote:
 I am a new Tomcat user and I am having trouble
 accessing my servlet classes.
 I am getting the following error:
 
 The requested resource (/servlets/authenticate.jsp)
 is not available
 
 Any help you can give would be appreciated.
 
 Thanks
 
  Background info #
 
 I have the directory structure that looks correct...
  app
  app\login
  app\login\login.jsp
  app\WEB-INF
  app\WEB-INF\web.xml
  app\WEB-INF\classes
  app\WEB-INF\classes\authenticateUser.class
 
 Then in my web.xml file I have:
 
 web-app
 
   !-- Servlet for authenticating WebAtlas login --
   servlet
 servlet-nameauthenticateUser/servlet-name
 servlet-classauthenticateUser/servlet-class
   /servlet
 
   servlet-mapping
 servlet-nameauthenticateUser/servlet-name


url-pattern/servlets/authenticateUser/url-pattern

it should be url-pattern/xyz/url-pattern
and u can access this servlet like 
http://IP/app/xyz
or without url mapping
http://IP/app/servlet/authenticateUser

regards
Sonam Singh
[EMAIL PROTECTED]







   /servlet-mapping
 


 /web-app
 
 Then in my jsp code I have:
 
 form action=../servlets/authenticateUser
 method=post
   USERNAME : input type=text name=usrname
 size=25
   p
   PASSWORD : input type=password name=usrpass
 size=25
   p
   input type=submit value=LOGIN  input
 type=reset
 value=CLEAR
 /form
 


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: where to put servlet classes

2002-10-24 Thread German Augusto Niebles Alvarez
Try with:

form method=POST action=/app/servlet/authenticateUser

 in your login jsp page.

be careful with 'servlet' not servlets', because servlet is virtual
directory.


Regards.






 [EMAIL PROTECTED] 10/24 9:55 a.m. 
I am a new Tomcat user and I am having trouble accessing my servlet
classes.
I am getting the following error:

The requested resource (/servlets/authenticate.jsp) is not available

Any help you can give would be appreciated.

Thanks

 Background info #

I have the directory structure that looks correct...
 app
 app\login
 app\login\login.jsp
 app\WEB-INF
 app\WEB-INF\web.xml
 app\WEB-INF\classes
 app\WEB-INF\classes\authenticateUser.class

Then in my web.xml file I have:

web-app

  !-- Servlet for authenticating WebAtlas login --
  servlet
servlet-nameauthenticateUser/servlet-name
servlet-classauthenticateUser/servlet-class
  /servlet

  servlet-mapping
servlet-nameauthenticateUser/servlet-name
url-pattern/servlets/authenticateUser/url-pattern
  /servlet-mapping

/web-app

Then in my jsp code I have:

form action=../servlets/authenticateUser method=post
USERNAME : input type=text name=usrname size=25
p
PASSWORD : input type=password name=usrpass size=25
p
input type=submit value=LOGIN  input type=reset
value=CLEAR
/form



where to put servlet classes

2002-10-24 Thread Kennedy, Ed
I am a new Tomcat user and I am having trouble accessing my servlet classes.
I am getting the following error:

The requested resource (/servlets/authenticate.jsp) is not available

Any help you can give would be appreciated.

Thanks

 Background info #

I have the directory structure that looks correct...
 app
 app\login
 app\login\login.jsp
 app\WEB-INF
 app\WEB-INF\web.xml
 app\WEB-INF\classes
 app\WEB-INF\classes\authenticateUser.class

Then in my web.xml file I have:

web-app

  !-- Servlet for authenticating WebAtlas login --
  servlet
servlet-nameauthenticateUser/servlet-name
servlet-classauthenticateUser/servlet-class
  /servlet

  servlet-mapping
servlet-nameauthenticateUser/servlet-name
url-pattern/servlets/authenticateUser/url-pattern
  /servlet-mapping

/web-app

Then in my jsp code I have:

form action=../servlets/authenticateUser method=post
USERNAME : input type=text name=usrname size=25
p
PASSWORD : input type=password name=usrpass size=25
p
input type=submit value=LOGIN  input type=reset
value=CLEAR
/form



RE: Where can I download isapi_redirect.dll

2002-10-23 Thread Turner, John

This might help:

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

John

 -Original Message-
 From: David Cochrane [mailto:dpc3;psu.edu]
 Sent: Tuesday, October 22, 2002 12:25 PM
 To: Tomcat Users List
 Subject: Where can I download isapi_redirect.dll
 
 
 Need support in identifying where I could download a copy of 
 isapi_redirect.dll
 
 I'm running tomcat 4.04 on w2k server, running IIS5.
 
 I need a good contact that could walk a newbie through this.
 
 --Dave
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: 
 mailto:tomcat-user-help;jakarta.apache.org
 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Where can I download isapi_redirect.dll

2002-10-22 Thread David Cochrane
Need support in identifying where I could download a copy of 
isapi_redirect.dll

I'm running tomcat 4.04 on w2k server, running IIS5.

I need a good contact that could walk a newbie through this.

--Dave


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



Re: Where can I download isapi_redirect.dll

2002-10-22 Thread Lior Shliechkorn

You can get the filter here:

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/win32/i386/

Lior





-
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site


where is mod_webapp.so binary?

2002-10-21 Thread Z.BEAT
I am running Apache 1.3 and Tomcat 4.1.2, on Solaris
7.   Where can I download mod_webapp.so binary?   I am
currently running Tomcat only as a Standalone, and it
would be nice if I could connect it to Apache.   

The expected location does not have the module:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/release/v1.2.0/

Thanks!

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Where do I get mod_jk?

2002-10-18 Thread Mark Eggers
Michael,

If you want binary builds, you'll have to upgrade to
apache 2.0.42.  They can be found at:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/linux/i386/

The rpms can be found at:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/rpms/

You'll need the apache rpm installed to use the binary
connector rpm.

If you feel comfortable building from source, you can
get the source from:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/src/

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Where do I get mod_jk?

2002-10-18 Thread Robert L Sowders
If you insist on using those old versions (not recommended) then you'll 
have to build from source, unless you can find them out on the internet 
somewhere.  The connector source is in the archives. 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.10/src/

If you upgrade to the latest the binaries are at 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/linux/i386/
 
 as mentioned in the docs 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/doc/jk/aphowto.html#Obtaining%20mod_jk

rls





Michael Sun [EMAIL PROTECTED]
10/17/2002 08:10 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Where do I get mod_jk?

I'm sure someone's already asked this but I'd greatly appreciate if 
someone could point me in the right direction. I;m runnin redhat 
8.0,apache 2.0.40 and tomcat 4.1.10. Where can I find the proper mod_jk 
for this?



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




FileNotFound and Problem connecting - where to start to debug ?

2002-10-18 Thread Arthur Chan
Hi all.
I have Apache talking with Tomcat. Using http://ServerName/com/ServletName I can get 
data from the db-server to display in the browser, but this is only in a company 
intranet environment. On the intranet, any changes to the db can be displayed on the 
browser with only a slight delay.
Now I need to establish an HTTP session to the applet and use the applet to tunnel 
to Tomcat.
Although I manage to throw up the screens e.g. a math caculator, JAVA console throws 
these error messages :
***
Record Sent
java.io.FileNotFoundException: http://cacophonix/demo.jar
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  ...etc
java.io.FileNotFoundException: http://cacophonix//RemotedemoServer
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
...etc
com.developer.Tunnel.client.BaseTunnelClient$TunnelException: 
http://cacophonix//RemotedemoServer
  at 
com.developer.Tunnel.client.BaseTunnelClient._invokeMethod(BaseTunnelClient.java:216)
  ...etc

The supposedly missing files are present (I have copied them everywhere).
The CLASSPATH has been patched and extended.
To no avail.
I was told that it could be my policy files. 
But over the intranet I could access the db ?
Hints, tips and even comments are most welcome at this stage




Re: Where do I get mod_jk?

2002-10-18 Thread Robert L Sowders
John Turner still has the old mod_jk for Apache 2.0.40 up at his web site. 
 Also there is a How To that will get you started.
http://www.johnturner.com/howto/apache-tomcat-howto.html

rls


Mark Eggers [EMAIL PROTECTED]
10/17/2002 08:41 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: Where do I get mod_jk?

Michael,

If you want binary builds, you'll have to upgrade to
apache 2.0.42.  They can be found at:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/linux/i386/

The rpms can be found at:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/rpms/

You'll need the apache rpm installed to use the binary
connector rpm.

If you feel comfortable building from source, you can
get the source from:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/src/

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: Where do I get mod_jk?

2002-10-18 Thread Michael Sun
just wanted to thanks all those who replied. It's greatly appreciated.

On Thu, 17 Oct 2002, Robert L Sowders wrote:

 John Turner still has the old mod_jk for Apache 2.0.40 up at his web site. 
  Also there is a How To that will get you started.
 http://www.johnturner.com/howto/apache-tomcat-howto.html
 
 rls
 
 
 Mark Eggers [EMAIL PROTECTED]
 10/17/2002 08:41 PM
 Please respond to Tomcat Users List
 
  
 To: Tomcat Users List [EMAIL PROTECTED]
 cc: 
 Subject:Re: Where do I get mod_jk?
 
 Michael,
 
 If you want binary builds, you'll have to upgrade to
 apache 2.0.42.  They can be found at:
 
 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/linux/i386/
 
 The rpms can be found at:
 
 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/rpms/
 
 You'll need the apache rpm installed to use the binary
 connector rpm.
 
 If you feel comfortable building from source, you can
 get the source from:
 
 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/src/
 
 /mde/
 
 just my two cents . . . .
 
 __
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos  More
 http://faith.yahoo.com
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
 


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Where do I get mod_jk?

2002-10-18 Thread Michael Sun
I'm sure someone's already asked this but I'd greatly appreciate if 
someone could point me in the right direction. I;m runnin redhat 
8.0,apache 2.0.40 and tomcat 4.1.10. Where can I find the proper mod_jk 
for this?



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




RE: Where is the Exception object when error-page is used?

2002-10-18 Thread jeff . guttadauro

request.getAttribute(javax.servlet.error.exception) is where you can find
the exception object thrown

FYI - javax.servlet.error.request_uri tells you what the original request was

HTH,
-Jeff



   

Wendy Smoak

Wendy.Smoak@To: 'Tomcat Users List' 
[EMAIL PROTECTED]
asu.edu cc:   

 Subject: RE: Where is the Exception 
object when error-page is used? 
10/16/02   

09:22 PM   

Please 

respond to 

Tomcat Users  

List  

   

   





Jean wrote:
Here is an example:

%@ page isErrorPage=true %
i%=exception.getMessage()%/ibr/
% exception.printStackTrace(new java.io.PrintWriter(out)); %

Thanks, but the problem is that when the exception occurs and is handled by
the error-page tag in web.xml, (not by the %@ page errorPage=... %
tag,) then the implicit 'exception' object is null.  (At least, it is in my
particular case, I have not done more experiments.)  From the JSP spec, I
can only find that the 'exception' object should be present in the session
under a particular attribute name when an error occurs on a page that has
the errorPage attribute.

I don't think I can use %@ page errorPage=... % because I don't know
where it's going to go to on error-- that's why there are multiple
error-page tags in web.xml.

And yet, I thought I read somewhere that Tomcat would put the offending
exception object in [session?] scope under a particular attribute name...
but I can't find that again.  I haven't a clue where to look in the code
either, so if someone knows generally where the
exception-web.xml-error-page tag handling happens, I'd be happy to try to
figure it out myself.

--
Wendy Smoak





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Where is the Exception object when error-page is used?

2002-10-16 Thread Wendy Smoak

Using Tomcat 4.1.12 on Win2000.

I have this in web.xml:

  error-page
 exception-typeedu.asu.vpia.dao.DAOException/exception-type
 location/WEB-INF/jsp/exceptionDAO.jsp/location
  /error-page

and in exceptionDAO.jsp, I want to print the stack trace of the exception
(and the root cause) as an HTML comment.

Unfortunately, when I get to exceptionDAO, (which does have isError=true,)
the implicit 'exception' object
is null.

The JSP 1.2 spec talks about one JSP having the 'errorPage' attribute set to
another JSP which would have the 'isErrorPage' attribute set to true, and
then the exception object should be there.

But I'm trying to customize error pages for many different sorts of
Exceptions, so I can't set the 'errorPage' attribute on the first page to
anything in particular.

I'm almost certain that Tomcat puts the exception object in page or request
scope, but now I can't find where I read that.

Thanks in advance,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management




Re: Where is the Exception object when error-page is used?

2002-10-16 Thread Jean-Francois Arcand

Here is an example:

%@ page isErrorPage=true %
i%=exception.getMessage()%/ibr/
% exception.printStackTrace(new java.io.PrintWriter(out)); %

-- Jeanfrancois

Wendy Smoak wrote:

Using Tomcat 4.1.12 on Win2000.

I have this in web.xml:

  error-page
 exception-typeedu.asu.vpia.dao.DAOException/exception-type
 location/WEB-INF/jsp/exceptionDAO.jsp/location
  /error-page

and in exceptionDAO.jsp, I want to print the stack trace of the exception
(and the root cause) as an HTML comment.

Unfortunately, when I get to exceptionDAO, (which does have isError=true,)
the implicit 'exception' object
is null.

The JSP 1.2 spec talks about one JSP having the 'errorPage' attribute set to
another JSP which would have the 'isErrorPage' attribute set to true, and
then the exception object should be there.

But I'm trying to customize error pages for many different sorts of
Exceptions, so I can't set the 'errorPage' attribute on the first page to
anything in particular.

I'm almost certain that Tomcat puts the exception object in page or request
scope, but now I can't find where I read that.

Thanks in advance,

  



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




Re: Where is the Exception object when error-page is used?

2002-10-16 Thread Felipe Schnack

  I found this using getAttributeNames() method, it's really not hard. I just stopped 
using error-page because it doesn't support using java.lang.Throwable or Exception 
classes.

At 2002-10-16 16:30:00 you wrote:
Using Tomcat 4.1.12 on Win2000.

I have this in web.xml:

  error-page
 exception-typeedu.asu.vpia.dao.DAOException/exception-type
 location/WEB-INF/jsp/exceptionDAO.jsp/location
  /error-page

and in exceptionDAO.jsp, I want to print the stack trace of the exception
(and the root cause) as an HTML comment.

Unfortunately, when I get to exceptionDAO, (which does have isError=true,)
the implicit 'exception' object
is null.

The JSP 1.2 spec talks about one JSP having the 'errorPage' attribute set to
another JSP which would have the 'isErrorPage' attribute set to true, and
then the exception object should be there.

But I'm trying to customize error pages for many different sorts of
Exceptions, so I can't set the 'errorPage' attribute on the first page to
anything in particular.

I'm almost certain that Tomcat puts the exception object in page or request
scope, but now I can't find where I read that.

Thanks in advance,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328




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




RE: Where is the Exception object when error-page is used?

2002-10-16 Thread Wendy Smoak

Jean wrote:
Here is an example:

% page isErrorPage=true %
i%=exception.getMessage()%/ibr/
% exception.printStackTrace(new java.io.PrintWriter(out)); %

Thanks, but the problem is that when the exception occurs and is handled by
the error-page tag in web.xml, (not by the % page errorPage=... %
tag,) then the implicit 'exception' object is null.  (At least, it is in my
particular case, I have not done more experiments.)  From the JSP spec, I
can only find that the 'exception' object should be present in the session
under a particular attribute name when an error occurs on a page that has
the errorPage attribute.

I don't think I can use % page errorPage=... % because I don't know
where it's going to go to on error-- that's why there are multiple
error-page tags in web.xml.

And yet, I thought I read somewhere that Tomcat would put the offending
exception object in [session?] scope under a particular attribute name...
but I can't find that again.  I haven't a clue where to look in the code
either, so if someone knows generally where the
exception-web.xml-error-page tag handling happens, I'd be happy to try to
figure it out myself.  

-- 
Wendy Smoak



Where is isapi_redirect.dll for Tomcat 4.1.12 - IIS 5

2002-10-10 Thread Michael Finney

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html
promised that isapi_redirect.dll would be located in


Is the following still true?  It was a 1/2 year ago. 
the ISAPI filter for Tomcat 4.0 is still under
development
see http://www.jguru.com/faq/view.jsp?EID=571958

Michael


--- Michael Finney [EMAIL PROTECTED] wrote:
 From

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html
 
 The ajp12 has been deprecated with Tomcat 3.3.x and
 you should use instead ajp13 which is the only ajp
 protocol known by Tomcat 4.0.x, 4.1.x and 5. 
 
 --- John Lee [EMAIL PROTECTED] wrote:
  Hi all,
  
  I cannot get this ISAPI redirector to work for
  JSP/Servlet programs running in the following
  platform:
  01. TOMCAT 4.1.12 
  02. JDK 1.4.1
  03. ISAPI_REDIRECTOR.DLL 
  04. IIS 5
  05. W2KP SP3
  
  
  11. I successfully did a
  http://localhost:8080/jsp/examples/index.html
  12. However, I got a HTTP 500 (Internal Server
  Error) error when I did
  http://localhost/jsp/examples/index.html
  13. In ISAPI log, it shows the following:
  [jk_isapi_plugin.c (696)]: HttpFilterProc started
  [jk_isapi_plugin.c (759)]: In HttpFilterProc
 Virtual
  Host redirection of
  /localhost/examples/jsp/index.html
  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [jk_uri_worker_map.c (477)]: Attempting to map URI
  '/localhost/examples/jsp/index.html'
  [jk_uri_worker_map.c (599)]:
  jk_uri_worker_map_t::map_uri_to_worker, done
 without
  a match
  [jk_isapi_plugin.c (765)]: In HttpFilterProc test
  Default redirection of /examples/jsp/index.html
  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [jk_uri_worker_map.c (477)]: Attempting to map URI
  '/examples/jsp/index.html'
  [jk_uri_worker_map.c (502)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a
  context match ajp13 - /examples/
  [jk_isapi_plugin.c (775)]: HttpFilterProc
  [/examples/jsp/index.html] is a servlet url -
 should
  redirect to ajp13
  [jk_isapi_plugin.c (838)]: HttpFilterProc check if
  [/examples/jsp/index.html] is points to the
 web-inf
  directory
  
  
  21. I have already read
 

http://members.ozemail.com.au/~lamplante/howto/tomcat/iisnt.
  22. *** I checked the
 

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html
  and on the last page, it talks about Check the
  workers.properties file and make sure that the
 port
  setting for worker.ajp12.port is the same as the
  port specified in the server.xml for the Apache
  AJP12 support.
  23. *** In server.xml, there is no ajp12 defined
 at
  all but it was mentioned in workers.properties and
 I
  think the cause of the problem is somehow ajp12 is
  required for the demo programs but somehow it was
  missing but I do not know how to put it in.
  
  This is the same problem posted on Sep 26 but no
  real solution was posted.
  
  Any suggestions?
  
  Cheers.
  
  
  John
  
  
  
  --
  To unsubscribe, e-mail:  
 
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 =
 Michael Finney
 Sun Certified Programmer for the Java 2 Platform
 Sun Certified Developer for the Java 2 Platform
 Sun Certified Web Component Developer for J2EE
 Platform 
 Cofounder of PPJDG
 Cofounder of cosAgile - Colorado Springs XP Users
 Group
 If replying to this email address fails, try
 [EMAIL PROTECTED]
 
 __
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos  More
 http://faith.yahoo.com
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


=
Michael Finney
Sun Certified Programmer for the Java 2 Platform
Sun Certified Developer for the Java 2 Platform
Sun Certified Web Component Developer for J2EE Platform 
Cofounder of PPJDG
Cofounder of cosAgile - Colorado Springs XP Users Group
If replying to this email address fails, try [EMAIL PROTECTED]

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

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




Where the heck is jakarta-tomcat-jasper source?

2002-10-10 Thread James C. McMaster (Jim)

I am trying to build tomcat 4.1.12 on Solaris 8.  I have downloaded 
everything called for in BUILDING.txt, and modified build.properties to point 
to the right places.  ant detect shows:

flags.display:
 [echo] --- Build environment for Tomcat Server Configuration Application 
---
 [echo] If ${property_name} is displayed, then the property is not set)
 [echo] --- Build options ---
 [echo] full.dist=on
 [echo] build.sysclasspath=${build.sysclasspath}
 [echo] compile.debug=on
 [echo] compile.deprecation=off
 [echo] compile.optimize=on
 [echo] --- Ant Flags ---
 [echo] style task available (required)=true
 [echo] --- JDK ---
 [echo] jdk.1.2.present=true
 [echo] jdk.1.3.present=true
 [echo] jdk.1.4.present=true
 [echo] --- Required Libraries ---
 [echo] jaxp.present=true
 [echo] jmx.present=true
 [echo] modeler.present=true
 [echo] servlet.present=true
 [echo] --- Required JARs ---
 [echo] jmx.jar.present=true
 [echo] modeler.jar.present=true
 [echo] servlet.jar.present=true
 [echo] struts.jar.present=true
 [echo] beanutils.jar.present=true
 [echo] --- Optional JARs ---
 [echo] --- Conditional compilation flags ---
 [echo] compile.admin=true
 [echo] --- Distribution flags ---
 [echo] copy.struts.jar=true

ant dist produces: 

deploy:
 [echo] Target: Jasper - Deploy ...

BUILD FAILED
file:/export/home/local/downloads/jakarta-tomcat-4.1.12-src/build.xml:67: 
Basedir /export/home/local/downloads/jakarta-tomcat-jasper/jasper2 does not 
exist

ant seems to expect this in:

 jasper.home=../jakarta-tomcat-jasper/jasper2

This suggests I should download source from the jakarta-tomcat-jasper 
project, but there does not seem to be listed on the jakarta home page, nor 
on the tomcat project page.  I also can't find it in 
http://jakarta.apache.org/builds/ or http://jakarta.apache.org/builds/jakarta-
tomcat-4.0/release/v4.1.12/src/

I cannot get to cvs through our firewall, so how do I get this beast?
-- 
Jim McMaster
mailto:[EMAIL PROTECTED]



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




Re: Where the heck is jakarta-tomcat-jasper source?

2002-10-10 Thread Brzezinski, Paul J

James C. McMaster (Jim) wrote:

I am trying to build tomcat 4.1.12 on Solaris 8.  I have downloaded 
everything called for in BUILDING.txt, and modified build.properties to point 
to the right places.  ant detect shows:

flags.display:
 [echo] --- Build environment for Tomcat Server Configuration Application 
---
 [echo] If ${property_name} is displayed, then the property is not set)
 [echo] --- Build options ---
 [echo] full.dist=on
 [echo] build.sysclasspath=${build.sysclasspath}
 [echo] compile.debug=on
 [echo] compile.deprecation=off
 [echo] compile.optimize=on
 [echo] --- Ant Flags ---
 [echo] style task available (required)=true
 [echo] --- JDK ---
 [echo] jdk.1.2.present=true
 [echo] jdk.1.3.present=true
 [echo] jdk.1.4.present=true
 [echo] --- Required Libraries ---
 [echo] jaxp.present=true
 [echo] jmx.present=true
 [echo] modeler.present=true
 [echo] servlet.present=true
 [echo] --- Required JARs ---
 [echo] jmx.jar.present=true
 [echo] modeler.jar.present=true
 [echo] servlet.jar.present=true
 [echo] struts.jar.present=true
 [echo] beanutils.jar.present=true
 [echo] --- Optional JARs ---
 [echo] --- Conditional compilation flags ---
 [echo] compile.admin=true
 [echo] --- Distribution flags ---
 [echo] copy.struts.jar=true

ant dist produces: 

deploy:
 [echo] Target: Jasper - Deploy ...

BUILD FAILED
file:/export/home/local/downloads/jakarta-tomcat-4.1.12-src/build.xml:67: 
Basedir /export/home/local/downloads/jakarta-tomcat-jasper/jasper2 does not 
exist

ant seems to expect this in:

 jasper.home=../jakarta-tomcat-jasper/jasper2

This suggests I should download source from the jakarta-tomcat-jasper 
project, but there does not seem to be listed on the jakarta home page, nor 
on the tomcat project page.  I also can't find it in 
http://jakarta.apache.org/builds/ or http://jakarta.apache.org/builds/jakarta-
tomcat-4.0/release/v4.1.12/src/

I cannot get to cvs through our firewall, so how do I get this beast?
  

I'll be very interested if you get this working on Solaris 8 (I wasn't 
able to channel.Un - AF_UNIX socket/apr to work).  If you indeed 
downloaded the jakarta-tomcat-4.1.12-src package jasper2 is included in 
the source directory.  

In my build.properties in jakarta-tomcat-4.1.12-src:

jasper.home=./jasper
//
Everything built OK on Solaris 8 UltraSPARC.



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




RE: Where is javax.sql

2002-10-05 Thread Kunal Shah


 That's in Oracle's JDBC classes file (named
 classes12.jar for my
 installation), not in Tomcat.  Make sure you
 install this file for your
 Oracle connections to work (put it in your
 $TOMCAT_HOME/lib directory).  It
 can be downloaded from Oracle.
 Kenny

It is java.sql which gives you resultset and other
functional packages and interfaces
it is not javax.sql.



__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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




Where is javax.sql

2002-10-04 Thread Chuck Carson


Where is the package at under tomcat 4.1.2?

I moved my tomcat apps from Linux to Solaris but none of my oracle
connections will work.


Thanks,
Chuck


--
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. 

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




Re: Where is javax.sql

2002-10-04 Thread Kenny G. Dubuisson, Jr.

That's in Oracle's JDBC classes file (named classes12.jar for my
installation), not in Tomcat.  Make sure you install this file for your
Oracle connections to work (put it in your $TOMCAT_HOME/lib directory).  It
can be downloaded from Oracle.
Kenny

- Original Message -
From: Chuck Carson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 9:12 AM
Subject: Where is javax.sql



 Where is the package at under tomcat 4.1.2?

 I moved my tomcat apps from Linux to Solaris but none of my oracle
 connections will work.


 Thanks,
 Chuck


 --
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. E-mail transmission cannot be
 guaranteed to be secure or error-free as information could be
 intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
 contain viruses. The sender therefore does not accept liability for any
 errors or omissions in the contents of this message, which arise as a
 result of e-mail transmission. If verification is required please
 request a hard-copy version.

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


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




RE: Where is javax.sql

2002-10-04 Thread Chuck Carson


Thanks for the help,
I was under the impression it was in servlet.jar, *bonk*

Thanks,
CC

 -Original Message-
 From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, October 04, 2002 7:20 AM
 To: Tomcat Users List
 Subject: Re: Where is javax.sql
 
 
 That's in Oracle's JDBC classes file (named classes12.jar for 
 my installation), not in Tomcat.  Make sure you install this 
 file for your Oracle connections to work (put it in your 
 $TOMCAT_HOME/lib directory).  It can be downloaded from Oracle. Kenny
 
 - Original Message -
 From: Chuck Carson [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, October 04, 2002 9:12 AM
 Subject: Where is javax.sql
 
 
 
  Where is the package at under tomcat 4.1.2?
 
  I moved my tomcat apps from Linux to Solaris but none of my oracle 
  connections will work.
 
 
  Thanks,
  Chuck
 
 
  --
  This message contains confidential information and is intended only 
  for the individual named. If you are not the named addressee you 
  should not disseminate, distribute or copy this e-mail. 
 Please notify 
  the sender immediately by e-mail if you have received this 
 e-mail by 
  mistake and delete this e-mail from your system. E-mail 
 transmission 
  cannot be guaranteed to be secure or error-free as 
 information could 
  be intercepted, corrupted, lost, destroyed, arrive late or 
 incomplete, 
  or contain viruses. The sender therefore does not accept 
 liability for 
  any errors or omissions in the contents of this message, 
 which arise 
  as a result of e-mail transmission. If verification is 
 required please 
  request a hard-copy version.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 



--
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any
errors or omissions in the contents of this message, which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version. 

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




Re: Where is javax.sql

2002-10-04 Thread Rick Fincher

javax.sql is in the standard edition JDK as of version 1.4.  It wasn't in
JDK 1.3 SE.  You had to get it from the J2EE version of the JDK or from the
JDBC 2.0 or 3.0 standard extensions jar that was distributed by Sun.

Many vendors included it in their JDBC driver jars.

It contains mostly interfaces for pooled connections and data sources that
your JDBC driver has to implement if it wants to do some of those JDBC
version 2 or 3 type things.

Rick

- Original Message -
From: Kenny G. Dubuisson, Jr. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 04, 2002 10:19 AM
Subject: Re: Where is javax.sql


 That's in Oracle's JDBC classes file (named classes12.jar for my
 installation), not in Tomcat.  Make sure you install this file for your
 Oracle connections to work (put it in your $TOMCAT_HOME/lib directory).
It
 can be downloaded from Oracle.
 Kenny

 - Original Message -
 From: Chuck Carson [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, October 04, 2002 9:12 AM
 Subject: Where is javax.sql


 
  Where is the package at under tomcat 4.1.2?
 
  I moved my tomcat apps from Linux to Solaris but none of my oracle
  connections will work.
 
 
  Thanks,
  Chuck
 
 
  --
  This message contains confidential information and is intended only for
  the individual named. If you are not the named addressee you should not
  disseminate, distribute or copy this e-mail. Please notify the sender
  immediately by e-mail if you have received this e-mail by mistake and
  delete this e-mail from your system. E-mail transmission cannot be
  guaranteed to be secure or error-free as information could be
  intercepted, corrupted, lost, destroyed, arrive late or incomplete, or
  contain viruses. The sender therefore does not accept liability for any
  errors or omissions in the contents of this message, which arise as a
  result of e-mail transmission. If verification is required please
  request a hard-copy version.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


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




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




RE: where to put mod_jk.conf

2002-09-24 Thread Turner, John


Agreed.  My assumption was a sys-admin assumption...that is, Tomcat is only
started if there is a change.  I can't think of a reason to stop/start it
otherwise.

John


 -Original Message-
 From: Milt Epstein [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 23, 2002 7:45 PM
 To: Tomcat Users List
 Subject: RE: where to put mod_jk.conf
 
 
 On Mon, 23 Sep 2002, Turner, John wrote:
 
  Yes, you need to copy the mod_jk.conf to the Apache box each time
  Tomcat is started.
 [ ... ]
 
 I don't think this is quite true -- I'd say it only needs to be copied
 if the Tomcat configuration changes -- and that's represented by
 server.xml, the directories under webapps, and perhaps some other
 things.  But if those are in a steady state, there shouldn't need to
 be any changes to the mod_jk conf -- and I'd even remove (or comment
 out) the Listener lines in server.xml that are creating it.
 
 So, it depends on what kind of environment the person is working in --
 production, where things change rarely, or development, where things
 may change much more often.
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, September 22, 2002 7:56 PM
   To: [EMAIL PROTECTED]
   Subject: where to put mod_jk.conf
  
  
   Hi all.
   Tomcat is generating
   /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf
   everytime I start
   Tomcat on BoxAAA. Apache is intentionally disabled on this box .
   In BoxBBB , Apache2 is enable and its httpd.conf modified 
 to Include
   /usr/local/tomcat4/conf/auto/mod_jk.conf , do I need to copy
   the .conf
   file from BoxAAA to BoxBBB everytime Tomcat creates a new one ???
   Do I assume right that mod_jk.so is stays with Apache and
   does not need
   to be refreshed ???
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
 
  --
  To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 Milt Epstein
 Research Programmer
 Integration and Software Engineering (ISE)
 Campus Information Technologies and Educational Services (CITES)
 University of Illinois at Urbana-Champaign (UIUC)
 [EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: where to put mod_jk.conf

2002-09-24 Thread Milt Epstein

On Tue, 24 Sep 2002, Turner, John wrote:

 Agreed.  My assumption was a sys-admin assumption...that is, Tomcat
 is only started if there is a change.  I can't think of a reason to
 stop/start it otherwise.

Where do you find such nice, well-behaved systems? :-)


  -Original Message-
  From: Milt Epstein [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 23, 2002 7:45 PM
  To: Tomcat Users List
  Subject: RE: where to put mod_jk.conf
 
 
  On Mon, 23 Sep 2002, Turner, John wrote:
 
   Yes, you need to copy the mod_jk.conf to the Apache box each time
   Tomcat is started.
  [ ... ]
 
  I don't think this is quite true -- I'd say it only needs to be copied
  if the Tomcat configuration changes -- and that's represented by
  server.xml, the directories under webapps, and perhaps some other
  things.  But if those are in a steady state, there shouldn't need to
  be any changes to the mod_jk conf -- and I'd even remove (or comment
  out) the Listener lines in server.xml that are creating it.
 
  So, it depends on what kind of environment the person is working in --
  production, where things change rarely, or development, where things
  may change much more often.
 
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 22, 2002 7:56 PM
To: [EMAIL PROTECTED]
Subject: where to put mod_jk.conf
   
   
Hi all.
Tomcat is generating
/usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf
everytime I start
Tomcat on BoxAAA. Apache is intentionally disabled on this box .
In BoxBBB , Apache2 is enable and its httpd.conf modified
  to Include
/usr/local/tomcat4/conf/auto/mod_jk.conf , do I need to copy
the .conf
file from BoxAAA to BoxBBB everytime Tomcat creates a new one ???
Do I assume right that mod_jk.so is stays with Apache and
does not need
to be refreshed ???
   
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
   
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
  Milt Epstein
  Research Programmer
  Integration and Software Engineering (ISE)
  Campus Information Technologies and Educational Services (CITES)
  University of Illinois at Urbana-Champaign (UIUC)
  [EMAIL PROTECTED]
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 

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


Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




RE: where to put mod_jk.conf

2002-09-24 Thread Turner, John


Not sure...uptime on my Tomcat 3.1 instances is 108 days.  Maybe I am just
overly strict, cranky, and paranoid. :) Then again, people more skilled than
I up the first few instances...the rest are just duplications.  108 days
will be the max, though, I think.  I'm due to apply an application patch to
all of them soon, which means a restart.

John

 -Original Message-
 From: Milt Epstein [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 24, 2002 10:30 AM
 To: Tomcat Users List
 Subject: RE: where to put mod_jk.conf
 
 
 On Tue, 24 Sep 2002, Turner, John wrote:
 
  Agreed.  My assumption was a sys-admin assumption...that is, Tomcat
  is only started if there is a change.  I can't think of a reason to
  stop/start it otherwise.
 
 Where do you find such nice, well-behaved systems? :-)
 
 
   -Original Message-
   From: Milt Epstein [mailto:[EMAIL PROTECTED]]
   Sent: Monday, September 23, 2002 7:45 PM
   To: Tomcat Users List
   Subject: RE: where to put mod_jk.conf
  
  

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




Where to set the allowLinking flag in 4.1.12?

2002-09-24 Thread Roland Glenn McIntosh

I'm please that 4.1.12 has the ability to follow symlinks, I just don't know where to 
set this flag.
I grepped for allowLinking in my conf directory and found no commented examples of 
where this might go.

Please advise.

-rgm



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




where to put mod_jk.conf

2002-09-23 Thread achana

Hi all.
Tomcat is generating
/usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf everytime I start
Tomcat on BoxAAA. Apache is intentionally disabled on this box .
In BoxBBB , Apache2 is enable and its httpd.conf modified to Include
/usr/local/tomcat4/conf/auto/mod_jk.conf , do I need to copy the .conf
file from BoxAAA to BoxBBB everytime Tomcat creates a new one ???
Do I assume right that mod_jk.so is stays with Apache and does not need
to be refreshed ???

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




RE: where to put mod_jk.conf

2002-09-23 Thread Turner, John


Yes, you need to copy the mod_jk.conf to the Apache box each time Tomcat is
started.

The three alternatives are:

1) use NFS to remotely mount a drive from Box A on Box B...put mod_jk.conf
on this drive
2) manually configure Apache
3) use something like rsync to automatically sync the two locations
periodically

John


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, September 22, 2002 7:56 PM
 To: [EMAIL PROTECTED]
 Subject: where to put mod_jk.conf
 
 
 Hi all.
 Tomcat is generating
 /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf 
 everytime I start
 Tomcat on BoxAAA. Apache is intentionally disabled on this box .
 In BoxBBB , Apache2 is enable and its httpd.conf modified to Include
 /usr/local/tomcat4/conf/auto/mod_jk.conf , do I need to copy 
 the .conf
 file from BoxAAA to BoxBBB everytime Tomcat creates a new one ???
 Do I assume right that mod_jk.so is stays with Apache and 
 does not need
 to be refreshed ???
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: where to put mod_jk.conf

2002-09-23 Thread Milt Epstein

On Mon, 23 Sep 2002, Turner, John wrote:

 Yes, you need to copy the mod_jk.conf to the Apache box each time
 Tomcat is started.
[ ... ]

I don't think this is quite true -- I'd say it only needs to be copied
if the Tomcat configuration changes -- and that's represented by
server.xml, the directories under webapps, and perhaps some other
things.  But if those are in a steady state, there shouldn't need to
be any changes to the mod_jk conf -- and I'd even remove (or comment
out) the Listener lines in server.xml that are creating it.

So, it depends on what kind of environment the person is working in --
production, where things change rarely, or development, where things
may change much more often.


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, September 22, 2002 7:56 PM
  To: [EMAIL PROTECTED]
  Subject: where to put mod_jk.conf
 
 
  Hi all.
  Tomcat is generating
  /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf
  everytime I start
  Tomcat on BoxAAA. Apache is intentionally disabled on this box .
  In BoxBBB , Apache2 is enable and its httpd.conf modified to Include
  /usr/local/tomcat4/conf/auto/mod_jk.conf , do I need to copy
  the .conf
  file from BoxAAA to BoxBBB everytime Tomcat creates a new one ???
  Do I assume right that mod_jk.so is stays with Apache and
  does not need
  to be refreshed ???
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 

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


Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Re: where to put mod_jk.conf

2002-09-23 Thread achana

Milt Epstein wrote:
 
 On Mon, 23 Sep 2002, Turner, John wrote:
 
  Yes, you need to copy the mod_jk.conf to the Apache box each time
  Tomcat is started.
 [ ... ]
 
 I don't think this is quite true -- I'd say it only needs to be copied
 if the Tomcat configuration changes -- and that's represented by
 server.xml, the directories under webapps, and perhaps some other
 things.  But if those are in a steady state, there shouldn't need to
 be any changes to the mod_jk conf -- and I'd even remove (or comment
 out) the Listener lines in server.xml that are creating it.
 
 So, it depends on what kind of environment the person is working in --
 production, where things change rarely, or development, where things
 may change much more often.

Yes, true. 
The newer box is Apache2+Tomcat404 and had a different directory name. 
The older one (now the app-server) has Apache1.3.16+Tomcat(some number).
In the heat of battle, one quickly forgets that level of detail and I
can't go and upgrade the boxes apropos version-control and all that.

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




RE: mod_jk.so where from ??

2002-09-09 Thread Turner, John


My website by the end of the week.  Other than that, no.  Everyone has been
building them from source.

John


 -Original Message-
 From: Adar Wesley [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 2:21 AM
 To: 'Tomcat Users List'
 Subject: mod_jk.so where from ??
 
 
 Hi Group !
 
 I'm creating an installer that deploys tomcat on various systems.
 Does anyone have any idea where may I find a collection of compiled
 mod_jk.so for various systems ??
 
 Thanks !
 Tal
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: mod_jk.so where from ??

2002-09-09 Thread Adar Wesley

10x John !

and where would that web site be ?

Tal

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 2:45 PM
To: 'Tomcat Users List'
Subject: RE: mod_jk.so where from ??



My website by the end of the week.  Other than that, no.  Everyone has been
building them from source.

John


 -Original Message-
 From: Adar Wesley [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 2:21 AM
 To: 'Tomcat Users List'
 Subject: mod_jk.so where from ??
 
 
 Hi Group !
 
 I'm creating an installer that deploys tomcat on various systems.
 Does anyone have any idea where may I find a collection of compiled
 mod_jk.so for various systems ??
 
 Thanks !
 Tal
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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

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




RE: mod_jk.so where from ??

2002-09-09 Thread Turner, John


http://www.johnturner.com/howto but as I said, there aren't any files
available for download at the moment, other than HOWTOs.

John


 -Original Message-
 From: Adar Wesley [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 10:06 AM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk.so where from ??
 
 
 10x John !
 
 and where would that web site be ?
 
 Tal
 
 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 2:45 PM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk.so where from ??
 
 
 
 My website by the end of the week.  Other than that, no.  
 Everyone has been
 building them from source.
 
 John
 
 
  -Original Message-
  From: Adar Wesley [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 09, 2002 2:21 AM
  To: 'Tomcat Users List'
  Subject: mod_jk.so where from ??
  
  
  Hi Group !
  
  I'm creating an installer that deploys tomcat on various systems.
  Does anyone have any idea where may I find a collection of compiled
  mod_jk.so for various systems ??
  
  Thanks !
  Tal
  
  --
  To unsubscribe, e-mail:   
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: 
  mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




Re: mod_jk.so where from ??

2002-09-09 Thread Ben Souther

I found it here:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/bin/



- Original Message -
From: Adar Wesley [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 10:05 AM
Subject: RE: mod_jk.so where from ??


 10x John !

 and where would that web site be ?

 Tal

 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 2:45 PM
 To: 'Tomcat Users List'
 Subject: RE: mod_jk.so where from ??



 My website by the end of the week.  Other than that, no.  Everyone has
been
 building them from source.

 John


  -Original Message-
  From: Adar Wesley [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 09, 2002 2:21 AM
  To: 'Tomcat Users List'
  Subject: mod_jk.so where from ??
 
 
  Hi Group !
 
  I'm creating an installer that deploys tomcat on various systems.
  Does anyone have any idea where may I find a collection of compiled
  mod_jk.so for various systems ??
 
  Thanks !
  Tal
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 

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

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



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




RE: mod_jk.so where from ??

2002-09-09 Thread Turner, John


Which connector binaries did you find there?

John


 -Original Message-
 From: Ben Souther [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 09, 2002 9:18 AM
 To: Tomcat Users List
 Subject: Re: mod_jk.so where from ??
 
 
 I found it here:
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4
 .1.10/bin/
 
 
 
 - Original Message -
 From: Adar Wesley [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Monday, September 09, 2002 10:05 AM
 Subject: RE: mod_jk.so where from ??
 
 
  10x John !
 
  and where would that web site be ?
 
  Tal
 
  -Original Message-
  From: Turner, John [mailto:[EMAIL PROTECTED]]
  Sent: Monday, September 09, 2002 2:45 PM
  To: 'Tomcat Users List'
  Subject: RE: mod_jk.so where from ??
 
 
 
  My website by the end of the week.  Other than that, no.  
 Everyone has
 been
  building them from source.
 
  John
 
 
   -Original Message-
   From: Adar Wesley [mailto:[EMAIL PROTECTED]]
   Sent: Monday, September 09, 2002 2:21 AM
   To: 'Tomcat Users List'
   Subject: mod_jk.so where from ??
  
  
   Hi Group !
  
   I'm creating an installer that deploys tomcat on various systems.
   Does anyone have any idea where may I find a collection 
 of compiled
   mod_jk.so for various systems ??
  
   Thanks !
   Tal
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




Re: mod_jk.so where from ??

2002-09-09 Thread Ben Souther

Oops,  didn't read the entire thread before replying.  Shame on me...







- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 09, 2002 9:20 AM
Subject: Re: mod_jk.so where from ??


 Sorry, I mean here:
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/src/
 - Original Message -
 From: Ben Souther [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, September 09, 2002 9:18 AM
 Subject: Re: mod_jk.so where from ??


  I found it here:
  http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/bin/
 
 
 
  - Original Message -
  From: Adar Wesley [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Sent: Monday, September 09, 2002 10:05 AM
  Subject: RE: mod_jk.so where from ??
 
 
   10x John !
  
   and where would that web site be ?
  
   Tal
  
   -Original Message-
   From: Turner, John [mailto:[EMAIL PROTECTED]]
   Sent: Monday, September 09, 2002 2:45 PM
   To: 'Tomcat Users List'
   Subject: RE: mod_jk.so where from ??
  
  
  
   My website by the end of the week.  Other than that, no.  Everyone has
  been
   building them from source.
  
   John
  
  
-Original Message-
From: Adar Wesley [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 2:21 AM
To: 'Tomcat Users List'
Subject: mod_jk.so where from ??
   
   
Hi Group !
   
I'm creating an installer that deploys tomcat on various systems.
Does anyone have any idea where may I find a collection of compiled
mod_jk.so for various systems ??
   
Thanks !
Tal
   
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
   
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


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



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




FW: Where to place JAR file???

2002-09-08 Thread Michael Petres

OK... That part I already got working... The applet/servlet will load fine
if I have a set of JARs in WEB-INF/lib and eBMF (for the applet).

This setup will result in VerifyErrors for classes in library.jar. Since
both the applet and servlet use these classes I have this JAR file in the
two places (as noted above). The classes in library.jar that give this
problem are DAO type objects that get serialized and sent back to the server
by the (client) applet. It seems that the servlet will attempt to load these
classes from two different sources For one it uses the serialized
version (streamed from the client applet) and it also attempts to load the
class from WEB-INF/lib/library.jar at which point the VerifyError is thrown?

Michael Petres
~
InnovObjX Corp.
Web: www.innovobjx.com
Tel: 905-729-2235 x3
Fax: 905-729-2235
~

-Original Message-
From: Ben Walding [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 07, 2002 8:29 AM
To: Tomcat Users List
Subject: Re: Where to place JAR file???

Anything under WEB-INF is invisible to a web user, it's just the way
things are.
Hence, I believe that you are going to need to put the library.jar in
two places, once in the WEB-INF/lib and once in the same dir as
applet.jar (but not under WEB-INF)

Michael Petres wrote:

Hello,

I have a problem that is probably silly if you know tomcat well

I have configured tomcat to load a context (eBMF). In order to avoid
loading
the servlet twice I have set the appBase in the server.xml file to an
empty string and I have placed the applet related stuff in a directory at
the same level as the default webapps, but called eBMF. This directory
now
has /WEB-INF/classes and /WEB-INF/lib in it.

The servlet code itself resides in server.jar and is placed in
eBMF/WEB-INF/lib. I am using an HTML page with an embedded object tag to
load the applet (packaged in applet.jar) that will interact with the
servlet. Both applet and servlet use stuff in a third jar, library.jar.

My serlvet context is started by tomcat without problems as long as
server.jar and library.jar are in eBMF/WEB-INF/lib, as expected
In order to run the applet I however must place the applet.jar and
library.jar in the eBMF directory and use the following parameter on the
object tag PARAM NAME = ARCHIVE VALUE = applet.jar, library.jar.

I would for obvious reasons like to keep all my jars in eBMF/WEB-INF/lib,
for one to avoid having multiple copies of the same jar file under the
directory structure. The browser is unable to gain access to applet.jar if
it is moved from the context base, eBMF to eBMF/WEB-INF/lib, regardless of
the way I sepecify the archive parameter in the html page, e.g. I tried
PARAM NAME = ARCHIVE VALUE = WEB-INF/lib/applet.jar,
WEB-INF/lib/library.jar. But it wont work!

Is there some configuration issue I am missing here? Obviously Tomcat will
ensure the proper context to the servlet base, which is eBMF, but why can
files NOT be accessed in directories under it?


Michael Petres
~
InnovObjX Corp.
Web: www.innovobjx.com
Tel: 905-729-2235 x3
Fax: 905-729-2235
~








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


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




mod_jk.so where from ??

2002-09-08 Thread Adar Wesley

Hi Group !

I'm creating an installer that deploys tomcat on various systems.
Does anyone have any idea where may I find a collection of compiled
mod_jk.so for various systems ??

Thanks !
Tal

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




Where to place JAR file???

2002-09-07 Thread Michael Petres

Hello,

I have a problem that is probably silly if you know tomcat well…

I have configured tomcat to load a context (eBMF). In order to avoid loading
the servlet twice I have set the ‘appBase’ in the server.xml file to an
empty string and I have placed the applet related stuff in a directory at
the same level as the default ‘webapps’, but called eBMF. This directory now
has /WEB-INF/classes and /WEB-INF/lib in it.

The servlet code itself resides in server.jar and is placed in
eBMF/WEB-INF/lib. I am using an HTML page with an embedded object tag to
load the applet (packaged in applet.jar) that will interact with the
servlet. Both applet and servlet use stuff in a third jar, library.jar.

My serlvet context is started by tomcat without problems as long as
server.jar and library.jar are in eBMF/WEB-INF/lib, as expected…
In order to run the applet I however must place the applet.jar and
library.jar in the eBMF directory and use the following parameter on the
object tag ‘PARAM NAME = ARCHIVE VALUE = applet.jar, library.jar.

I would for obvious reasons like to keep all my jars in eBMF/WEB-INF/lib,
for one to avoid having multiple copies of the same jar file under the
directory structure. The browser is unable to gain access to applet.jar if
it is moved from the context base, eBMF to eBMF/WEB-INF/lib, regardless of
the way I sepecify the archive parameter in the html page, e.g. I tried
‘PARAM NAME = ARCHIVE VALUE = WEB-INF/lib/applet.jar,
WEB-INF/lib/library.jar’. But it won’t work!

Is there some configuration issue I am missing here? Obviously Tomcat will
ensure the proper context to the servlet base, which is eBMF, but why can
files NOT be accessed in directories under it?


Michael Petres
~
InnovObjX Corp.
Web: www.innovobjx.com
Tel: 905-729-2235 x3
Fax: 905-729-2235
~




Re: Where to place JAR file???

2002-09-07 Thread Ben Walding

Anything under WEB-INF is invisible to a web user, it's just the way 
things are.
Hence, I believe that you are going to need to put the library.jar in 
two places, once in the WEB-INF/lib and once in the same dir as 
applet.jar (but not under WEB-INF)

Michael Petres wrote:

Hello,

I have a problem that is probably silly if you know tomcat well

I have configured tomcat to load a context (eBMF). In order to avoid loading
the servlet twice I have set the appBase in the server.xml file to an
empty string and I have placed the applet related stuff in a directory at
the same level as the default webapps, but called eBMF. This directory now
has /WEB-INF/classes and /WEB-INF/lib in it.

The servlet code itself resides in server.jar and is placed in
eBMF/WEB-INF/lib. I am using an HTML page with an embedded object tag to
load the applet (packaged in applet.jar) that will interact with the
servlet. Both applet and servlet use stuff in a third jar, library.jar.

My serlvet context is started by tomcat without problems as long as
server.jar and library.jar are in eBMF/WEB-INF/lib, as expected
In order to run the applet I however must place the applet.jar and
library.jar in the eBMF directory and use the following parameter on the
object tag PARAM NAME = ARCHIVE VALUE = applet.jar, library.jar.

I would for obvious reasons like to keep all my jars in eBMF/WEB-INF/lib,
for one to avoid having multiple copies of the same jar file under the
directory structure. The browser is unable to gain access to applet.jar if
it is moved from the context base, eBMF to eBMF/WEB-INF/lib, regardless of
the way I sepecify the archive parameter in the html page, e.g. I tried
PARAM NAME = ARCHIVE VALUE = WEB-INF/lib/applet.jar,
WEB-INF/lib/library.jar. But it wont work!

Is there some configuration issue I am missing here? Obviously Tomcat will
ensure the proper context to the servlet base, which is eBMF, but why can
files NOT be accessed in directories under it?


Michael Petres
~
InnovObjX Corp.
Web: www.innovobjx.com
Tel: 905-729-2235 x3
Fax: 905-729-2235
~


  





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




RE: Where should i put dynamically generated graphics

2002-08-30 Thread Felipe Schnack

  How can I return an image from a servlet??

On Thu, 2002-08-29 at 20:05, Sexton, George wrote:
 It depends. One way I have done it is to have the generator servlet save it
 on the session, and have the page the generator servlet writes make a
 request to a simple servlet that returns the graphic, and then deletes it
 from the session.
 
 Another way would be to write it to the temp dir. From the Servlet API Spec:
 
 SRV.3.7.1 Temporary Working Directories
 A temporary storage directory is required for each servlet context. Servlet
 containers must provide a private temporary directory per servlet context,
 and make
 it available via the javax.servlet.context.tempdir context attribute. The
 objects
 associated with the attribute must be of type java.io.File.
 
 Then, using a servlet mapping request the generated image and have the
 servlet retrieve the temporary image.
 
 I guess that you could make another dir writable to the server, and store
 the image in their natively.
 
 George Sexton
 MH Software, Inc.
 Home of Connect Daily Web Calendar Software
 http://www.mhsoftware.com/connectdaily.htm
 Voice: 303 438 9585
 
 
 -Original Message-
 From: Andy Wagg [mailto:[EMAIL PROTECTED]]
 Sent: 29 August, 2002 4:01 PM
 To: [EMAIL PROTECTED]
 Subject: Where should i put dynamically generated graphics
 
 
 Hello
 
 I have a web application that generates a gif file that is then
 subsequently displayed. It expects to find the gif file in the context
 of the web application. The web app is deployed as a war so obviously
 the generated files cant be put there. Any suggestions as to where these
 files could be copied that would be accesible by the browser.
 
 Thanks in advance.
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
-- 

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328


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




Re: Where should i put dynamically generated graphics

2002-08-30 Thread Michael E. Locasto

I can think of a couple of ways offhand:

-process the request
-generate your image
-store your image somewhere (optional)
- either
- write the image directly out to the servlet's underlying
outputstream
as a buffered byte output stream (I don't think PrintWriter would be
appropriate. This would probably also in involve a
response.setContentType(image/gif); ... but i've never done this, so I'm
probably wrong.)

-or-

-store your image somewhere
-return html that has a bunch of img src= tags or hyperlinks to
the images
eg:
/* get my images! */
  public void doGet(HttpServletRequest request,
  HttpServletResponse response)
  throws IOException, ServletException {
/* optionally clean out the temp image directory */
/* genrt imgs, store in gen_images/username/ under the current context
*/

 response.setContentType(text/html);
 PrintWriter out = response.getWriter();
  out.println( htmlbody );
  out.println( img src=\gen_images/username/foo.gif\  );
  out.println( img src=\gen_images/username/foo1.gif\  );
  out.println( img src=\gen_images/username/foo2.gif\  );
  out.println( /body/html );
}

of course, feel free to spruce that html up ;)

hope that helps,
Michael

- Original Message -
From: Felipe Schnack [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 8:06 AM
Subject: RE: Where should i put dynamically generated graphics


   How can I return an image from a servlet??

 On Thu, 2002-08-29 at 20:05, Sexton, George wrote:
  It depends. One way I have done it is to have the generator servlet save
it
  on the session, and have the page the generator servlet writes make a
  request to a simple servlet that returns the graphic, and then deletes
it
  from the session.
 
  Another way would be to write it to the temp dir. From the Servlet API
Spec:
 
  SRV.3.7.1 Temporary Working Directories
  A temporary storage directory is required for each servlet context.
Servlet
  containers must provide a private temporary directory per servlet
context,
  and make
  it available via the javax.servlet.context.tempdir context attribute.
The
  objects
  associated with the attribute must be of type java.io.File.
 
  Then, using a servlet mapping request the generated image and have the
  servlet retrieve the temporary image.
 
  I guess that you could make another dir writable to the server, and
store
  the image in their natively.
 
  George Sexton
  MH Software, Inc.
  Home of Connect Daily Web Calendar Software
  http://www.mhsoftware.com/connectdaily.htm
  Voice: 303 438 9585
 
 
  -Original Message-
  From: Andy Wagg [mailto:[EMAIL PROTECTED]]
  Sent: 29 August, 2002 4:01 PM
  To: [EMAIL PROTECTED]
  Subject: Where should i put dynamically generated graphics
 
 
  Hello
 
  I have a web application that generates a gif file that is then
  subsequently displayed. It expects to find the gif file in the context
  of the web application. The web app is deployed as a war so obviously
  the generated files cant be put there. Any suggestions as to where these
  files could be copied that would be accesible by the browser.
 
  Thanks in advance.
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
 --

 Felipe Schnack
 Analista de Sistemas
 [EMAIL PROTECTED]
 Cel.: (51)91287530
 Linux Counter #281893

 Faculdade Ritter dos Reis
 www.ritterdosreis.br
 [EMAIL PROTECTED]
 Fone/Fax.: (51)32303328


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


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




Re: Where should i put dynamically generated graphics

2002-08-30 Thread Felipe Schnack

  Yes, I would like the solution where we can write to the servlet
outputstream, but I have no idea how to do it.

On Fri, 2002-08-30 at 10:21, Michael E. Locasto wrote:
 I can think of a couple of ways offhand:
 
 -process the request
 -generate your image
 -store your image somewhere (optional)
 - either
 - write the image directly out to the servlet's underlying
 outputstream
 as a buffered byte output stream (I don't think PrintWriter would be
 appropriate. This would probably also in involve a
 response.setContentType(image/gif); ... but i've never done this, so I'm
 probably wrong.)
 
 -or-
 
 -store your image somewhere
 -return html that has a bunch of img src= tags or hyperlinks to
 the images
 eg:
 /* get my images! */
   public void doGet(HttpServletRequest request,
   HttpServletResponse response)
   throws IOException, ServletException {
 /* optionally clean out the temp image directory */
 /* genrt imgs, store in gen_images/username/ under the current context
 */
 
  response.setContentType(text/html);
  PrintWriter out = response.getWriter();
   out.println( htmlbody );
   out.println( img src=\gen_images/username/foo.gif\  );
   out.println( img src=\gen_images/username/foo1.gif\  );
   out.println( img src=\gen_images/username/foo2.gif\  );
   out.println( /body/html );
 }
 
 of course, feel free to spruce that html up ;)
 
 hope that helps,
 Michael
 
 - Original Message -
 From: Felipe Schnack [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, August 30, 2002 8:06 AM
 Subject: RE: Where should i put dynamically generated graphics
 
 
How can I return an image from a servlet??
 
  On Thu, 2002-08-29 at 20:05, Sexton, George wrote:
   It depends. One way I have done it is to have the generator servlet save
 it
   on the session, and have the page the generator servlet writes make a
   request to a simple servlet that returns the graphic, and then deletes
 it
   from the session.
  
   Another way would be to write it to the temp dir. From the Servlet API
 Spec:
  
   SRV.3.7.1 Temporary Working Directories
   A temporary storage directory is required for each servlet context.
 Servlet
   containers must provide a private temporary directory per servlet
 context,
   and make
   it available via the javax.servlet.context.tempdir context attribute.
 The
   objects
   associated with the attribute must be of type java.io.File.
  
   Then, using a servlet mapping request the generated image and have the
   servlet retrieve the temporary image.
  
   I guess that you could make another dir writable to the server, and
 store
   the image in their natively.
  
   George Sexton
   MH Software, Inc.
   Home of Connect Daily Web Calendar Software
   http://www.mhsoftware.com/connectdaily.htm
   Voice: 303 438 9585
  
  
   -Original Message-
   From: Andy Wagg [mailto:[EMAIL PROTECTED]]
   Sent: 29 August, 2002 4:01 PM
   To: [EMAIL PROTECTED]
   Subject: Where should i put dynamically generated graphics
  
  
   Hello
  
   I have a web application that generates a gif file that is then
   subsequently displayed. It expects to find the gif file in the context
   of the web application. The web app is deployed as a war so obviously
   the generated files cant be put there. Any suggestions as to where these
   files could be copied that would be accesible by the browser.
  
   Thanks in advance.
  
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
  
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
  --
 
  Felipe Schnack
  Analista de Sistemas
  [EMAIL PROTECTED]
  Cel.: (51)91287530
  Linux Counter #281893
 
  Faculdade Ritter dos Reis
  www.ritterdosreis.br
  [EMAIL PROTECTED]
  Fone/Fax.: (51)32303328
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
-- 

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED]
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
[EMAIL PROTECTED]
Fone/Fax.: (51)32303328


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




Re: Where should i put dynamically generated graphics

2002-08-30 Thread Joel Sather


If you want a servlet to write out a GIF stream take a look at this: 
http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html

Basically, you have a seperate servlet that generates the GIF.  Then
your real page has a IMG tag that references the image display servlet
which sends back a GIF encoded stream.

And of course Google is your friend: 
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=java+servlet+write+gif

-Joel


Joel Sather
email: [EMAIL PROTECTED]
phone: 651-649-5789

 [EMAIL PROTECTED] 08/30/02 09:53AM 
  Yes, I would like the solution where we can write to the servlet
outputstream, but I have no idea how to do it.

On Fri, 2002-08-30 at 10:21, Michael E. Locasto wrote:
 I can think of a couple of ways offhand:
 
 -process the request
 -generate your image
 -store your image somewhere (optional)
 - either
 - write the image directly out to the servlet's underlying
 outputstream
 as a buffered byte output stream (I don't think PrintWriter
would be
 appropriate. This would probably also in involve a
 response.setContentType(image/gif); ... but i've never done this,
so I'm
 probably wrong.)
 
 -or-
 
 -store your image somewhere
 -return html that has a bunch of img src= tags or
hyperlinks to
 the images
 eg:
 /* get my images! */
   public void doGet(HttpServletRequest request,
   HttpServletResponse response)
   throws IOException, ServletException {
 /* optionally clean out the temp image directory */
 /* genrt imgs, store in gen_images/username/ under the current
context
 */
 
  response.setContentType(text/html);
  PrintWriter out = response.getWriter();
   out.println( htmlbody );
   out.println( img src=\gen_images/username/foo.gif\  );
   out.println( img src=\gen_images/username/foo1.gif\  );
   out.println( img src=\gen_images/username/foo2.gif\  );
   out.println( /body/html );
 }
 
 of course, feel free to spruce that html up ;)
 
 hope that helps,
 Michael
 
 - Original Message -
 From: Felipe Schnack [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, August 30, 2002 8:06 AM
 Subject: RE: Where should i put dynamically generated graphics
 
 
How can I return an image from a servlet??
 
  On Thu, 2002-08-29 at 20:05, Sexton, George wrote:
   It depends. One way I have done it is to have the generator
servlet save
 it
   on the session, and have the page the generator servlet writes
make a
   request to a simple servlet that returns the graphic, and then
deletes
 it
   from the session.
  
   Another way would be to write it to the temp dir. From the
Servlet API
 Spec:
  
   SRV.3.7.1 Temporary Working Directories
   A temporary storage directory is required for each servlet
context.
 Servlet
   containers must provide a private temporary directory per
servlet
 context,
   and make
   it available via the javax.servlet.context.tempdir context
attribute.
 The
   objects
   associated with the attribute must be of type java.io.File.
  
   Then, using a servlet mapping request the generated image and
have the
   servlet retrieve the temporary image.
  
   I guess that you could make another dir writable to the server,
and
 store
   the image in their natively.
  
   George Sexton
   MH Software, Inc.
   Home of Connect Daily Web Calendar Software
   http://www.mhsoftware.com/connectdaily.htm 
   Voice: 303 438 9585
  
  
   -Original Message-
   From: Andy Wagg [mailto:[EMAIL PROTECTED]] 
   Sent: 29 August, 2002 4:01 PM
   To: [EMAIL PROTECTED] 
   Subject: Where should i put dynamically generated graphics
  
  
   Hello
  
   I have a web application that generates a gif file that is then
   subsequently displayed. It expects to find the gif file in the
context
   of the web application. The web app is deployed as a war so
obviously
   the generated files cant be put there. Any suggestions as to
where these
   files could be copied that would be accesible by the browser.
  
   Thanks in advance.
  
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
  
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
  --
 
  Felipe Schnack
  Analista de Sistemas
  [EMAIL PROTECTED] 
  Cel.: (51)91287530
  Linux Counter #281893
 
  Faculdade Ritter dos Reis
  www.ritterdosreis.br 
  [EMAIL PROTECTED] 
  Fone/Fax.: (51)32303328
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:  
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
-- 

Felipe Schnack
Analista de Sistemas
[EMAIL PROTECTED] 
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br 
[EMAIL PROTECTED] 
Fone/Fax.: (51)32303328


--
To unsubscribe, e-mail:  
mailto

need a clue brick: where is mod_jk

2002-08-30 Thread Vincent Stoessel

I am trying to find a copy of mod_jk.
Anyone know the location, src, binary or cvs
location of mod_jk? I've followed a wild goosechase
in the http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
directory structure.
Thanks in advance.


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


RE: need a clue brick: where is mod_jk

2002-08-30 Thread Turner, John


Source is here:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ (the
file that has connectors in the name)

Linux binaries are here (tomcat 3 mod_jk binaries work with tomcat 4 and
apache 1.3):
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i38
6/

John Turner
[EMAIL PROTECTED]


 -Original Message-
 From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 30, 2002 11:46 AM
 To: Tomcat Users List
 Subject: need a clue brick: where is mod_jk
 
 
 I am trying to find a copy of mod_jk.
 Anyone know the location, src, binary or cvs
 location of mod_jk? I've followed a wild goosechase
 in the http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
 directory structure.
 Thanks in advance.
 
 
 -- 
 Vincent Stoessel
 Linux Systems Developer
 vincent xaymaca.com
 

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




RE: need a clue brick: where is mod_jk

2002-08-30 Thread Wise, Bowden (Research)

Ditto
where are binaries for mod_jk for Windows??


-Original Message-
From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 11:46 AM
To: Tomcat Users List
Subject: need a clue brick: where is mod_jk


I am trying to find a copy of mod_jk.
Anyone know the location, src, binary or cvs
location of mod_jk? I've followed a wild goosechase
in the http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
directory structure.
Thanks in advance.


-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


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




Where to obtain mod_jk

2002-08-30 Thread Michael Timpe

Hi,

I need a mod_jk binary for a SuSE Linux 7.3.

All the folders in the download area of the jakarta project are empty 
(release, nightly, ...)

Where can I download a stable version of mod_jk for use with Apache2.



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




RE: need a clue brick: where is mod_jk

2002-08-30 Thread Turner, John


Thanks to a kind soul I've never met:
http://www.acg-gmbh.de/mod_jk/

John Turner
[EMAIL PROTECTED]

 -Original Message-
 From: Wise, Bowden (Research) [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 30, 2002 11:50 AM
 To: 'Tomcat Users List'
 Subject: RE: need a clue brick: where is mod_jk
 
 
 Ditto
 where are binaries for mod_jk for Windows??
 
 
 -Original Message-
 From: Vincent Stoessel [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 30, 2002 11:46 AM
 To: Tomcat Users List
 Subject: need a clue brick: where is mod_jk
 
 
 I am trying to find a copy of mod_jk.
 Anyone know the location, src, binary or cvs
 location of mod_jk? I've followed a wild goosechase
 in the http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/
 directory structure.
 Thanks in advance.
 
 
 -- 
 Vincent Stoessel
 Linux Systems Developer
 vincent xaymaca.com
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: Where to obtain mod_jk

2002-08-30 Thread Turner, John


There aren't any on the official site.  You will have to build from source,
or see if anyone else has it and wants to send it to you.

Source is here:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ 

John Turner
[EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 30, 2002 11:53 AM
 To: [EMAIL PROTECTED]
 Subject: Where to obtain mod_jk
 
 
 Hi,
 
 I need a mod_jk binary for a SuSE Linux 7.3.
 
 All the folders in the download area of the jakarta project are empty 
 (release, nightly, ...)
 
 Where can I download a stable version of mod_jk for use with Apache2.
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




Where should i put dynamically generated graphics

2002-08-29 Thread Andy Wagg

Hello

I have a web application that generates a gif file that is then 
subsequently displayed. It expects to find the gif file in the context 
of the web application. The web app is deployed as a war so obviously 
the generated files cant be put there. Any suggestions as to where these 
files could be copied that would be accesible by the browser.

Thanks in advance.


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




RE: Where should i put dynamically generated graphics

2002-08-29 Thread Sexton, George

It depends. One way I have done it is to have the generator servlet save it
on the session, and have the page the generator servlet writes make a
request to a simple servlet that returns the graphic, and then deletes it
from the session.

Another way would be to write it to the temp dir. From the Servlet API Spec:

SRV.3.7.1 Temporary Working Directories
A temporary storage directory is required for each servlet context. Servlet
containers must provide a private temporary directory per servlet context,
and make
it available via the javax.servlet.context.tempdir context attribute. The
objects
associated with the attribute must be of type java.io.File.

Then, using a servlet mapping request the generated image and have the
servlet retrieve the temporary image.

I guess that you could make another dir writable to the server, and store
the image in their natively.

George Sexton
MH Software, Inc.
Home of Connect Daily Web Calendar Software
http://www.mhsoftware.com/connectdaily.htm
Voice: 303 438 9585


-Original Message-
From: Andy Wagg [mailto:[EMAIL PROTECTED]]
Sent: 29 August, 2002 4:01 PM
To: [EMAIL PROTECTED]
Subject: Where should i put dynamically generated graphics


Hello

I have a web application that generates a gif file that is then
subsequently displayed. It expects to find the gif file in the context
of the web application. The web app is deployed as a war so obviously
the generated files cant be put there. Any suggestions as to where these
files could be copied that would be accesible by the browser.

Thanks in advance.


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


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




where is mod_jk.so?

2002-08-27 Thread Don

Hello,

I am trying to integrate Apache 1.3.26 with Tomcat 4.0.3 binary on Solaris
5.8.
Any pointers to good references on this would be appreciated.
I have found some info, regarding httpd.conf edits etc.  My
biggest problem now is coming up with mod_jk.so, source, binary...
Where do I find this module to add to Apache?

Thanks,

Don
[EMAIL PROTECTED]



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




RE: where is mod_jk.so?

2002-08-27 Thread Guoben Li

Don,

  It's in jakarta-tomcat-connectors-4.0.4-src.tar.gz from 
  http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src

  after you tar -xf it the subdirectory is ./jk/native/apache-1.3/

Guoben Li

-Original Message-
From: Don [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 27, 2002 9:02 AM
To: 'Tomcat Users List'
Subject: where is mod_jk.so?


Hello,

I am trying to integrate Apache 1.3.26 with Tomcat 4.0.3 binary on Solaris
5.8.
Any pointers to good references on this would be appreciated.
I have found some info, regarding httpd.conf edits etc.  My
biggest problem now is coming up with mod_jk.so, source, binary...
Where do I find this module to add to Apache?

Thanks,

Don
[EMAIL PROTECTED]



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


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




Where to locate class files

2002-08-21 Thread Barry Martin

I am developing an order form to run on Tomcat. The book I have says to
store the class files in tomcat-install\webapps\root\web-inf\classes
directory. The html file is located in the root directory and runs fine but
when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
this the correct directory to store class files? Any ideas appreciated.

Barry Martin


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




Re: Where to locate class files

2002-08-21 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 04:40:30PM -0600, Barry Martin wrote:
 I am developing an order form to run on Tomcat. The book I have says to
 store the class files in tomcat-install\webapps\root\web-inf\classes
 directory. The html file is located in the root directory and runs fine but
 when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
 this the correct directory to store class files? Any ideas appreciated.

yes, app specific classes should be in WEB-INF/classes.  from the
error it looks like tomcat can't find the class.  perhaps you
didn't make WEB-INF uppercase.  perhaps you put your class in a
package and didn't import it in the jsp or servlet.  perhaps you
didn't restart tomcat after adding the class to that directory.  if
you provide a little more information, we would be able to help you
more.

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBfCggA8sH0iRXQRAjfBAKC3DdCIU1uRbI99Q/H50KeWOYpNugCeOSfR
q8PPVeHwfSe7wfK6OlPqtEo=
=mJBg
-END PGP SIGNATURE-

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




Re: Where to locate class files

2002-08-21 Thread Will Hartung

From: Barry Martin [EMAIL PROTECTED]
Sent: Wednesday, August 21, 2002 3:40 PM


 I am developing an order form to run on Tomcat. The book I have says to
 store the class files in tomcat-install\webapps\root\web-inf\classes
 directory. The html file is located in the root directory and runs fine
but
 when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
 this the correct directory to store class files? Any ideas appreciated.

I don't know what book you're reading, but it's not important.

Read this:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html

and this: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/source.html

and then come back with any questions.

Be the webapp, Live the webapp, Love the webapp.

Regards,

Will Hartung
([EMAIL PROTECTED])





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




RE: Where to locate class files

2002-08-21 Thread Barry Martin

Thanks Peter,
The WEB-INF directory is in uppercase. I have tried restarting tomcat. This
is in a testing environment with tomcat running standalone on a win2k box.
The version of tomcat is 4.0.1. For the class file in question I simply
typed the java code in notepad and saved the .java to \classes and then
compiled from the command prompt which saved the .class file in the same
directory. It compiled fine.

Barry

-Original Message-
From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 4:44 PM
To: 'Tomcat Users List'
Subject: Re: Where to locate class files


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 04:40:30PM -0600, Barry Martin wrote:
 I am developing an order form to run on Tomcat. The book I have says to
 store the class files in tomcat-install\webapps\root\web-inf\classes
 directory. The html file is located in the root directory and runs fine
but
 when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
 this the correct directory to store class files? Any ideas appreciated.

yes, app specific classes should be in WEB-INF/classes.  from the
error it looks like tomcat can't find the class.  perhaps you
didn't make WEB-INF uppercase.  perhaps you put your class in a
package and didn't import it in the jsp or servlet.  perhaps you
didn't restart tomcat after adding the class to that directory.  if
you provide a little more information, we would be able to help you
more.

- --
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBfCggA8sH0iRXQRAjfBAKC3DdCIU1uRbI99Q/H50KeWOYpNugCeOSfR
q8PPVeHwfSe7wfK6OlPqtEo=
=mJBg
-END PGP SIGNATURE-

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



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




Re: Where to locate class files

2002-08-21 Thread Peter T. Abplanalp

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
 Thanks Peter,

welcome.

 The WEB-INF directory is in uppercase. I have tried restarting tomcat. This
 is in a testing environment with tomcat running standalone on a win2k box.
 The version of tomcat is 4.0.1. For the class file in question I simply
 typed the java code in notepad and saved the .java to \classes and then
 compiled from the command prompt which saved the .class file in the same
 directory. It compiled fine.

well, it seems you've done everything according to the law.  forgive
me for asking but you did name the class Spud and put it in Spud.java,
right?  can you post the code that calls Spud and the code for Spud?

- -- 
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
2n4EbkNtX6LmI6HtMKFy5Ws=
=eWDw
-END PGP SIGNATURE-

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




RE: Where to locate class files

2002-08-21 Thread Barry Martin

Sure Peter,

Here you go. Here is the html,jsp and java code.

Thanks, Barry

-Original Message-
From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 5:04 PM
To: 'Tomcat Users List'
Subject: Re: Where to locate class files


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
 Thanks Peter,

welcome.

 The WEB-INF directory is in uppercase. I have tried restarting tomcat.
This
 is in a testing environment with tomcat running standalone on a win2k box.
 The version of tomcat is 4.0.1. For the class file in question I simply
 typed the java code in notepad and saved the .java to \classes and then
 compiled from the command prompt which saved the .class file in the same
 directory. It compiled fine.

well, it seems you've done everything according to the law.  forgive
me for asking but you did name the class Spud and put it in Spud.java,
right?  can you post the code that calls Spud and the code for Spud?

- --
Peter Abplanalp

Email:   [EMAIL PROTECTED]
PGP: pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
2n4EbkNtX6LmI6HtMKFy5Ws=
=eWDw
-END PGP SIGNATURE-

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




confirmspud.jsp
Description: Binary data


Spud.java
Description: Binary data

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


RE: Where to locate class files

2002-08-21 Thread Ron Day

Are you using packages for your java code? If not that is your problem.

The default package is NOT the classes directory, but org.apache.jsp, so
if you don't explicitly use a package name, and put your class files in
classes, Tomcat will not find them.

Use a package name such as com.pk1.pk2 and put a directory structure
com/pk1/pk2/ under classes. Put your class files in pk2.

Ron

-Original Message-
From: Barry Martin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 5:41 PM
To: 'Tomcat Users List'
Subject: Where to locate class files


I am developing an order form to run on Tomcat. The book I have says to
store the class files in tomcat-install\webapps\root\web-inf\classes
directory. The html file is located in the root directory and runs fine but
when calling the jsp the error is:Class org.apache.jsp.Spud not found.  Is
this the correct directory to store class files? Any ideas appreciated.

Barry Martin


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




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




RE: Where to locate class files

2002-08-21 Thread Andrew Conrad

Here is your problem

Make your class part of a package, then reproduce the package in the
WEB-INF

For instance, if you call your package  com.MyFiles   put the Java file
in WEB-INF/com/MyFiles

Then in you jsp, do an import  com.MyFiles.Spud

- Andrew

 -Original Message-
 From: Barry Martin [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, August 21, 2002 7:20 PM
 To: 'Tomcat Users List'
 Subject: RE: Where to locate class files
 
 
 Sure Peter,
 
 Here you go. Here is the html,jsp and java code.
 
 Thanks, Barry
 
 -Original Message-
 From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 5:04 PM
 To: 'Tomcat Users List'
 Subject: Re: Where to locate class files
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
  Thanks Peter,
 
 welcome.
 
  The WEB-INF directory is in uppercase. I have tried 
 restarting tomcat.
 This
  is in a testing environment with tomcat running standalone 
 on a win2k 
  box. The version of tomcat is 4.0.1. For the class file in 
 question I 
  simply typed the java code in notepad and saved the .java 
 to \classes 
  and then compiled from the command prompt which saved the 
 .class file 
  in the same directory. It compiled fine.
 
 well, it seems you've done everything according to the law.  
 forgive me for asking but you did name the class Spud and put 
 it in Spud.java, right?  can you post the code that calls 
 Spud and the code for Spud?
 
 - --
 Peter Abplanalp
 
 Email:   [EMAIL PROTECTED]
 PGP: pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (GNU/Linux)
 
 iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
 2n4EbkNtX6LmI6HtMKFy5Ws=
 =eWDw
 -END PGP SIGNATURE-
 
 --
 To unsubscribe, e-mail: 
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 


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




RE: Where to locate class files

2002-08-21 Thread Ron Day

almoststart your package in classes directory

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:43 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Where to locate class files


Here is your problem

Make your class part of a package, then reproduce the package in the
WEB-INF

For instance, if you call your package  com.MyFiles   put the Java file
in WEB-INF/com/MyFiles

Then in you jsp, do an import  com.MyFiles.Spud

- Andrew

 -Original Message-
 From: Barry Martin [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 7:20 PM
 To: 'Tomcat Users List'
 Subject: RE: Where to locate class files


 Sure Peter,

 Here you go. Here is the html,jsp and java code.

 Thanks, Barry

 -Original Message-
 From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 5:04 PM
 To: 'Tomcat Users List'
 Subject: Re: Where to locate class files


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
  Thanks Peter,

 welcome.

  The WEB-INF directory is in uppercase. I have tried
 restarting tomcat.
 This
  is in a testing environment with tomcat running standalone
 on a win2k
  box. The version of tomcat is 4.0.1. For the class file in
 question I
  simply typed the java code in notepad and saved the .java
 to \classes
  and then compiled from the command prompt which saved the
 .class file
  in the same directory. It compiled fine.

 well, it seems you've done everything according to the law.
 forgive me for asking but you did name the class Spud and put
 it in Spud.java, right?  can you post the code that calls
 Spud and the code for Spud?

 - --
 Peter Abplanalp

 Email:   [EMAIL PROTECTED]
 PGP: pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (GNU/Linux)

 iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
 2n4EbkNtX6LmI6HtMKFy5Ws=
 =eWDw
 -END PGP SIGNATURE-

 --
 To unsubscribe, e-mail:
 mailto:tomcat-user- [EMAIL PROTECTED]
 For
 additional commands,
 e-mail: mailto:[EMAIL PROTECTED]




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




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




RE: Where to locate class files

2002-08-21 Thread Andrew Conrad

Whoops..   Type.


 -Original Message-
 From: Ron Day [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, August 21, 2002 8:51 PM
 To: Tomcat Users List
 Subject: RE: Where to locate class files
 
 
 almoststart your package in classes directory
 
 -Original Message-
 From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 7:43 PM
 To: 'Tomcat Users List'; [EMAIL PROTECTED]
 Subject: RE: Where to locate class files
 
 
 Here is your problem
 
 Make your class part of a package, then reproduce the package 
 in the WEB-INF
 
 For instance, if you call your package  com.MyFiles   put the 
 Java file
 in WEB-INF/com/MyFiles
 
 Then in you jsp, do an import  com.MyFiles.Spud
 
 - Andrew
 
  -Original Message-
  From: Barry Martin [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, August 21, 2002 7:20 PM
  To: 'Tomcat Users List'
  Subject: RE: Where to locate class files
 
 
  Sure Peter,
 
  Here you go. Here is the html,jsp and java code.
 
  Thanks, Barry
 
  -Original Message-
  From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, August 21, 2002 5:04 PM
  To: 'Tomcat Users List'
  Subject: Re: Where to locate class files
 
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
   Thanks Peter,
 
  welcome.
 
   The WEB-INF directory is in uppercase. I have tried
  restarting tomcat.
  This
   is in a testing environment with tomcat running standalone
  on a win2k
   box. The version of tomcat is 4.0.1. For the class file in
  question I
   simply typed the java code in notepad and saved the .java
  to \classes
   and then compiled from the command prompt which saved the
  .class file
   in the same directory. It compiled fine.
 
  well, it seems you've done everything according to the law. 
 forgive me 
  for asking but you did name the class Spud and put it in Spud.java, 
  right?  can you post the code that calls Spud and the code for Spud?
 
  - --
  Peter Abplanalp
 
  Email:   [EMAIL PROTECTED]
  PGP: pgp.mit.edu
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.0.7 (GNU/Linux)
 
  iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
  2n4EbkNtX6LmI6HtMKFy5Ws=
  =eWDw
  -END PGP SIGNATURE-
 
  --
  To unsubscribe, e-mail:
  mailto:tomcat-user- [EMAIL PROTECTED]
  For
  additional commands,
  e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail: 
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 


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




RE: Where to locate class files

2002-08-21 Thread Barry Martin

Could I also modify the web.xml file to point to my class files?

Barry

-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 6:51 PM
To: Tomcat Users List
Subject: RE: Where to locate class files


almoststart your package in classes directory

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:43 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Where to locate class files


Here is your problem

Make your class part of a package, then reproduce the package in the
WEB-INF

For instance, if you call your package  com.MyFiles   put the Java file
in WEB-INF/com/MyFiles

Then in you jsp, do an import  com.MyFiles.Spud

- Andrew

 -Original Message-
 From: Barry Martin [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 7:20 PM
 To: 'Tomcat Users List'
 Subject: RE: Where to locate class files


 Sure Peter,

 Here you go. Here is the html,jsp and java code.

 Thanks, Barry

 -Original Message-
 From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 5:04 PM
 To: 'Tomcat Users List'
 Subject: Re: Where to locate class files


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
  Thanks Peter,

 welcome.

  The WEB-INF directory is in uppercase. I have tried
 restarting tomcat.
 This
  is in a testing environment with tomcat running standalone
 on a win2k
  box. The version of tomcat is 4.0.1. For the class file in
 question I
  simply typed the java code in notepad and saved the .java
 to \classes
  and then compiled from the command prompt which saved the
 .class file
  in the same directory. It compiled fine.

 well, it seems you've done everything according to the law.
 forgive me for asking but you did name the class Spud and put
 it in Spud.java, right?  can you post the code that calls
 Spud and the code for Spud?

 - --
 Peter Abplanalp

 Email:   [EMAIL PROTECTED]
 PGP: pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (GNU/Linux)

 iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
 2n4EbkNtX6LmI6HtMKFy5Ws=
 =eWDw
 -END PGP SIGNATURE-

 --
 To unsubscribe, e-mail:
 mailto:tomcat-user- [EMAIL PROTECTED]
 For
 additional commands,
 e-mail: mailto:[EMAIL PROTECTED]




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




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



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




RE: Where to locate class files

2002-08-21 Thread Ron Day

No, only servlets are registered in web.xml. You really do need to use
packages believe me...

-Original Message-
From: Barry Martin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 9:02 PM
To: 'Tomcat Users List'
Subject: RE: Where to locate class files


Could I also modify the web.xml file to point to my class files?

Barry

-Original Message-
From: Ron Day [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 6:51 PM
To: Tomcat Users List
Subject: RE: Where to locate class files


almoststart your package in classes directory

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 7:43 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Where to locate class files


Here is your problem

Make your class part of a package, then reproduce the package in the
WEB-INF

For instance, if you call your package  com.MyFiles   put the Java file
in WEB-INF/com/MyFiles

Then in you jsp, do an import  com.MyFiles.Spud

- Andrew

 -Original Message-
 From: Barry Martin [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 7:20 PM
 To: 'Tomcat Users List'
 Subject: RE: Where to locate class files


 Sure Peter,

 Here you go. Here is the html,jsp and java code.

 Thanks, Barry

 -Original Message-
 From: Peter T. Abplanalp [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 21, 2002 5:04 PM
 To: 'Tomcat Users List'
 Subject: Re: Where to locate class files


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Wed, Aug 21, 2002 at 05:00:08PM -0600, Barry Martin wrote:
  Thanks Peter,

 welcome.

  The WEB-INF directory is in uppercase. I have tried
 restarting tomcat.
 This
  is in a testing environment with tomcat running standalone
 on a win2k
  box. The version of tomcat is 4.0.1. For the class file in
 question I
  simply typed the java code in notepad and saved the .java
 to \classes
  and then compiled from the command prompt which saved the
 .class file
  in the same directory. It compiled fine.

 well, it seems you've done everything according to the law.
 forgive me for asking but you did name the class Spud and put
 it in Spud.java, right?  can you post the code that calls
 Spud and the code for Spud?

 - --
 Peter Abplanalp

 Email:   [EMAIL PROTECTED]
 PGP: pgp.mit.edu
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.7 (GNU/Linux)

 iD8DBQE9ZBx8ggA8sH0iRXQRAkNWAJ0QM/vCHa8oKSoglc29mHTu++3DTwCfR8ta
 2n4EbkNtX6LmI6HtMKFy5Ws=
 =eWDw
 -END PGP SIGNATURE-

 --
 To unsubscribe, e-mail:
 mailto:tomcat-user- [EMAIL PROTECTED]
 For
 additional commands,
 e-mail: mailto:[EMAIL PROTECTED]




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




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



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


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




RE: Where are the connector binaries???

2002-08-19 Thread Turner, John


Are you editing httpd.conf manually, or are you using the auto-gen function
of tomcat to create mod_jk.conf?

John Turner


-Original Message-
From: Scott Adamson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 18, 2002 5:51 AM
To: Tomcat Users List
Subject: Re: Where are the connector binaries???


Apache won't start. Get the following in apache/logs/error_log -

No such file or directory: Error while opening the workers



conf/workers.properties contains the following -

workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
workers.java_home=/usr/java/jdk1.3
ps=/
worker.list=ajp12, ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13


- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 2:29 AM
Subject: RE: Where are the connector binaries???



 What's been happening when you try to get apache+tomcat+mod_jk to work?

 John Turner
 [EMAIL PROTECTED]

 -Original Message-
 From: Scott Adamson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 16, 2002 11:31 AM
 To: Tomcat Users List
 Subject: Re: Where are the connector binaries???


 I couldn't. The src is at
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/
 (couldn't get the bitch to compile)
 although I used the binaries for 3.3, which are supposed to work with
tomcat
 4, although I have not got it to work yet. Good luck, you will need it !

 Scott.



 - Original Message -
 From: Peter Alvin [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, August 17, 2002 2:15 AM
 Subject: Where are the connector binaries???


 I'm looking in:

 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
 v1.2.0/bin/linux/i386/

 and I can't find _any_ binaries for release, nightly, or rpms.   All
 the directories seem to be EMPTY. Does anyone know where to find the
 current connector binaries?

 Pete




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




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

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




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

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




Re: Where are the connector binaries???

2002-08-18 Thread Scott Adamson

Apache won't start. Get the following in apache/logs/error_log -

No such file or directory: Error while opening the workers



conf/workers.properties contains the following -

workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4
workers.java_home=/usr/java/jdk1.3
ps=/
worker.list=ajp12, ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13


- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 2:29 AM
Subject: RE: Where are the connector binaries???



 What's been happening when you try to get apache+tomcat+mod_jk to work?

 John Turner
 [EMAIL PROTECTED]

 -Original Message-
 From: Scott Adamson [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 16, 2002 11:31 AM
 To: Tomcat Users List
 Subject: Re: Where are the connector binaries???


 I couldn't. The src is at
 http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/
 (couldn't get the bitch to compile)
 although I used the binaries for 3.3, which are supposed to work with
tomcat
 4, although I have not got it to work yet. Good luck, you will need it !

 Scott.



 - Original Message -
 From: Peter Alvin [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, August 17, 2002 2:15 AM
 Subject: Where are the connector binaries???


 I'm looking in:

 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
 v1.2.0/bin/linux/i386/

 and I can't find _any_ binaries for release, nightly, or rpms.   All
 the directories seem to be EMPTY. Does anyone know where to find the
 current connector binaries?

 Pete




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




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

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




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




RE: where can i download request taglib

2002-08-16 Thread Turner, John


http://jakarta.apache.org/taglibs/index.html

Click the library you want on the left-hand side.  Every library-specific
page has a download link.  For the request taglib, it's:

http://jakarta.apache.org/builds/jakarta-taglibs/releases/request/ (release)
http://jakarta.apache.org/builds/jakarta-taglibs/nightly/projects/request/
(nightly)

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Mark Goking [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 1:12 AM
To: Tomcat Users List
Subject: where can i download request taglib



anyone know the link to download the request taglib ?

this is the main page that i went to but i couldnt find a download link
within this page

http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#jav
adocs

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

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

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




Where are the connector binaries???

2002-08-16 Thread Peter Alvin

I'm looking in:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
v1.2.0/bin/linux/i386/

and I can't find _any_ binaries for release, nightly, or rpms.   All
the directories seem to be EMPTY. Does anyone know where to find the
current connector binaries?

Pete




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




RE: Where are the connector binaries???

2002-08-16 Thread Turner, John


The mod_jk binaries for Linux are here:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux/i38
6/

They are compatible with tomcat 4.

That said, compiling them from source is a piece of cake.

John Turner
[EMAIL PROTECTED]

-Original Message-
From: Peter Alvin [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 12:16 PM
To: Tomcat Users List
Subject: Where are the connector binaries???


I'm looking in:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
v1.2.0/bin/linux/i386/

and I can't find _any_ binaries for release, nightly, or rpms.   All 
the directories seem to be EMPTY. Does anyone know where to find the 
current connector binaries?

Pete




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

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




Re: Where are the connector binaries???

2002-08-16 Thread Scott Adamson

I couldn't. The src is at
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/
(couldn't get the bitch to compile)
although I used the binaries for 3.3, which are supposed to work with tomcat
4, although I have not got it to work yet. Good luck, you will need it !

Scott.



- Original Message -
From: Peter Alvin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 2:15 AM
Subject: Where are the connector binaries???


I'm looking in:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
v1.2.0/bin/linux/i386/

and I can't find _any_ binaries for release, nightly, or rpms.   All
the directories seem to be EMPTY. Does anyone know where to find the
current connector binaries?

Pete




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




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




RE: Where are the connector binaries???

2002-08-16 Thread Turner, John


What's been happening when you try to get apache+tomcat+mod_jk to work?

John Turner
[EMAIL PROTECTED]

-Original Message-
From: Scott Adamson [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 11:31 AM
To: Tomcat Users List
Subject: Re: Where are the connector binaries???


I couldn't. The src is at
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/
(couldn't get the bitch to compile)
although I used the binaries for 3.3, which are supposed to work with tomcat
4, although I have not got it to work yet. Good luck, you will need it !

Scott.



- Original Message -
From: Peter Alvin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 17, 2002 2:15 AM
Subject: Where are the connector binaries???


I'm looking in:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
v1.2.0/bin/linux/i386/

and I can't find _any_ binaries for release, nightly, or rpms.   All
the directories seem to be EMPTY. Does anyone know where to find the
current connector binaries?

Pete




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




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

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




RE: Where are the connector binaries???

2002-08-16 Thread Brian Orledge

They are compatible with tomcat 4 but not with Apache 2 .  Apache cannot
load the module.  The error is : undefined symbol : ap_table_get



-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 16, 2002 12:26 PM
To: 'Tomcat Users List'
Subject: RE: Where are the connector binaries???


The mod_jk binaries for Linux are here:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux
/i38
6/

They are compatible with tomcat 4.

That said, compiling them from source is a piece of cake.

John Turner
[EMAIL PROTECTED]

-Original Message-
From: Peter Alvin [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 12:16 PM
To: Tomcat Users List
Subject: Where are the connector binaries???


I'm looking in:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
v1.2.0/bin/linux/i386/

and I can't find _any_ binaries for release, nightly, or rpms.   All 
the directories seem to be EMPTY. Does anyone know where to find the 
current connector binaries?

Pete




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

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


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




RE: Where are the connector binaries???

2002-08-16 Thread Turner, John


who said anything about apache 2? ;)

John


-Original Message-
From: Brian Orledge [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 12:42 PM
To: 'Tomcat Users List'
Subject: RE: Where are the connector binaries???


They are compatible with tomcat 4 but not with Apache 2 .  Apache cannot
load the module.  The error is : undefined symbol : ap_table_get



-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 16, 2002 12:26 PM
To: 'Tomcat Users List'
Subject: RE: Where are the connector binaries???


The mod_jk binaries for Linux are here:
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1/bin/linux
/i38
6/

They are compatible with tomcat 4.

That said, compiling them from source is a piece of cake.

John Turner
[EMAIL PROTECTED]

-Original Message-
From: Peter Alvin [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 12:16 PM
To: Tomcat Users List
Subject: Where are the connector binaries???


I'm looking in:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/
v1.2.0/bin/linux/i386/

and I can't find _any_ binaries for release, nightly, or rpms.   All 
the directories seem to be EMPTY. Does anyone know where to find the 
current connector binaries?

Pete




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

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


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

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




where can i download request taglib

2002-08-15 Thread Mark Goking


anyone know the link to download the request taglib ?

this is the main page that i went to but i couldnt find a download link within this 
page

http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#javadocs

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 

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




RE: where can i download request taglib

2002-08-15 Thread Galbayar

simple taglib example extract this webapps directory

-Original Message-
From: Mark Goking [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 2:12 PM
To: Tomcat Users List
Subject: where can i download request taglib



anyone know the link to download the request taglib ?

this is the main page that i went to but i couldnt find a download link
within this page

http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#jav
adocs

mark

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002


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




test.zip
Description: application/compressed

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


RE: j_username in session cookie - where did it go?

2002-08-14 Thread Mark Schmeets

whoa, that seems like a very oversimplified answer. Some of us require
security at the data level too. A solution like that makes Tomcat's
authentication useless in that situation...


Mark


-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 11:11 PM
To: Tomcat Users List
Subject: Re: j_username in session cookie - where did it go?




On Tue, 13 Aug 2002, Ed Thompson wrote:

 Date: Tue, 13 Aug 2002 22:56:32 -0400
 From: Ed Thompson [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: j_username in session cookie - where did it go?

 I was also scrapping the password - used j_userbane and j_passwd  for
 database access.


There is no portable way to do that.  And Tomcat 4 does not expose them,
because the password because it is none of the app's business -- the user
is either authenticated or not.

 Any hints on that one?

Re-architect your app so that it needs only the username.

Craig



 - Original Message -
 From: Craig R. McClanahan [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 10:41 PM
 Subject: Re: j_username in session cookie - where did it go?


 
 
  On Tue, 13 Aug 2002, Ed Thompson wrote:
 
   Date: Tue, 13 Aug 2002 21:57:53 -0400
   From: Ed Thompson [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Subject: j_username in session cookie - where did it go?
  
   I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
   Tomcat 4.0.4.
  
   I am using form based authentication, and found under 3.2 I could pull
   j_username out of the session cookie after authenticaion was done.
  
 
  That's not how it really worked under 3.2, although if you are using
BASIC
  authentication you could decode the username out of the Authorization
  header.
 
   Now under Tomcat 4 it doesn't seem to be there.  I know I tried it
under
   Tomcat 4.0.1 before I upgraded and it worked, but not after
uninstalling
 3.2
   and installing 4.0.4 from scratch..
  
   Can anyone shed light on what is (not) happening?  Have the rules
 changed or
   have I not cfg'd something properly?
  
 
  The portable way to get ahold of the authenticated username is to call
  request.getRemoteUser().  See the servlet spec for more details on
  container managed security:
 
  http://java.sun.com/products/servlet/download.html
 
   Thanx!
   Ed
 
  Craig
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



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




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


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




AW: j_username in session cookie - where did it go?

2002-08-14 Thread Ralph Einfeldt

Was has the security on the data level to do with Craigs answer?

The container makes the authentication, that is it checks the 
username and password against a Realm. After that the application
knows who is logged in and which roles this user has. That's
the only thin that a application needs to show or not show any 
information.

For what do you need a password on this level or j_username ?


 -Ursprüngliche Nachricht-
 Von: Mark Schmeets [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 14. August 2002 16:54
 An: Tomcat Users List
 Betreff: RE: j_username in session cookie - where did it go?
 
 
 whoa, that seems like a very oversimplified answer. Some of us require
 security at the data level too. A solution like that makes Tomcat's
 authentication useless in that situation...
 
 
 Mark
 
 
 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 13, 2002 11:11 PM
 To: Tomcat Users List
 Subject: Re: j_username in session cookie - where did it go?
 
 
 
 
 On Tue, 13 Aug 2002, Ed Thompson wrote:
 
  Date: Tue, 13 Aug 2002 22:56:32 -0400
  From: Ed Thompson [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Re: j_username in session cookie - where did it go?
 
  I was also scrapping the password - used j_userbane and 
 j_passwd  for
  database access.
 
 
 There is no portable way to do that.  And Tomcat 4 does not 
 expose them,
 because the password because it is none of the app's business 
 -- the user
 is either authenticated or not.
 
  Any hints on that one?
 
 Re-architect your app so that it needs only the username.
 
 Craig
 
 
 
  - Original Message -
  From: Craig R. McClanahan [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 10:41 PM
  Subject: Re: j_username in session cookie - where did it go?
 
 
  
  
   On Tue, 13 Aug 2002, Ed Thompson wrote:
  
Date: Tue, 13 Aug 2002 21:57:53 -0400
From: Ed Thompson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: j_username in session cookie - where did it go?
   
I have just upgraded (uninstalled and reintsalled) from 
 Tomcat 3.2 to
Tomcat 4.0.4.
   
I am using form based authentication, and found under 
 3.2 I could pull
j_username out of the session cookie after 
 authenticaion was done.
   
  
   That's not how it really worked under 3.2, although if 
 you are using
 BASIC
   authentication you could decode the username out of the 
 Authorization
   header.
  
Now under Tomcat 4 it doesn't seem to be there.  I know 
 I tried it
 under
Tomcat 4.0.1 before I upgraded and it worked, but not after
 uninstalling
  3.2
and installing 4.0.4 from scratch..
   
Can anyone shed light on what is (not) happening?  Have 
 the rules
  changed or
have I not cfg'd something properly?
   
  
   The portable way to get ahold of the authenticated 
 username is to call
   request.getRemoteUser().  See the servlet spec for more details on
   container managed security:
  
   http://java.sun.com/products/servlet/download.html
  
Thanx!
Ed
  
   Craig
  
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



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




RE: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan



On Wed, 14 Aug 2002, Mark Schmeets wrote:

 Date: Wed, 14 Aug 2002 10:54:04 -0400
 From: Mark Schmeets [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: j_username in session cookie - where did it go?

 whoa, that seems like a very oversimplified answer. Some of us require
 security at the data level too. A solution like that makes Tomcat's
 authentication useless in that situation...


If you base your data security on the fact that the container has already
authenticated the user (and if you trust the container), why do you need
the password again?  You already know who the user is, and you can find
out if he/she has a particular role used to protect the data you are
checking for access rights to.


 Mark

Craig




 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 13, 2002 11:11 PM
 To: Tomcat Users List
 Subject: Re: j_username in session cookie - where did it go?




 On Tue, 13 Aug 2002, Ed Thompson wrote:

  Date: Tue, 13 Aug 2002 22:56:32 -0400
  From: Ed Thompson [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Re: j_username in session cookie - where did it go?
 
  I was also scrapping the password - used j_userbane and j_passwd  for
  database access.
 

 There is no portable way to do that.  And Tomcat 4 does not expose them,
 because the password because it is none of the app's business -- the user
 is either authenticated or not.

  Any hints on that one?

 Re-architect your app so that it needs only the username.

 Craig


 
  - Original Message -
  From: Craig R. McClanahan [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 10:41 PM
  Subject: Re: j_username in session cookie - where did it go?
 
 
  
  
   On Tue, 13 Aug 2002, Ed Thompson wrote:
  
Date: Tue, 13 Aug 2002 21:57:53 -0400
From: Ed Thompson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: j_username in session cookie - where did it go?
   
I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
Tomcat 4.0.4.
   
I am using form based authentication, and found under 3.2 I could pull
j_username out of the session cookie after authenticaion was done.
   
  
   That's not how it really worked under 3.2, although if you are using
 BASIC
   authentication you could decode the username out of the Authorization
   header.
  
Now under Tomcat 4 it doesn't seem to be there.  I know I tried it
 under
Tomcat 4.0.1 before I upgraded and it worked, but not after
 uninstalling
  3.2
and installing 4.0.4 from scratch..
   
Can anyone shed light on what is (not) happening?  Have the rules
  changed or
have I not cfg'd something properly?
   
  
   The portable way to get ahold of the authenticated username is to call
   request.getRemoteUser().  See the servlet spec for more details on
   container managed security:
  
   http://java.sun.com/products/servlet/download.html
  
Thanx!
Ed
  
   Craig
  
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 


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


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




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




RE: j_username in session cookie - where did it go?

2002-08-14 Thread Mark Schmeets

Well, I know there are a lot of other ways of doing this, but having the
username and password from forms auth makes it very simple. The username and
password are for the database. The servlet app isn't necessarily the only
app to access certain data, there may well be some legacy and client-server
apps too. Besides, some architects like to keep security at the database
level.
I didn't mean to suggest that there aren't other ways, just that Craig's
suggestion sounded pretty severe.



-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 12:18 PM
To: Tomcat Users List
Subject: AW: j_username in session cookie - where did it go?


Was has the security on the data level to do with Craigs answer?

The container makes the authentication, that is it checks the
username and password against a Realm. After that the application
knows who is logged in and which roles this user has. That's
the only thin that a application needs to show or not show any
information.

For what do you need a password on this level or j_username ?


 -Ursprüngliche Nachricht-
 Von: Mark Schmeets [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 14. August 2002 16:54
 An: Tomcat Users List
 Betreff: RE: j_username in session cookie - where did it go?


 whoa, that seems like a very oversimplified answer. Some of us require
 security at the data level too. A solution like that makes Tomcat's
 authentication useless in that situation...


 Mark


 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 13, 2002 11:11 PM
 To: Tomcat Users List
 Subject: Re: j_username in session cookie - where did it go?




 On Tue, 13 Aug 2002, Ed Thompson wrote:

  Date: Tue, 13 Aug 2002 22:56:32 -0400
  From: Ed Thompson [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Re: j_username in session cookie - where did it go?
 
  I was also scrapping the password - used j_userbane and
 j_passwd  for
  database access.
 

 There is no portable way to do that.  And Tomcat 4 does not
 expose them,
 because the password because it is none of the app's business
 -- the user
 is either authenticated or not.

  Any hints on that one?

 Re-architect your app so that it needs only the username.

 Craig


 
  - Original Message -
  From: Craig R. McClanahan [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 10:41 PM
  Subject: Re: j_username in session cookie - where did it go?
 
 
  
  
   On Tue, 13 Aug 2002, Ed Thompson wrote:
  
Date: Tue, 13 Aug 2002 21:57:53 -0400
From: Ed Thompson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: j_username in session cookie - where did it go?
   
I have just upgraded (uninstalled and reintsalled) from
 Tomcat 3.2 to
Tomcat 4.0.4.
   
I am using form based authentication, and found under
 3.2 I could pull
j_username out of the session cookie after
 authenticaion was done.
   
  
   That's not how it really worked under 3.2, although if
 you are using
 BASIC
   authentication you could decode the username out of the
 Authorization
   header.
  
Now under Tomcat 4 it doesn't seem to be there.  I know
 I tried it
 under
Tomcat 4.0.1 before I upgraded and it worked, but not after
 uninstalling
  3.2
and installing 4.0.4 from scratch..
   
Can anyone shed light on what is (not) happening?  Have
 the rules
  changed or
have I not cfg'd something properly?
   
  
   The portable way to get ahold of the authenticated
 username is to call
   request.getRemoteUser().  See the servlet spec for more details on
   container managed security:
  
   http://java.sun.com/products/servlet/download.html
  
Thanx!
Ed
  
   Craig
  
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 


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


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



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


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




RE: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan



On Wed, 14 Aug 2002, Mark Schmeets wrote:

 Date: Wed, 14 Aug 2002 13:47:48 -0400
 From: Mark Schmeets [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: j_username in session cookie - where did it go?

 Well, I know there are a lot of other ways of doing this, but having the
 username and password from forms auth makes it very simple. The username and
 password are for the database. The servlet app isn't necessarily the only
 app to access certain data, there may well be some legacy and client-server
 apps too. Besides, some architects like to keep security at the database
 level.
 I didn't mean to suggest that there aren't other ways, just that Craig's
 suggestion sounded pretty severe.


Sorry ... but that's the kind of thing that happens when you depend on
non-portable features of one particular version of one servlet container.

Of course, the idea of using the same username/password for access to the
webapp (where any network snooper can read them) *and* the database (where
anyone inside your organization can cause all sorts of mischief) doesn't
sound like a real secure design in the first place, but that's a whole
different discussion.

Craig


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




RE: j_username in session cookie - where did it go?

2002-08-14 Thread Mark Schmeets

Thanks Craig.
Don't mean to take this too far off topic, and am not trying to start a
flame with it. I am curious as to why this is a non-portable feature. Or is
that what you mean. That it is an implementation artifact of Tomcat and not
in the servlet spec?
I think there are a lot of options, this was just one. Certainly you could
auth at the webapp and use the username to do a look up somewhere else for
database creds. But forms auth can also be useful (assuming https). I
rolled my own becuase the container didn't provide what I needed, and that
is the way it should be. But the whole idea here is to keep the security at
the database, so people in the organization can't mess around with it.

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 2:28 PM
To: Tomcat Users List
Subject: RE: j_username in session cookie - where did it go?




On Wed, 14 Aug 2002, Mark Schmeets wrote:

 Date: Wed, 14 Aug 2002 13:47:48 -0400
 From: Mark Schmeets [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: j_username in session cookie - where did it go?

 Well, I know there are a lot of other ways of doing this, but having the
 username and password from forms auth makes it very simple. The username
and
 password are for the database. The servlet app isn't necessarily the only
 app to access certain data, there may well be some legacy and
client-server
 apps too. Besides, some architects like to keep security at the database
 level.
 I didn't mean to suggest that there aren't other ways, just that Craig's
 suggestion sounded pretty severe.


Sorry ... but that's the kind of thing that happens when you depend on
non-portable features of one particular version of one servlet container.

Of course, the idea of using the same username/password for access to the
webapp (where any network snooper can read them) *and* the database (where
anyone inside your organization can cause all sorts of mischief) doesn't
sound like a real secure design in the first place, but that's a whole
different discussion.

Craig


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


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




RE: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan



On Wed, 14 Aug 2002, Mark Schmeets wrote:

 Date: Wed, 14 Aug 2002 15:12:08 -0400
 From: Mark Schmeets [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: j_username in session cookie - where did it go?

 Thanks Craig.
 Don't mean to take this too far off topic, and am not trying to start a
 flame with it. I am curious as to why this is a non-portable feature. Or is
 that what you mean. That it is an implementation artifact of Tomcat and not
 in the servlet spec?

The fact that Tomcat 3.x exposed j_username and j_password as attributes
is absolutely, positively an implementation artifact of that particular
version of Tomcat.  The fact that the attribute names didn't start with
javax.servlet should have been your first clue.

To see what *is* in the spec, you need to get the spec:

  http://java.sun.com/products/servlet/download.html

and read what Section 12.5.3 has to say about how form based login works.
Nothing outside this list of behaviors is at all portable.

 I think there are a lot of options, this was just one. Certainly you could
 auth at the webapp and use the username to do a look up somewhere else for
 database creds. But forms auth can also be useful (assuming https). I
 rolled my own becuase the container didn't provide what I needed, and that
 is the way it should be. But the whole idea here is to keep the security at
 the database, so people in the organization can't mess around with it.


It sounds like you might be better off doing roll your own
authentication for the webapp as well, and not just the database.  That
way, your own implementation of form-based security can do what you need.

Craig


 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, August 14, 2002 2:28 PM
 To: Tomcat Users List
 Subject: RE: j_username in session cookie - where did it go?




 On Wed, 14 Aug 2002, Mark Schmeets wrote:

  Date: Wed, 14 Aug 2002 13:47:48 -0400
  From: Mark Schmeets [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: RE: j_username in session cookie - where did it go?
 
  Well, I know there are a lot of other ways of doing this, but having the
  username and password from forms auth makes it very simple. The username
 and
  password are for the database. The servlet app isn't necessarily the only
  app to access certain data, there may well be some legacy and
 client-server
  apps too. Besides, some architects like to keep security at the database
  level.
  I didn't mean to suggest that there aren't other ways, just that Craig's
  suggestion sounded pretty severe.
 

 Sorry ... but that's the kind of thing that happens when you depend on
 non-portable features of one particular version of one servlet container.

 Of course, the idea of using the same username/password for access to the
 webapp (where any network snooper can read them) *and* the database (where
 anyone inside your organization can cause all sorts of mischief) doesn't
 sound like a real secure design in the first place, but that's a whole
 different discussion.

 Craig


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


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




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




Re: j_username in session cookie - where did it go?

2002-08-14 Thread Ed Thompson

OK, exploring the alternatives -

I authenticate, then I  call the snoop.jsp in the tomcat examples directory,
and it indicates remote User is null.

Am I missing something else?

- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 10:41 PM
Subject: Re: j_username in session cookie - where did it go?




 On Tue, 13 Aug 2002, Ed Thompson wrote:

  Date: Tue, 13 Aug 2002 21:57:53 -0400
  From: Ed Thompson [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: j_username in session cookie - where did it go?
 
  I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
  Tomcat 4.0.4.
 
  I am using form based authentication, and found under 3.2 I could pull
  j_username out of the session cookie after authenticaion was done.
 

 That's not how it really worked under 3.2, although if you are using BASIC
 authentication you could decode the username out of the Authorization
 header.

  Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
  Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling
3.2
  and installing 4.0.4 from scratch..
 
  Can anyone shed light on what is (not) happening?  Have the rules
changed or
  have I not cfg'd something properly?
 

 The portable way to get ahold of the authenticated username is to call
 request.getRemoteUser().  See the servlet spec for more details on
 container managed security:

 http://java.sun.com/products/servlet/download.html

  Thanx!
  Ed

 Craig


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




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




Re: j_username in session cookie - where did it go?

2002-08-14 Thread Milt Epstein

On Wed, 14 Aug 2002, Ed Thompson wrote:

 OK, exploring the alternatives -

 I authenticate, then I  call the snoop.jsp in the tomcat examples
 directory, and it indicates remote User is null.

 Am I missing something else?

Are you doing this through Apache, or Tomcat standalone?  If the
former, do you have tomcatAuthentication=false in your Connector tag
in your server.xml?  I had to put that in there for the AJP connector
in order to get this to work.


 - Original Message -
 From: Craig R. McClanahan [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 10:41 PM
 Subject: Re: j_username in session cookie - where did it go?


 
 
  On Tue, 13 Aug 2002, Ed Thompson wrote:
 
   Date: Tue, 13 Aug 2002 21:57:53 -0400
   From: Ed Thompson [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Subject: j_username in session cookie - where did it go?
  
   I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
   Tomcat 4.0.4.
  
   I am using form based authentication, and found under 3.2 I could pull
   j_username out of the session cookie after authenticaion was done.
  
 
  That's not how it really worked under 3.2, although if you are using BASIC
  authentication you could decode the username out of the Authorization
  header.
 
   Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
   Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling
 3.2
   and installing 4.0.4 from scratch..
  
   Can anyone shed light on what is (not) happening?  Have the rules
 changed or
   have I not cfg'd something properly?
  
 
  The portable way to get ahold of the authenticated username is to call
  request.getRemoteUser().  See the servlet spec for more details on
  container managed security:
 
  http://java.sun.com/products/servlet/download.html
 
   Thanx!
   Ed
 
  Craig
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



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


Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Re: j_username in session cookie - where did it go?

2002-08-14 Thread Craig R. McClanahan



On Wed, 14 Aug 2002, Ed Thompson wrote:

 Date: Wed, 14 Aug 2002 19:27:03 -0400
 From: Ed Thompson [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: j_username in session cookie - where did it go?

 OK, exploring the alternatives -

 I authenticate, then I  call the snoop.jsp in the tomcat examples directory,
 and it indicates remote User is null.

 Am I missing something else?


Authentication is per-webapp unless you turn on the Single Sign On
feature.  See http://localhost:8080/tomcat-docs/config/host.html; for
more about single sign on (under Special Features).

Craig


 - Original Message -
 From: Craig R. McClanahan [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 10:41 PM
 Subject: Re: j_username in session cookie - where did it go?


 
 
  On Tue, 13 Aug 2002, Ed Thompson wrote:
 
   Date: Tue, 13 Aug 2002 21:57:53 -0400
   From: Ed Thompson [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Subject: j_username in session cookie - where did it go?
  
   I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
   Tomcat 4.0.4.
  
   I am using form based authentication, and found under 3.2 I could pull
   j_username out of the session cookie after authenticaion was done.
  
 
  That's not how it really worked under 3.2, although if you are using BASIC
  authentication you could decode the username out of the Authorization
  header.
 
   Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
   Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling
 3.2
   and installing 4.0.4 from scratch..
  
   Can anyone shed light on what is (not) happening?  Have the rules
 changed or
   have I not cfg'd something properly?
  
 
  The portable way to get ahold of the authenticated username is to call
  request.getRemoteUser().  See the servlet spec for more details on
  container managed security:
 
  http://java.sun.com/products/servlet/download.html
 
   Thanx!
   Ed
 
  Craig
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



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




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




Re: j_username in session cookie - where did it go?

2002-08-14 Thread Ed Thompson

It defaults to true, and I don't have it explicitly set.

I got getRemoteUser to work, now I just need to find a password passing
strategy...

- Original Message -
From: Milt Epstein [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, August 14, 2002 7:54 PM
Subject: Re: j_username in session cookie - where did it go?


 On Wed, 14 Aug 2002, Ed Thompson wrote:

  OK, exploring the alternatives -
 
  I authenticate, then I  call the snoop.jsp in the tomcat examples
  directory, and it indicates remote User is null.
 
  Am I missing something else?

 Are you doing this through Apache, or Tomcat standalone?  If the
 former, do you have tomcatAuthentication=false in your Connector tag
 in your server.xml?  I had to put that in there for the AJP connector
 in order to get this to work.


  - Original Message -
  From: Craig R. McClanahan [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Tuesday, August 13, 2002 10:41 PM
  Subject: Re: j_username in session cookie - where did it go?
 
 
  
  
   On Tue, 13 Aug 2002, Ed Thompson wrote:
  
Date: Tue, 13 Aug 2002 21:57:53 -0400
From: Ed Thompson [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: j_username in session cookie - where did it go?
   
I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2
to
Tomcat 4.0.4.
   
I am using form based authentication, and found under 3.2 I could
pull
j_username out of the session cookie after authenticaion was done.
   
  
   That's not how it really worked under 3.2, although if you are using
BASIC
   authentication you could decode the username out of the
Authorization
   header.
  
Now under Tomcat 4 it doesn't seem to be there.  I know I tried it
under
Tomcat 4.0.1 before I upgraded and it worked, but not after
uninstalling
  3.2
and installing 4.0.4 from scratch..
   
Can anyone shed light on what is (not) happening?  Have the rules
  changed or
have I not cfg'd something properly?
   
  
   The portable way to get ahold of the authenticated username is to call
   request.getRemoteUser().  See the servlet spec for more details on
   container managed security:
  
   http://java.sun.com/products/servlet/download.html
  
Thanx!
Ed
  
   Craig
  
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
 
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 

 Milt Epstein
 Research Programmer
 Systems and Technology Services (STS)
 Campus Information Technologies and Educational Services (CITES)
 University of Illinois at Urbana-Champaign (UIUC)
 [EMAIL PROTECTED]


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




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




Re: j_username in session cookie - where did it go?

2002-08-14 Thread Milt Epstein

On Wed, 14 Aug 2002, Ed Thompson wrote:

 It defaults to true, and I don't have it explicitly set.

Yeah, but what I was saying is that sometimes you need it to be false
(i.e. you need to explicitly set it to false).


 I got getRemoteUser to work, now I just need to find a password
 passing strategy...

If you got getRemoteUser to work, then the above is not the problem.
As to a password passing strategy, I suggest heeding Craig's advice.


 - Original Message -
 From: Milt Epstein [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, August 14, 2002 7:54 PM
 Subject: Re: j_username in session cookie - where did it go?


  On Wed, 14 Aug 2002, Ed Thompson wrote:
 
   OK, exploring the alternatives -
  
   I authenticate, then I  call the snoop.jsp in the tomcat examples
   directory, and it indicates remote User is null.
  
   Am I missing something else?
 
  Are you doing this through Apache, or Tomcat standalone?  If the
  former, do you have tomcatAuthentication=false in your Connector tag
  in your server.xml?  I had to put that in there for the AJP connector
  in order to get this to work.
 
 
   - Original Message -
   From: Craig R. McClanahan [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Sent: Tuesday, August 13, 2002 10:41 PM
   Subject: Re: j_username in session cookie - where did it go?
  
  
   
   
On Tue, 13 Aug 2002, Ed Thompson wrote:
   
 Date: Tue, 13 Aug 2002 21:57:53 -0400
 From: Ed Thompson [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: j_username in session cookie - where did it go?

 I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2
 to
 Tomcat 4.0.4.

 I am using form based authentication, and found under 3.2 I could
 pull
 j_username out of the session cookie after authenticaion was done.

   
That's not how it really worked under 3.2, although if you are using
 BASIC
authentication you could decode the username out of the
 Authorization
header.
   
 Now under Tomcat 4 it doesn't seem to be there.  I know I tried it
 under
 Tomcat 4.0.1 before I upgraded and it worked, but not after
 uninstalling
   3.2
 and installing 4.0.4 from scratch..

 Can anyone shed light on what is (not) happening?  Have the rules
   changed or
 have I not cfg'd something properly?

   
The portable way to get ahold of the authenticated username is to call
request.getRemoteUser().  See the servlet spec for more details on
container managed security:
   
http://java.sun.com/products/servlet/download.html
   
 Thanx!
 Ed
   
Craig
   
   
--
To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
   
  
  
  
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
 
  Milt Epstein
  Research Programmer
  Systems and Technology Services (STS)
  Campus Information Technologies and Educational Services (CITES)
  University of Illinois at Urbana-Champaign (UIUC)
  [EMAIL PROTECTED]
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



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


Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




j_username in session cookie - where did it go?

2002-08-13 Thread Ed Thompson

I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
Tomcat 4.0.4.

I am using form based authentication, and found under 3.2 I could pull
j_username out of the session cookie after authenticaion was done.

Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling 3.2
and installing 4.0.4 from scratch..

Can anyone shed light on what is (not) happening?  Have the rules changed or
have I not cfg'd something properly?

Thanx!
Ed



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




Re: j_username in session cookie - where did it go?

2002-08-13 Thread Ben Walding

It was possibly an undocumented (and not part of the spec) feature.

You should just use = request.getRemoteUser()

Where request is passed in through doGet(request, response)  or however 
that works in JSP.

Ed Thompson wrote:

I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
Tomcat 4.0.4.

I am using form based authentication, and found under 3.2 I could pull
j_username out of the session cookie after authenticaion was done.

Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling 3.2
and installing 4.0.4 from scratch..

Can anyone shed light on what is (not) happening?  Have the rules changed or
have I not cfg'd something properly?

Thanx!
Ed



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


  





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




Re: j_username in session cookie - where did it go?

2002-08-13 Thread Craig R. McClanahan



On Tue, 13 Aug 2002, Ed Thompson wrote:

 Date: Tue, 13 Aug 2002 21:57:53 -0400
 From: Ed Thompson [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: j_username in session cookie - where did it go?

 I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
 Tomcat 4.0.4.

 I am using form based authentication, and found under 3.2 I could pull
 j_username out of the session cookie after authenticaion was done.


That's not how it really worked under 3.2, although if you are using BASIC
authentication you could decode the username out of the Authorization
header.

 Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
 Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling 3.2
 and installing 4.0.4 from scratch..

 Can anyone shed light on what is (not) happening?  Have the rules changed or
 have I not cfg'd something properly?


The portable way to get ahold of the authenticated username is to call
request.getRemoteUser().  See the servlet spec for more details on
container managed security:

http://java.sun.com/products/servlet/download.html

 Thanx!
 Ed

Craig


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




Re: j_username in session cookie - where did it go?

2002-08-13 Thread Ed Thompson

I was also scrapping the password - used j_userbane and j_passwd  for
database access.

Any hints on that one?

- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, August 13, 2002 10:41 PM
Subject: Re: j_username in session cookie - where did it go?




 On Tue, 13 Aug 2002, Ed Thompson wrote:

  Date: Tue, 13 Aug 2002 21:57:53 -0400
  From: Ed Thompson [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: j_username in session cookie - where did it go?
 
  I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
  Tomcat 4.0.4.
 
  I am using form based authentication, and found under 3.2 I could pull
  j_username out of the session cookie after authenticaion was done.
 

 That's not how it really worked under 3.2, although if you are using BASIC
 authentication you could decode the username out of the Authorization
 header.

  Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
  Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling
3.2
  and installing 4.0.4 from scratch..
 
  Can anyone shed light on what is (not) happening?  Have the rules
changed or
  have I not cfg'd something properly?
 

 The portable way to get ahold of the authenticated username is to call
 request.getRemoteUser().  See the servlet spec for more details on
 container managed security:

 http://java.sun.com/products/servlet/download.html

  Thanx!
  Ed

 Craig


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




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




Re: j_username in session cookie - where did it go?

2002-08-13 Thread Craig R. McClanahan



On Tue, 13 Aug 2002, Ed Thompson wrote:

 Date: Tue, 13 Aug 2002 22:56:32 -0400
 From: Ed Thompson [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: j_username in session cookie - where did it go?

 I was also scrapping the password - used j_userbane and j_passwd  for
 database access.


There is no portable way to do that.  And Tomcat 4 does not expose them,
because the password because it is none of the app's business -- the user
is either authenticated or not.

 Any hints on that one?

Re-architect your app so that it needs only the username.

Craig



 - Original Message -
 From: Craig R. McClanahan [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, August 13, 2002 10:41 PM
 Subject: Re: j_username in session cookie - where did it go?


 
 
  On Tue, 13 Aug 2002, Ed Thompson wrote:
 
   Date: Tue, 13 Aug 2002 21:57:53 -0400
   From: Ed Thompson [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Subject: j_username in session cookie - where did it go?
  
   I have just upgraded (uninstalled and reintsalled) from Tomcat 3.2 to
   Tomcat 4.0.4.
  
   I am using form based authentication, and found under 3.2 I could pull
   j_username out of the session cookie after authenticaion was done.
  
 
  That's not how it really worked under 3.2, although if you are using BASIC
  authentication you could decode the username out of the Authorization
  header.
 
   Now under Tomcat 4 it doesn't seem to be there.  I know I tried it under
   Tomcat 4.0.1 before I upgraded and it worked, but not after uninstalling
 3.2
   and installing 4.0.4 from scratch..
  
   Can anyone shed light on what is (not) happening?  Have the rules
 changed or
   have I not cfg'd something properly?
  
 
  The portable way to get ahold of the authenticated username is to call
  request.getRemoteUser().  See the servlet spec for more details on
  container managed security:
 
  http://java.sun.com/products/servlet/download.html
 
   Thanx!
   Ed
 
  Craig
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 



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




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




Fw: Urgent: Where can I get a full document on install, config and set Tomcat on redhat Linux?

2002-08-01 Thread Prudence Leung


- Original Message -
From: Prudence Leung [EMAIL PROTECTED]
To: Charles Trader [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 5:11 PM
Subject: Re: Urgent: Where can I get a full document on install, config and
set Tomcat on redhat Linux?


 Thx Thx Thx charles... I've changed the mistake... but the other problem
 again  See below
 --
 [root@localhost /]# tomcat4 run
 Using CATALINA_BASE:   /var/tomcat4
 Using CATALINA_HOME:   /var/tomcat4
 Using CATALINA_TMPDIR: /var/tomcat4/temp
 Using JAVA_HOME:   /usr/java/jdk1.3.1_04
 /usr/java/jdk1.3.1_04/bin/i386/native_threads/java: error while loading
 shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object
file:
 No such file or directory
 [root@localhost /]#
 ---

 10 thanks

 PRudence


 - Original Message -
 From: Charles Trader [EMAIL PROTECTED]
 To: 'Prudence Leung' [EMAIL PROTECTED]
 Sent: Thursday, August 01, 2002 5:13 PM
 Subject: RE: Urgent: Where can I get a full document on install, config
and
 set Tomcat on redhat Linux?


  have you installed jdk? in what folder? is it in /usr/java/jdk1.3_04?
 
 
   Thx charles. and
   the output is like
   ---
   [root@localhost tomcat4]# tomcat4 run
   Using CATALINA_BASE:   /var/tomcat4
   Using CATALINA_HOME:   /var/tomcat4
   Using CATALINA_TMPDIR: /var/tomcat4/temp
   Using JAVA_HOME:   /usr/java/jdk1.3_04
   /usr/bin/dtomcat4: /usr/java/jdk1.3_04/bin/java: No such file
   or directory
   /usr/bin/dtomcat4: exec: /usr/java/jdk1.3_04/bin/java: cannot
   execute: No
   such file or directory
   [root@localhost tomcat4]#
   ---
  
  
   - Original Message -
   From: Charles Trader [EMAIL PROTECTED]
   To: 'Prudence Leung' [EMAIL PROTECTED]
   Sent: Thursday, August 01, 2002 5:08 PM
   Subject: RE: Urgent: Where can I get a full document on
   install, config and
   set Tomcat on redhat Linux?
  
  
try 'tomcat4 run', is there any error?
   
   
 -Original Message-
 From: Prudence Leung [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, 1 August 2002 16:54
 To: Charles Trader
 Subject: Re: Urgent: Where can I get a full document on
 install, config
 and set Tomcat on redhat Linux?


 I've changed it and tomcat4 start  but still not ok.  =(


 - Original Message -
 From: Charles Trader [EMAIL PROTECTED]
 To: 'Prudence Leung' [EMAIL PROTECTED]
 Sent: Thursday, August 01, 2002 4:53 PM
 Subject: RE: Urgent: Where can I get a full document on
 install, config and
 set Tomcat on redhat Linux?


  have you tried 8180? I can't tell you anything before I see
 the server.xml
  file (not that I guarantee I will know what the problem is)
 
  Charles
 
   -Original Message-
   From: Prudence Leung [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, 1 August 2002 16:38
   To: Charles Trader
   Subject: Re: Urgent: Where can I get a full document on
   install, config
   and set Tomcat on redhat Linux?
  
  
   hi Charles,
  
   See here
   - Output Message -
   [root@localhost home]# netstat -an | grep 80
   tcp0  0 0.0.0.0:80  0.0.0.0:*
 LISTEN
   [root@localhost home]# netstat -an | grep 8080
   [root@localhost home]# tomcat4 start
   Using CATALINA_BASE:   /var/tomcat4
   Using CATALINA_HOME:   /var/tomcat4
   Using CATALINA_TMPDIR: /var/tomcat4/temp
   Using JAVA_HOME:   /usr/java/jdk1.3_04
   [root@localhost home]# netstat -an | grep 8080
   [root@localhost home]#
   -
  
   8080 port is still not opened??? so what's the problem??
  
   Thanks for youhelp
  
   Prudence
  
  
  
   - Original Message -
   From: Charles Trader [EMAIL PROTECTED]
   To: 'Prudence Leung' [EMAIL PROTECTED]
   Sent: Thursday, August 01, 2002 12:07 PM
   Subject: RE: Urgent: Where can I get a full document on
   install, config and
   set Tomcat on redhat Linux?
  
  
Can you send me the server.xml in the conf directory? I
   believe I also met
the problem you have here. Try port 8180 or
   something like that.
   
I'm not suggesting you not to use rpm, it's just I found
   that the zip file
is more 'compliant' to the 'general' tomcat, that
   is, it has the
   startup.sh
:) That's why I switch to the zip file. I guess it's the
   same, you can
   still
use your rpm one.
   
About the zip or targz installer, it's also easy to
   install. Just extract
it, configure the JAVA_HOME environment variable, and it
   should be running
after you run startup.sh.
   
Charles

<    4   5   6   7   8   9   10   11   12   13   >