Re: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Trevor Little

If you're talking about java processes it's really just one process and
what you're seeing are actually threads.  It's normal.


Michael Wentzel wrote:
 
  I'm running Tomcat on linux. From the moment I start up
  Tomcat, I see 51
  processes and these processes takes up 142 MB of memory. Is
  this normal ?
 
 Doesn't sound right to me.  Can you send a copy or the long output
 of ps?  As well as a description of your configuration(OS, tomcat
 standalone vs tomcat/apache, webapp configuration, etc...).
 
 PS - Changed subject of thread to more appropriate subject.
 
 ---
 Michael Wentzel
 Software Developer
 A HREF="http://www.aswethink.com"Software As We Think/A
 A HREF="mailto:[EMAIL PROTECTED]"Michael Wentzel/A
 
 -
 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: out of environment space-please guide

2001-01-18 Thread Trevor Little

Try opening a dos window and upping the memory under the properties
tab... should take care of the problem

Sudheendra Raghavendra wrote:
 
 I have installed tomcat3.2.1 on my win 98 machineand i have set the 
environmentvariables according to the userguide
 JAVA_HOME=c:\jdk1.3
 CLASSPATH=;c:\jdk1.3\lib\tools.jar
 TOMCAT_HOME=c:\tomcat
 when i run startup file gives me out of space error...
 error is:
 Out of environment space
 Unable to set CLASSPATH dynamically.
 Note: To set the CLASSPATH dynamically on Win9x systems
   only DOS 8.3 names may be used in TOMCAT_HOME!
 Setting your CLASSPATH statically.
 Out of environment space
 Using CLASSPATH: c:\tomcat\classes
 Starting Tomcat in new window
 Bad command or file name
 
 i tried to change the memory also by rightclicking on startup file...
 but still i have same error.
 please help me out.
 im supposed to do my assignments with tomcat-3.2.1
 thanks,
 roopa
 
 _
 Chat with your friends as soon as they come online. Get Rediff Bol at
 http://bol.rediff.com
 
 -
 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: Dangerous information available at jasper logs

2001-01-12 Thread Trevor Little

Change the verbosity in server.xml to warning

DIEGO RODRIGO wrote:
 
 Hi,
 I have an app that enforces security through a set of login pages, but I am
 not using Tomcat realms security.
 Now, I have seen that the file jasper.log logs the pages and parameters sent
 to them. Is there any way of avoiding this log file (I don't want the usernames
 and passwords to appear there in plain text !!!) ???
 
 thanks...
 
 diego.
 
 
 --
 Diego Rodrigo
 Vates S.A.
 [EMAIL PROTECTED]
 +54(11)4346-6658
 
 -
 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: VirtualHost ?

2001-01-09 Thread Trevor Little

I'm not exactly sure what you are asking but to get rid of the 8080 you
just need to edit server.xml and change the port from 8080 to 80.  That
is for tomcat standalone.  But if you're using apache with tomcat this
isn't the correct thing to do.

"Guy-Nol MATHIEU" wrote:
 
 Hi,
 I want to access my servlet using the URL http://localhost/examples/.
 
 TOMCAT work fin with http://localhost:8080/examples/ . Does I use
 VirtualHost ou "mapping" the direct URL with server.xml to work directly
 ???
 
 I use mod_jk with apache, is it a good solution and how configure this 3
 servers to works together accessing http://localhost/examples without 8080
 port ?
 
 Any idea will be friendly because i'm lost in the manual
 
 Thanks
 
 -
 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: why must I add the port number

2001-01-04 Thread Trevor Little

You don't have to use 8080.  Change the configuration in server.xml from
8080 to 80, then you won't have to include the port number.


Birte Glimm wrote:
 
 Hi, I have installed tomcat as a standalone webserver on Win 2000.
 To get a page or a servlet I have to type e.g. 
