Tomcat-Apache configuration

2000-11-21 Thread Matt Becker



Hi. I'm trying to get the latest Tomcat and Apache 
running together on a Red Hat Linux 7.0 server. Although I have gone over the 
online documentation plenty of times, I am not sure where to find the 
mod_jserv.so or the mod_jk.so files that the Tomcat-Apache HOWTO html says I 
need to get. It says that the files "are 
available for Linux and Win32 under the bin directory where you obtained the 
Tomcat distribution file."
 
Does anyone happen to know where either of these 
files are located?
 
Thanks!
 
 
 
 
Matt Becker
 


can't write to a file form a servlet.

2000-11-21 Thread Parvez Rishi

hi,

this is not a tomcat issue...excuse me.

i'm using tomcat and apache 1.3.12 on linux (redhat 6.2).
i cannot get these lines to work in a servlet. Allthough
it works when i run it as a standalone java program.
i think the file permissions are right.

..
..
FileOutputStream fw=new FileOutputStream("test.dat",true);
byte buf[]=name.getBytes();
fw.write(buf);
fw.close();
...
...

thanks.
parvez




Security issue with tomcat - Help requested!!!

2000-11-21 Thread Prathapan Nair

Hi
My enviornment - Tomcat release build 3.1 on Windows NT and JDK1.3

I am using Java Cryptography Extension (JCE)API within my servlets.
This API uses java.security and java.policy file. As an application my program works. 
But when I call in a servelt, it raises security exception as follows

java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up 
certs for trusted CAs
at javax.crypto.b.([DashoPro-V1.2-120198])
at javax.crypto.KeyAgreement.getInstance([DashoPro-V1.2-120198])
.. and so on

I refered tomcat documentation for help. Documentation talks about editing 
tomcat.policy file in config dir. I could'nt find that policy file in my config dir 
and also the entry in server.xml for the ContextInterceptor which defines the class 
named PolicyInterceptor.
My env- Tomcat release build 3.1 on Windows NT and JDK 1.3

Can any one please help me  to overcome this situation.

Also can you suggest how to enter the following command in java.policy file in windows 
env

grant codeBase "file:${java.home}/lib/ext/*" {
permission java.security.AllPermission;
};
means if I have to give an absolue path like C:\jdk1.3\. Do I have to use forward 
slash(/) or
backwordslash(\). I am lost there


Prathapan




_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

Participate in crazy auctions at http://auctions.rediff.com/auctions/






Re: Spaces in path/file names

2000-11-21 Thread Jim Rudnicki

The standard batch files have had problems with spaces in paths on the
assorted WinX.  Quoting everything can be hard to track down.  You'll live a
little happier and longer if you avoid spaces.  Or..
Try this Tomcat loader.  Works 99.44% of the time.  It takes care of spaces.
Take a look:
http://www.geocities.com/jdrudnicki/

Jim

- Original Message -

> I seem to recall seeing something some time back about Tomcat having
problems
> with spaces in path names.
>
> Is this just a memory mis-fire or was it a problem and if so, has it been
fixed?
> I couldn't find anything in the archives about it.





Re: Tomcat & windows 2000

2000-11-21 Thread Jim Rudnicki

> I installed Tomcat 3.1 and Java 2 (jdk1.3) on a Windows 2000 machine
> (Advanced Server).  I set JAVA_HOME and TOMCAT_HOME appropriately but when
I
> ran "tomcat run" on the command line I got this error:
... snip more of standard rigamarole ...

Try this Tomcat loader.  Works 99.44% of the time.  Tested on 2000,  jdk1.3
and 3.1 & 3.2bx
Take a look:
http://www.geocities.com/jdrudnicki/

Jim






Re: Virtual Hosts and Properties files..

2000-11-21 Thread chris edwards

May not be the answer you want but,
but how about 3 different named properties files
and using resource bundle to load the right one dependent on the host http 
header ( will return dev.site.com, or www.site.com) ,
just to be really awkward you could use a 4th properties file which is used 
to load in the respective site domains?

as for collecting http headers, in particular the host one check the snoop 
servlet provided with tomcat in the examples section.

Hope it helps

Chris

At 22:14 21/11/2000 -0500, you wrote:
>Greetings!
>
>I'm not sure exactly if this is the right forum, but here goes...
>I have JSP page using a Bean (ofcourse) this is defined in a
>virtual host (for Development, Test and Production for each
>DNS domain hosted) I'd like to read a thisbean.properties file
>(using Properties, FileInputStream and File classes)  that
>resides in the /dev/app1/web-inf/classes/ directory for that
>particular host that has a number of environment (dev,test,prod)
>properties for that bean
>
>So my question (atlast), is there a property I can get to pass
>to the constructor for File to pickup the right file path of
>where the classes really is executing from
>FWIW when I do a file.getCanonicalPath() it returns the directory
>I installed tomcat into (eg: C:\jakarta-tomcat\mybean.properties)
>
>
>Many thanx in advance for any info
>   Scott, Esq.

---
Chris Edwards
e. [EMAIL PROTECTED]
m. 0772 0266858
---




Re: Tomcat & windows 2000

2000-11-21 Thread chris edwards

Hey sam,

erm it does work with 2k,

I have it running on two laptops with 2k prof, jdk 1.3, and tomcat 3.1 also 
I have it running on my server box which is 2k Adv Svr, but at the mo jdk 
1.2.2 (planning on an upgrade this weekend).

I find the easiest option is to not set the tomcat_home env variable since 
this is set by the startup.bat file each time it's needed, that way you 
know it's pointing exactly where apache want it to look.

Hope I'm of help.

Chris Edwards

At 19:38 21/11/2000 -0500, you wrote:
>Hi,
>
>I installed Tomcat 3.1 and Java 2 (jdk1.3) on a Windows 2000 machine
>(Advanced Server).  I set JAVA_HOME and TOMCAT_HOME appropriately but when I
>ran "tomcat run" on the command line I got this error:
>
>Using classpath:
>D:\Tomcat\jakarta-tomcat\classes;D:\Tomcat\jakarta-tomcat\lib\webserver.jar;
>D:\Tomcat\jakarta
>-tomcat\lib\jasper.jar;D:\Tomcat\jakarta-tomcat\lib\xml.jar;D:\Tomcat\jakart
>a-tomcat\lib\servlet.jar;C:\jdk1.3
>\lib\tools.jar;D:\Tomcat\jakarta-tomcat\classes;D:\Tomcat\jakarta-tomcat\lib
>\webserver.jar;D:\Tomcat\jakarta-t
>omcat\lib\jasper.jar;D:\Tomcat\jakarta-tomcat\lib\xml.jar;D:\Tomcat\jakarta-
>tomcat\lib\servlet.jar;C:\jdk1.3\l
>ib\tools.jar
>Exception in thread "main" java.lang.ExceptionInInitializerError:
>java.util.MissingResourceException: Can't fi
>nd bundle for base name org.apache.tomcat.startup.LocalStrings, locale en_US
> at
>java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:7
>07)
> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679)
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
> at
>org.apache.tomcat.util.StringManager.(StringManager.java:115)
> at
>org.apache.tomcat.util.StringManager.getManager(StringManager.java:260)
> at org.apache.tomcat.startup.Tomcat.(Tomcat.java:26)
>
>So, then I tried the new Tomcat 4.0 (milestone 4).  I set the appropriate
>environment variables and then the server seemed to come up.
>
>So, essentially, the new Tomcat 4.0 came up on Windows 2000 (Advanced
>Server) but the Tomcat 3.1 did not.  Unfortunately, I believe the Tomcat 4.0
>is quite different from Tomcat 3.1 and I've new to everything.  I can't seem
>to find documentation for how to run servlets with Tomcat 4.0.
>
>What's my question?  Well, why doesn't Tomcat 3.1 work on Windows 2000?  If
>it't not meant to work, then where can I get documentation for how to use
>Tomcat 4.0 on Windows 2000?
>
>Thanks,
>Sam
>
>Sam Patel
>MicroStrategy Pacific Technology Center
>The Power of Intelligent E-Business
>
>
>(760) 710-4653

---
Chris Edwards
e. [EMAIL PROTECTED]
m. 0772 0266858
---




Re: Tomcat - Error Handler

2000-11-21 Thread Jeff Turner


Doh, was running on 3.2b6. It's fixed in 3.2b8. Sorry for wasting your
time.

--Jeff

On Wed, 22 Nov 2000, Jeff Turner wrote:

> Hi,
> 
> I get the same exception when using the JSP error handler after a
> , eg:
> 
>  index.jsp 
> <%@ page errorPage="error.jsp" %>
> 
> <% if (true) throw new RuntimeException("An exception"); %>
> ---
> 
>  error.jsp 
> <%@ page isErrorPage="true" %>
> Error page
> --
> 
> (foo.html can be blank)
> 
> Now when I go to index.jsp, I get the following exception:
> 
> Error: 500
> 
> Location:/index.jsp
> 
> Internal Servlet Error:
> 
> java.lang.IllegalStateException: Cannot forward as OutputStream or Writer
> has already been obtained
> at
> org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java,
> Compiled Code)
> at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java,
> Compiled Code)
> at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java,
> Compiled Code)
> at
> _0002findex_0002ejspindex_jsp_9._jspService(_0002findex_0002ejspindex_jsp_9.java,
> Compiled Code)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
> Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java,
> Compiled Code)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
> Compiled Code)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java,
> Compiled Code)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
> Compiled Code)
> at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
> Code)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
> Compiled Code)
> at
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
> Compiled Code)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java,
> Compiled Code)
> at
> 
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
> Compiled Code)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
> at java.lang.Thread.run(Thread.java, Compiled Code)
> 
> 
> --Jeff
> 
> 
> On Thu, 16 Nov 2000, Sumit Vohra wrote:
> 
> > Hi guys, 
> > 
> >   I have been trying to replace the JSDK web server backend with Tomcat,
> > and I have a message brokering servlet which works fine on JSDK when
> > applications connect to it. This servlet brokers both plain and multipart
> > messages. Now, as I mentioned it works fine on JSDK, on Tomcat, only
> > multipart messages are going through, plain messages are not. And, also
> > when I try to connect the monitoring application for the servlet to the
> > servlet, to get status information  it gives exceptions which it
> > did not at all on JSDK web server. The exception on server is: 
> > ==
> > ERROR: can't find default error handler or error in default error page
> > java.lang.IllegalStateException: Write is already being used for this
> > request 
> > at 
> > org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
> > at 
> > org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServl
> > etResponseFacade.java:144)
> >  :
> >  :
> > 
> > 
> > Could anybody please tell me why this is happening and what is the
> > difference in JSDK Web Server and Tomcat's message handling techniques
> > regarding multipart and plain. 
> > 
> > I appreciate it. 
> > Thanks in advance
> > -sumit 
> > 
> > 
> > -Sumit Vohra ([EMAIL PROTECTED])
> > 
> 
> 




Re: Tomcat - Error Handler

2000-11-21 Thread Jeff Turner

Hi,

I get the same exception when using the JSP error handler after a
, eg:

 index.jsp 
<%@ page errorPage="error.jsp" %>

<% if (true) throw new RuntimeException("An exception"); %>
---

 error.jsp 
<%@ page isErrorPage="true" %>
Error page
--

(foo.html can be blank)

Now when I go to index.jsp, I get the following exception:

Error: 500

Location:/index.jsp

Internal Servlet Error:

java.lang.IllegalStateException: Cannot forward as OutputStream or Writer
has already been obtained
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java,
Compiled Code)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java,
Compiled Code)
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java,
Compiled Code)
at
_0002findex_0002ejspindex_jsp_9._jspService(_0002findex_0002ejspindex_jsp_9.java,
Compiled Code)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java,
Compiled Code)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.Handler.service(Handler.java, Compiled
Code)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java,
Compiled Code)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java,
Compiled Code)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)


--Jeff


On Thu, 16 Nov 2000, Sumit Vohra wrote:

> Hi guys, 
> 
>   I have been trying to replace the JSDK web server backend with Tomcat,
> and I have a message brokering servlet which works fine on JSDK when
> applications connect to it. This servlet brokers both plain and multipart
> messages. Now, as I mentioned it works fine on JSDK, on Tomcat, only
> multipart messages are going through, plain messages are not. And, also
> when I try to connect the monitoring application for the servlet to the
> servlet, to get status information  it gives exceptions which it
> did not at all on JSDK web server. The exception on server is: 
> ==
> ERROR: can't find default error handler or error in default error page
> java.lang.IllegalStateException: Write is already being used for this
> request 
> at 
> org.apache.tomcat.core.ResponseImpl.getOutputStream(ResponseImpl.java:458)
> at 
> org.apache.tomcat.core.HttpServletResponseFacade.getOutputStream(HttpServl
> etResponseFacade.java:144)
>  :
>  :
> 
> 
> Could anybody please tell me why this is happening and what is the
> difference in JSDK Web Server and Tomcat's message handling techniques
> regarding multipart and plain. 
> 
> I appreciate it. 
> Thanks in advance
> -sumit 
> 
>   
>   -Sumit Vohra ([EMAIL PROTECTED])
> 





Re: I need mod_jserv.so for HP-UX 10.20

2000-11-21 Thread Julio Serje (@canada.com)



Hola, Antonio,
 
We recently configured our HPUX 11 and got a lot of stuff from 
the HPUX user group at the University of Liverpool:
 

United 
Kingdom - University of Liverpool 
 
You can also check these other user groups:
 

  Alberta 
  (Canada) - University of Alberta 
  France - 
  University of Toulouse 
  Germany 
  - University of Karlsruhe 
  United 
  States - University of Wisconsin-Madison 
Julio Serje
 

  - Original Message - 
  From: 
  Antonio Vázquez 
  To: Tomcat 
  Sent: Tuesday, November 21, 2000 1:42 
  PM
  Subject: I need mod_jserv.so for HP-UX 
  10.20
  
  I uses Tomcat in Windows and Linux, but I'm new 
  in HP-UX world and i have a lot of problems to compile the source files to 
  generate mod_jserv.so for Tomcat 3.1 to link with Apache.
   
  Please, can anyone send me a binary 
  mod_jserv.so for HP-UX 10.20. and a small explanation to install 
  it.
   
  I will thanks all my life.
   
  Antonio Vázquez[EMAIL PROTECTED]


