Tomcat 4.0 and Poolman

2001-11-21 Thread antony
Hi Folks I have searched the archives and there is lots of messages saying people are having problems with Tomcat 4.0 and Poolman, but there is no follow up messages saying definitly that these two do not work together, or how things can be configured so they do work in harmony. Can someone pl

RE: jaas login module integration with tomcat

2001-11-21 Thread Falko Braun
Hi Davis, Just an idea: Couldn't it be possible to point to the config-file by setting the System.Property dynamically in your Login-modules class by: System.setProperty("java.security.auth.login.config","jaas.conf") or System.setProperty("java.security.auth.login.config","URL_path\jaas.conf").

Re: jaas login module integration with tomcat

2001-11-21 Thread Antony Bowesman
Davis wrote: > > Hi All. > > Right now, I am facing one problem integrating my jaas login module > to servlet or JSP using tomcat. I don't find a way to configure the > jaas.config file into the server so that the loginContext can find > the login module to instantiate from the config file. We c

AW: mod_jk & Tomcat 4.0.1

2001-11-21 Thread Amthauer, Heiner
Hi Matt! Sorry, I'm not shure, if integrating Apache 1.3.22 with Tomcat 4.0.1 works the same way as with Tomcat 3.3. But if so, try looking at http://server.ccl.net/cca/software/UNIX/apache/. There are several different installations shown step by step. I've tried one and id did work fine. greet

jaas login module integration with tomcat

2001-11-21 Thread Davis
Hi All. Right now, I am facing one problem integrating my jaas login module to servlet or JSP using tomcat. I don't find a way to configure the jaas.config file into the server so that the loginContext can find the login module to instantiate from the config file. We can specify this for applicat

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
Mark, Scott is right, of course, but there is no reason to use a url when in fact you are just using a tag or a name. It is misleading, in my opinion. In Scott's code, substituting for works just as well as long as you use pudding instead of /servlet/servlet. This is not an incidental matter

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Scott Ahten
Mark, The servlet tag is used to assign a name to a particular servlet class file. myservlet myservlet This would attempt to assign the name 'myservlet' to the class 'myservlet.class.' The servlet-mapping tag defines the pattern or 'location' of a named

Re: mod_jk & Tomcat 4.0.1

2001-11-21 Thread Galbayar
use mod_webapps - Original Message - From: "Matt Sales" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 01:45 Subject: mod_jk & Tomcat 4.0.1 > Hello, > I'm trying to integrate mod_jk with Tomcat 4.0.1/Apache1.3.22/RH7.2. > I've poured ove

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Galbayar
- Original Message - From: "Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 04:42 Subject: TC 4.0 newbie - servlet app won't run > I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the > example servlets, but not my own. My html d

Re: Linux Hotspot JVM choice for Tomcat

2001-11-21 Thread Rick R
I noticed that for JDK1.3 on Linux, jdb did not work with the Sun JDK, but it did work with the IBM JDK. --- Endre_Stølsvik <[EMAIL PROTECTED]> wrote: > On Wed, 21 Nov 2001, keiths wrote: > But try out IBM's JRE 1.3 too! On my linux system, > it seems like it's > about 4 times faster (really!), b

Re: Emulating JServ's session.topleveldomain with Catalina

2001-11-21 Thread Daniel Rall
Daniel Rall <[EMAIL PROTECTED]> writes: > Using Tomcat 4.0.1, is there any way to emulate JServ's > session.topleveldomain context configuration? > > # Set the domain= header that gets sent with the cookie. This is > # entirely optional > # Default: null > # this is needed when we vhost to avo

RE: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Wouter Boers
I think your problem might be this: myservlet /classes AFAIK the url-pattern should be: /myservlet to map http:///myapp/myserlvet to you servlet 'myservlet' which is associated with the myservlet class Wouter -Original Message- From: Mark [mailt

Running JSP Examples

2001-11-21 Thread Aleksandr Bukharovich
Hello, When I try to run JSP examples I get the following error (see at the end of the mail). I did start the Tomcat and I access the example via localhost:8080. The JSP Samples web page says "These examples will only work when these pages are being served by the ServletRunner". Is ServletRunner

[ANNOUNCEMENT] Tomcat 3.2.4 Released

