creating a BBS with tomcat - how secure is it?

2005-04-06 Thread Christoph Kukulies
Anyone knowing of a BBS (Bulletin Board System) based on tomcat? I'm planning to do something like that but want to be sure that tomcat doesn't carry any inherent security risks making it only suitable for so called benign environments like intranets with trusted users rather than exposing it to

mod_jk under Win32 (Tomcat 5.0.28, apache 1.13.33)

2005-03-18 Thread Christoph Kukulies
I installed apache 1.13.33 and tomcat 5.0.28. Both servers are running. I can test tomcat fine on port 8080. Now I want to integrate apache with tomcat and downloaded the mod_jk 1.2 binary .so file from http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi I installed it as

choice of JVM

2005-03-16 Thread Christoph Kukulies
I'm in the process of installing tomcat (5.0.28) under Windows (XP). Installed apache 1.13.33 and ran tomcat installer. At this point I was asked for a JVM to choose (with an empty listbox). So I downloaded j2eesdk-1_4_01_2005Q1 from java.sun.com and installed it. Strange install, this Sun

reloading, 5.0, context.xml

2004-12-03 Thread Christoph Kukulies
I'm running a 5.0 of some vintage. I'm currently in a developing phase where I need reloading. It is cumbersome to restart the server for every little source change. I've read through the archived messages and find that reloading = false is the default in 5.x. And that one had to set

policy issue

2004-04-21 Thread Christoph Kukulies
I vaguely recall that I did something on the policy settings of either java, tomcat or apache when I was running my webapps under an early tomcat 3. Now after a major disk crash desaster and gradually recovering and resurrecting everything, some things do not yet work as before. One thing is

how can I debug this? ClassNotFOund Exception

2002-10-08 Thread Christoph Kukulies
Something has changed with bei apache tomcat installation. I installed some php4 WebFOrum software and in the course of this I upgraded apache to 1.3.27. The tomcat examples are working again but I still get this in my application: Internal Servlet Error: java.lang.ClassNotFoundException:

libexec path

2002-10-08 Thread Christoph Kukulies
I'm running apache 1.3.27 with tomcat 3.2.4 or some similar vintage and after upgrading from apache 1.3.24 to 1.3.27 (I was using the FreeBSD port install) I first forgot to enable-modules=so in the configure options but after getting around this and adapting httpd.conf I still have the problem

problem with opencms - where to specify java memory

2002-04-11 Thread Christoph Kukulies
I'm running apache 1.3.23 with tomcat 4.0.3 (mod_webapp) (although the tomcat examples still cannot be seen under /examples through apache - - :8080 (tomcat) sees them). Anyway, strange things were happening when OpenCMS loaded itself and a project was imported. A deploy directory is only

Tomcat 4.0.3 and Apache 1.3

2002-04-08 Thread Christoph Kukulies
I read between the lines that it is recommended to use the mod_webapp modules to run tomcat with apache. Only I cannot find that module in the binary distribution for Win32. Can it be built from source and if yes, where is it in the source tree? -- Chris Christoph P. U. Kukulies [EMAIL

Re: Tomcat 4.0.3 and Apache 1.3

2002-04-08 Thread Christoph Kukulies
Christoph P. U. Kukulies [EMAIL PROTECTED] Joseph Molnar http://www.codesta.com/ - Original Message - From: Christoph Kukulies [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 08, 2002 11:44 AM Subject: Tomcat 4.0.3 and Apache 1.3

./support/buildconf.sh errors

2002-04-08 Thread Christoph Kukulies
I'm getting $ ./support/buildconf.sh --- Running the buildconf script for APR buildconf: checking installation... buildconf: autoconf version 2.52 (ok) buildconf: libtool version 1.4e 1996, (ok) Copying libtool helper files ... /usr/share/aclocal/libtool.m4 not found --- Creating WebApp

deprecated servlet API - tomcat 3.2.3, jdk1.3.1

2001-11-20 Thread Christoph Kukulies
My webapp was compiled using jdk1.2 and tomcat 3.2, and, I believe jsdk1.2/servlet.jar (not sure about the latter). Now when compiling my classes under Win2k using jdk1.3.1 I'm getting -deprecation warnings. What servlet classes should I use best? -- Chris Christoph P. U. Kukulies [EMAIL

executing an arbitrary binary in the FS

2001-11-20 Thread Christoph Kukulies
I want to execute an arbitrary binary in the Win2000 box from within a servlet. It used to work on the unix system and I forgot whether I had to tweak some policy file or what to allow this being done from a Servlet via a Process .exec. -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED] --