RE: how do I?

2000-11-21 Thread Jeff Copeland

I think I am finally off and I thank you for your help, it was much 
appreciated.

At 03:42 PM 11/21/00 -0800, you wrote:
>Here's the instructions that you get when you join the list. I assume from 
>your
>original message that you have tried the unsubscribe link. If not, please try
>that first. The last time I unsubscribed it took a couple of hours for 
>ezmlm to
>get back to me. That was a few weeks ago. I just re-subscribed today. I have
>subscribed and unsubscribed a number of times and not had any problems other
>than it taking a little while sometimes. Usually it is within a couple of
>minutes.
>
>If you still can't get off of the list using either of the two methods below
>then send an email to the list owner noted at the end of the instructions. I
>have no idea how long it will be before he/she takes you off of the list.
>
>
>--- Administrative commands for the tomcat-user list ---
>
>I can handle administrative requests automatically. Please
>do not send them to the list address! Instead, send
>your message to the correct command address:
>
>To subscribe to the list, send a message to:
>
>
>To remove your address from the list, send a message to:
>
>
>Send mail to the following for info and FAQ for this list:
>
>
>
>Similar addresses exist for the digest list:
><[EMAIL PROTECTED]>
><[EMAIL PROTECTED]>
>
>To get messages 123 through 145 (a maximum of 100 per request), mail:
><[EMAIL PROTECTED]>
>
>To get an index with subject and author for messages 123-456 , mail:
><[EMAIL PROTECTED]>
>
>They are always returned as sets of 100, max 2000 per request,
>so you'll actually get 100-499.
>
>To receive all messages with the same subject as message 12345,
>send an empty message to:
><[EMAIL PROTECTED]>
>
>The messages do not really need to be empty, but I will ignore
>their content. Only the ADDRESS you send to is important.
>
>You can start a subscription for an alternate address,
>for example "[EMAIL PROTECTED]", just add a hyphen and your
>address (with '=' instead of '@') after the command word:
><[EMAIL PROTECTED]>
>
>To stop subscription for this address, mail:
><[EMAIL PROTECTED]>
>
>In both cases, I'll send a confirmation message to that address. When
>you receive it, simply reply to it to complete your subscription.
>
>If despite following these instructions, you do not get the
>desired results, please contact my owner at
>[EMAIL PROTECTED] Please be patient, my owner is a
>lot slower than I am ;-)
>
>
>
> > -Original Message-
> > From: Jeff Copeland [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 21, 2000 3:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: how do I?
> >
> >
> > [EMAIL PROTECTED] is at the top, but maybe I will take your suggestion
> > and change my From to mail.telocity.com but I don't know if telocity
> > manipulates that or not.
> >
> > Thanks.
> >
> > At 11:01 PM 11/21/00 +0100, you wrote:
> > >Jeff Copeland wrote:
> > > > I have tried 3 times to unsubscribe from this list. Does anyone 
> know why
> > > > the link to unsubscribe doesn't seem to get me off the list? If 
> anyone is
> > > > moderating this list, please take me off of it.
> > >
> > >Let's have a look at your mail's headers...
> > >
> > >X-Sender: [EMAIL PROTECTED]
> > >   ^^^
> > >...
> > >From: Jeff Copeland <[EMAIL PROTECTED]>
> > >  ^^
> > >Maybe you should use [EMAIL PROTECTED] as your email address 
> when
> > >unsubscribing? Also, what email address is used in the topmost
> > received header
> > >in the mails you get?
> > >
> > >--
> > >Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> > >Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> > >...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
> > >np: Bola - Aguilla (Soup)
> >
> >




RE: how do I?

2000-11-21 Thread Jeff Copeland

thank you thank you thank you.

At 06:34 PM 11/21/00 -0500, you wrote:

>Unsibscribe both using the alternate method - From the list instructions :
>
>  To unsubscribe from this list
> 
>
>   To stop subscription for an alternate account
>   (e.g. [EMAIL PROTECTED]) send an eMail to
> [EMAIL PROTECTED]
>
>so, therfore, email to :
> [EMAIL PROTECTED]
>and
> [EMAIL PROTECTED]
>
>and any other possibilities you can think of.
>
>
>-Original Message-
>From: Jeff Copeland [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, November 21, 2000 06:03 PM
>To: [EMAIL PROTECTED]
>Subject: Re: how do I?
>
>
>[EMAIL PROTECTED] is at the top, but maybe I will take your suggestion
>and change my From to mail.telocity.com but I don't know if telocity
>manipulates that or not.
>
>Thanks.
>
>At 11:01 PM 11/21/00 +0100, you wrote:
> >Jeff Copeland wrote:
> > > I have tried 3 times to unsubscribe from this list. Does anyone know why
> > > the link to unsubscribe doesn't seem to get me off the list? If anyone
>is
> > > moderating this list, please take me off of it.
> >
> >Let's have a look at your mail's headers...
> >
> >X-Sender: [EMAIL PROTECTED]
> >   ^^^
> >...
> >From: Jeff Copeland <[EMAIL PROTECTED]>
> >  ^^
> >Maybe you should use [EMAIL PROTECTED] as your email address when
> >unsubscribing? Also, what email address is used in the topmost received
>header
> >in the mails you get?
> >
> >--
> >Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> >Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> >...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
> >np: Bola - Aguilla (Soup)




Setting up Basic HTTP Security in tomcat jakarta

2000-11-21 Thread Anand Prasad

Hi All,.

I had mailed this few days back,  Can anyone please reply.

Thanks
--Anand
Hi All,

I would like to set up HTTP security using Tomcat.

Basically, I would like my files to accessed only if the user has access.

1. Could you let me know what I need to change.

I have set in server.xml file my context path to be 
my context path=""   the docbase=/a/b/HTML
my context path ="/test"   docbase = /a/b/HTML

I need to protect anything under HTML.

when the user enters the username and password,  I have already written a
jsp file  which I would like to use it.  So in other, I need to know, on ok
click button,  I need to call a JSP file.

Could you please provide me the syntax.

your response will be very appreciated.

Thanks
--Anand



Re: Changing root webapp

2000-11-21 Thread Julio Serje (@canada.com)

You may define your root app in a different location than webapps. Just move
it to another directory and give the absolute path in your server.xml:


 
 

I have a setup like this and works fine.

Julio


- Original Message -
From: Richard Evans <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 11:22 AM
Subject: Changing root webapp


> In the default tomcat build there is a ROOT webapp which maps to /.  Now I
> would like to map the pages and servlets in ROOT to some other path and
have a
> webapp of my own which handles /.
>
> I tried something like this in server.xml:
>
>   docBase="webapps/ROOT"
>  debug="0"
>  reloadable="true"
>  trusted="true" >
> 
>
> 
>
>   docBase="webapps/main"
>  debug="1"
>  reloadable="true"
>  trusted="true" >
> 
>
> In other words, /root will map to the tomcat home page, etc.  It works
fine
> except of course my main web app is loaded twice: once when server.xml is
read
> and once at autosetup time.  AutoSetup scans the webapps directory, finds
> "main" and because there isn't a /main context, loads the context again.
This
> means that my load-on-startup servlets get loaded twice.
>
> Is there a better way of doing this?
>
> Richard




Re: installed jbuilder 4.0 and now tomcat will not run

2000-11-21 Thread Jeff Copeland

I have unsubscribed from this list now, but wanted to help if I can. NT 4.0 
or 2000?
I can run Tomcat fine here and I have JBuilder 4.0 installed.

To reply to me: [EMAIL PROTECTED]


At 04:45 PM 11/21/00 -0700, Chris Huisman wrote:
>Hello,
>
>After installing JBuilder 4.0 which has its own copy of tomcat, I can no
>longer get tomcat to run at the command line from either
>\jakart-tomcat\bin or JBuilder4\tomcat\bin.
>
>Any ideas on what to do?
>
>thanks,
>chris.




Re: installed jbuilder 4.0 and now tomcat will not run

2000-11-21 Thread Julio Serje (@canada.com)

Check that the installation of JBuilder hasn't changed your environment
variables, i.e. TOMCAT_HOME, JAVA_HOME, PATH, etc.

Julio

- Original Message -
From: Chris Huisman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 6:45 PM
Subject: installed jbuilder 4.0 and now tomcat will not run


> Hello,
>
> After installing JBuilder 4.0 which has its own copy of tomcat, I can no
> longer get tomcat to run at the command line from either
> \jakart-tomcat\bin or JBuilder4\tomcat\bin.
>
> Any ideas on what to do?
>
> thanks,
> chris.
>




Tomcat & windows 2000

2000-11-21 Thread Patel, Sameer

Hi,

I installed Tomcat 3.1 and Java 2 (jdk1.3) on a Windows 2000 machine
(Advanced Server).  I set JAVA_HOME and TOMCAT_HOME appropriately but when I
ran "tomcat run" on the command line I got this error:

Using classpath:
D:\Tomcat\jakarta-tomcat\classes;D:\Tomcat\jakarta-tomcat\lib\webserver.jar;
D:\Tomcat\jakarta
-tomcat\lib\jasper.jar;D:\Tomcat\jakarta-tomcat\lib\xml.jar;D:\Tomcat\jakart
a-tomcat\lib\servlet.jar;C:\jdk1.3
\lib\tools.jar;D:\Tomcat\jakarta-tomcat\classes;D:\Tomcat\jakarta-tomcat\lib
\webserver.jar;D:\Tomcat\jakarta-t
omcat\lib\jasper.jar;D:\Tomcat\jakarta-tomcat\lib\xml.jar;D:\Tomcat\jakarta-
tomcat\lib\servlet.jar;C:\jdk1.3\l
ib\tools.jar
Exception in thread "main" java.lang.ExceptionInInitializerError:
java.util.MissingResourceException: Can't fi
nd bundle for base name org.apache.tomcat.startup.LocalStrings, locale en_US
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:7
07)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
at
org.apache.tomcat.util.StringManager.(StringManager.java:115)
at
org.apache.tomcat.util.StringManager.getManager(StringManager.java:260)
at org.apache.tomcat.startup.Tomcat.(Tomcat.java:26)

So, then I tried the new Tomcat 4.0 (milestone 4).  I set the appropriate
environment variables and then the server seemed to come up.

So, essentially, the new Tomcat 4.0 came up on Windows 2000 (Advanced
Server) but the Tomcat 3.1 did not.  Unfortunately, I believe the Tomcat 4.0
is quite different from Tomcat 3.1 and I've new to everything.  I can't seem
to find documentation for how to run servlets with Tomcat 4.0.

What's my question?  Well, why doesn't Tomcat 3.1 work on Windows 2000?  If
it't not meant to work, then where can I get documentation for how to use
Tomcat 4.0 on Windows 2000?

Thanks,
Sam

Sam Patel 
MicroStrategy Pacific Technology Center 
The Power of Intelligent E-Business 

 
(760) 710-4653





Re: News Group needed desperately

2000-11-21 Thread Warner Onstine

Most mail readers have the ability to group messages by discussion or
thread. In fact I have yet to find a gui mail reader (at least one that's
recent and decent ;-) that doesn't do this. Look through your prefs and look
for group by discussion or thread and you should find it, else check the
evil help docs ;-)

-warner
- Original Message -
From: "Miles Daffin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 4:00 PM
Subject: Re: News Group needed desperately


>
> 
>
> > > I am getting to the point where I will have to unsubscribe.
> >
> > Excuse me for asking - but why don't you just have your mail program
sort
> > mails from [EMAIL PROTECTED] into a folder and read that?
> Doesn't
> > differ much from a digest, and it's even more responsive...
> >
> Good plan - or workaround.
>
> > (Having said that - I'm on several hi-traffic mailing lists and I don't
> have
> > the slightest problem having them all sorted into their own folder -
> where's
> > the big difference to newsgroups then?)
>
> Messages are sorted into threads - I can spot, read and contribute to the
> dialogic lines I am interested
> in more easily. I suppose I could just search the folder by subject and
> screen out those I don't want, but in a news group you can see all the
> dialogue line headers, not just the ones you know of already.
>
> Miles
>
> > --
> > Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> > Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> > ...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
> > np: Bola - Amnion (Soup)
>
>




Re: News Group needed desperately

2000-11-21 Thread Miles Daffin




> > I am getting to the point where I will have to unsubscribe.
>
> Excuse me for asking - but why don't you just have your mail program sort
> mails from [EMAIL PROTECTED] into a folder and read that?
Doesn't
> differ much from a digest, and it's even more responsive...
>
Good plan - or workaround.

> (Having said that - I'm on several hi-traffic mailing lists and I don't
have
> the slightest problem having them all sorted into their own folder -
where's
> the big difference to newsgroups then?)

Messages are sorted into threads - I can spot, read and contribute to the
dialogic lines I am interested
in more easily. I suppose I could just search the folder by subject and
screen out those I don't want, but in a news group you can see all the
dialogue line headers, not just the ones you know of already.

Miles

> --
> Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> ...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
> np: Bola - Amnion (Soup)




RE: Mapping a servlet to a URL

2000-11-21 Thread Toby Piper

Sorry,

This:

> I also want to have all of my other servlets for this Application map to
> http://domain/Path-A/

Should have been this:

> I also want to have all of my other servlets for this Application map to
> http://domain/Path-A/servlet/