2001-11-21 Thread Marc Saegesser
Jakarta Tomcat 3.2.4 is now available for download at http://www.apache.org/dist/jakarta/jakarta-tomcat/release/v3.2.4-beta-1 Tomcat 3.2.4 fixes bugs found since the Tomcat 3.2.3 release in July, 2001. See the RELEASE-NOTES file for details on bug fixes and changes in this release. Barring the

Problem with CGIServlet

2001-11-21 Thread Robert Poskrobek
Hi! I've got Tomcat 4.0.1 for Windows and it's propertly configured to support CGI programs. Below a trivial c++ cgi program is shown. This program never ends, cause of a stdout problem. I analyzed a lot of situations and I discoved that only way to exit is to add '_exit(0);' function call at the

can't redirect default logging

2001-11-21 Thread Updike, Clark
I'm trying to configure all Tomcat 4 logging to go to a particular location on our unix server. I did not give Tomcat write permissions to $CATALINA_HOME thinking that none would be required if I reset all logging directories in server.xml to the writeable location I specified. But when I run To

Re: Fwd: problem with servlet reloading

2001-11-21 Thread Gerard van Enk
Harry Hinch wrote: > > >> I am running Tomcat 4 Apache 1.3.20 and Redhat linux 7.1 >> >> I am having a problem with servlets reloading when ever I start >> Apache. I have 2 servlets that I have automatically load when tomcat >> starts by specifying 1 within the >> pair in my applications

Re: Where IS mod_webapp ??

2001-11-21 Thread Pier Fumagalli
On 21/11/2001 10:15 pm, "Gerard van Enk" <[EMAIL PROTECTED]> wrote: >> Any comments? > > I think it's a good idea to make a release. I'm on a plane ATM, but +1 for me, J.F., would you be R.M. for this one? Pier -- To unsubscribe: For additional commands:

Fwd: problem with servlet reloading

2001-11-21 Thread Harry Hinch
>I am running Tomcat 4 Apache 1.3.20 and Redhat linux 7.1 > >I am having a problem with servlets reloading when ever I start Apache. I >have 2 servlets that I have automatically load when tomcat starts by >specifying 1 within the > pair in my applications web.xml. I have removed the >stan

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
Sorry, I'm not following you. What "pattern" are you referring to? Again, this app (and the html FORM/POST snippet I included) has worked under Forte and VAJ in the past. And I've looked at other Tomcat examples that look very much like what I'm doing, eg. http://www.onjava.com/pub/a/onjava/2001

Re: Where IS mod_webapp ??

2001-11-21 Thread Gerard van Enk
jean-frederic clere wrote: > Gerard van Enk wrote: > >>Chad Johnson wrote: >> >> >>>Hey, >>> Pier can correct me on this, but I believe mod_webapp is still beta >>>quality. So grabbing whats in CVS is a safe bet. The binarys that come >>>with Tomcat 4.0.1 have some bugs that have since been c

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
Your pattern does not occur in your post. So, the pattern will not send the post to the servlet. If you make your post "anything" and make your pattern "anything", that will work. Get my drift? The post is just some text that should match the pattern and that will then refer the app to your se

Starting an Applet in new Window via a HTML link

2001-11-21 Thread Zsolt Koppany
Hi, from an HTML link () I would like to start an applet without browser toolbar, menubar etc. Is that possible? If yes how? Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Str. 16 70565 Stuttgart Berufsunfähigskeitver

Loading a file in servlet

2001-11-21 Thread Rajesh Kannan
Dear all, We are developing a web application consisting of some servlets and JSPs. To execute our servlets we need to get some values from a property file. Presently we are hardcoding the path of the property file and loading it. As in realtime we may be knowing the path we want to l

TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the example servlets, but not my own. My html displays and I can execute my JSPs, but a POST to a servlet does not work (this app has run under Forte and VA Java in the past). I get a 404 error with "the requested resource (/my

RE: DOS Message: "Starting Tomcat in New Window", but Server is apparently not running.

2001-11-21 Thread Scott and Michele Young
Thanks. Just in case others have this problem, here's what I did to make it work: 1. BlackIce was not the problem- I left it running 2. I went to http://www.geocities.com/jdrudnicki/ and downloaded JustGo, the Tomcat Launcher. 3. I followed the simple directions to set up JustGo and started it. 4

Re: Linux Hotspot JVM choice for Tomcat