removing jk_nt_service

2001-11-19 Thread Christoph Kukulies
In the docs is described how to install the Jakarta service under NT but I'm missing the information how I can remove the service. I would like to install it under a different name. Not just Jakarta but Jakarta_3.2.3 for example. --help, -? /? don't work either. -- Chris Christoph P. U.

Re: removing jk_nt_service

2001-11-19 Thread Christoph Kukulies
On Mon, Nov 19, 2001 at 11:33:29AM +0100, Christoph Kukulies wrote: In the docs is described how to install the Jakarta service under NT but I'm missing the information how I can remove the service. I would like to install it under a different name. Not just Jakarta but Jakarta_3.2.3

apache from Oracle gets in the way

2001-11-19 Thread Christoph Kukulies
This is not 100% tomcat on topic but maybe some in this list can share my experience: I have installed Oracle 8.1.7 under Windows 2000 on my notebook computer and also installe apache 1.3.17 (oracle's httpd is apache 1.3.12) Now it seems that although I removed apache 1.3.12 from by invoking

starting jk_nt_service before apache?

2001-11-19 Thread Christoph Kukulies
I'm wondering how I can I achieve that jk_nt_ervice.exe is started at system startup before apache is launched. As from my understanding tomcat (3.2.3) jk_nt_service (Tomcat) needs to start and write mod_jk.conf-auto before apache is started to read that file. -- Chris Christoph P. U. Kukulies

migration woes

2001-11-19 Thread Christoph Kukulies
Moved from a working webapp under FreeBSD, Tomcat 3.2, apache 1.3.12 to Windows 2000, tomcat 3.2.3 and apache 1.3.17. After getting around the tomcat/apache configuration quirks I finally could fire up my webapp and it showed up partially with classes not recompiled. But since I had some hard

BindException: this 8080 thing

2001-11-18 Thread Christoph Kukulies
I ran an application under apache 1.3.12 and Tomcat 3.2 (some earlier beta or something) under FreeBSD for a while and now I wanted to move the whole environment to windows 2000. I installed apache 1.3.17 and decided to use tomcat 3.2.3 although I tried 3.3 but didn't find things I was familar

OT: anyone tried Oracle JSP examples?

2001-06-24 Thread Christoph Kukulies
I installed Oracle 8.1.7 recently and tried to run the JSP examples. Seems that I need some make utility (and compiler?). Has anyone tried the examples successfully? What tools are required? MSC (Visual Studio?), Cygwin? -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Re: port 8080 to port 80?

2001-05-18 Thread Christoph Kukulies
On Fri, May 18, 2001 at 08:46:34AM -0500, Purcell, Scott wrote: Hello, I am using the Tomcat learning Servlets and JSP. All is well. I would like to change the port from 8080 to 80. I have Martys Halls book and it says to edit the port number in the /install_dir/webserver.xml file and

Re: passing quotes in html

2001-05-17 Thread Christoph Kukulies
On Thu, May 17, 2001 at 05:43:36PM +0200, Christoph Kukulies wrote: Sorry that this is not directly tomcat related but in the course of writing a jsp/servlet application I came across the problem that I'm generating a FORM which contains something like: fprintf(yyout,input type=\hidden

inserted line feeds in concatenated strings

2001-05-17 Thread Christoph Kukulies
I'm seeing different browser behaviour between unix netscape vs. Windows (NT) Netscape or MSIE. I'm generating a page with text between PRE.../PRE. The text is generated via out.println(text + , + number); and I get a line break after 'text' while under Unix browsers I don't get a line break.

security

2001-04-27 Thread Christoph Kukulies
where in tomcat can I restrict/allow access to the server (when tomcat is running as standalone). With apache there was httpd.conf but what is this in tomcat? -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Re: Reaped pid = 24793, status = 0

2001-04-26 Thread Christoph Kukulies
On Wed, Apr 25, 2001 at 05:30:41PM +0200, Ralph Einfeldt wrote: Process mProcess = Runtime.getRuntime().exec(new String[] {Command, arg0[, arg1-n]}); BufferedReader mInput = new BufferedReader(new InputStreamReader(mProcess.getInputStream())); String mLine; while ((mLine =

Re: Reaped pid = 24793, status = 0

2001-04-25 Thread Christoph Kukulies
object to terminate?) -David Boyce -Original Message- From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 12:34 PM To: [EMAIL PROTECTED] Subject: Reaped pid = 24793, status = 0 I'm doing an Process p=runner.exec(cmdarray); in a servlet

Re: Reaped pid = 24793, status = 0

2001-04-25 Thread Christoph Kukulies
+ ]); e.printStackTrace(); } -Ursprüngliche Nachricht- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. April 2001 09:07 An: [EMAIL PROTECTED] Betreff: Re: Reaped pid = 24793, status = 0 On Tue, Apr 24, 2001 at 12:54:56PM -0400, Boyce, David