> -Original Message-
> From: Toby Piper [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 21, 2000 3:34 PM
> To: Tomcat User Group
> Subject: Mapping a servlet to a URL
> 
> 
> Hi All,
> 
> I want to have a login servlet at http://domain/Path-A/servlet/login map to a
> URL of http://domain/Path-A/Path-B/ directly w/o using a HTML page. Is this
> possible?
> 
> I also want to have all of my other servlets for this Application map to
> http://domain/Path-A/
> 
> What is the correct way to do this?
> 
> I think that I can get it to work by setting the context in
> uriworkermap.properties.
> 
> Can this also be done via the web.xml file?
> 
> Thanks is advance,
> Toby
> 
> 



installed jbuilder 4.0 and now tomcat will not run

2000-11-21 Thread Chris Huisman

Hello,

After installing JBuilder 4.0 which has its own copy of tomcat, I can no
longer get tomcat to run at the command line from either
\jakart-tomcat\bin or JBuilder4\tomcat\bin.

Any ideas on what to do?

thanks,
chris.



Fwd: signed war files

2000-11-21 Thread Steve Conover

trying this again...

> Hi everyone,
> 
> I'd like to create a war, digitally sign it, and restrict tomcat to
> only executing code that's digitally signed by me.  Has anyone done
> this successfully?  How do I go about doing this?
> 
> Thanks,
> Steve


=

Steve Conover Jr.
http://steve.dreamingtree.net
FAX: (309) 276-8942


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



RE: Will war archives auto-update

2000-11-21 Thread Brett Bergquist

You need to delete the expanded webapp directory and then restart tomcat to
get it to re-expand the new war file.  This is true with 3.x at least, I'm
not sure about 4.0

-Original Message-
From: Sean Blaes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 4:15 PM
To: Tomcat Users List (E-mail)
Subject: Will war archives auto-update


I am curious if war archives will auto-update when I place them in the
Tomcat directory or if I need to restart Tomcat to activate them.




RE: how do I?

2000-11-21 Thread Toby Piper

Here's the instructions that you get when you join the list. I assume from your
original message that you have tried the unsubscribe link. If not, please try
that first. The last time I unsubscribed it took a couple of hours for ezmlm to
get back to me. That was a few weeks ago. I just re-subscribed today. I have
subscribed and unsubscribed a number of times and not had any problems other
than it taking a little while sometimes. Usually it is within a couple of
minutes.

If you still can't get off of the list using either of the two methods below
then send an email to the list owner noted at the end of the instructions. I
have no idea how long it will be before he/she takes you off of the list.


--- Administrative commands for the tomcat-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   

To remove your address from the list, send a message to:
   

Send mail to the following for info and FAQ for this list:
   
   

Similar addresses exist for the digest list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <[EMAIL PROTECTED]>

To get an index with subject and author for messages 123-456 , mail:
   <[EMAIL PROTECTED]>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <[EMAIL PROTECTED]>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "[EMAIL PROTECTED]", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<[EMAIL PROTECTED]>

To stop subscription for this address, mail:
<[EMAIL PROTECTED]>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)



> -Original Message-
> From: Jeff Copeland [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 21, 2000 3:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how do I?
>
>
> [EMAIL PROTECTED] is at the top, but maybe I will take your suggestion
> and change my From to mail.telocity.com but I don't know if telocity
> manipulates that or not.
>
> Thanks.
>
> At 11:01 PM 11/21/00 +0100, you wrote:
> >Jeff Copeland wrote:
> > > I have tried 3 times to unsubscribe from this list. Does anyone know why
> > > the link to unsubscribe doesn't seem to get me off the list? If anyone is
> > > moderating this list, please take me off of it.
> >
> >Let's have a look at your mail's headers...
> >
> >X-Sender: [EMAIL PROTECTED]
> >   ^^^
> >...
> >From: Jeff Copeland <[EMAIL PROTECTED]>
> >  ^^
> >Maybe you should use [EMAIL PROTECTED] as your email address when
> >unsubscribing? Also, what email address is used in the topmost
> received header
> >in the mails you get?
> >
> >--
> >Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> >Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> >...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
> >np: Bola - Aguilla (Soup)
>
>




RE: how do I?

2000-11-21 Thread CPC Livelink Admin


Unsibscribe both using the alternate method - From the list instructions :

 To unsubscribe from this list


  To stop subscription for an alternate account
  (e.g. [EMAIL PROTECTED]) send an eMail to
[EMAIL PROTECTED]

so, therfore, email to :
[EMAIL PROTECTED]
and
[EMAIL PROTECTED]

and any other possibilities you can think of.


-Original Message-
From: Jeff Copeland [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 06:03 PM
To: [EMAIL PROTECTED]
Subject: Re: how do I?


[EMAIL PROTECTED] is at the top, but maybe I will take your suggestion
and change my From to mail.telocity.com but I don't know if telocity
manipulates that or not.

Thanks.

At 11:01 PM 11/21/00 +0100, you wrote:
>Jeff Copeland wrote:
> > I have tried 3 times to unsubscribe from this list. Does anyone know why
> > the link to unsubscribe doesn't seem to get me off the list? If anyone
is
> > moderating this list, please take me off of it.
>
>Let's have a look at your mail's headers...
>
>X-Sender: [EMAIL PROTECTED]
>   ^^^
>...
>From: Jeff Copeland <[EMAIL PROTECTED]>
>  ^^
>Maybe you should use [EMAIL PROTECTED] as your email address when
>unsubscribing? Also, what email address is used in the topmost received
header
>in the mails you get?
>
>--
>Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
>Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
>...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
>np: Bola - Aguilla (Soup)





Mapping a servlet to a URL

2000-11-21 Thread Toby Piper

Hi All,

I want to have a login servlet at http://domain/Path-A/servlet/login map to a
URL of http://domain/Path-A/Path-B/ directly w/o using a HTML page. Is this
possible?

I also want to have all of my other servlets for this Application map to
http://domain/Path-A/

What is the correct way to do this?

I think that I can get it to work by setting the context in
uriworkermap.properties.

Can this also be done via the web.xml file?

Thanks is advance,
Toby




Re: how do I?

2000-11-21 Thread Jeff Copeland

[EMAIL PROTECTED] is at the top, but maybe I will take your suggestion 
and change my From to mail.telocity.com but I don't know if telocity 
manipulates that or not.

Thanks.

At 11:01 PM 11/21/00 +0100, you wrote:
>Jeff Copeland wrote:
> > I have tried 3 times to unsubscribe from this list. Does anyone know why
> > the link to unsubscribe doesn't seem to get me off the list? If anyone is
> > moderating this list, please take me off of it.
>
>Let's have a look at your mail's headers...
>
>X-Sender: [EMAIL PROTECTED]
>   ^^^
>...
>From: Jeff Copeland <[EMAIL PROTECTED]>
>  ^^
>Maybe you should use [EMAIL PROTECTED] as your email address when
>unsubscribing? Also, what email address is used in the topmost received header
>in the mails you get?
>
>--
>Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
>Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
>...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
>np: Bola - Aguilla (Soup)




Spaces in path/file names

2000-11-21 Thread Toby Piper

I seem to recall seeing something some time back about Tomcat having problems
with spaces in path names.

Is this just a memory mis-fire or was it a problem and if so, has it been fixed?
I couldn't find anything in the archives about it.

Thanks in advance,

Toby




RE: TC32b8 build fails for me

2000-11-21 Thread Michael Percy

You need Ant 1.2 -- We switched in Tomcat 3.2b7.


This should be added to the list of FAQs! What happened to that thing,
anyway, maybe I could spam it here once every day or two and have a nice
little list of these types of questions.

Mike

> -Original Message-
> From: Aron Kramlik [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 21, 2000 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: TC32b8 build fails for me
> 
> 
> Hello everyone,
> 
> I just downloaded the sources for beta 8 from
> http://jakarta.apache.org/builds/tomcat/release/v3.2-beta-8
> I have been successfully compiling and upgrading most
> revisions of 3.2.  The last one I did was beta 6.
> 
> I got a problem with beta 8 today after getting tomcat and
> the servletapi from the above location with the beta 6 version
> of the jakarta-ant and the usual jaxp and parser jars.
> 
> The error output was:
> 
> [root@akramliklnx jakarta-tomcat]# ./build.sh 
> Buildfile: build.xml
> 
> BUILD FAILED
> 
> build.xml:33: Could not create task of type: copy because I 
> can't find it in
> the list of task class definitions
> 
> Total time: 0 seconds
> 
> 
> Please tell me what I have done wrong, it must be something at my end.
> 
> Thanks,
> Aron.
> 



Critical Bug: SSL failed for Tomcat 3.2 Beta 8

2000-11-21 Thread Xia, Alex

I have installed Tomcat 3.2 Beta 8 on NT and made the following change to
server.xml to enable SSL:








And I have followed the instruction to create SSL certificate.

The same exact configuration worked for Tomcat 3.2 Beta 5.

However, when I tried to access my jsp, I got the following error on the
server:

java.io.IOException: The filename, directory name, or volume label syntax is
inc
orrect
at java.io.Win32FileSystem.canonicalize(Native Method)
at java.io.File.getCanonicalPath(File.java:441)
at org.apache.tomcat.util.FileUtil.safePath(FileUtil.java, Compiled
Code
)
at org.apache.tomcat.core.Context.getRealPath(Context.java:794)
at
org.apache.tomcat.request.StaticInterceptor.requestMap(StaticIntercep
tor.java:191)
at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.j
ava, Compiled Code)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:771)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
 Compiled Code)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
2000-11-21 05:18:48 - Ctx(  ): 404 R(  + :?(û?¤?¦¦¬\ò+îå+0r½+a+??+÷î¶2c¦~ ?
? ?

 + null) null

It seems like Tomcat did not decript the URL for SSL thus creating the
problem.

I would say this is a critical bug.

Thanks,

Alex X. Xia
Sonus Networks, Inc.
(978) 392-8114




Re: servlet url mapping problems

2000-11-21 Thread Kurt Bernhard Pruenner

Yin Tse wrote:
> http://locahost/foo/servlet/myServlet  will work
> but http://locahost/foo/servlet/myGod won't work.

Try http://localhost/foo/myGod ... I don't see no "/servlet" in your
servlet-mapping

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
np: Up, Bustle & Out - The Educators (Master Sessions 1)



Re: How to set the system propetries? Help Requested!!

2000-11-21 Thread Kurt Bernhard Pruenner

Prathapan Nair wrote:
> I want to use JAAS in my servlet to do the authentication. For that I need 
> to set the following propeties during run time before calling the JAAS 
> program.

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

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
np: Bola - Whoblo (Soup)



Re: News Group needed desperately

2000-11-21 Thread Michael J. Suzio

I don't care as much about volume per se as I do about content.  To be
utterly blunt (as we should be, geek to geek), people are asking a lot
of bad questions here.  By bad, I don't mean the questions are stupid --
we all start out ignorant.  By bad, I mean these are questions that
either do not belong here at all (because they are not Tomcat-related)
or they are questions that are answered by plenty of non-interactive
resources available to the determined RTFM-er.

I am less interested in a newsgroup than I am in a periodic posting.  I
lack access to a box right now where I can easily hack up such a thing
(Obligatory Unix-guy rant: NT sucks!), but I'd be glad to assist in
reviewing any proposals for what such a thing might look like.

I am eager to help people, but I will not help those who won't help
themselves.  Work a little harder, people, you're probably getting paid
for it (and if you're not getting paid, then you're cheating yourself
out of learning if you have others hold your hand for you all the time).

I saw this same sort of thing happen to the Perl newsgroups a few years
back, and the net effect was that the real gurus stopped answering
questions, because they got annoyed at how little an effort people were
willing to put into figuring things out before posting a message.


To some, this might seem cold.  All I can say is, back in the good old
days, "RTFM" was a *polite* response.  

But enough on-list discussion of this.  It's tomcat-users, not
tomcat-flame-flame-flame. ;-)

-- 
Michael J. Suzio
Lead Software Engineer -- ISS Southfield
[EMAIL PROTECTED]



Re: how do I?

2000-11-21 Thread Kurt Bernhard Pruenner

Jeff Copeland wrote:
> I have tried 3 times to unsubscribe from this list. Does anyone know why
> the link to unsubscribe doesn't seem to get me off the list? If anyone is
> moderating this list, please take me off of it.

Let's have a look at your mail's headers...

X-Sender: [EMAIL PROTECTED]
  ^^^
...
From: Jeff Copeland <[EMAIL PROTECTED]>
 ^^
Maybe you should use [EMAIL PROTECTED] as your email address when
unsubscribing? Also, what email address is used in the topmost received header
in the mails you get?

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
np: Bola - Aguilla (Soup)



Re: Please help - tomcat instalation

2000-11-21 Thread billCC.com (Sales)


-Original Message-
From: Michael J. Suzio <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, November 21, 2000 3:42 PM
Subject: Re: Please help - tomcat instalation


>"billCC.com (Sales)" wrote:
>> And then I get unix prompt again... and nothing happens.
>
>What do you mean by "nothing happens"?  Do you mean you can't
>connect to Tomcat from the Web browser and view the example pages?  More
>detail is needed to debug things, so far your experience sounds like
>what I would expect, so you'll have to indicate what exactly isn't
>working as expected.
>
>By the way, your JDK install is correct; the symlinks are supposed to be
>there, that's just the way Sun constructed their JDK (one binary with a
>set of wrappers and symlinks).
>
>-- 
>Michael J. Suzio
>Lead Software Engineer -- ISS Southfield
>[EMAIL PROTECTED]
>




Tomcat Apache Linux PoolMan

2000-11-21 Thread Kaushal Patel


Hi ALL,

I am trying to get he Pool Manger working 
I have a Redhat Linux 6.1 box with Apache &
Tomcat 3.1 on it, my jsp pages work fine
i am able to get connection to databases using
oracle  type 4 jdbc thin driver 

I have downloaded PoolMan v1.4 from codestudio.com 
and am trying to set-up connection pooling 
i have done all the classpath setting as per
the install doc still i keep getting a message 
saying classNotfound exception
   nullpointer exception

What am i missing any help would be appericated !! 

Has anyone got this working ?

Thanks in advance,

Thanks,
KPatel

P.S.
I tired running the test PoolMan.jsp util page they provide and 
got this below message
ResultSet 

ERROR: Unable to process query.
Please verify that PoolMan.jar and your JDBC Driver are in your application
server's CLASSPATH.
If the problem continues, try testing your database and JDBC configuration
via PoolManSample from the command line. 
 
