Re: Tomcat 4.1.18, JK2, IIS - Second try

2003-01-19 Thread Ari Suutari
Hi, On Saturday 18 January 2003 01:26, Dan Tran wrote: > That is a good news that It works for you. Then It must be something wrong > on my configuration. Could you send me your works2.properties and > jk2.properties? > Check your registry entries. There is one entry called "ext

Tomcat 4.1.18 and HttpsURLConnection

2003-01-19 Thread Ed Robbins
I'm wondering if anyone else has seen this problem in Tomcat 4.1.18. I just upgraded from 4.0.4 where I have a struts application that uses the HttpsURLConnection class to open a connection and do a POST: URL url; HttpsURLConnection httpsConn = null; url = new java.net.URL("https://www.someserv

RE: RewriteRules and Standalone Tomcat

2003-01-19 Thread neal
Has the patch to prevent the 302 redirect of the default welcome file been included in Tomcat 5? I looked at the possiblity of applying the patch to Tomcat 4 but I have to admit I am not comfortable building Tomcat on a Linux server as this would require me to do. So I am *hoping* that this is a

JSP Pages showing source

2003-01-19 Thread Tom Holmes Jr.
Ok, this problem is pissing me off, and from all the research I have done, I can't figure out what is happening. 1) Tomcat 4.1.18 and Apache 2.0.43 ARE talking to each using mod_jk2.dll on my Win2K machine. 2) The examples DO work with either my localhost and domain. 3) My JSP pages DO work if the

packages

2003-01-19 Thread puneet sachar
hey can anyone tell me wwhat is the standard package in java and which package wich we don't have to explictly mention and what are the conditions we have to mention them.. regards __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sig

Re: Pri-Compiled jsp and war files

2003-01-19 Thread Jon Eaves
Hi Tony, Here's an Ant task that will do what you want. Please be aware that this will delete all the JSP files from the build directory as part of the processing. It also creates a web.xml fragment that represents all the servlets (that were the jsp files) that needs to be included in the web.x

request caching?

2003-01-19 Thread David Kavanagh
I've been using tomcat since 3.2.1 and use XSLT to take my servlet output and turn it into HTML. I wrote code to check the XSLT file modification date and auto-reload it if the file had been modified. So, in the browser, I could just hit reload and get updated XSLT. This is great for debugging a

Pri-Compiled jsp and war files

2003-01-19 Thread Tony Colson
After reading the documentation I am unclear how to package the precompiled jsp pages with a war file so that Tomcat will see and use them. Also, do I need to include the actual jsp files themselves? When I tried that, Tomcat recompiled them anyways and put them in the work directory as normal.

Re: Apache Tomcat Virtual Host

2003-01-19 Thread Peng Tuck Kwok
Seems like the mime type is not set properly. Check and see if you have set it, tomcat should have it set ok, you may need to configure your web server to do the same if it hasn't already. Chris Schild wrote: Hi all, I am a newbie to Tomcat. I'm having a problem with configuring the virtual hos

Apache Tomcat Virtual Host

2003-01-19 Thread Chris Schild
Hi all, I am a newbie to Tomcat. I'm having a problem with configuring the virtual host with Tomcat. The problem is that I cannot get the examples/jsp to work with the virtual host?!? A window pops up asking to open or save the source when I try to execute an example. I'm sure I need to be

Re: Question about tomcat 4.1.19

2003-01-19 Thread Jeanfrancois Arcand
Yes, they were a lot of change between 4.1.18 and 4.1.19. That's why it is considered alpha... -- Jeanfrancois Steve Vanspall wrote: Hi there, I reported a bug, in tomcat 4.1.18, to bugzilla. The reply I got stated that it was fixed in Tomcat 4.1.19, having not found a link to the binary for 4

RE: Mod_JK.c not compatiable with version of Apache

2003-01-19 Thread neal
Thanks. I've never had to compile anything like this on Linux and am a little hesitant to do so (more of a windows guy to be honost). Do you know of any place that I could locate pre-compiled *compatible* binaries for either apache 2.0.43 or mod_jk 2.0.40? Or some other compatible set? Thanks. N

Re: Mod_jk & apache