http://localhost:8080/examples/servlet/helloWorldExample
 but why must I include the port? Isn`t it the standard http port as in all other 
webservers? If the port number is missing I get "Cannot find server" and "The page 
cannot be displayed"
 
 Thanks
 
 Birte Glimm

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




Re: JSP won't return anything if Tomcat 3.2.1 start as nobody.

2001-01-04 Thread Trevor Little

Your problem most likely has to do with your permissions... maybe some
of your jsps are owned by root. You can recursivly change all the
permissions in a directory by doing
# chown -R nobody:nobody /dir/you/want/to/change


[EMAIL PROTECTED] wrote:
 
 jsp page return 404 if I start tomcat 3.2.1 as nobody.  If I start it as
 root, jsp is fine.
 
 what is going on?
 
 -
 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: very basic web server hosting question

2000-12-21 Thread Trevor Little

Yes you will need an ip and you can get it from your isp.  You can also
find out your dynamic ip that's assigned to you each time you connect to
the isp and give that out to a client (probably not a good idea since it
changes each time)


David Peregrim wrote:
 
 This is my first post to this list.  I hope this is somewhere in the
 ballpark of acceptable behavior.
 
 I downloaded tomcat and I am successfully running the tomcat web server.  I
 wrote java servlets and java server pages and created a web site that I wish
 to host from my computer.  The application is fully tested with my computer
 running as both the client and server.  I want  to expose my computer to the
 internet.  What is the next step to get web browser from another client to
 reach my web server?  Do I need some kind of ip address?  How does one get
 an ip address?
 
 thanks,
 dave peregrim
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com



Re: Standalone Tomcat

2000-12-18 Thread Trevor Little

List the errors that you're getting please


ECIS Gast wrote:
 
 Dear Ladies and Gentleman,
 i have a problem to run Tomcat 3.2.1 as Standalone-Server, i mean wihout a 
Web-Server. I can start the Tomcat-Server, but i can't execute the servlets in the 
webbrowser (for example with command "http://localhost/servlet/MyTestServlet").
 Reportedly to the Guideline of Tomcat 3.2.1 its possible to run it without a 
WebServer.
 
 Stand-alone servlet containers
 These are an integral part of the web server. This is the case when using a 
Java-based web server, for example the servlet container that is part of the 
JavaWebServer. Stand-alone is the default mode used by Tomcat.
 Most web servers, however, are not Java-based, which leads us to the next two 
container types
 
 and
 
 How Do I Install the Binary Version of Tomcat?
 Very simple. You should:
 *   Download the zip/tar.gz/whatever file from 
http://jakarta.apache.org/downloads/binindex.html.
 *   Unzip the file into some directory (say foo). This should create a new 
subdirectory named "tomcat".
 *   Change directory to "tomcat" and set a new environment variable 
(TOMCAT_HOME) to point to the root directory of your Tomcat hierarchy.
 On Win32 you should type:
 "set TOMCAT_HOME=foo\tomcat"
 On UNIX you should type:
 for bash/sh "TOMCAT_HOME=foo/tomcat ; export TOMCAT_HOME"
 for tcsh "setenv TOMCAT_HOME foo/tomcat"
 *   Set the environment variable JAVA_HOME to point to the root directory of 
your JDK hierarchy, then add the Java interpreter to your PATH environment variable.
 That's it! You can now execute Tomcat and it will run as a stand-alone (type 1) 
servlet container.
 
 I execute this steps (for Windows), but i can't execute the servlets.
 What must i do?
 
 Regards
 Sadettin Özdil
 




Re: searchable site with all this mail???

2000-12-13 Thread Trevor Little

Try this:
http://archives2.real-time.com/rte-tomcat/


 Luis Andrei Cobo wrote:
 
 Is there some really handy place where we can search through the
 entire tomcat mailing list for answers to questions?
 
 Im going to assume if there is a majordomo behind this list or
 something, then a copy of every message still exit on some central
 server, so writing a JSP or two to search through this stuff would not
 be too complicated
 
 also
 
 what about the ability to receive this mail in digest format?
 
 Luis



Re: FW: java platform

2000-12-12 Thread Trevor Little

I'm not sure but I thought about it this way... Sun = java and Sun =
Solaris.  


John de la Garza wrote:
 
 Does anyone here have experience running java under Solaris on a sparc and
 Linux on a x86?  I am looking to set up a server to run servlets and was
 wondering which os runs java better.  I would assume running Solaris on a
 sparc would be the best, but I just wanted some feedback.
 
 Im using apache with tomcat.
 
 I have only seen java run on Linux and windows both with x86 hardware.
 Was also curious about BSD.
 
 I am looking for the ideal server to run a webserver that will user
 servlets.
 
 any feedback would be appreciated.



Re: This List is over-whelming

2000-12-08 Thread Trevor Little

Here's a searchable archive

http://w6.metronet.com/~wjm/tomcat/FromFeb11/mail11.html


John Marquart wrote:
 
 TOMCATers,
 Is there any way to make a digest form of this list available?  Is
 there an archive?  I cannot find one mentioned at the jakarta homepage.
 
 This list generates a huge amount of traffic - much of it redundant or
 already contained in the faq.  This is the kind of traffic that will most
 likely beat your best and brightest into the darkness and turns off
 novices such as myself.  I have not been on a technical mailing list in
 quite some-time which responds as consistently to questions already in the
 FAQ.  The very few non-FAQ threads that I have found on the list have been
 great and have taught me alot, but the noise-to-signal ratio in general is
 troubling.
 
 Once before there was a discussion about moving/adding a newsgroup /
 digest format.  The newsgroups idea was shot-down because it would be
 possible that some individuals would not be able to access it from behind
 firewalls.  Can we have a digest then?  Most mailing-list software can
 handle digests - it cannot be that difficult to configure.
 
 If such a digest already exists - I apologize, and beg you to add its
 subscription information to the jakarta.apache.org mailing list pages.
 
 thank you,
 -jamie
 
 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



Re: jsp engine failing to find sun.tools.javac.Main...

2000-12-05 Thread Trevor Little

Looks like something might be wrong with your CLASSPATH... take a look
at that


Tony Dean wrote:
 
 I downloaded jakarta-tomcat 3.2.  I have no problems running a servlet.  However, 
when the jsp-engine tries to compile a jsp (sample.jsp) located in the examples 
context, I get a NoClassDefFoundError.  I can't run any jsp, even the jakarta-tomcat 
supplied jsps.  sun.tools.javac.Main resides in my jdk\lib\tools.jar and from the 
jakarta-tomcat engine log, you can see that this jar file is included in the 
classpath.
 
  ...OLE_Obj...
 
 Also, I am using jdk1.3.0_01.
 Here is the actual error message that I receive.
 
 Error: 500
 Location: /examples/jsp/AppDevStudio/sample.jsp
 Internal Servlet Error:
 javax.servlet.ServletException: sun/tools/javac/Main
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:390)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
 at org.apache.tomcat.core.Handler.service(Handler.java:263)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
 at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
 Root cause:
 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:245)
 at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:453)
 at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:424)
 at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
 at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:382)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
 at org.apache.tomcat.core.Handler.service(Handler.java:263)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
 at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:786)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:732)
 at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)
 
 Any clues to what's going on would be greatly appreciated.
 
 Tony Dean
 SAS Institute Inc.
 The Power to Know
 Sr. Systems Developer
 Distributed Technologies
 (919)677-8000 x6704
 [EMAIL PROTECTED]



Re: ServerSocketFactory

2000-12-04 Thread Trevor Little

You might need the JSSE package


Mathew Thomas wrote:
 
 When I run build.sh for tomcat, I get the error message that when trying
 to compile SSLSocketFactory, Class javax.net.ServerSocketFactory is not
 found in import.  ServerSocketFactory does exist but it appears to be in
 a misplaced package/directory.  Any ideas??
 
 Mathew



Re: Finally got IIS and tomcat working. Last question

2000-12-04 Thread Trevor Little

When you're using port 8080 you're not using IIS, you're using tomcat...
looks like you don't have tomcat working with IIS. (I can't help anymore
since I don't use IIS)


 Karim Amin wrote:
 
 I finally got tomcat working with IIS.  My only question now is that
 in order to view jsp pages, I have to type in
 http://myip:8080/examples/jsp/index.html.  If I do not do this, then
 the jsp doens't work.  It seems that I have two web servers running.
 One on the default port that you are lead to when you type in
 http://www.myaddress.com and one when you type in
 http://www.myaddress.com:8080  I want to just use the first one. How
 is this done?



Re: simple SSL question running Tomcat3.2 stand-alone

2000-12-01 Thread Trevor Little

I might be wrong but I thought browsers only could handle RSA
algorithms.  If you use another algorithm it won't work.


Tom Waite wrote:
 
 Should I be able to simply preface the URL with https: in order to access,
 say, the tomcat index.html using SSL?  Put another way,
 http://mymachine/index.html   works (I changed the port for http to 80 from
 8080), but https://mymachine/index.html  fails with Tomcat's error msg
 reading:  Ctx(   ):  IOException in: R( /) Socket closed
 According to other docs I've read this should 'just work' .  What am I
 missing here?
 
 Details of installation:
 
 I have installed tomcat 3.2 and followed the instructions provided by the
 docs for placing the SSL jar files in the right places etc.  When I come to
 gen a key, though I am told that RSA is an unknown algorithm.  Being outside
 the US, I assumed I was forbidden from using RSA so generated the key
 without specifying the keyalg.  Starting tomcat is no problem and on startup
 it reports that it has a httpconnectionhandler on 443 (I changed the socket
 from 8443) as I read 443 is the default for the browsers
 
 Cheers,
 --Tom



Re: Some pointers in getting SSL in Tomcat 3.2

2000-11-29 Thread Trevor Little

No you can just download the binaries... I did and I have ssl working
(for Windows and linux).  Once you download the binaries you DO have to
compile 3 java files in TOMCAT_HOME/src/org/apache/tomcat/net.  Then
follow the directions in server.xml.


Thom Park wrote:
 
 Hi,
 
 bear with me on this one but...
 
 " It is NOT enough to download the binaries from the jakarta
 web site and follow the instructions in server.xml.  You have to build
 it from source (and make sure that the JSSE files are in the classpath)."
 
 ...Why not? is there some special build directives that pull dummy JSSE
 references in that will
 'block' access to the real JSSE or some thing else. I need to understand why
 we need to do a 'special' build
 for SSL tomcat.
 
 And, yes, I haven't got SSL working with TOMCAT either ;-)
 
 -T.
 
 Stefán F. Stefánsson wrote:
 
  If you want to be able to access your pages through HTTPS you have to
  specify that the server should use port 443 to handle in the requests
  (this you do in the server.xml file on the Connector tag).  You also
  have to build the Tomcat 3.2 bX from source with the JSSE in the
  classpath.  It is NOT enough to download the binaries from the jakarta
  web site and follow the instructions in server.xml.  You have to build
  it from source (and make sure that the JSSE files are in the classpath).
 
  Regards, Stefan.
 
  -Original Message-
  From: Steven Peterson [mailto:[EMAIL PROTECTED]]
  Sent: 27. nóvember 2000 06:11
  To: [EMAIL PROTECTED]
  Subject: Some pointers in getting SSL in Tomcat 3.2
 
  Hi all:
 
  I want to get SSL working on a Tomcat-only (no Apache) machine and am
  having some SSL beginner's difficulties.
 
  I have downloaded Tomcat 3.2beta (8, I believe) an installed it on a
  Windows NT machine, configured server.xml and created a JSP/Servlet
  application that seems to work fine without SSL.   However, when I try
  to talk to the application through SSL, (by calling the same application
  pages through https:// instead of http://) the server simply does not
  respond.  I have loaded JSSE, updated the security properties file, and
  generated a key for "tomcat".
 
  1.) Am I correct in assuming that SSL works by simply calling up
  existing pages through https instead of http?
  2.) Is there a step-by-step guide anywhere to taking advantage of SSL on
  Tomcat?
 
  Thanks for any pointers.
 
  - Steve
 
  --
  Steven Peterson, President
  Frontier Productions, Inc.
  310 Wesley Drive
  Chapel Hill, NC 27516
  http://www.frontierproductions.net
  Tel: 919-942-1386
  Fax: 919-933-2677



Re: Apache + Tomcat

2000-11-27 Thread Trevor Little

you can have index.html redirect to the jsp


carnell wrote:
 
 Does anyone know how to make Apache/Tomcat automatically load up index.jsp
 in a directory,
 instead of producing a directory listing? (port 80). I would like to server
 a JSP immediately, without a index.html.
 
 Craig.



Re: Is Tomcat/Apache combo necessary?

2000-11-27 Thread Trevor Little

Matt Becker wrote:
 
 I need to write an JSP web application and so far have been going the route
 of configuring Tomcat and Apache to work together. Two things come to my
 mind to ask:
 
 1. Is the Tomcat/Apache combination really necessary? This web site is
 going to be pretty much all JSP. I know that Tomcat can do the serving on
 it's own, but I've read stuff saying that it's not so good at serving static
 files and so forth. How would it benefit a JSP web application by me setting
 up the Tomcat/Apache combination?

No you don't have to use Apache.  Apache is faster at serving static
pages but if you don't have many then tomcat can serve them.  If you
wanted to use SSL you used to have to use Apache, but now tomcat 3.2b8
supports ssl.  We're using tomcat 3.2b8 standalone to serve our webapp
and about 5 static pages with ssl.


 
 2. I'm not sure if the actual files of the JSP web application would
 reside in the Tomcat directory, or would they be split in-between Tomcat and
 Apache, where JSP files would be on the Tomcat side and html files and
 content on Apache?

We keep jsps in the tomcat dir.  But you can put them anywhere, you just
need to specify where in the conf files.


 
 I would greatly appreciate any input on this!
 
 Thanks!
 
 Matt



Re: Testing tool

2000-11-22 Thread Trevor Little

I'm not positive about this but try JMeter on apache.org web site.  I
think that may help you.


"Wang, Jianming" wrote:
 
 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..  In a word, we
 need a tool to do loading test.  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



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 !!!
 




Re: Setting JAVA_HOME path on Linux 7.0

2000-11-10 Thread Trevor Little

I'm using tomcat 3.2 and jdk1.3 and it works fine on debian.  Haven't
tryed tomcat 3.1 with jdk1.3


Sterling wrote:
 
 H-
 
 This might not be relevant now, but I have read that Tomcat 3.1 doesn't work
 with JDK1.3. It only works with JDK1.2.
 
 I was having problems getting Tomcat running using JDK1.3. I switched and
 changed my JAVA_HOME to point to JDK1.2 and all the problems went away. Well not
 all, but it started working as soon as I set my CLASS_PATH correctly. (The whole
 500 error terror. 8^)
 
 Newbies .002$.
 -Sterling
 
 "Lambert, Stephen : CO IR" wrote:
 
  I have Tomcat 3.1 running standalone on a RedHat 6.2 server(yeah).
 
  However, on a Redhat 7.0 server, I having difficulty setting the path for
  JAVA_HOME after installing JDK1.3
  I can't cd to $JAVA_HOME.
 
  The .bash_profile is as follows:
  # .bash_profile
 
  # Get the aliases and functions
  if [ -f ~/.bashrc ]; then
  . ~/.bashrc
  fi
 
  # User specific environment and startup programs
 
  PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin:/usr/local/jdk1.3/bin
  BASH_ENV=$HOME/.bashrc
  USERNAME="root"
 
  export USERNAME BASH_ENV PATH
 
  JAVA_HOME=/usr/local/jdk1.3
  export JAVA_HOME
 
  ---
 
  Also, when I shutdown the server, it requires /sbin/./shutdown -h now
 
  The only difference I can tell between the two Linux version is the ENV(6.2)
  vs BASH_ENV(7.0)
 
  Can someone help?
  Thanks.



Re: why so many java processes for tomat 3.2b6?

2000-10-27 Thread Trevor Little

Yes I was just thinking about that... good to see they are just threads.

Kevin Sangeelee wrote:
 
 On Fri, 27 Oct 2000, Trevor Little wrote:
 
  You're probably right about all the threads coming from the java
  upgrade.  We didn't have so many thread with java 1.1.8.
 
 I think that if you run your JVM with green-threads, then all the threads
 are wrapped up inside the java process. If you use native threads, then
 all threads are shown as processes. They really are threads though, so
 don't worry about what looks like a total of 500Mb or RAM being used! :)
 
 Kevin



how to start tomcat on port 80 w/o being root?

2000-10-25 Thread Trevor Little

I want to create a tomcat user and start tomcat on port 80 under linux. 
I know only root can use ports below 1024.  However, apache can run as
someone other than root and still use port 80.  I want to do something
similar.  I know to change the ports settings on server.xml.

Thanks