ERROR: Unable to process query.
Please verify that PoolMan.jar and your JDBC Driver are in your application
server's CLASSPATH. 



Re: News Group needed desperately

2000-11-21 Thread Kurt Bernhard Pruenner

Miles Daffin wrote:
> Subject: Re: News Group needed desperately
> > It would also be wonderful if there is a digest form.   I am learning tons
> > from this list, however - it has averaged several hundred messages / week
> > since I joined.
> 
> Good idea. The only problem with these is that some *person* has to
> implement them.
> 
> I am not in a position to be that person.
> 
> Who is?
> 
> I am getting to the point where I will have to unsubscribe.

Excuse me for asking - but why don't you just have your mail program sort
mails from [EMAIL PROTECTED] into a folder and read that? Doesn't
differ much from a digest, and it's even more responsive...

(Having said that - I'm on several hi-traffic mailing lists and I don't have
the slightest problem having them all sorted into their own folder - where's
the big difference to newsgroups then?)

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
np: Bola - Amnion (Soup)



RE: It didn't work

2000-11-21 Thread Marc Saegesser

I've done several installs on WinNT and Win200 with IIS and I can tell you
that it does work.  Without more details its hard to say what wrong with
your configuration but here are a few common problems.

1)  Make sure the isapi_redirect.dll wasn't corrupted by the download.  It
should 112Kb, if your using 3.2b6 or higher.
2)  Make sure the registry entries for the ISAPI redirector are correct.
I've done the registry stuff by hand I usually get it wrong.  Look for an
iis_redirect.reg-auto in the conf directory.  This file gets created for you
automatically.  Take a look at it to make sure the settings look OK and then
rename the file to iis_redirect.reg and run it to create the registry
entries for you.
3)  Step 8 under Configuring the ISAPI Redirector says to add the "Filter
Dlls" key if your using PWS.  PWS is a piece of junk web server that ships
with WinNT Worstation (as an aside, NEVER install this web server).  From
your email it looks like your using IIS from the NT 4.0 Option Pack.  This
server is sometimes refered to as the Personal Web Server to differentiate
it from the web server for NT Server.  Anyway, if your using IIS from the
option pack, don't create the "Filter DLLs" registry key.  If you do, the
isapi_redirector won't load.

-Original Message-
From: Mohammed Nasr Shalaby [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 11:58 AM
To: [EMAIL PROTECTED]
Subject: It didn't work


Hi All

I'm trying to install tomcat on IIS4/NT4 but it just wont work, I've
installed all the needed files, performed all steps from the "TomCat IIS
howto" document found on the server but all didn't work. The ISAPI
filter in the Internet Service Manager alwayes gives me a red arrow
pointing down beside the jakarta filter. Could any one tell me how to
make it run??






Testing Tools

2000-11-21 Thread Wang, Jianming

Hi, everybody.

We have a Web application beta version.  We want to find tools to test how
many users can concurrently use this application, when the application
performance slow down while users' amount increasing, etc..  Certainly, at
current stage, we don't want to spend money on testing tools.  Does anybody
know where we can find such tools for free?   
Thanks in advance.

Jianming Wang



Will war archives auto-update

2000-11-21 Thread Sean Blaes

I am curious if war archives will auto-update when I place them in the
Tomcat directory or if I need to restart Tomcat to activate them.



Re: Uploading files with JSP

2000-11-21 Thread Maurice le Rutte

For some stupid reason it is not in the standard JSP specification
(why). Caucho's Resin (www.caucho.com) can do it for you in a very
nice manner. Otherwise there are upload packages available. For example
O'Reilly's package.

Maurice le Rutte.
Hi,
i have gotten a headache with it. I need to upload a file with
multipart/form-data in JSP environment. Can somebody help me?
Best Regards,



José Euclides Júnior






Re: SnoopServlet - passing params through web.xml

2000-11-21 Thread Craig R. McClanahan

Mala Ramakrishnan wrote:

> Hi,
>
> I wanted to learn how to pass init parameters through web.xml, so I
> uncommented the following from
> jakarta-tomcat-3.1/webapps/examples/WEB-INF/web.xml:
> 
> foo
>bar
> 
>
> Yet, when I call SnoopServlet on my browser as follows:
> http://www.blahblah.com:8080/examples/servlet/SnoopServlet
>
> I get empty fields in Servlet init parameters.
>
> I tried the same with rewriting my own SnoopServlet and yet get null in
> this field. Why would that be?
>

Using "/servlet/SnoopServlet" means you are calling the invoker servlet (the one
that is mapped to "/servlet/*"), which then creates a new servlet definition for
a servlet mapped to "/servlet/SnoopServlet".  If you want to reference
initialization parameters, you will need to create your own 
definition, then create a  that maps one or more URLs to it.

>
> Mala

Craig McClanahan





Apache In-process servlet Containers

2000-11-21 Thread Randy Paries

hello,

I have an apache web server that I would like to set up 
tomcat (In-process servlet containers). I realize In-process
is not the most scalable way , but for my application it will work 
and should be faster.

My stand-alone server is working fine.

In the doc it mentions the three types, and there is even a separate 
help doc for Netscape and Ie for In-process servlets.

I could not find doc on how to implement for Apache. 

Can you have In-process servlet containers with apache?

Can someone point me to the docs to implement this configuration.

Thanks
Randy Paries




Re: Uploading files with JSP

2000-11-21 Thread Joakim Verona

hello,

i use the com.oreilly.servlet package, they have examples and so on.
it works fine for me.

"Jose Euclides da Silva Junior - DIGR.O" wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> 
> Hi,
> i have gotten a headache with it. I need to upload a file with
> multipart/form-data in JSP environment. Can somebody help me?
> Best Regards,
> 
> José Euclides Júnior
> __
> E-mail: [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://euclides.8m.com
> If i fail, if i succeed, at least i live as i believe.
> 
> -BEGIN PGP SIGNATURE-
> Version: PGP 6.5.1
> 
> iQCVAwUBOhr3Lt0YhuJ3BUxtAQGJEAQAj/Y6Ffa7Dmf6jy71ZKZm/RasosXtlG2m
> NF6hSSX5SiaxM+qr4tXPOYZlcDWcxatG1N4NDjqFK1ZVpXZhb3U7cPXA5TAVOTvX
> JZctxc68LheJA2pZWBK/QhYlWYPjvVSBMLEMg1NjjZakceEQiwpTK5JaDfBb93dX
> 9IP2SXSqGko=
> =WVc2
> -END PGP SIGNATURE-

-- 
Joakim Verona
[EMAIL PROTECTED]
http://www.verona.se/



Re: Uploading files with JSP

2000-11-21 Thread Stefan Woithe

check out www.jspsmart.com

Stefan

"Jose Euclides da Silva Junior - DIGR.O" wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> 
> Hi,
> i have gotten a headache with it. I need to upload a file with
> multipart/form-data in JSP environment. Can somebody help me?
> Best Regards,
> 
> José Euclides Júnior
> __
> E-mail: [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> http://euclides.8m.com
> If i fail, if i succeed, at least i live as i believe.
> 
> -BEGIN PGP SIGNATURE-
> Version: PGP 6.5.1
> 
> iQCVAwUBOhr3Lt0YhuJ3BUxtAQGJEAQAj/Y6Ffa7Dmf6jy71ZKZm/RasosXtlG2m
> NF6hSSX5SiaxM+qr4tXPOYZlcDWcxatG1N4NDjqFK1ZVpXZhb3U7cPXA5TAVOTvX
> JZctxc68LheJA2pZWBK/QhYlWYPjvVSBMLEMg1NjjZakceEQiwpTK5JaDfBb93dX
> 9IP2SXSqGko=
> =WVc2
> -END PGP SIGNATURE-




Re: Please help - tomcat instalation

2000-11-21 Thread Michael J. Suzio

"billCC.com (Sales)" wrote:
> And then I get unix prompt again... and nothing happens.

What do you mean by "nothing happens"?  Do you mean you can't
connect to Tomcat from the Web browser and view the example pages?  More
detail is needed to debug things, so far your experience sounds like
what I would expect, so you'll have to indicate what exactly isn't
working as expected.

By the way, your JDK install is correct; the symlinks are supposed to be
there, that's just the way Sun constructed their JDK (one binary with a
set of wrappers and symlinks).

-- 
Michael J. Suzio
Lead Software Engineer -- ISS Southfield
[EMAIL PROTECTED]



servlet url mapping problems

2000-11-21 Thread Yin Tse

Hi,
Has anyone come across this problem :

My url mapping isn't working. Of course if I use a url mapping which is
similar to my servlet name, it will work , but as soon as I change the url
mappping to something else, it doesn't work.
eg 

   
   myServlet
   

  SomeFoolServlet
   


   myServlet
   /myGod


http://locahost/foo/servlet/myServlet  will work
but http://locahost/foo/servlet/myGod won't work. 
Has anyone experienced similar problems ?

Thanks. 



Tomcat BUG REPORT

2000-11-21 Thread vidhyasagar



hi,
 
When I Restart TOMCAT ..
I get a JIT error (not very 
often..)..
 
Apache Tomcat/4.0-devA nonfatal internal JIT 
(3.00.078(x)) error 'Relocation error: NULL relocation target' has occurred 
in :  'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': 
Interpreting method.
 
what May be the possible reason,
 
 
Kris.VidhyaSagar
 
 
 


Re: Please help - tomcat instalation

2000-11-21 Thread Trevor Little

Your JAVA_HOME/bin output is the same as mine... it links to
.java_wrapper.  I can't see where you're going wrong.  It looks ok to
me.  After you run startup.sh just watch the console and watch the
output.  If you have a slow machine maybe it's taking a while.


> "billCC.com (Sales)" wrote:
> 
> I am trying to install tomcat on linux.
> And I have done this:
> 
> I have unzipped the jakarta-tomcat directory that looks like this
> right now:
> 
> 
> drwxrwxr-x 8 admin admin 4096 Nov 20 01:09 .
> 
> drwxrwxr-x 3 admin admin 4096 Nov 20 00:54 ..
> 
> -rw-rw-r-- 1 admin admin 2876 Apr 18 2000 LICENSE
> 
> drwxrwxr-x 2 admin admin 4096 Apr 18 2000 bin
> 
> drwxrwxr-x 2 admin admin 4096 Apr 18 2000 conf
> 
> drwxrwxr-x 4 admin admin 4096 Apr 18 2000 doc
> 
> drwxrwxr-x 3 admin admin 4096 Apr 18 2000 lib
> 
> drwxrwxr-x 4 admin admin 4096 Apr 18 2000 src
> 
> drwxrwxr-x 2 admin admin 4096 Apr 18 2000 webapps
> 
> 
> 
> Then I did set env. variables
> 
> PATH is equal to
> 
> /usr/java/jdk1.3/bin
> 
> There are other paths, but they do not matter I guess.
> 
> Then I did set JAVA_HOME=/usr/java/jdk1.3
> 
> Then I have TOMCAT_HOME=/home/admin/jakarta/jakarta-tomcat
> 
> where tomcat is installed. and java home is /usr/java/jdk1.3
> 
> When I run startup.sh I get just this:
> 
> Using classpath:
> .:/home/admin/jakarta/jakarta-tomcat/lib/ant.jar:/home/admin/ja
> karta/jakarta-tomcat/lib/jasper.jar:/home/admin/jakarta/jakarta-tomcat/lib/servl
> et.jar:/home/admin/jakarta/jakarta-tomcat/lib/test:/home/admin/jakarta/jakarta-t
> omcat/lib/webserver.jar:/home/admin/jakarta/jakarta-tomcat/lib/xml.jar:/usr/java
> /jdk1.3/lib/tools.jar
> 
> And then I get unix prompt again... and nothing happens.
> 
> Am I doing something wrong ?
> 
> There is one little remark though, my /usr/java/jdk1.3/bin directory
> looks like this:
> 
> lrwxrwxrwx 1 root bin 13 Aug 24 10:27 java -> .java_wrapper
> 
> -rwxr-xr-x 1 root bin 2080 Sep 19 02:39 java-rmi.cgi
> 
> 
> 
> lrwxrwxrwx 1 root bin 13 Aug 24 10:27 javac -> .java_wrapper
> 
> lrwxrwxrwx 1 root bin 13 Aug 24 10:27 javadoc -> .java_wrapper
> 
> There is no real files, only these links... is that wrong ?
> 
> How can I fix that ? I installed jdk1.3 using rpm and that is what was
> created.
> 
> All help is very appreciated... THANKS !!!
> 
>



How to set the system propetries? Help Requested!!

2000-11-21 Thread Prathapan Nair

Hi all

Sub - Calling a java Program in a Servlet in Windows Env.

I want to use JAAS in my servlet to do the authentication. For that I need to set the 
following propeties during run time before calling the JAAS program.

java.security.manager 
java.security.policy==E:\jass1_0\doc\samples\config\sample_java2.policy
 java.security.auth.policy==doc\samples\config\sample_jaas.policy  
java.security.auth.login.config==doc\samples\config\sample_jaas.config

When I run the JAAS Program I run the following script in the shell

E:\jdk1.3\jre\bin\java -classpath 
doc\samples\sample.jar;doc\samples\sample_action.jar;doc\samples\sample_module.jar 
-Djava.security.manager -Djava.security.policy==doc\samples\config\sample_java2.policy 
-Djava.security.auth.policy==doc\samples\config\sample_jaas.policy 
-Djava.security.auth.login.config==doc\samples\config\sample_jaas.config sample.Sample


Can any one help?


Prathapan


_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

Participate in crazy auctions at http://auctions.rediff.com/auctions/






JasperException when compiling jsp

2000-11-21 Thread Riza Shaharudin Abdul Razak

Hi, 
 I'm developing web-based email using JavaMail 1.1 and JSP + Java
Beas as its interface, implementing simple stuff like check mail, view,
reply and delete. I'm using Tomcat 3.1 with JDK1.3 on Win98. Everything
works fine except two parts, my reply.jsp and delete.jsp. It works fine
on and off, with no recognizeable pattern, and with no changes to the
codes. This is the error I receive from my reply.jsp, which is similar
for delete.jsp.

Error: 500
Location: /webmail/reply.jsp
Internal Servlet Error:
null
nullorg.apache.jasper.JasperException:
Unable to compile class for
JSPnull  at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:425)nullat
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)null  at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)null  at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)null at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)nullat
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)null at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)null   at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)null   at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)nullat
java.lang.Thread.run(Unknown Source)null
nullRoot cause:null
nulljava.lang.NullPointerExceptionnull  at
java.io.Win32FileSystem.normalize(Unknown
Source)nullat
java.io.Win32FileSystem.getUserPath(Unknown
Source)null  at
java.io.Win32FileSystem.resolve(Unknown
Source)null  at
java.io.File.getAbsolutePath(Unknown
Source)null at
org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:150)nullat
org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:125)nullat
org.apache.jasper.compiler.JspReader.(JspReader.java:219)nullat
org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:225)null at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:155)null   at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)nullat
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)null  at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)null  at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)null at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)nullat
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)null at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)null at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)null   at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)null   at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)nullat
java.lang.Thread.run(Unknown Source)null
null 