2003-01-19 Thread Leong Hong Wai
Hi John, After tried for every possibility that I can think of, finally I manage to get it work, the problem was, I can't used the mod_jk.conf that automatically generated by mod_jk, so what I did was write a simple mod_jk.conf file following the example I downloaded, and that it ... :) Thoug

Question about tomcat 4.1.19

2003-01-19 Thread Steve Vanspall
Hi there, I reported a bug, in tomcat 4.1.18, to bugzilla. The reply I got stated that it was fixed in Tomcat 4.1.19, having not found a link to the binary for 4.1.19, I navigated tharere, and found an alpha release of it on the website. Does this mean it is still in development stage? Does anyo

Re: catalina ant deploy task problem... (solved - Tomcat-4.1.19 bug)

2003-01-19 Thread Jacob Kjome
I figured out the problem and it is a bug in Tomcat-4.1.19. Actually, it is more of an oversight. The servlet-mapping "/deploy" wasn't specified in the manager's web.xml. See details about it here. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16243 Hopefully, this can be fixed by the n

connecting Tomcat with Apache

2003-01-19 Thread Wesley Hobbie
am using Windows XP Pro, Apache 2.0.43, and Tomcat 4.1.15. Here is the problem, I have Apache working great, I want to be able to serve JSP pages, I installed Tomcat and have it working fine for standalone, displays my JSP pages just fine at http://localhost:8080 (which is my Tomcat port). My Apach

jsp:include/<%= with dynamic attribute still a bug with tomcat 4.1.x ?

2003-01-19 Thread Thomas
Me again, just asking :-) I have a proble that needs to be solved: How can i insert a dynamically created jsp-name into the jsp:include tag ? I tried something like this: Works fine in Tomcat 4.0.x, but gives an error in 4.1.x. I read there`s a fix for that, but haven`t found anything. Sorry for

starting tomcat from cd-rom