2001-11-21 Thread Endre Stølsvik
On Wed, 21 Nov 2001, keiths wrote: | Oh have I been reading | | I didn't realize that Linux has a "server" or "client" jvm in 1.3. Has | anyone done any testing or have any observations? "-server" is (should be) best for long running processes, as it "hotspots" more, compiles more aggressiv

Linux Hotspot JVM choice for Tomcat

2001-11-21 Thread keiths
Oh have I been reading I didn't realize that Linux has a "server" or "client" jvm in 1.3. Has anyone done any testing or have any observations? -- Keith Simpson Skillview Technologies [EMAIL PROTECTED] (603)-382-9882 -- To unsubscribe: For additional commands

J2EE server Datasource - JNDI Resources

2001-11-21 Thread Evan Swanson
I would like to use connection pooling in my Tomcat web application. I have read the section about JNDI Resources and is seems like the best way to implement it. I would like to know: * Is this a adequate method of implementing connection pooling in a standard web app? * Is there a

Emulating JServ's session.topleveldomain with Catalina

2001-11-21 Thread Daniel Rall
Using Tomcat 4.0.1, is there any way to emulate JServ's session.topleveldomain context configuration? # Set the domain= header that gets sent with the cookie. This is # entirely optional # Default: null # this is needed when we vhost to avoid multiple login session.topleveldomain=.foo.com I

Re: R: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Samuel Rochas
Hello, > Supposed you did all that's said in the tomcat-iis-howto (see docs), you > have to adjust the conf/uriworkermap.properties file, that's where > isapi_redirect.dll gets informations from ... I've written an entry to this file for the j_security_check, but it is still not recognized. Wh

2 classes with same name in dif packages

2001-11-21 Thread mwhitman
I am trying to run an older and newer version of a site on the same instance of tomcat. The reason for this is because there will be a transition period from old to new - I want both to be running simaltaneously for a period at the same url. The old and new site both have their own packages.

RE: Default file locations for .properties file

2001-11-21 Thread Larry Isaacs
The ContextManager class has a "home" property, which means it can be set with the "home" attribute on the ContextManager entry in server.xml. The path specified is the directory where Tomcat expects to find the "conf", "work", and "webapps" directories, assuming they are specified as relative pa

Re: Catalina Authentication PLS Help !!

2001-11-21 Thread Barry White
I remember some discussion about this subject. Have you searched the achives? - Original Message - From: "Renato Romano" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 12:11 PM Subject: Catalina Authentication PLS Help !! > Hi, > I su

NT USERID

2001-11-21 Thread Henry DU
Is it possible to get client-side WINNT /WIN98/Win2000 USERID from a servlet running in a UNIX box with Apache and Tomcat servers? Thank _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscri

Re: Default file locations for .properties file

2001-11-21 Thread Roger Varley
Thanks to Larry and Daniel for their help and I've now achieved what I wanted. But I'm still curious, what is the home parameter in server.xml for? Regards Roger >I would guess it is writting to the default directory of JVM, >which is typically TOMCAT_HOME. I'm not sure the Properties >class w

Re: Where IS mod_webapp ??