I tried removing both files from my webapps/wemail folder, sometimes it
tells me "file not found", most of the times I receive the same
error, even after restarting tomcat. Out of curiosity, I removed other
jsp files which are working, and I received the same error yet again.
Only after removing everything in tomcat/work folder can I get tomcat to
tell me the files are missing. But for reply.jsp and delete.jsp, I still
receive the same error. We tried it on three different PCs, and we see
the error most of the time, and it works fine sometimes. I think it might
be tomcat's setting, but I'm not sure where to start looking. I'd
appreciate any input.

---
Regards,
Riza
Shaharudin Abdul Razak.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
fax: (202) 777-2645 x1640
---



Uploading files with JSP

2000-11-21 Thread Jose Euclides da Silva Junior - DIGR.O

-BEGIN PGP SIGNED MESSAGE-

Hi,
i have gotten a headache with it. I need to upload a file with
multipart/form-data in JSP environment. Can somebody help me?
Best Regards,



José Euclides Júnior
__
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] 
[EMAIL PROTECTED]
http://euclides.8m.com
If i fail, if i succeed, at least i live as i believe.

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQCVAwUBOhr3Lt0YhuJ3BUxtAQGJEAQAj/Y6Ffa7Dmf6jy71ZKZm/RasosXtlG2m
NF6hSSX5SiaxM+qr4tXPOYZlcDWcxatG1N4NDjqFK1ZVpXZhb3U7cPXA5TAVOTvX
JZctxc68LheJA2pZWBK/QhYlWYPjvVSBMLEMg1NjjZakceEQiwpTK5JaDfBb93dX
9IP2SXSqGko=
=WVc2
-END PGP SIGNATURE-



TC32b8 build fails for me

2000-11-21 Thread Aron Kramlik

Hello everyone,

I just downloaded the sources for beta 8 from
http://jakarta.apache.org/builds/tomcat/release/v3.2-beta-8
I have been successfully compiling and upgrading most
revisions of 3.2.  The last one I did was beta 6.

I got a problem with beta 8 today after getting tomcat and
the servletapi from the above location with the beta 6 version
of the jakarta-ant and the usual jaxp and parser jars.

The error output was:

[root@akramliklnx jakarta-tomcat]# ./build.sh 
Buildfile: build.xml

BUILD FAILED

build.xml:33: Could not create task of type: copy because I can't find it in
the list of task class definitions

Total time: 0 seconds


Please tell me what I have done wrong, it must be something at my end.

Thanks,
Aron.



Please help - tomcat instalation

2000-11-21 Thread billCC.com (Sales)





I am trying to install tomcat on 
linux.
And I have done this:
 
I have unzipped the jakarta-tomcat directory 
that looks like this right now:
 

drwxrwxr-x 8 admin admin 4096 Nov 20 01:09 .
drwxrwxr-x 3 admin admin 4096 Nov 20 00:54 ..
-rw-rw-r-- 1 admin admin 2876 Apr 18 2000 LICENSE
drwxrwxr-x 2 admin admin 4096 Apr 18 2000 bin
drwxrwxr-x 2 admin admin 4096 Apr 18 2000 conf
drwxrwxr-x 4 admin admin 4096 Apr 18 2000 doc
drwxrwxr-x 3 admin admin 4096 Apr 18 2000 lib
drwxrwxr-x 4 admin admin 4096 Apr 18 2000 src
drwxrwxr-x 2 admin admin 4096 Apr 18 2000 webapps
 
Then I did set env. variables 
PATH is equal to 
/usr/java/jdk1.3/bin
There are other paths, but they do not matter I 
guess.
Then I did set JAVA_HOME=/usr/java/jdk1.3
Then I have 
TOMCAT_HOME=/home/admin/jakarta/jakarta-tomcat
where tomcat is installed. and java home is 
/usr/java/jdk1.3
When I run startup.sh I get just this:
Using classpath: 
.:/home/admin/jakarta/jakarta-tomcat/lib/ant.jar:/home/admin/jakarta/jakarta-tomcat/lib/jasper.jar:/home/admin/jakarta/jakarta-tomcat/lib/servlet.jar:/home/admin/jakarta/jakarta-tomcat/lib/test:/home/admin/jakarta/jakarta-tomcat/lib/webserver.jar:/home/admin/jakarta/jakarta-tomcat/lib/xml.jar:/usr/java/jdk1.3/lib/tools.jar
And then I get unix prompt again... and nothing 
happens.
Am I doing something wrong ?
There is one little remark though, my /usr/java/jdk1.3/bin 
directory looks like this:
lrwxrwxrwx 1 root bin 13 Aug 24 10:27 java -> .java_wrapper
-rwxr-xr-x 1 root bin 2080 Sep 19 02:39 java-rmi.cgi
 
lrwxrwxrwx 1 root bin 13 Aug 24 10:27 javac -> .java_wrapper
lrwxrwxrwx 1 root bin 13 Aug 24 10:27 javadoc -> .java_wrapper
There is no real files, only these links... is that wrong 
?
How can I fix that ? I installed jdk1.3 using rpm and that 
is what was created.
All help is very appreciated... THANKS !!!
 


It didn't work

2000-11-21 Thread Mohammed Nasr Shalaby

Hi All

I'm trying to install tomcat on IIS4/NT4 but it just wont work, I've
installed all the needed files, performed all steps from the "TomCat IIS
howto" document found on the server but all didn't work. The ISAPI
filter in the Internet Service Manager alwayes gives me a red arrow
pointing down beside the jakarta filter. Could any one tell me how to
make it run??







RE: Tomcat and UltraDev

2000-11-21 Thread Andrea Bertone



Hi Val- 
 
Thank you for offering to 
help... and hey, my maiden name is Tobin. Well, to be honest with you, I don't 
know what my problem is. (I think I am really too new to make a judgement) But, 
this is what I have done thus far: 
 
Installed the Java Development 
Kit, The JSP update is in the extensionmanager, Downloaded the rmijdbc.jar 
file from the Macromedia site... andaltered the Autoexec.bat. When trying 
all the possible combinations ofdrivers and URLs from the Macromedia help 
file "Creating a JDBC databaseconnection" I am getting no driver avaible or 
class errors...I have connected to the database from the MySQL win32 
client... so I knowthat part works... I just can't get UD 
configured.
Does that make 
sense?
 
Andrea

  -Original Message-From: RV Tobin 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 21, 2000 10:08 
  AMTo: [EMAIL PROTECTED]Subject: Re: Tomcat 
  and UltraDev
  Andrea, I'm using UltraDev with MySQL, and the 
  driver I'm using is a JDBC driver (mm.mysql).  There are a number of 
  things that you need to do to get it all set up, and it's not fun, but I can 
  help you.  I'm using Tomcat with Apache, but the settings should still be 
  the same.  What is the driver that you have, exactly, and, as Dom 
  requested, what is the problem you are having?
   
  Val Tobin
   
  - Original Message - 
  
From: 
Dominique BATARD 

To: [EMAIL PROTECTED] 
; [EMAIL PROTECTED] 

Sent: Tuesday, November 21, 2000 12:40 
PM
Subject: Re: Tomcat and UltraDev

Hi Andrea
 
It's at
http://www.macromedia.com/support/ultradev/ts/documents/jsp_update.htm
 
But if you're using MySQL, you don't use 
JDBC-ODBC ...
Do you have the MySQL jdbc driver in 
your classpath ?
 
What is your problem ?
 
Dom


Re: News Group needed desperately

2000-11-21 Thread Miles Daffin

Subject: Re: News Group needed desperately


> It would also be wonderful if there is a digest form.   I am learning tons
> from this list, however - it has averaged several hundred messages / week
> since I joined.

Good idea. The only problem with these is that some *person* has to
implement them.

I am not in a position to be that person.

Who is?

I am getting to the point where I will have to unsubscribe.

Miles




I need mod_jserv.so for HP-UX 10.20

2000-11-21 Thread Antonio Vázquez



I uses Tomcat in Windows and Linux, but I'm new in 
HP-UX world and i have a lot of problems to compile the source files to generate 
mod_jserv.so for Tomcat 3.1 to link with Apache.
 
Please, can anyone send me a binary 
mod_jserv.so for HP-UX 10.20. and a small explanation to install 
it.
 
I will thanks all my life.
 
Antonio Vázquez[EMAIL PROTECTED]


Re: This is driving me nuts...

2000-11-21 Thread Miles Daffin

You should join the Java Developer Connection and browse the forums. This
question is highly out of place here.

People will be asking where to buy their groceries or exchanging jokes next.

MD

> Ok this has been driving me nuts.  JDK1.3 is suppossed to support runtime
> loading of truetype fonts, but I just can't seem to get it to work.
>
> Look at the code below ... (BTW I am runnin this on WIN32 so no worries
> about setting X up properly)
>
> // CODE SNIPPET
>
> BufferedImage image = new BufferedImage(500, 500,
> BufferedImage.TYPE_INT_RGB);
> Graphics2D graphics2D = image.createGraphics();
> graphics2D.setPaint(Color.orange);
> Rectangle2D rectangle2D = new Rectangle2D.Double(0, 0, 500, 500);
> graphics2D.fill(rectangle2D);
>
> graphics2D.setPaint(Color.black);
>
> graphics2D.setRenderingHint(
>RenderingHints.KEY_ANTIALIASING,
>RenderingHints.VALUE_ANTIALIAS_ON);
>
> FileInputStream in = new FileInputStream("arial.ttf");
>
> // This font loads, you can call font.getName() and it will return its
name.
>
> Font font = Font.createFont(Font.TRUETYPE_FONT, in);
> graphics2D.setFont(font.deriveFont(Font.PLAIN, 18));
>
> // However it does not draw the font to the graphic.
> graphics2D.drawString("TESTING", 0, 0);
>
> // Yet this works perfectly fine.
> Font font2 = new Font("Arial", Font.PLAIN, 18);
> graphics2D.setFont(font2);
> graphics2D.drawString("TESTING", 0, 250);
>
> // END CODE SNIPPET
>
> I just don't get it ...
> This has been driving me nuts.
>
> I know this is offtopic but I can't find the solution anywhere, and
everyone
> one on this list seems pretty knowledgable, so i figured what the hey.
>
> Thanks,
> Dan
>
>

_
> Get more from the Web.  FREE MSN Explorer download :
http://explorer.msn.com
>




Re: NoClassDefFoundError in Tomcat installation

2000-11-21 Thread Miles Daffin

This is precisely the sort of question that should be sent to a
tomcat-newbies news group.

Please.

Miles
- Original Message -
From: "Byung Jin Chun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 6:09 PM
Subject: RE: NoClassDefFoundError in Tomcat installation


> make sure that tools.jar is in your classpath
>
> Jin
>
> -Original Message-
> From: Gregor v. Bochmann [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 21, 2000 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: NoClassDefFoundError in Tomcat installation
>
>
> I have just installed the tomcat system under Windows NT and want to serve
> some jsp pages. When the first jsp page is executed, I get the
> NoClassDefFoundError message (the error message is given below).
>
> Does somebody have an idea what is wrong ?
>
> Can somebody tell me how to obtain a more detailed error log ?
>
> I got the error message below by executing the
> /examples/jsp/sessions/carts.html
> page in the examples provided with the tomcat system and then by clicking
> on the ADD button.
>
> Thanks for any help
>
> Gregor v. Bochmann
> --
>
> Unhandled error! You might want to consider having an error page to report
> such errors more gracefully
>
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at
>
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
> at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:149)
> at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:161)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
> at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:160)
> at
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> )
> at java.lang.Thread.run(Unknown Source)
> 
> Gregor v. Bochmann  Tel (613) 562-5800 ext. 6205, Fax 562-5175
> School of Information Technology & Engineering,   University of Ottawa
> 161 Louis Pasteur(CBY A617),PO.Box 450,Stn A,Ottawa,Ont,K1N 6N5,Canada
> email:[EMAIL PROTECTED]  




RE: running jsp on tomcat

2000-11-21 Thread Nacho

Hola SUBHOMOY:

Probably you need to put the tools.jar from your jdk instalation in the
classpath to be able of use jsp pages as is need to compile JSP's

Saludos ,
Ignacio J. Ortega

PS: please for questions about the use/conf of tomcat, use the
tomcat-user list as tomcat-dev is reserved to tomcat itself developers,
thanks .


> -Mensaje original-
> De: DASS SUBHOMOY /SOFT/INFOTECH [mailto:[EMAIL PROTECTED]]
> Enviado el: martes 21 de noviembre de 2000 6:08
> Para: '[EMAIL PROTECTED]'
> Asunto: running jsp on tomcat
> 
> 
> 
> hi,
> can any one tell me how to run jsp on tomcat in solaris
> 2.6.jdk 1.1.3.tomcat3.1.i am able to run servlets but not jsp.
> regards and thanks
> 
> subhomoy
> 
> 
>  Feel the pulse of the stock market on the tip of your finger 
> Online Investments at http://www.icicidirect.com. 
> 
> 



