RE: installing tomcat on win2000 advanced server

2001-01-25 Thread Danganan, Clyde

You need to set a JAVA_HOME environment variable to point to where you
installed your jdk (ie.C:\jdk1.3).

Original Message-
   >From:   "David Hall" <[EMAIL PROTECTED]>
   >To: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
   >Cc: 
   >Bcc:
   >Subj:   installing tomcat on win2000 advanced server
   >Type:   IPM.Note
   >Sent:   Wednesday, January 24, 2001 2:10 PM
   >
   >I am trying to learn JSP and am unable to get the tomcat server to run
on my system. I am currently using win2000 advance server and have
downloaded Inprise jbuilder4.  When I try to run the startup.bat file from a
command prompt, I get the following message: You must set JAVA_HOME to point
at your Java Development Kit installation.
   > 
   >Any assistance would be very much appreciated.
   > 
   >Thank you,
   > 
   >Dave
   >

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




RE: Tomcat and Apache

2001-01-30 Thread Danganan, Clyde

For Win32 --->
http://jakarta.apache.org/builds/tomcat/release/v3.2.1/bin/win32/i386/
For Linux --->
http://jakarta.apache.org/builds/tomcat/release/v3.1.1/bin/linux/i386/

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 2:17 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and Apache


I'd like to use the Apache web server with Tomcat 3.2.1.  I haven't managed
to find the connector for them.  Can someone point me to the appropriate
URL?

Thanks,

Paul Asarak


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

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




RE: String has been trancated.

2001-01-31 Thread Danganan, Clyde

My guess is that method="get" in your form.  # is one of those symbols that
need to be URLencoded when passed this way.  You need to do something like
this:



Don't forget to import this class.
Clyde Danganan