2001-11-21 Thread jean-frederic clere
Gerard van Enk wrote: > > Chad Johnson wrote: > > > Hey, > > Pier can correct me on this, but I believe mod_webapp is still beta > > quality. So grabbing whats in CVS is a safe bet. The binarys that come > > with Tomcat 4.0.1 have some bugs that have since been corrected (ie only > > being a

stdout and stderr redirection

2001-11-21 Thread Laurent Michenaud
Hi, Is it possible to redirect the stdout and stderr into log files with tomcat-3.2.3 ? For the moment, we have done it within the tomcat.sh script but it is not very good. We would like to have a log files per context or virtual host. I know it is possible with tomcat-4.0.1 but we don't want to

mod_jk & Tomcat 4.0.1

2001-11-21 Thread Matt Sales
Hello, I'm trying to integrate mod_jk with Tomcat 4.0.1/Apache1.3.22/RH7.2. I've poured over the "Working with mod_jk", "Workers Properties HOWTO", and Tomcat 3.3 docs, but I can't seem to get it working correctly. The mod_webapp is working fine, but it doesn't have the functionality that I need.

Re: Where IS mod_webapp ??

2001-11-21 Thread Gerard van Enk
Chad Johnson wrote: > Hey, > Pier can correct me on this, but I believe mod_webapp is still beta > quality. So grabbing whats in CVS is a safe bet. The binarys that come > with Tomcat 4.0.1 have some bugs that have since been corrected (ie only > being able to reference web apps in $CATALINA_

feature from Servlet

2001-11-21 Thread Zsolt Koppany
Hi, because of technical reasons I need the feature from servlet and not from jsp. How can I do that? Zsolt -- Zsolt Koppany Intland GmbH www.intland.com Schulze-Delitzsch-Str. 16 70565 Stuttgart __ Geben Sie Ihren L

Catalina Authentication PLS Help !!

2001-11-21 Thread Renato Romano
Hi, I succesfully configured my webapp for login authentication, but I get a "Page not Found" Error, when a user access DIRECTLY the login page, (and not a protected area!!) and correctly gives his username and password. Probably Tomcat simply doesn't know WHERE to forward the user, because he did

Re: Where IS mod_webapp ??

2001-11-21 Thread Chad Johnson
Hey, Pier can correct me on this, but I believe mod_webapp is still beta quality. So grabbing whats in CVS is a safe bet. The binarys that come with Tomcat 4.0.1 have some bugs that have since been corrected (ie only being able to reference web apps in $CATALINA_HOME/webapps). -Chad - Or

Re : RE: ServletContext - PLS HELP!!

2001-11-21 Thread Michael
ok - I call a static method with the signature: "public static test(HttpServletRequest req)" How can I access the servletcontext within this method??? I think this MUST be possible, because the HttpServletRequest-object has the getContextPath()-method - so it knows the right context

RE: ServletContext - PLS HELP!!

2001-11-21 Thread Ulf Dittmer
Michael, Request attributes and Context attributes are two separate things. You should not expect to store an item in one and retrieve it from the other. The servlet context can be gotten be calling getServletContext() from within a servlet. Ulf -Original Message- From: Michael [mailto:

ServletContext - PLS HELP!!

2001-11-21 Thread Michael
Hi! Can you help me, in what I'm doing wrong? I set an attribute in the servletcontext:in the initmethod! i can access the object using: config.getServletContext().getAttribute("test") but not request.getAttribute("test") WHY??? how to access this attribute if I

AW: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Hessing Ingo
Hi, have you tried defining all the users a second time within NT 4? - If your users are not only valid Tomcat users (defined in tomcat-users.xml) but also valid Win NT 4 users the IIS 4 might let them through to the isapi_redirect.dll in form-based authentification. As you, Samuel, already kno

R: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Renato Romano
I had the same problem with version 3.2.1, but i suppose the workaround is the same. Supposed you did all that's said in the tomcat-iis-howto (see docs), you have to adjust the conf/uriworkermap.properties file, that's where isapi_redirect.dll gets informations from ... Following is mine ... Renat

Re: File file = new File(path);

2001-11-21 Thread Holger Klawitter
David Rault wrote: > > may be a stupid sugestion but... anyway > have you checked the unix rights of the user you run tomcat as for the file > /usr/share/tomcat/webapps/spankroot/WEB-INF/classes/properties.txt ?? > > David > > - Original Message - > From: "Todd Fulton" <[EMAIL PROTECTED

RE: File file = new File(path);

2001-11-21 Thread Todd Fulton
Well, the rights are currently: -rw-r--r--1 root root 345 Nov 21 06:27 properties.txt I think that should be sufficient?? -Original Message- From: David Rault [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 8:03 AM To: Tomcat Users List; [EMAIL PROTECTE

Re: the classloader doesn't like XML in TC 3.2.3 and TC 4.0

2001-11-21 Thread Barry White
Does Crimson have any advantages/disadvantages over Xerces? What does your webapp do with the xml? P.S. Thanks for the followup (even if you fixed your own problem). Things like this are very usefull when troubleshooting an application. Barry - Original Message - From: "Arnaud Hériti

AW: File file = new File(path);

2001-11-21 Thread Ralph Einfeldt
And all directories in the path have the proper permissions. Make a try like #login as the tomcat user cd /usr cd share cd ... cd classes ls -l properties.txt > -Ursprüngliche Nachricht- > Von: David Rault [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 21. November 2001 17:03 > An: Tom

Re: File file = new File(path);

2001-11-21 Thread David Rault
may be a stupid sugestion but... anyway have you checked the unix rights of the user you run tomcat as for the file /usr/share/tomcat/webapps/spankroot/WEB-INF/classes/properties.txt ?? David - Original Message - From: "Todd Fulton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wedne

File file = new File(path);

2001-11-21 Thread Todd Fulton
Anyone, I've been trying to create a File (and FileInputStream) from within Tomcat 3.3 now for hours now. I'm using the TOMCAT_HOME environment variable to get the path, but keep getting nothing but java.io.FileNotFoundException: /usr/share/tomcat/webapps/spankroot/WEB-INF/classes/properties.t

RE: compilation error

2001-11-21 Thread Larry Isaacs
This is the normal log output for a request that tries to access a non-existent JSP page. It suggests that webapps/ROOT/test.jsp doesn't exist. Larry > -Original Message- > From: Magnus Jansson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 21, 2001 10:38 AM > To: [EMAIL PROTECT

Re: Where IS mod_webapp ??

2001-11-21 Thread Gerard van Enk
Endre Stølsvik wrote: > On Wed, 21 Nov 2001, Gerard van Enk wrote: > > | Endre Stølsvik wrote: > | > | > On Tue, 20 Nov 2001, Chad Johnson wrote: > | > > | > | The WebApp Module has a little webpage. Take a look here. > | > | > | > | http://nagoya.apache.org/~pier/ > | > > | > Thanks! >

compilation error

2001-11-21 Thread Magnus Jansson
Hi i've just started a tomcat3.3 server but I'm getting these confusing messeges when I try to view a jsp page. at the server console I get following messege: 2001-11-21 15:46:42 - Ctx() : Compiling: /test.jsp to test_0 2001-11-21 15:46:42 - Ctx() : class not found test_1 2001-11-21 15:46:42 -

RE: RE(MIKE) : I don't understand ....

2001-11-21 Thread Mike Kelley
Yes, I have managed that one I used regedt32 and added Tomcat as a service that apache is dependant upon ... If I cycle TC apache also cycles ... But I seem to have to cycle apache again after starting both ... -Original Message- From: Falko Braun [mailto:[EMAIL PROTECTED]] Sent: Wednesd

Re: Where IS mod_webapp ??

2001-11-21 Thread Endre Stølsvik
On Wed, 21 Nov 2001, Gerard van Enk wrote: | Endre Stølsvik wrote: | | > On Tue, 20 Nov 2001, Chad Johnson wrote: | > | > | The WebApp Module has a little webpage. Take a look here. | > | | > | http://nagoya.apache.org/~pier/ | > | > Thanks! | > | > But I'd also like a more "stable" rel

Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)

2001-11-21 Thread Alec Bickerton
21/11/2001 14:15:39, "John & Valerie Dobbs" <[EMAIL PROTECTED]> wrote: Hi, I am running TC 4.01 on RH 7.2, it was installed from rpm, hence no shell scripts in $CATALINA_HOME/bin, just bootstrap.jar Tomcat can be controlled easily enough using service Tomcat4 start | stop | restart Small gripe

RE: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Miklancic, Daniel J
Samuel, With Apache, we include the following in the .conf file. I am not familiar with IIS, but assume there is something similar. # # The following line mounts all JSP files and the /servlet/ uri to tomcat # JkMount /MyFirstWebApp/servlet/* ajp12 JkMount /MyFirstWebApp/*.jsp ajp12 JkMount /My

RE: executing

2001-11-21 Thread Randy Layman
I looks like there is a space in the path to Java that is causing you a problem. If you can find this entry in the registry and put quotes around it should solve your problem. Randy > -Original Message- > From: Keren Meital [mailto:[EMAIL PROTECTED]] > Sent: Wednesday,

form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Samuel Rochas
Hello, I have troubles using the form authentication for an application running on the IIS (4.0) with tomcat 3.2.3. The security example is running fine, that is because it is running directly with tomcat and not through IIS first. The authentication mechanism for my application running with t

RE: Default file locations for .properties file

2001-11-21 Thread Miklancic, Daniel J
Roger, Calling PropertyLoader.load("/myprops.properties"); returns the property file which is stored in WEB-INF/classes. This would meet your objective of having each context have its properties file stored separate from the others -- the name is relative to the context. The class I commonly

RE: Default file locations for .properties file

2001-11-21 Thread Larry Isaacs
I would guess it is writting to the default directory of JVM, which is typically TOMCAT_HOME. I'm not sure the Properties class would be aware of Tomcat's "home" directory. You could try ServletContext.getRealPath() to get the file path, i.e. getRealPath("/WEB-INF/myprops.properties"). Hope thi

EOFException using mod_webapp

2001-11-21 Thread Amthauer, Heiner
Hi there, I'm using mod_webapp to map servlet requests from Apache 1.3.22 to Tomcat 4.0.1 (win32). I'm running an applet wich does communicate with my servlets, sending objects. This does work fine, using other Webservers like from bea, or running on linux, with Apache 1.3.14 and Tomcat 3.2. Howe

Default file locations for .properties file

2001-11-21 Thread Roger Varley
Hi I have a servlet running under Tomcat 3.2 that reads and writes to a properties file created by the Properties class. If I only provide the unqualified name of the properties file in my servlet, Tomcat reads and writes the file to the %TOMCAT_HOME% directory. This is consistant with the docume

Default file locations for .properties file

2001-11-21 Thread Roger Varley
Hi I have a servlet running under Tomcat 3.2 that reads and writes to a properties file created by the Properties class. If I only provide the unqualified name of the properties file in my servlet, Tomcat reads and writes the file to the %TOMCAT_HOME% directory. This is consistant with the docume

URGENT !!! Please HELP !!!

2001-11-21 Thread Renato Romano
Hi, I succesfully configured my webapp for login authentication, but I get a "Page not Found" Error, when a user access DIRECTLY the login page, (and not a protected area!!) and correctly gives his username and password. Probably Tomcat simply doesn't know WHERE to forward the user, because he did

RE: executing

2001-11-21 Thread Miklancic, Daniel J
I assume you are working in a Windows environment. Try reinstalling the jdk. The install program sets the registry keys properly. I often encounter similar problems when products install their "own" jdk and redirect registry pointers. A quick jdk reinstall has solved this for me. -Origi

Loading sun.jdbc.odbc.JdbcOdbcDriver in Tomcat 4.0 with -security

2001-11-21 Thread Miklancic, Daniel J
I am running Tomcat with the -security option. When trying to load the sun.jdbc.odbc.JdbcOdbcDriver I receive an access control exception java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc and it tells me I am trying to load a Restriced Access class. I have added the follo

Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)

2001-11-21 Thread John & Valerie Dobbs
I've installed Tomcat 4.0.1 from the rpms found at /builds/jakarta-tomcat-4.0/release/v4.0.1. I am experiencing difficulties with these rpm files (some component files of length 0). Has anyone else had problems with these files? I assumed that these were the files to use for Red Hat Linux as op

executing

2001-11-21 Thread Keren Meital
I just installed tomcat 4.0. It is compiling fine, but when I execute the following message appears: Error opening registry key 'Software\JavaSoft\Java Error: could not find java.dll Error: could not find Java 2 Runtime Environment. I have been compiling and executing java programs through JCrea

Servlet context again

2001-11-21 Thread Mihai Gheorghiu
Suppose I have a login page. Upon submit, the listening servlet generates a dynamic page. This latest page should send data to the server, too. Is the context of the new page the same as the previous one? If same, can it be changed? Thank you all. -- To unsubscribe:

RE: DOS Message: "Starting Tomcat in New Window", but Server is apparently not running.

2001-11-21 Thread Larry Isaacs
You can try: bin\tomcat.bat run to start in the current window which will allow you to see the error. Also, it looks like your TOMCAT_HOME has a trailing '\'. I would recommend removing it. You could also set TOMCAT_HOME using the "JAKART~1.4" form of the name or rename the TOMCAT_HOME dir

executing Tomcat from cd

2001-11-21 Thread Tognoni Enrico (Stage)
I am deploying a simple web application using Tomcat 3.2.3 in stand-alone mode. At the moment I'm distributing it in a cd containing all Tomcat and application files, which need to be copied on the machine where the application runs. I was asked to check if it is possible to run everything direc

Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)

2001-11-21 Thread John & Valerie Dobbs
Thank you Allen. I'm beginning to think I have a bad distribution - I can't find any files that look like startup.sh and shutdown.sh. I think I will remove and download again. I must have missed something. John - Original Message - From: Allan Kamau <[EMAIL PROTECTED]> To: Tomcat User

Re: Starting Tomcat 4.0.1 on Linux (RH 7.2)

2001-11-21 Thread Allan Kamau
Hi John and Valerie, Tomcat4.0.1 like the Tomcat distributions before it comes with startup.sh and other executable script files as standard. This files are stored under the $CATALINA_HOME/bin directory. Incase you get problems running startup.sh, you should first set the $CATALINA_HOME varible

RE(MIKE) : I don't understand ....

2001-11-21 Thread Falko Braun
Hello Mike, Think I remember, that you were running Apache and Tomcat both as services. Did you manage to start Apache depending on having Tomcat started? Falko -Original Message- From: Mike Kelley [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 21. November 2001 06:27 To: [EMAIL PROTECTED]

AW: Tomcat & Velocity Native language configuration problems

2001-11-21 Thread Reto Badertscher
Hello, i had that problem too with an Oracle Database and XML files without proper encoding specified. I've written a filter which translates all non displayable characters to 'Numeric Entities' and configured Velocity to use this filter. If you're interested i can send you the code if i still ha

RE: Strange problem on Tomcat 3.3

2001-11-21 Thread Larry Isaacs
Jars go in WEB-INF/lib and classes in WEB-INF/classes (under the appropriate package name). There are appropriate ways to add jars outside of WEB-INF/lib to allow wider access. For Tomcat 4.0, see: For Tomcat 3.3, see:

RE: Tomcat 4.0.1 on SuSe 7.1 ppc

2001-11-21 Thread Jacob Vennervald Madsen
I tried to install the release version of 1.2.2 instead and it worked. Thanks! Jacob -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: 21. november 2001 14:04 To: Tomcat Users List Subject: AW: Tomcat 4.0.1 on SuSe 7.1 ppc OutOfMemoryError doesn't mean that your

How To Send Users To A Default Page After Form based Login ?

2001-11-21 Thread Renato Romano
Hi all, I succesfully configured my webapp for login authentication, but I get a "Page not Found" Error, when a user access DIRECTLY the login page, (and not a protected area!!) and correctly gives his username and password. Probably Tomcat simply doesn't know WHERE to forward the user, because he

RE: ISAPI_REDIRECT.dll Tomcat3.3/Win2k/IIS5

2001-11-21 Thread Larry Isaacs
FYI: I obtained some configuration information from Robert that showed the registry entries all had enclosing quotes around the settings. I assume removing the quotes fixed the red arrow problem. Larry > -Original Message- > From: Robert Keddie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday

Starting Tomcat 4.0.1 on Linux (RH 7.2)

2001-11-21 Thread John & Valerie Dobbs
I've just installed Tomcat on my Linux box. Couldn't find a startup.sh or catalina.sh to start it with. Tried starting it with the tomcat4 script but got an error when trying to create /var/tomcat4/logs/catalina.out. Not sure if I'm using the right script or the script needs to corrected. I

Re: Where IS mod_webapp ??

2001-11-21 Thread Gerard van Enk
Endre Stølsvik wrote: > On Tue, 20 Nov 2001, Chad Johnson wrote: > > | The WebApp Module has a little webpage. Take a look here. > | > | http://nagoya.apache.org/~pier/ > > Thanks! > > But I'd also like a more "stable" release. How do I get that? Take a look at

Re: Tomcat 4.0.1 & Webapp Module

2001-11-21 Thread Gerard van Enk
Matt Sales wrote: > Hello, > I am upgrading from JServ to Tomcat 4.0.1 on RH Linux 7.2 with Apache > 1.3.22. Under JServ, I relied heavily upon JSSI. Now, I'm migrating the > .jhtml files to .jsp. However, with mod_webapp, it seems I can only map > _directory paths_ to servlets, not _file exte

AW: Tomcat 4.0.1 on SuSe 7.1 ppc

2001-11-21 Thread Ralph Einfeldt
OutOfMemoryError doesn't mean that your maschine is out of memory, but your java vm. Increase the maximal heapsize (a little help on setting these parameters you get with 'java -X'). How to set these values for tomcat you have to ask other people or search the mailing list. (I'm not using tomcat

RE: Tomcat 4.0.1 on SuSe 7.1 ppc

2001-11-21 Thread Jacob Vennervald Madsen
I've tried installing the Java 2 SDK 1.3 now. But now it gives me an out of memory error: Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.OutOfMemoryError at java.lang.reflect.Method.copy(Method.java:278) at java.lang.reflect.Method.getPa

Re: DOS Message: "Starting Tomcat in New Window", but Server is apparently not running.

2001-11-21 Thread Jim Cheesman
At 01:11 PM 21/11/01, you wrote: >This problem looks similar to this one > >http://w4.metronet.com/~wjm/tomcat/2000/Nov/msg00565.html > >If you suspect BlackIce, turn it off and try again. > >-Janek > > --- Scott and Michele Young <[EMAIL PROTECTED]> >wrote: > I am trying to run Tomcat3.2.3 in Wi

RE: ISAPI_REDIRECT.dll Tomcat3.3/Win2k/IIS5

2001-11-21 Thread Nihar
there is a lates isapi dll available on apache site. you can remove old dll and regiser new one. it should show green errow. -Nihar -Original Message- From: Robert Keddie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 8:53 PM To: > Subject: ISAPI_REDIRECT.dll Tomcat3.3/Win2k

RE: Tomcat 4.0.1 on SuSe 7.1 ppc

2001-11-21 Thread Jacob Vennervald Madsen
Thanks I'll try that. Jacob -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: 21. november 2001 13:00 To: Tomcat Users List Subject: AW: Tomcat 4.0.1 on SuSe 7.1 ppc This kind of error typically is caused by either the VM or or by a native library. May be you sh

Re: DOS Message: "Starting Tomcat in New Window", but Server is apparently not running.

2001-11-21 Thread Janek Bogucki
This problem looks similar to this one http://w4.metronet.com/~wjm/tomcat/2000/Nov/msg00565.html If you suspect BlackIce, turn it off and try again. -Janek --- Scott and Michele Young <[EMAIL PROTECTED]> wrote: > I am trying to run Tomcat3.2.3 in Win98. When I run > the startup.bat, I get >

DOS Message: "Starting Tomcat in New Window", but Server is apparently not running.

2001-11-21 Thread Scott and Michele Young
I am trying to run Tomcat3.2.3 in Win98. When I run the startup.bat, I get the following message: --- Unable to set CLASSPATH dynamically. Note: To set the CLASSPATH dynamically on Win9x systems only DO

AW: Tomcat 4.0.1 on SuSe 7.1 ppc

2001-11-21 Thread Ralph Einfeldt
This kind of error typically is caused by either the VM or or by a native library. May be you should upgrade from 1.2.2RC4 to 1.2.2FCS: http://www.blackdown.org/java-linux/java2-status/jdk1.2-status.html > -Ursprüngliche Nachricht- > Von: Jacob Vennervald Madsen [mailto:[EMAIL PROTECTED]

Build failed

2001-11-21 Thread root
Hi all, My system is caldera 2.4.12,apache1.3.22,jdk and jre 1.3.1_01 tomcat src 3.2.3,jaxp1.1,jsse-1.0.2,servletapi3.2.3 and tomcat subproject. I have a proble with tomcat sub-project because when I write "sh build.sh" I have many errors(20) and "build failed" like final message. For example:

cHTML through Tomcat

2001-11-21 Thread van Hilten, Clive
Good day all environment: Windows 2000 Server with SP1, Tomcat 3.2, Apache 1.3.19, JDK 1.3.0_02 background: I am doing some development work getting JSP to create simple, dynamic cHTML code for display on iMode devices. Full error message: === 2001-11-21 10:

Re: general questions

2001-11-21 Thread Janek Bogucki
Hi Prashant, There is some indication in the source code that this is intended to be configurable but I failed to find any information on how to do it. --- If you have compiled Tomcat from source then you could have a look at JspParseEventListener.java and replace JakartaCommentGenerator with a

Tomcat 4.0.1 on SuSe 7.1 ppc

2001-11-21 Thread Jacob Vennervald Madsen
Hi List I'm having a problem with Tomcat on an IBM ppc machine with SuSe 7.1 on it. When i try to start the server it writes the following information to the log: SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]: Success si_code

RE: the classloader doesn't like XML in TC 3.2.3 and TC 4.0

2001-11-21 Thread Arnaud Héritier
Hello. With some documentations about Tomcat, Xalan, Xerces, Crimson and the mailing list archive, I finally found what's happenned. The problem is that Jasper (the JSP compiler) can (and should) see my webapp classloader to compile JSPs files. So by default Jasper use the crimson XML parser.

  1   2   >