Re: News Group needed desperately

2000-11-21 Thread Hussam Alsawadi

I agree with you.
alsawadi

--- Miles Daffin <[EMAIL PROTECTED]> wrote:
> I have been on this list for a week or so now and I
> am flooded with mails everyday.
> 
> When this happened on the Orion Interest list I had
> no choice bu to unsubscribe.
> 
> The sheer volume of mails (50% of which ask ill
> considered questions) suggests the need for a news
> group, maybe two.
> 
> The virtues of doing it like this are numerous, e.g.
> threads can be viewed, followed etc. It simply
> organises the mails better, allowing me to filter
> without cluttering up my system first.
> 
> Who can set this up? Craig (I know you are a busy
> fella)?
> 
> Miles
> 


__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



Please unsubscribe me.

2000-11-21 Thread Richard Xia





Re: Help Needed

2000-11-21 Thread Craig R. McClanahan

"Ramesh Kumar . T" wrote:

> Hi ,
>
> I had previously seen some
> xml tags in earlier versions of tomcat (I do not remember the version)
> something like
> 
> 
> (but this does not work right now )
>
> instead of the
> <%
> %>
> tags
>
>   Is the Xml  format going to be a standard or some
> thing?
> can somebody  exaplain this
>

The  and other similar tags are used in the "XML view" of a JSP
page.  This syntax was optional in JSP 1.1 (and is not supported by Tomcat 3.x),
but is required by JSP 1.2 (and is supported by Tomcat 4.0).  Some syntax
details have changed between 1.1 and 1.2 -- you will want to download the JSP
1.2 spec from:

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

to see all the gory details.

>
> I would appreciate any links to Model2 architecture  described by sun
> and links for writing tag libraries

One place to start on architectures is the Struts project at

http://jakarta.apache.org/struts

There are also many useful links about tag libraries (including a tutorial) at:

http://java.sun.com/products/jsp

>
> One more thing I just tried Tomcat4.0 beta .
> What is this catalina???

>
> I Could not find any documents describing  the architecture of tomcat .
> Can anyone give me some pointers???
>

For Tomcat 4.0, the source distribution has a few documents and diagrams in the
"catalina/docs/dev" directory.

>
> Thanks
> Ramesh

Craig McClanahan





Re: Tomcat and UltraDev

2000-11-21 Thread RV Tobin



Andrea, I'm using UltraDev with MySQL, and the 
driver I'm using is a JDBC driver (mm.mysql).  There are a number of things 
that you need to do to get it all set up, and it's not fun, but I can help 
you.  I'm using Tomcat with Apache, but the settings should still be the 
same.  What is the driver that you have, exactly, and, as Dom requested, 
what is the problem you are having?
 
Val Tobin
 
- Original Message - 

  From: 
  Dominique BATARD 
  
  To: [EMAIL PROTECTED] 
  ; [EMAIL PROTECTED] 
  
  Sent: Tuesday, November 21, 2000 12:40 
  PM
  Subject: Re: Tomcat and UltraDev
  
  Hi Andrea
   
  It's at
  http://www.macromedia.com/support/ultradev/ts/documents/jsp_update.htm
   
  But if you're using MySQL, you don't use 
  JDBC-ODBC ...
  Do you have the MySQL jdbc driver in 
  your classpath ?
   
  What is your problem ?
   
  Dom


Re: News Group needed desperately

2000-11-21 Thread John Marquart

It would also be wonderful if there is a digest form.   I am learning tons
from this list, however - it has averaged several hundred messages / week
since I joined.

-j


On Tue, 21 Nov 2000, Miles Daffin wrote:

> I have been on this list for a week or so now and I am flooded with mails everyday.
> 
> When this happened on the Orion Interest list I had no choice bu to unsubscribe.
> 
> The sheer volume of mails (50% of which ask ill considered questions) suggests the 
>need for a news group, maybe two.
> 
> The virtues of doing it like this are numerous, e.g. threads can be viewed, followed 
>etc. It simply organises the mails better, allowing me to filter
> without cluttering up my system first.
> 
> Who can set this up? Craig (I know you are a busy fella)?
> 
> Miles
> 


John "Jamie" Marquart   | This message posted 100% MS free.
Digital Library SysAdmin|  Work: 812-856-5174   Pager: 812-334-6018
Indiana University Libraries|  ICQ: 1131494 D'net Team:  6265




problem

2000-11-21 Thread billCC.com (Sales)




I am trying to install tomcat on 
linux.
And I have done this:
 
I have unzipped the jakarta-tomcat directory 
that looks like this right now:
 

drwxrwxr-x 8 admin admin 4096 Nov 20 01:09 .
drwxrwxr-x 3 admin admin 4096 Nov 20 00:54 ..
-rw-rw-r-- 1 admin admin 2876 Apr 18 2000 LICENSE
drwxrwxr-x 2 admin admin 4096 Apr 18 2000 bin
drwxrwxr-x 2 admin admin 4096 Apr 18 2000 conf
drwxrwxr-x 4 admin admin 4096 Apr 18 2000 doc
drwxrwxr-x 3 admin admin 4096 Apr 18 2000 lib
drwxrwxr-x 4 admin admin 4096 Apr 18 2000 src
drwxrwxr-x 2 admin admin 4096 Apr 18 2000 webapps
 
Then I did set env. variables 
PATH is equal to 
/usr/java/jdk1.3/bin
There are other paths, but they do not matter I 
guess.
Then I did set JAVA_HOME=/usr/java/jdk1.3
Then I have 
TOMCAT_HOME=/home/admin/jakarta/jakarta-tomcat
where tomcat is installed. and java home is 
/usr/java/jdk1.3
When I run startup.sh I get just this:
Using classpath: 
.:/home/admin/jakarta/jakarta-tomcat/lib/ant.jar:/home/admin/jakarta/jakarta-tomcat/lib/jasper.jar:/home/admin/jakarta/jakarta-tomcat/lib/servlet.jar:/home/admin/jakarta/jakarta-tomcat/lib/test:/home/admin/jakarta/jakarta-tomcat/lib/webserver.jar:/home/admin/jakarta/jakarta-tomcat/lib/xml.jar:/usr/java/jdk1.3/lib/tools.jar
And then I get unix prompt again... and nothing 
happens.
Am I doing something wrong ?
There is one little remark though, my /usr/java/jdk1.3/bin 
directory looks like this:
lrwxrwxrwx 1 root bin 13 Aug 24 10:27 java -> .java_wrapper
-rwxr-xr-x 1 root bin 2080 Sep 19 02:39 java-rmi.cgi
 
lrwxrwxrwx 1 root bin 13 Aug 24 10:27 javac -> .java_wrapper
lrwxrwxrwx 1 root bin 13 Aug 24 10:27 javadoc -> .java_wrapper
There is no real files, only these links... is that wrong 
?
How can I fix that ? I installed jdk1.3 using rpm and that 
is what was created.
All help is very appreciated... THANKS !!!
 


Can't run servlets or jsp--how can I tell if Tomcat is running?

2000-11-21 Thread michael e. brubaker


I'm obviously a newbie, please be patient.  I read the docs and searched
the faqs and archive, lurked through the tomcat-user emails for the past
five days.  I am now throwing myself on the mercy of the user-group
I have attempted to install Tomcat on my Win98 system in conjunction
with jdk1.1.8. (I don't know which version of Tomcat and I don't know how
to find out; it was the release build available 11/15, probably 3.1)
I unzipped to the C: drive, set the %TOMCAT_HOME% to c:\jakarta-tomcat,
set %JAVA_HOME% to C:\jdk1.1.8, and added many items to my CLASSPATH (see
autoexec.bat below.)  The jdk1.1.8\bin was already in the PATH.
At different times (with the same result) I ran the startup.bat from
both Windows Explorer and a DOS window (and then re-ran after fixing the
out-of-environment-space error by adjusting the Initial Environment memory).
The results I got were a separate DOS window titled "Finished-startup",
which read
    Starting Tomcat in a separate
window
    Using classpath:  C:\jakarta-tomcat\classes.<>
    Invalid directory
I tried running the sample jsp and servlet program found on C:\jakarta-tomcat\doc\appdev\sample\web\index.html
to no avail.
The jsp shows unprocessed jsp commands; clicking on the servlet example
yielded  "Netscape is unable to find the file or directory named /CI/jakarta-tomcat/doc/appdev/sample/web/hello". 
I couldn't find the file either, but I did find "Hello.java" under doc\appdev\sample\src. 
I moved it, tried again, no luck, renamed it "hello.java", no luck, changed
the main class declaration to the lower case hello, compiled it, no luck.
A different plan of attack:  I type in the "HelloWorld"example
from Marty Hall's book; it won't compile- unable to import javax.servlet.*,
and javax.servlet.http.*, plus all of the associated error messages.
At one point I tried modifiying the startup.bat, still no luck.
I finally deleted all the relevant directories, did a fresh re-install,
with a clean autoexec.bat, and it's still not working.  But I'm getting
a slightly different error message when trying to compile the Marty's sample
HelloWorld code:
error: File .\ServletException.class does not contain type ServletException
as expected, but type javax.servlet.ServletException.  Please remove
the file, or make sure it apppears in the correct subdirectory of the class
path.
I deleted the ServletException class and tried to re-compile and got
a similar error:
error: File .\ServletException.class does nto contain type ServletException
as expected, but type javax.servlet.ServletException.  Please adjust
the class path so that the file does not appear in the unnamed package.
I really don't know what that means.  I don't think Tomcat has
started running, but I don't know how to check.
A few other miscellaneous notes:


I included the %JAVA_HOME%\tools.jar in my CLASSPATH, but tools.jar dones
not exist anywhere on my hard drive.  But it was in the startup.bat
where I modeled my CLASSPATH settings from, so I left it in.


My CLASSPATH also lists %TOMCAT_HOME%\classes;  I don't have this
directory.


Marty Hall's book says the servlets should be placed in the install_dir/webpages/WEB-INF/servlets
directory.  I don't have one.  The example servlets are found
in C:\jakarta-tomcat\src\javax\servlet directory, so that's where I put
my HelloWorld


MANY THANKS to everyone;  I sincerely appreciate whatever direction
you can give me.  I've been trying to install for two weeks now, and
I'm just  ready to start coding  :)
Michael Brubaker
Java Developer Wannabe,
Orlando, Florida
 
 
Contents of autoexec.bat:
PATH=.;..;C:\Windows\command;C:\MSWORD\OFFICE;c:\Oracle\Ora81\bin;C:\JDK1.1.8\BIN;C:\Oracle\Ora81\jdbc\lib\classes111.zip;C:\Tomcat\jakarta-tomcat\lib\servlet.jar;C:\Tomcat\jakarta-tomcat\lib\jasper.jar;%CLASSPATH%
C:\PROGRA~1\COMMON~1\NETWOR~1\VIRUSS~1\40~1.XX\scan.exe C:\
@IF ERRORLEVEL 1 PAUSE
set TOMCAT_HOME=C:\jakarta-tomcat
set JAVA_HOME=C:\jdk1.1.8
@ECHO OFF
set CLASSPATH=.;..
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\classes;
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\bin
@ECHO ON
set CLASSPATH=%CLASSPATH%;C:\Oracle\Ora81\jdbc\lib\classes111.zip;C:\Oracle\Ora81\bin
 
 


how do I?

2000-11-21 Thread Jeff Copeland

I have tried 3 times to unsubscribe from this list. Does anyone know why 
the link to unsubscribe doesn't seem to get me off the list? If anyone is 
moderating this list, please take me off of it.

Thanks,

Jeff Copeland
[EMAIL PROTECTED]




Re: News Group needed desperately

2000-11-21 Thread Michael J. Suzio

I somewhat agree.  At the very least, can people read the documentation
and FAQ *before* asking questions?  The same questions get asked over
and over and over again...  most of which are answered in the
documentation, the FAQ, or the archives of this list.  I mean, come
on... *I* just started using this package a week ago, and I found
answers to all my questions.  Do people check other resources first?

I'd suggest a periodic posting to the list (with some easily-killable
subject line so I can auto-delete it ) that enumerates where to find
answers to frequent questions, with a *stern* suggestion to exhaust
these first.  We should also suggest what *doesn't* belong on the list.

(Now watch, after posting this I'll ask some stupid question when I get
stuck ).

-- 
Michael J. Suzio
Lead Software Engineer -- ISS Southfield
[EMAIL PROTECTED]



Re: Tomcat 3.1 standalone - how to resolve ~user requests???

2000-11-21 Thread Wolfgang Trexler

[EMAIL PROTECTED] wrote:
> 
> [Sorry for the repost - but I'm stumped on this one.  I've looked in the
> online docs, etc.]
> 
> How do I get a *standalone* Tomcat 3.1 server to resolve ~user requests?  The
> Apache 1.3.11 server handles ~user requests fine (UserDir public_html).  Is
> there something that needs to be added to jakarta-tomcat/conf/server.xml or
> a command line argument that lets Tomcat know what '~' expand to?  '~'
> expands to /dc/home NOT /home on our systems.
> 
> What is Tomcat's equivalent of Apache's  UserDir public_html?
> 
> Example:  http://asterix:8081/~bryan
> 
> Apache handles this fine.  Tomcat complains that ~bryan directory is not found.

I don't think that Tomcat does handle that sort of requests. As stated
somewhere in the docs Tomcat is not a webserver replacement, so why
should one like to have web-server functionallity? Also I wouldn't use
the Tomcat standalone in a production environment. Try to get rid of
that setup, place Tomcat behind a web server like Apache that that
handles that kind of stuff and let Tomcat do what it's design for:
handle applications.

br
Wolfgang
-- 
KPNQwest Austria GmbH., A-1150 Wien, Diefenbachgasse 35
Ing. Wolfgang Trexler [EMAIL PROTECTED]
Web-Technik Business Solutions
Tel.: +43 (1) 899 33 - 141, Fax: +43 (1) 899 33 -10 141