Re: Reaped pid = 24793, status = 0

2001-04-25 Thread Christoph Kukulies
of child termination - I'd prefer to see the output progress in the briwser window). Still a question about your waitFor() example. In my file processing loop, where should I put the 'waitFor()'? -Ursprüngliche Nachricht- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet

Reaped pid = 24793, status = 0

2001-04-24 Thread Christoph Kukulies
I'm doing an Process p=runner.exec(cmdarray); in a servlet. As a result everytime the exec executes (it executes a binary program sitting in the filesystem of the server) I'm getting these Reaped pid = number status=0 Do I have to care about them. Is it that I'm doing something that could

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 12:40:54PM -0700, Anne Dirkse wrote: Christoph -- You do need the trailing = after % Here's why: What you are trying to send from your HTML form is something like this: form enctype=multipart/form-data action=/servlets/servlet/Upload method=post input type=file

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 23. April 2001 09:05 An: [EMAIL PROTECTED] Betreff: Re: file upload servlet Thinking about it the question came up in me: Shouldn't tomcat process the HTML and the jsp expression? With my configuration (apache

Changing DocumentRoot

2001-04-23 Thread Christoph Kukulies
After having noticed that embedded jsp statements *could* work with my configuration where apache was serving http requests while tomcat was only doing the servlets I want to switch to tomcat as the sole webserver. At least here in a small intranet environment I think I could afford. Don't know

Re: Changing DocumentRoot

2001-04-23 Thread Christoph Kukulies
On Mon, Apr 23, 2001 at 12:49:18PM +0200, Christoph Kukulies wrote: After having noticed that embedded jsp statements *could* work ^^^ Ack, that should read *couldn't have worked, of course. with my configuration where apache was serving

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 12:40:54PM -0700, Anne Dirkse wrote: Christoph -- You do need the trailing = after % Here's why: What you are trying to send from your HTML form is something like this: form enctype=multipart/form-data action=/servlets/servlet/Upload method=post input type=file

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
. But that would have worked with tomcat+apache configuration anyway. -Ursprüngliche Nachricht- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 22. April 2001 20:36 An: [EMAIL PROTECTED] Betreff: Re: file upload servlet html form enctype=multipart/form

Re: Changing DocumentRoot