-Original Message-
From: Wang, Jianming [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 11:40 AM
To: [EMAIL PROTECTED]
Subject: String has been trancated.


Hello, everybody.

We encounter a problem:  we use "FORM" to send data back to tomcat. one of
the values in the FORM has the format like this: id=AB12#DD.  At server
side, we use request.getParameter(id) to get the value.  The value we get
back, however, is AB12.  The rest of content (after # sign) has been
trancated.  We also tried to use id="AB12#DD" and result is the same.  The
trancation only happens with the "#" sign.  Can any guru help?  

Thanks in advance.

Jianming Wang

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

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




RE: messages on the server window

2001-02-01 Thread Danganan, Clyde

You could do something like this:

<%
System.out.println("Your message");
System.err.println("Your message");
%>

-Original Message-
From: Bob Kersten [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 8:54 AM
To: [EMAIL PROTECTED]
Subject: messages on the server window


Hello,

I'd like to show certain (event) messages on the window where
Tomcat is running (thus: not send to the browser) I've seen this
in one of the JSP examples, but I don't know exactly how this is
done.

--
Ajuus,
  Bop.


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

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




RE: Tomcat install problem in sun solaris unix

2001-02-01 Thread Danganan, Clyde

Does your classpath have a reference to the tools.jar file?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: Tomcat install problem in sun solaris unix


I install tomcat 3.2 into my unix user account. It starts up well. Sevelet
running well also. But always problem in running JSP. It post an error page
like
following, It seems jsp compiler can not work properly. I guess it is
related to
the account access right. The jdk1.1 is installed in /usr/jdk1.1 by unix
system
administrator. 

Error: 500 
Location: /examples/jsp/num/numguess.jsp 
Internal Servlet Error: 
org.apache.jasper.JasperException: Unable to compile class for JSP 
at java.lang.Throwable.(Compiled Code) 
at java.lang.Exception.(Compiled Code) 
at javax.servlet.ServletException.(Compiled Code) 
at org.apache.jasper.JasperException.(Compiled Code) 
... 
Root cause: 
java.lang.IllegalArgumentException: Unknown argument 
at java.lang.Throwable.(Compiled Code) 
at java.lang.Exception.(Compiled Code) 
... 
Thanks for your advice, 
Peter 

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

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




RE: IOException while loading CSS or GIFs

2001-02-06 Thread Danganan, Clyde

We've seen this as well and it doesn't appear to be a fatal error.  I've
turned off logging error messages to the console by modifying server.xml as
follows:



This writes only "FATAL" error messages to the tomcat.log file.  There are
different levels of error that you can capture (see server.xml comments).
Hope this helps.
Clyde

-Original Message-
From: Natarajan, Bartee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 3:33 PM
To: '[EMAIL PROTECTED]'
Subject: IOException while loading CSS or GIFs


Hello

We just downloaded and installed Tomcat 3.2.1 on Windows NT 4.0. Whenever we
attempt to load
a GIF image or a CSS of more than a couple Kb we get the following error:

2001-02-06 04:18:31 - Ctx( /template ): IOException in: R( /template +
/graphics
/java.gif + null) Connection aborted by peer: socket write error

The actual page seems to load ok. Everything is fine except for this error
on the console.. Any clues?
We checked the bug-database and Tomcat FAQs and couldn't find anything
related. Appreciate
any help.

Thanks,
-bharathi


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

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




RE: problem with classpath and .jar files

2001-01-24 Thread Danganan, Clyde

Andre,
I am running Tomcat 3.2.1, Apache Web server on Windows Ntworkstation 4.0.
I've place a .jar in %TOMCAT_HOME%/lib directory and tomcat is able to find
this file at runtime.  Hope this helps.

Clyde Danganan.

Original Message-
   >From:   "Andre Alves" <[EMAIL PROTECTED]>
   >To: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
   >Cc: 
   >Bcc:
   >Subj:   RE: problem with classpath and .jar files
   >Type:   IPM.Note
   >Sent:   Tuesday, January 23, 2001 12:35 PM
   >
   > I already tried to place .jars in /WEB-INF/lib, but this did not
   >function... therefore I is trying to know if it is necessary to
   >configure or worker.properties or wrapper.properties so that tomcat
   >finds jars... 
   >
   >--- "Morahg, Yoav" <[EMAIL PROTECTED]> escreveu: > .jars go in the
   >WEB-INF/lib directory, not WEB-INF/classes.
   >> 
   >> -Yoav
   >> 
   >> -Original Message-
   >> From: Andre Alves [mailto:[EMAIL PROTECTED]]
   >> Sent: Tuesday, January 23, 2001 1:18 PM
   >> To: [EMAIL PROTECTED]
   >> Subject: Re: problem with classpath and .jar files
   >> 
   >> 
   >>  In winnt I placed .jar below of the /WEB-INF/classes/ and only
   >> configured in wrapper.properties classpath for .jar and the program
   >> functioned perfectly. I made this same configuration in redhat, but
   >> it did not work. Somebody knows which can be the cause of this? 
   >> 
   >> --- Jeffry Guttadauro <[EMAIL PROTECTED]> escreveu: >
   >> Sorry,
   >> but none that I know of.  If I think of anything, I will let
   >> > you know,
   >> > but it was my understanding that it should just work without any
   >> > extra
   >> > tweaking...  Good luck!
   >> > 
   >> > 
   >> > 
   >> > 
   >> > 
   >> > [EMAIL PROTECTED] on 01/23/2001 11:05:41 AM
   >> > Please respond to [EMAIL PROTECTED]
   >> > To: [EMAIL PROTECTED]
   >> > cc:
   >> > Subject: Re: problem with classpath and .jar files
   >> > 
   >> > Hi Jeffry,
   >> > 
   >> > Is necessary some type of special configuration so that tomcat to
   >> > find the class? Some thing as to configure worker.properties or
   >> > wrapper.properties?
   >> > 
   >> > --- Jeffry Guttadauro <[EMAIL PROTECTED]> escreveu: >
   >> The
   >> > .jar should go directly in the WEB-INF/lib directory.
   >> > >
   >> > >
   >> > >
   >> > >
   >> > >
   >> > > [EMAIL PROTECTED] on 01/23/2001 10:36:41 AM
   >> > > Please respond to [EMAIL PROTECTED]
   >> > > To: [EMAIL PROTECTED]
   >> > > cc:
   >> > > Subject: problem with classpath and .jar files
   >> > >
   >> > > I have the following problem: I created a structure of
   >> > directories
   >> > > to
   >> > > place mine .class and later generating one .jar. Below of
   >> > > WEB-INF/classes I have the structure: /com/mycompany/class and
   >> in
   >> > > this last directory I have mine .class... Wen I run tomcat,
   >> > without
   >> > > grouping the class in a .jar, the program functions perfectly,
   >> > but
   >> > > when I group the classes in a .jar, tomcat does not can to
   >> locate
   >> > > the
   >> > > .class. I tried to configure worker.properties and
   >> > > wrapper.properties, but this did not advance in nothing. It
   >> would
   >> > > like to know if somebody already had some problem similar to
   >> this
   >> > > and
   >> > > as I make to configure tomcat to use wrapper.properties or
   >> > > worker.properties correctly. I am using Redhat 6.1 with apache
   >> > > 1.3.12
   >> > > and tomcat 3.2.1.
   >> > >
   >> > > __
   >> > > Do You Yahoo!?
   >> > > Yahoo! Auctions - Buy the things you want at great prices.
   >> > > http://auctions.yahoo.com/
   >> > >
   >> > >
   >> >
   >>
   >-
   >> > > To unsubscribe, e-mail:
   >> > [EMAIL PROTECTED]
   >> > > For additional commands, email:
   >> > [EMAIL PROTECTED]
   >> > >
   >> > >
   >> > >

   >[Message truncated]

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




RE: response.sendRedirect() and NSAPI redirection...

2001-01-24 Thread Danganan, Clyde

I ran into this problem with NTWorkstation4.0 running Apache Web server and
Tomcat 3.2.1  Apache has a config file,httpd.conf, which references a
Servername variable.  I set this variable name to what is defined in the
host file, which is "localhost".  Perhaps the iplanet web server has a
similar config file that needs to be modified as well.  Hope this helps!

Original Message-
   >From:   "Dean Des Rosiers" <[EMAIL PROTECTED]>
   >To: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
   >Cc: 
   >Bcc:
   >Subj:   response.sendRedirect() and NSAPI redirection...
   >Type:   IPM.Note
   >Sent:   Tuesday, January 23, 2001 11:44 AM
   >
   >Hello, All.
   > 
   >I have a legacy web app running under iPlanet Web Server 4.1.  I have
configured the app to run under Tomcat 3.2 and it runs fine.  Our app needs
iPlanet's additional speed in handling static content, though, so I
configured iPlanet to use the NSAPI redirector.  Everything seems to work
fine except for response.sendRedirect().  Ordinarily we use a relative path
as the argument to this method, but full paths seem to fail as well.
   > 
   >Again, everything works fine under Tomcat alone (port 8080).  When I use
iPlanet and the NSAPI redirector (port 8082 - it's a testing configuration)
things don't work.
   > 
   >Thanks in advance,
   >Dean Des Rosiers
   >Digital Artisans, Inc.
   >

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