2003-01-19 Thread Thomas
Hi folks, i was wondering if it is possible to start tomcat from a cd-rom, without installing anything. Problem could be that the user inserting the cd doesn`t have to have Java installed, so the jre has to be on the cd. Could that be a licence problem ? An answer would be nice, thanks Thomas

Re: WELCOME to tomcat-user@jakarta.apache.org

2003-01-19 Thread Dan Tran
You can configure your web.xml to forward error code 403 to your specific error page like: 403 /errors/403.jsp - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 19, 2003 6:29 AM Subject: Re: WELCOME to [EMAIL PROTECTED] > I am

RE: CPU and Tomcat 4.1 problems

2003-01-19 Thread Jacob Hookom
I had lots of problems with the Struts Iterate tags causing memory leaks when I stress tested pages. I ended up replacing them with JSTL tags and it went away. Struts 1.1b3 probably has the issue resolved (if it was the case). Jacob -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

Data BAse connectivity with Sybase SQL Anywhere

2003-01-19 Thread usha nair
Dear friends, plz. help me with the database connectivity of Sybase SQLAnywhere 5.0, 1.i have downloaded the Jconnect versions (4.5/5.5) 2.Platform is win 98 3.the front end is JSP, the web application server is tomcat 3.3.1, 4.what is the URL for the sybase database in SQLAnywhere 5.0, the URL

Re: JSTL quickie [ot]

2003-01-19 Thread Mike Zeitlin
<%=indx.getExceptiontxt()%> On Sat, 18 Jan 2003, Jason Pyeron wrote: > > value="${c}"/> > > yields > > > 1069711897461089711010... > ...1041141019710046106971189758535154411310 > > > > On Sat, 18 Jan 2003, Jason Pyeron wrote: > > > > > > is giving a

mod_webapp.so

2003-01-19 Thread Bryan A. Zimmer
Hello. I have tried to set up apache with tomcat. tomcat4 alone (v 4.1.18) works OK, but I can't load mod_webapp.so with the other modules in the httpd.conf file, I get a message saying something like "undefined symbol: ap_table_get". I am using this on a Linux (RedHat version 8.0). If anyone has

CGI->redirect not working under Tomcat

2003-01-19 Thread Carson, Chuck
I am using a few CGI scritps written in perl amidst my java code. The scripts work fine with the exception of the redirection directive not working. I have the following: my $zession = new CGI; print $zsession->redirect('http://my.server.com'); This does not work. I get a black page in the

Data BAse connectivity

2003-01-19 Thread usha nair
i am using Tomcat and SQL Anywhere (for JSP as front end),my problems are 1.how to make a connection with the SQL Anywhere database from the JSP page, 2.how to configure the tomcat server so that it will support the Sybase SQL Anywhere. 3.The JDBC Driver is Jconnect , but how to configure it with t

[OT] RE: Game server - two player board game

2003-01-19 Thread Jacob Hookom
You might want to look that the wildtangent driver. It's not necessarily made for multiplayer games, but we wrote an implementation in there that worked with a servlet. www.wildtangent.com -Original Message- From: Rasputin [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 9:01

RE: trouble with bean returning boolean

2003-01-19 Thread Petter Karlström
At 07:30 2003-01-17 -0800, you wrote: Why not use foo.isValid() or is the format foo.valid something special with respect to taglibs? It's a convention used in beans. Methods called "isSomething" should be recognized as booleans by "something" in the jsp code. /Petter -- To unsubscribe, e

Using regular expressions in uriworkersmap.properties

2003-01-19 Thread Asaf Barkan
Hi, I am using Tomcat 4.0.4 with IIS 5, configured with the jakarta filter dll to pass request according to the uriworkersmap.properties file. I have discovered that when using number of consecutive slashes with IIS before the virtual directory name, the jakarta filter does not recognize The requ

Tomcat4 on port 80, standalone, unprivileged user

2003-01-19 Thread Joel Palmius
I've been searching for some time for info on how to run Tomcat4 standalone on port 80. It seemed overkill to involve apache just for this, and running tomcat as root was just plain scary. Changing connector port without any other measures just renders a "java.net.BindException: Permission deni

CPU and Tomcat 4.1 problems

2003-01-19 Thread [EMAIL PROTECTED]
I have created a web application with Struts 1.0. I use Tomcat 4.1.12 to run it. Lots of times, the CPU reach 90% and I need to restart the Tomcat service. My Computer runs with : Windows 2000 Server 512 Mo RAM JDK 1.3.1.02 The service was created by the command : tomcat.exe -install "

Problem with Tomcat manager

2003-01-19 Thread Jean-Philippe LEBOEUF
Hello, I have posted this message but maybe it was not clear. I do not know why, but I can install a web app in Tomcat using the URL form but not with the manager. I am using Jakarta Tomcat 4.1.18, and Sun J2SE 1.3.1_06 (JDK). My webapp is in /opt/Java/Apache/jakarta-tomcat-4.1.18/webapps/soja.

Re: Game server - two player board game

2003-01-19 Thread Rasputin
* Steven J. Owens <[EMAIL PROTECTED]> [0128 23:28]: > On Sat, Jan 18, 2003 at 12:48:20PM -0800, Mark wrote: > > Hi, I'm using Tomcat 4.1 to set up a game server for the two player > > board game, Tanbo (similar to Go). Basically, I will be providing one > > board and a waiting list, and a chat. > >

logging in with wrong role

2003-01-19 Thread [EMAIL PROTECTED]
I am logging into a protected area, with a username and password that is exists, but doesn't have the correct role to access the page, I am getting a 403: 403: Apache Tomcat/4.0.1 - HTTP Status 403 - Access to the requested resource has been denied and the user is being logged on to the system.

Context

2003-01-19 Thread eric
Manav, From the reading I've done it seemed as if you needed a Context but hey, it works without one. Perhaps you need it if, as you say, you need default initializations to appear. I wonder how this would be done on a public production server. I can't imagine letting users modify server.xml

Re: WAR Problem - That was it

2003-01-19 Thread Manavendra Gupta
Well, AFAIK, each directory in the webapps folder is treated as a context, and tomcat searches for web.xml inside the WEB-INF folder (if not found it uses the "default" web.xml - i'd like the experts to interject, if i am mistaken). so, the assumption of your program running without a context is no

A simple question

2003-01-19 Thread Aleix Vergés
Hi, Wich is the best way to pass the Apache login to a servlet application with a request.getRemoteUser() sentence running under Tomcat. My versions are Apache 2.0.43 and Tomcat 4.18. I have test a lot of configurations like a connector with “tomcatAuthentication=’”false” and things like that

Re: WAR Problem - That was it

2003-01-19 Thread eric
Manav, Your suggestion did the trick. I commented out the context for apress in server.xml and the war was unpacked. Next question is: The program seems to be running ok without a Context. What happened? Suppose I just leave the Context for apress commented out. What will be the effect of

Re: WELCOME to tomcat-user@jakarta.apache.org

2003-01-19 Thread [EMAIL PROTECTED]
I am logging into a protected area, with a username and password that is exists, but doesn't have the correct role to access the page, I am getting a 403: 403: Apache Tomcat/4.0.1 - HTTP Status 403 - Access to the requested resource has been denied and the user is being logged on to the system.

RE: Work Around Ideas

2003-01-19 Thread Kailash Kalyani
Try storing the stack object onto the web-browser as a Cookie. You'll have to make sure that the Stack has a toString method however. Best luck, Kailash -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: WAR Problem - No Go

2003-01-19 Thread Manavendra Gupta
Hi Eric, I'm not sure what has happened. I see two things in error.log that you posted: 1. tomcat tries to remove the child while shutting down, and gets an error that the context /apress has not been started yet. 2. while starting up, tomcat again tries to bring up the context /apress but encoun

Re: WAR Problem

2003-01-19 Thread eric
Manavendra, Yes, it is there. I can view it using Ark and the contents are ok. On Monday 20 January 2003 02:21, Manavendra Gupta wrote: > You said you were able to see the first jsp page, but not the servlet. Do > you have a web.xml inside your war ? > - Original Message - > From: "eric"

Re: WAR Problem

2003-01-19 Thread Manavendra Gupta
You said you were able to see the first jsp page, but not the servlet. Do you have a web.xml inside your war ? - Original Message - From: "eric" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 19, 2003 12:40 AM Subject: WAR Problem > Greetings! > > New to Jakarta and I'm

RE: Some advice on getting webapp-root and reading/writing

2003-01-19 Thread mech
What you need is here: 1. In javax.servlet.HttpServletRequest you'll find getContextPath() 2. In javax.servlet.ServletContext there's a method getResourceAsStream() Michael > -Original Message- > From: joe udder [mailto:[EMAIL PROTECTED]] > Sent: Sonntag, 19. Januar 2003 12:38 > To: [

Some advice on getting webapp-root and reading/writing

2003-01-19 Thread joe udder
Hello. Does anyone have some advice to give me on the following ideas? My first problem is to find the correct path to my files. Is there a method to get the "document-root" of my webapp, so I only need to append "Images/jpg" and "WEB-INF/settings" to the path? I suppose using URL's is the mos

Re: WAR Problem - No Go

2003-01-19 Thread eric
Mark, Tried that and it still didn't work. Here's the output of the error log. Perhaps I need to disable the context /apress in server.xml? Doesn't make much sense though. 2003-01-19 10:39:46 StandardHost[localhost]: Removing web application at context path /admin 2003-01-19 10:39:46 Standa

Re: WAR Problem

2003-01-19 Thread Mark Eggers
Try stomping the work file directory found in: /usr/local/tomcat/work/Standalone/localhost Then restart and see what happens. Oops - just reread your message. You need to change to /usr/local/tomcat/webapps. Then execute the following command: jar cvf apress.war apress/* The problem is you d

Re: WAR Problem

2003-01-19 Thread eric
Jake, It is set to true. I'm using the standard server.xml. I don't know enough to create customized ones yet :-)) Eric On Sunday 19 January 2003 09:41, Jacob Kjome wrote: > Check out the "unpackWARs" attribute on the element. Set it to > true. However, this is the default setting. I'm

Re: WAR Problem

2003-01-19 Thread Jacob Kjome
Check out the "unpackWARs" attribute on the element. Set it to true. However, this is the default setting. I'm assuming you are using a customized server.xml, right? Jake At 09:40 AM 1/19/2003 +0100, you wrote: Greetings! New to Jakarta and I'm stuck. Again, most likely an easy solution

WAR Problem

2003-01-19 Thread eric
Greetings! New to Jakarta and I'm stuck. Again, most likely an easy solution but I can't find it. I'm following the instructions in a book on deploying a war file yet it won't automatically expand when I restart Tomcat. Here's the steps I took and some config stuff: I cd to the working dire