2001-04-23 Thread Christoph Kukulies
is concerned). hope this helps, Kenneth Westelinck From: Christoph Kukulies [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Changing DocumentRoot Date: Mon, 23 Apr 2001 12:49:18 +0200 (CEST) After having noticed that embedded jsp statements *could* work

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
I can't tell you which screws have to be driven to enable or disable jsp parsing on files with a given extension. -Ursprüngliche Nachricht- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 23. April 2001 15:19 An: [EMAIL PROTECTED] Betreff: Re: file

where to install Oreilly com servlet extensions ?

2001-04-22 Thread Christoph Kukulies
Where do I have to install the O'Reilly Multipart servlet utitlities so Tomcat sees them? I'm getting java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartRequest at Upload.doGet(Upload.java:42) when trying a small example which was posted the other day. -- Chris Christoph

Re: where to install Oreilly com servlet extensions ?

2001-04-22 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 10:19:22AM -0700, Filip Hanik wrote: the latest o'reilly is packaged as a war file, all you have to do is to drop the war file into webapps, and you are good to go Ah, thanks. I found that putting the com/oreilly tree into /usr/local/build/tomcat/classes/ and it works.

Re: file upload servlet

2001-04-22 Thread Christoph Kukulies
On Fri, Apr 20, 2001 at 06:58:26PM +0200, Ralph Einfeldt wrote: For a pure HTML solution you need two things: a form with at least one file input tag: form enctype="multipart/form-data" action=%= response.encodeUrl("'path-to-your-servlet'") % method="post" input type="file"

Re: file upload servlet

2001-04-22 Thread Christoph Kukulies
ngth="255" input type="submit" value="Abschicken" /form /html doesn't change the picture. Anne Christoph Kukulies wrote: On Fri, Apr 20, 2001 at 06:58:26PM +0200, Ralph Einfeldt wrote: For a pure HTML solution you need two things: a form with at least

file upload servlet

2001-04-20 Thread Christoph Kukulies
Is there an example somewhere for a servlet that allows for uploading and processing a file. Scenario: client (browser side) has edited a file with some information or some kind of excel or Word document and need to get that processed. The idea is to simply drag and drop the document into the

getting line numbers instead of (compiled code)

2001-04-18 Thread Christoph Kukulies
I dug out an old example I wrote some time ago and I'm wondering why I'm suddenly getting a Nullpointer Exception: /servlets/servlet/Auftr_Baustein Kuku's RMIJDBC Access Demo Error: 500 Location: /servlets/servlet/Auftr_Baustein Internal Servlet Error: java.lang.NullPointerException

Re: getting line numbers instead of (compiled code)

2001-04-18 Thread Christoph Kukulies
On Wed, Apr 18, 2001 at 02:05:59PM -0400, CPC Livelink Admin wrote: set an environment variable to disable to compiler - I can never remember which one of these two it is, so I just set both (DOS example) : I looked in bin/tomcat.sh where java is started and tried with -nojit but my java

Re: getting line numbers instead of (compiled code)

2001-04-18 Thread Christoph Kukulies
--- From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 12:17 PM To: [EMAIL PROTECTED] Subject: getting line numbers instead of (compiled code) I dug out an old example I wrote some time ago and I'm wondering why I'm suddenly getting a Nullpointer

debugging servlets

2001-04-04 Thread Christoph Kukulies
What was again the magic modification one has to make to allow a more descriptive line in backtrace rather than '(compiled code)' when one gets for example: java.lang.NullPointerException at java.util.Arrays.sort(Compiled Code) at Some.doGet(Compiled Code) at

Re: tomcat on FreeBSD4.2

2001-02-16 Thread Christoph Kukulies
On Fri, Feb 16, 2001 at 11:23:02AM +, [EMAIL PROTECTED] wrote: Is there really nobody out there who know how to install jdk1.3 and tomcat 3.2 or 4.0beta1 no FreeBSD 4.2?! I have sent at least 5-6 messages to this group and have had no help. I know nobody HAS to help, but ignoring

license question

2000-12-06 Thread Christoph Kukulies
Sorry if this may be a FAQ but I went to the jakarta.apache.org homepage and didn't find a word on this nor in the FAQ: I have written an intranet web application for a custom purpose and want to ship it to my customer. Can I include apache and tomcat on the CD? Or can I tell the customer: get

standard dist secure?

2000-11-28 Thread Christoph Kukulies
Just wondering: Is the standard setup of tomcat when installed with an apache-13 on a unix box secure to be put up directly in the internet? Especially when thinking of the example directories (jsp and all that) that come with the distribution. Or are there any recommendations to raise

Re: passing parameters to a Servlet

2000-11-28 Thread Christoph Kukulies
On Wed, Nov 29, 2000 at 11:09:49AM +0530, Ramesh Kumar . T wrote: Encode only your parameter string , using URLEncoder.encode() ex: jsp/test.jsp?param1=value1param2=value2 encode only the parameters and not the file name Thanks and thanks to others who pointed me to this URLEncoder class.

Re: tomcat/freeBSD

2000-11-18 Thread Christoph Kukulies
On Fri, Nov 17, 2000 at 11:42:21AM -0700, oj49 wrote: Hi, Anyone out there running Tomcat with the freeBSD port of JDK1.2.2 on any recent of freeBSD? Any pointers or comments? I cannot swaer that it was the FreeBSD port of jdk1.2 aand I'm not sure whether it's jdk1.2.2 (with all these

getRemoteHost() returns

2000-11-16 Thread Christoph Kukulies
I thought I could get the remote hostname in a Servlet or jsp file. The following returns nothing for getRemoteHost(): FORM HostIP="%= request.getRemoteAddr() %" INPUT TYPE='text' NAME='hn' VALUE="%= request.getRemoteHost() %" SIZE='15' /FORM /html I was

some jsp examples fail with Error 500

2000-11-15 Thread Christoph Kukulies
After working with Tomcat 3.1/apache for a while now the project is growing and demands and complexity grow as well. I wanted to use my first own jsp application and while trying out the examples I find that everything that accesses the compiler doesn't work. Since the logs are spread all over

permissions of tomcat tree

2000-11-15 Thread Christoph Kukulies
What are the permissions/ownership of the full tomcat tree? I wonder if moving around the tree from one disk to another using a tar pipe has messed my tomcat tree. -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Re: some jsp examples fail with Error 500

2000-11-15 Thread Christoph Kukulies
but locate jasper.jar doesn't give me any hit. Strange. Did I ever compile it during tomcat ant installation? I'm not sure now. How can I generate jasper.jar separately? Thanks for helping. Do you include jasper.jar and tools.jar in your classpath? -Original Message- From: Christoph

Re: some jsp examples fail with Error 500

2000-11-15 Thread Christoph Kukulies
/servlets subdirectories but after resurrecting everything (that's still tomcat 3.1beta - I didn't dare to switch to 3.2b7 at this point in time) Thanks. -Original Message- From: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Sent: November 15, 2000 12:35 AM To: [EMAIL PROTECTED] Subject

Re: some jsp examples fail with Error 500

2000-11-15 Thread Christoph Kukulies
On Wed, Nov 15, 2000 at 03:13:48PM +0100, Christoph Kukulies wrote: On Wed, Nov 15, 2000 at 12:56:33AM -0800, Kent Huo wrote: Do you include jasper.jar and tools.jar in your classpath? I repaired it by re-anting tomcat. JSP examples do work now again. Unfortunately I deleted my conf

embedding jsp into an html file.

2000-11-15 Thread Christoph Kukulies
How can I use jsp in a normal html file (extension .html) with tomcat? test.html: html FORM INPUT TYPE='text' NAME='hn' VALUE='%= request.GetRemoteHost() %' SIZE='15' /FORM /html -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Reaped pid

2000-11-15 Thread Christoph Kukulies
from time to time I'm getting errormessages like this from tomcat: Reaped pid = 9003, status = 0 How come? -- Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

Runtime.exec Nullpointer Exception

2000-11-15 Thread Christoph Kukulies
Weird, I reinstalled Tomcat 3.1beta (changed to jdk1.2 also) and suddenly one of my servlets crashes: Runtime.exec crashes: if(type.compareTo("Diff Run")==0){ out.println("Diff Run"); try {