Re: Tomcat 3.1 and IBM JRE 1.3

2000-11-21 Thread Wolfgang Trexler

Konrad Kamiñski wrote:
> 
> Did any of you try to run Tomcat 3.1 on IBM JRE 1.3? When I try to run it it
> shows me sth like this:

You should add for which platform you're asking...
We're running Tomcat 3.1 with IBM JDK 1.3 on Linux without any
problems...


br
Wolfgang
-- 
KPNQwest Austria GmbH., A-1150 Wien, Diefenbachgasse 35
Ing. Wolfgang Trexler [EMAIL PROTECTED]
Web-Technik Business Solutions
Tel.: +43 (1) 899 33 - 141, Fax: +43 (1) 899 33 -10 141



Re: Tomcat and UltraDev

2000-11-21 Thread Dominique BATARD



Hi Andrea
 
It's at
http://www.macromedia.com/support/ultradev/ts/documents/jsp_update.htm
 
But if you're using MySQL, you don't use JDBC-ODBC 
...
Do you have the MySQL jdbc driver in 
your classpath ?
 
What is your problem ?
 
Dom

  - Original Message - 
  From: 
  Andrea Bertone 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, November 21, 2000 5:27 
  PM
  Subject: RE: Tomcat and UltraDev
  
  Which patch... 
  I did download a few... can you explain further? please 
:o)
  
-Original Message-From: Dominique BATARD 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 21, 2000 2:24 
AMTo: [EMAIL PROTECTED]; 
[EMAIL PROTECTED]Subject: 
Re: Tomcat and UltraDev
UltraDev jsp is NOT jsp 1.1, only 1.0 
!
If you're using ODBC-JDBC, go to their site and 
download the patch.
 
 
Dom

  - Original Message - 
  From: 
  Andrea Bertone 
  To: [EMAIL PROTECTED] 
  
  Sent: Tuesday, November 21, 2000 5:03 
  AM
  Subject: Tomcat and UltraDev
  
  Is anyone out there using 
  UltraDev to develop jsp pages. I am trying to set the run-time connection 
  to no avail.. I have Tomcat installed on my Linux server and have a 
  database built with MySQL.
   
  Please, can someone 
  help... I wanna cry.
   
   
  Andrea Bertone
  www.bertoneadvertising.com
  ph. 562.404.7300
  fax 562.623.0027
   


Re: [ANNOUNCEMENT] Tomcat 3.2 Beta 8

2000-11-21 Thread Craig R. McClanahan

GOMEZ Henri wrote:

> The reported name is incorrect, I'll fix that in CVS but too late...
>

That is really strange - I checked in this change last night (6:43PM Pacific
time).

Craig





RE: Virtual Hosts and Properties files..

2000-11-21 Thread Saurabh Shukla


if I am getting you correctly, in your web.xml invoke a servlet at startup
and depending upon
the parameters you can pick up the path from there.  U might have to hard
code something in web.xml.

Shuklix
-Original Message-
From: Scott Hamilton, +61-2-9942 9693 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 22, 2000 8:44 AM
To: [EMAIL PROTECTED]
Subject: Virtual Hosts and Properties files..


Greetings!

   I'm not sure exactly if this is the right forum, but here goes...
   I have JSP page using a Bean (ofcourse) this is defined in a
   virtual host (for Development, Test and Production for each
   DNS domain hosted) I'd like to read a thisbean.properties file
   (using Properties, FileInputStream and File classes)  that
   resides in the /dev/app1/web-inf/classes/ directory for that
   particular host that has a number of environment (dev,test,prod)
   properties for that bean

   So my question (atlast), is there a property I can get to pass
   to the constructor for File to pickup the right file path of
   where the classes really is executing from
   FWIW when I do a file.getCanonicalPath() it returns the directory
   I installed tomcat into (eg: C:\jakarta-tomcat\mybean.properties)


   Many thanx in advance for any info
  Scott, Esq.




Re: ERROR: 500

2000-11-21 Thread Chetna Bhatt

Hi,
First of all, is your tomcat running properly?Which version of Jre r u using and
also which is your web server?
The Jre version should be 1.3 and also the jdk path should be set as well as the
classpath for the jdk.
the CLASSPATH should be:
.;C:\jdk1.2.1\lib\tools.jar;
 and the Path should be set to:
C:\jdk1.2.1\bin;C:\Program Files\JavaSoft\Jre\1.3\bin;
And if u r using Apache as the webserver then Tomcat should be started first and
the Apache Server.
Also there is a ApacheModuleJServ.dll file that has to be downloaded and kept in
the modules folder of  Apache.

Let me know if this works.

Regards
CB



Chris Huisman wrote:

> I am having a problem running JSP with tomcat.  When I attempt to run my own
> JSPs, and when I attempt to run the example ones I get the following error:
> Error: 500
>   Location: /examples/jsp/error/err.jsp
>   sun/tools/javac/Main
>
> My classpath is set to:
>
> CLASSPATH=.;C:\Symphony\jakarta-tomcat\lib\servlet.jar;C:\Symphony\jakarta-t
> omcat\lib\jasper.jar
>
> I am running tomcat 3.1 on NT4.0
>
> Any help is greatly appreciated.
>
> thanks,
> chris.




RE: NoClassDefFoundError in Tomcat installation

2000-11-21 Thread Byung Jin Chun

make sure that tools.jar is in your classpath

Jin

-Original Message-
From: Gregor v. Bochmann [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 11:40 AM
To: [EMAIL PROTECTED]
Subject: NoClassDefFoundError in Tomcat installation


I have just installed the tomcat system under Windows NT and want to serve
some jsp pages. When the first jsp page is executed, I get the
NoClassDefFoundError message (the error message is given below). 

Does somebody have an idea what is wrong ?

Can somebody tell me how to obtain a more detailed error log ?

I got the error message below by executing the
/examples/jsp/sessions/carts.html 
page in the examples provided with the tomcat system and then by clicking
on the ADD button.

Thanks for any help

Gregor v. Bochmann
--

Unhandled error! You might want to consider having an error page to report
such errors more gracefully 

java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Unknown Source)

Gregor v. Bochmann  Tel (613) 562-5800 ext. 6205, Fax 562-5175
School of Information Technology & Engineering,   University of Ottawa
161 Louis Pasteur(CBY A617),PO.Box 450,Stn A,Ottawa,Ont,K1N 6N5,Canada
email:[EMAIL PROTECTED]  



News Group needed desperately

2000-11-21 Thread Miles Daffin



I have been on this list for a week or so now and I 
am flooded with mails everyday.
 
When this happened on the Orion Interest list I had 
no choice bu to unsubscribe.
 
The sheer volume of mails (50% of which ask 
ill considered questions) suggests the need for a news group, maybe 
two.
 
The virtues of doing it like this are numerous, 
e.g. threads can be viewed, followed etc. It simply organises the mails better, 
allowing me to filter
without cluttering up my system first.
 
Who can set this up? Craig (I know you are a busy 
fella)?
 
Miles


Re: Please help!

2000-11-21 Thread Dusan Vujosevic

Boszormenyi Laszlo wrote:

> Hello!
>
> On Tue, 21 Nov 2000, Rocky YIP wrote:
>
> > My case is when I run tomcat\bin\startup, it displays "bad command or file name"
>  Please check if all the paths is set up correctly in that file.
>
> > If I run tomcat\bin\tomcat, it displays "Out of environment space".
>  I can't remember exactly, but there's an entry in the autoexec.bat, which
> defines how many memory should be allocated for the environment variables
> (like buffers or something like that). Set it to a higher value, until it
> will work (I think you have to restart the machine for the change take
> effect). You can find the exact solution on the SUN's java pages
> somewhere.
>
> Sincerely,
> Laszlo

Select 'Properties', 'Memory' and set the 'Initial environment' to 4096 om that DOS
box. Do it for all scripts in the 'bin' directory. You can also modify your Config.sys
so that MS-DOS boxes default to 4096 (kb). This all applies to Win 9x.

Hope this helps.

Dusan






using mod_jk log ... I get this message...

2000-11-21 Thread Tony Mueller

Hello,

My webapp seems to run fine on apache - mod_jk - tomcat 3.1 except that I 
occasionally get the following message in my mod_jk log file?

[jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to
server

Has anyone else got the same message and has any idea what is causing it?

Thanks 

Tony Mueller



Tomcat 3.1 standalone - how to resolve ~user requests???

2000-11-21 Thread bryan


[Sorry for the repost - but I'm stumped on this one.  I've looked in the
online docs, etc.]

How do I get a *standalone* Tomcat 3.1 server to resolve ~user requests?  The
Apache 1.3.11 server handles ~user requests fine (UserDir public_html).  Is
there something that needs to be added to jakarta-tomcat/conf/server.xml or
a command line argument that lets Tomcat know what '~' expand to?  '~'
expands to /dc/home NOT /home on our systems.

What is Tomcat's equivalent of Apache's  UserDir public_html?  

Example:  http://asterix:8081/~bryan

Apache handles this fine.  Tomcat complains that ~bryan directory is not found.

Thanks.

Bryan
mailto:[EMAIL PROTECTED]




Re: Tomcat StartUp Problem

2000-11-21 Thread Chetna Bhatt

Hi,
Have u set the classpath for the Jre which should be 1.3 version.
the classpath:
:\Program Files\JavaSoft\Jre\1.3\bin;

Regards
Chetna

Kumar Shailendra wrote:

> Hi,
> Can somebody please help me solve the error I am getting  I try to start
>
> Tomcat on my machine.
> "Java.lang.ClassNot  FoundException:
> org/apache/tomcat/service/http/HttpConnectionHandler" .
> In short I get Class not found exception for HttpConnectionHandler.
> I have set the TOMCAT_HOME and JAVA_HOME variable.My OS is Windows NT
> workstation 4.2 .
>
> Thanks & Regards,
> Shailendra




RE: Context Manager

2000-11-21 Thread Nacho

Hola Wellington:

> 
> The idea was to have several different logging schemas and 
> home paths, etc,
> within the same 'instance' of tomcat.
> 
> for instance...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> in the SAME server.xml. Does it make sense ?

Yes it makes sense, but you can achieve the same results with contexts
and tomcat 4.0 or 3.3, as both of them have percontext
interceptors/valves and loggers, for 3.2 you can manage easily ( without
a lot of code ) to have various contextmanagers or various
interceptors/loggers per context (that seems to be what you need or at
least very near :)

Saludos ,
Ignacio J. Ortega





NoClassDefFoundError in Tomcat installation

2000-11-21 Thread Gregor v. Bochmann

I have just installed the tomcat system under Windows NT and want to serve
some jsp pages. When the first jsp page is executed, I get the
NoClassDefFoundError message (the error message is given below). 

Does somebody have an idea what is wrong ?

Can somebody tell me how to obtain a more detailed error log ?

I got the error message below by executing the
/examples/jsp/sessions/carts.html 
page in the examples provided with the tomcat system and then by clicking
on the ADD button.

Thanks for any help

Gregor v. Bochmann
--

Unhandled error! You might want to consider having an error page to report
such errors more gracefully 

java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)

Gregor v. Bochmann  Tel (613) 562-5800 ext. 6205, Fax 562-5175
School of Information Technology & Engineering,   University of Ottawa
161 Louis Pasteur(CBY A617),PO.Box 450,Stn A,Ottawa,Ont,K1N 6N5,Canada
email:[EMAIL PROTECTED]  



RE: Tomcat and UltraDev

2000-11-21 Thread Andrea Bertone



Which patch... I 
did download a few... can you explain further? please :o)

  -Original Message-From: Dominique BATARD 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 21, 2000 2:24 
  AMTo: [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Subject: Re: Tomcat and 
  UltraDev
  UltraDev jsp is NOT jsp 1.1, only 1.0 
  !
  If you're using ODBC-JDBC, go to their site and 
  download the patch.
   
   
  Dom
  
- Original Message - 
From: 
Andrea Bertone 
To: [EMAIL PROTECTED] 

Sent: Tuesday, November 21, 2000 5:03 
AM
Subject: Tomcat and UltraDev

Is anyone out there using 
UltraDev to develop jsp pages. I am trying to set the run-time connection to 
no avail.. I have Tomcat installed on my Linux server and have a database 
built with MySQL.
 
Please, can someone help... 
I wanna cry.
 
 
Andrea Bertone
www.bertoneadvertising.com
ph. 562.404.7300
fax 562.623.0027
 


Changing root webapp

2000-11-21 Thread Richard Evans

In the default tomcat build there is a ROOT webapp which maps to /.  Now I
would like to map the pages and servlets in ROOT to some other path and have a
webapp of my own which handles /.

I tried something like this in server.xml:

 




 


In other words, /root will map to the tomcat home page, etc.  It works fine
except of course my main web app is loaded twice: once when server.xml is read
and once at autosetup time.  AutoSetup scans the webapps directory, finds
"main" and because there isn't a /main context, loads the context again.  This
means that my load-on-startup servlets get loaded twice.

Is there a better way of doing this?

Richard



ERROR: 500

2000-11-21 Thread Chris Huisman

I am having a problem running JSP with tomcat.  When I attempt to run my own
JSPs, and when I attempt to run the example ones I get the following error:
Error: 500
  Location: /examples/jsp/error/err.jsp
  sun/tools/javac/Main 

My classpath is set to:

CLASSPATH=.;C:\Symphony\jakarta-tomcat\lib\servlet.jar;C:\Symphony\jakarta-t
omcat\lib\jasper.jar

I am running tomcat 3.1 on NT4.0

Any help is greatly appreciated.

thanks,
chris.



Thread.currentThread().getContextClassLoader() in Tomcat 3.2

2000-11-21 Thread Roytman, Alex

I would like to use Thread.currentThread().getContextClassLoader() with
Tomcat 3.2 to resolve one common problem when class from system classpath
needs to call something loaded by tomcat context's loader. As far as I
understand Tomcat 3.2 suppose to run under jdk1.1 so it does not do
Thread.currentThread().setContextClassLoader() before it hands control to a
Servlet.

Below are my interceptors I use for
Thread.currentThread().setContextClassLoader() and setting scope of jndi to
make it tomcat context specific.

I wonder if someone with more knowledge on tomcat internal could possibly
comment on this approach. Is it right approach? is it safe? What if someone
in another interceptor will do something else to
Thread.currentThread().contextClassLoader?

Your feedback is greatly appreciated

Alex



Request Interceptor:

  public int preService(Request request, Response response) {
 
Thread.currentThread().setContextClassLoader(request.getContext().getServlet
Loader().getClassLoader());
HierInitCtxFactory.selectScope(request.getContext().getPath());
return 0;
  }

  public int postService(Request request, Response response) {
HierInitCtxFactory.selectScope(null);
 
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
return 0;
  }


ContextInterceptor:

  public void preServletInit(Context ctx, ServletWrapper sw) throws
TomcatException {
 
Thread.currentThread().setContextClassLoader(ctx.getServletLoader().getClass
Loader());
HierInitCtxFactory.selectScope(ctx.getPath());
  }

  public void postServletInit(Context ctx, ServletWrapper sw) throws
TomcatException {
HierInitCtxFactory.selectScope(null);
 
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
  }



RE: Context Manager

2000-11-21 Thread Lacerda, Wellington (AFIS)

The idea was to have several different logging schemas and home paths, etc,
within the same 'instance' of tomcat.

for instance...













in the SAME server.xml. Does it make sense ?

Wellington

-Original Message-
From:   Nacho [mailto:[EMAIL PROTECTED]]
Sent:   21 November 2000 16:22
To: '[EMAIL PROTECTED]'
Subject:RE: Context Manager

Hola Wellington:

Why? please explain the intention more deeply, please.

to  answer you i need to review some code ( now i think it's
not
possible but how knows until RTFC :) but the idea itself
seems curious
to me , do you want to have 2 sets of interceptors/valves ?
Please
elaborate a little..

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> De: Lacerda, Wellington (AFIS)
[mailto:[EMAIL PROTECTED]]
> Enviado el: martes 21 de noviembre de 2000 14:08
> Para: '[EMAIL PROTECTED]'
> Asunto: Context Manager
> 
> 
> Can I declare more than one context manager in the same
server.xml ?
> 
> Wellington Silva
> UN/FAO
> 
> 



RE: problems with installing Tomcat as a service

2000-11-21 Thread Etienne Baert \(SPS Office\)

Hallo Maarten,

this is a well known problem when using jdk1.3.
Is it that version you are using ?

mvg,
Etienne

-Original Message-
From: Maarten Coene [mailto:[EMAIL PROTECTED]]
Sent: mardi 21 novembre 2000 16:29
To: [EMAIL PROTECTED]
Subject: problems with installing Tomcat as a service


Hi,

I have problems installing Tomcat as a service in Windows 2000. I'm using
Tomcat 3.2 b8.
The situation is like this: (after logging in as Administrator)

1. I have followed the steps described in the NT-Service-howto.html
document in the doc directory of Tomcat.
2. In the Services-window, I updated the startup-type to "automatic"
3. Next, I started the service by pressing "Start"

Now, the tomcat service is running next to the Apache webserver and it
works fine (I ran the examples delivered with tomcat and they worked). The
problem begins when I log off. Normally, one would expect that the service
keeps running, even when logging off. But this doesn't happen.

When I log off, the tomcat service stops executing (but the Apache
webserver service continues executing as it should).
When I log back on as Administrator, the tomcat service isn't executing, I
always have to start it manually. After logging off again, the tomcat
service stops.
When I log back on as a normal user, the tomcat service isn't executing,
and I cannot start the service: "error 5: access is denied". Now I have to
start the tomcat program using the startup batch-file located in the bin
directory of tomcat.

I hope I have provided you with enough information about this problem and I
really hope you can help me solving this problem.

Maarten



--
Maarten Coene
K.U.Leuven
Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee




RE: <%@ include %> too conservative?

2000-11-21 Thread Morahg, Yoav

James House contributed a patch for this a while ago. I haven't tried it,
but it lives at  
http://www.interobjective.com/tomcat/tomcatPatches.html

-Yoav

-Original Message-
From: Alvin Hung [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 21, 2000 6:32 AM
To: [EMAIL PROTECTED]
Subject: <%@ include %> too conservative?



Hi,

Currently in Tomcat 3.1 <%@ include %> will prevent you from including the 
same jsp > 1 times.  However, if I have a page and I want to display the 
same menu structure at the top AND the bottom, I do want to include the same

jsp twice!  Is there a way to get around this limitation?  I really don't 
want to do cut and paste.  Thanks.



_
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com



Re: Help.. I cannot use classes in JSP code itself!!

2000-11-21 Thread Dave Smith

Winnie,

Naturally. The following JSP creates an inner class and then counts as the
page is reloaded. Keep in mind
that JSP's are just servlets and servlets are just java classes. There are
no special restrictions. Please
consult a good book on java for more details on constructing Inner classes.

Also, please stop posting general java questions to the list.

Thanks,

Dave

**START CODE
<%!
 public class TestInner {
  private int count = 0;
  public void increment() { count++; }
  public String toString() { return ""+count; }
 }
 TestInner inner = new TestInner();
 %>

http://www.w3.org/TR/html4/strict.dtd">


   
  Test
   


Count: <% inner.increment(); %><%=inner%>




**END CODE*



- Original Message -
From: "Winnie Cheung" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 4:52 AM
Subject: Help.. I cannot use classes in JSP code itself!!


> Hello..
>
> Can I write my own simple classes within the JSP code? I mean within the
"<%
> %>" tags? I have been trying to do this but its giving me an error all the
> time!
>
> I want to do this because I would like to avoid the rigmarole of going
> through all these directory structures and all that with servlets!
>
> Thanks very much for the patience, I am a very new user.
>
> Best regards
> Winnie
>




problems with installing Tomcat as a service

2000-11-21 Thread Maarten Coene

Hi,

I have problems installing Tomcat as a service in Windows 2000. I'm using 
Tomcat 3.2 b8.
The situation is like this: (after logging in as Administrator)

1. I have followed the steps described in the NT-Service-howto.html 
document in the doc directory of Tomcat.
2. In the Services-window, I updated the startup-type to "automatic"
3. Next, I started the service by pressing "Start"

Now, the tomcat service is running next to the Apache webserver and it 
works fine (I ran the examples delivered with tomcat and they worked). The 
problem begins when I log off. Normally, one would expect that the service 
keeps running, even when logging off. But this doesn't happen.

When I log off, the tomcat service stops executing (but the Apache 
webserver service continues executing as it should).
When I log back on as Administrator, the tomcat service isn't executing, I 
always have to start it manually. After logging off again, the tomcat 
service stops.
When I log back on as a normal user, the tomcat service isn't executing, 
and I cannot start the service: "error 5: access is denied". Now I have to 
start the tomcat program using the startup batch-file located in the bin 
directory of tomcat.

I hope I have provided you with enough information about this problem and I 
really hope you can help me solving this problem.

Maarten



--
Maarten Coene
K.U.Leuven
Dept. Computerwetenschappen Tel: ++32 (0)16/32 78 25
Celestijnenlaan 200A
B-3001 Heverlee




RE: Context Manager

2000-11-21 Thread Nacho

Hola Wellington:

Why? please explain the intention more deeply, please.

to  answer you i need to review some code ( now i think it's not
possible but how knows until RTFC :) but the idea itself seems curious
to me , do you want to have 2 sets of interceptors/valves ? Please
elaborate a little..

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> De: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
> Enviado el: martes 21 de noviembre de 2000 14:08
> Para: '[EMAIL PROTECTED]'
> Asunto: Context Manager
> 
> 
> Can I declare more than one context manager in the same server.xml ?
> 
> Wellington Silva
> UN/FAO
> 
> 



Managing security on multiple contexts - urgent !

2000-11-21 Thread Lacerda, Wellington (AFIS)



I've a set of web applications /a, /b and /c and a set of users I want to
have access to them, but using a single login. The user logs in via a form
based login or something and have access to all the applications. Is it
possible in Tomcat 3.2 ?

I wonder if I apply security restrictions to the default web.xml file I can
have all my contexts sharing the same security schema ?

Thanks,

Wellington



Re: Problems with JDOM and Tomcat

2000-11-21 Thread Mark Balster

What version of Xerces do you have installed?

- Original Message -
From: "Roger Wisler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 21, 2000 9:27 AM
Subject: Problems with JDOM and Tomcat


> Hello
> I've read you posting in the [EMAIL PROTECTED] mailing
> list.
> I've also a troubles with the tomcat.
> I use the tomcat 3.1 unter winNT and jdom-b5.
>
> I use a class in a jsp, this class use jdom:
>   DOMBuilder builder = new DOMBuilder(false);
>   Document doc = builder.build(new File("test.xml"));
>
> when it would compile, then an exception comes:
> org.apache.xerces.parsers.DOMParser: org.apache.xerces.parsers.DOMParser
>
> org.jdom.JDOMException: org.apache.xerces.parsers.DOMParser:
> org.apache.xerces.parsers.DOMParser
> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:194)
> at org.jdom.input.DOMBuilder.build(DOMBuilder.java:216)
> at hsr.e.bsw.xml.XMLClass.sucheMitarbeiter(XMLClass.java:41)
> at
>
_0002fzugriff_0002ejspzugriff_jsp_10._jspService(_0002fzugriff_0002ejspzugri
ff_jsp_10.jav
>
> a:90)
>
> I update the classpath in winNT under : control panel / systems /
> environment:
> %TOMCAT_HOME%\lib\jdom.jar;
> And also in the file: tomcat.bat : set
> CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jdom.jar
>
> But it doesn't work.
> Could you help me?
>
> Thanks Roger Wisler
>
> PS: For what is the jar-fiel: jdom-jdk11.jar ?
>
> --
>  _  _ ___ ___  Roger Wisler
> | || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10;
> | __ \__ \   / CH-8640 Rapperswil; Switzerland; Fax:+41 55 222 4400
> |_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW:www.hsr.ch
>
>
>



Problems with JDOM and Tomcat

2000-11-21 Thread Roger Wisler

Hello
I've read you posting in the [EMAIL PROTECTED] mailing
list.
I've also a troubles with the tomcat.
I use the tomcat 3.1 unter winNT and jdom-b5.

I use a class in a jsp, this class use jdom:
  DOMBuilder builder = new DOMBuilder(false);
  Document doc = builder.build(new File("test.xml"));

when it would compile, then an exception comes:
org.apache.xerces.parsers.DOMParser: org.apache.xerces.parsers.DOMParser

org.jdom.JDOMException: org.apache.xerces.parsers.DOMParser:
org.apache.xerces.parsers.DOMParser
at org.jdom.input.DOMBuilder.build(DOMBuilder.java:194)
at org.jdom.input.DOMBuilder.build(DOMBuilder.java:216)
at hsr.e.bsw.xml.XMLClass.sucheMitarbeiter(XMLClass.java:41)
at
_0002fzugriff_0002ejspzugriff_jsp_10._jspService(_0002fzugriff_0002ejspzugriff_jsp_10.jav

a:90)

I update the classpath in winNT under : control panel / systems /
environment:
%TOMCAT_HOME%\lib\jdom.jar;
And also in the file: tomcat.bat : set
CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jdom.jar

But it doesn't work.
Could you help me?

Thanks Roger Wisler

PS: For what is the jar-fiel: jdom-jdk11.jar ?

--
 _  _ ___ ___  Roger Wisler
| || / __| _ \ HSR Hochschule Rapperswil; Oberseestrasse 10;
| __ \__ \   / CH-8640 Rapperswil; Switzerland; Fax:+41 55 222 4400
|_||_|___/_|_\ EMAIL: [EMAIL PROTECTED]; WWW:www.hsr.ch





Re: Please help!

2000-11-21 Thread michael e. brubaker

I solved a similar problem on Win98 by:
1) Clicking on the DOS icon in upper left corner of screen
2) Clicking on "Properties"
3) Clicking on "Memory" tab
4) Changing the "Initial Environment" setting to "2816"

These directions were gleaned from "Core Servlets and Java Server Pages" by Marty
Hall, p 17. and they helped me.
 I remember having to reset them from various windows, such as once for the
startup.bat and then again for shutdown.bat and so on.


Boszormenyi Laszlo wrote:

> Hello!
>
> On Tue, 21 Nov 2000, Rocky YIP wrote:
>
> > My case is when I run tomcat\bin\startup, it displays "bad command or file name"
>  Please check if all the paths is set up correctly in that file.
>
> > If I run tomcat\bin\tomcat, it displays "Out of environment space".
>  I can't remember exactly, but there's an entry in the autoexec.bat, which
> defines how many memory should be allocated for the environment variables
> (like buffers or something like that). Set it to a higher value, until it
> will work (I think you have to restart the machine for the change take
> effect). You can find the exact solution on the SUN's java pages
> somewhere.
>
> Sincerely,
> Laszlo




[ANNOUNCEMENT] Tomcat 3.2 Beta 8 RPM available

2000-11-21 Thread GOMEZ Henri

At usual place :

http://rpmized.free.fr/ 

---

Since I didn't have more room at free.fr, the RPM (data) are
were moved to ftp://ftp.falsehope.com/home/gomez/

And ftp.falsehope.com is indexed by rpmfind.net ;-)

"La maîtrise des autres n'est que la force. La maîtrise de vous-même est le
véritable pouvoir" 
-- Lao Tzu 
 



?

2000-11-21 Thread Evgeni Prikhodko



Hi 
everybody,
 
How can i 
unsubscribe this mail list. I tryed to send a mail to robot using specified mail 
address. But got a message that my email address is not regestred. But why I get 
a mail every 5 minutes? Can somebody help me?
 
Best 
regards,
Evgeni


  1   2   >