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 able to

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: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

[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

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 avoid

Re: Tomcat Velocity Native language configuration problems

2001-11-21 Thread Nikola Milutinovic
Hello, I am using tomcat and velocity on Debian box. My servlets gets data from postgresql database and merges it with velocity template. After merging I see '?' instead of national characters. But if the same characters are used in template body, then they are displayed correctly. The

Configuration of Tomcat

2001-11-21 Thread Christian Endres
Hi, I'm using SuSE Linux 7.2 with Apache 1.3.19 and Tomcat 3.2.3. It works perfect. Now I have to do a project which includes to prgram servlets. If i add my own servlets into the tomcat_home/webapps/examples/WEB_INF/classes, I can execute the servlets. So far everything works fine. Now my

RE: Strange problem on Tomcat 3.3

2001-11-21 Thread Ming Xinghui-w12393
I have met such problem before. !-- Tomcat reports Context -- Context path=/reports docBase=reports debug=0 privileged=true/ I try to put the jar file under the directory $TOMCAT_HOME/webapps/reports/WEB-INF/classes. But Tomcat still reports classnotfound. I have to unzip the jar file under

Re: Strange problem on Tomcat 3.3

2001-11-21 Thread Craig R. McClanahan
You should read the docs that are included with the release. Both 3.3 and 4.0 versions of Tomcat totally ignore the CLASSPATH environment variable you might have specified (because it causes nothing but grief). If you want your classes to be visible to all webapps, put your JAR file in the lib

RE: Configuration of Tomcat

2001-11-21 Thread Ming Xinghui-w12393
Hi,Christian put your own servlets into the 'www'/WEB_INF/classes, move the html-files to 'www' and its subdirectory. Jenny -Original Message- From: Christian Endres [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 4:33 PM To: Tomcat Users List Subject: Configuration of

Calling a servlet of a different app within same TC

2001-11-21 Thread Lauer, Oliver
Hi all, Can I navigate from one servlet, call it exampe1Servlet, of an application, call it exampleApp1 to a servlet example1Servlet in exampleApp2 using the requestdispatcher and keeping the session alive, that means example1Servlet of exampleApp2 gets the session of example1Servlet in

RE: Error 405: HTTP method POST is not supported by this URL Prob On NT?

2001-11-21 Thread Cato, Christopher
I just have to say that the reload has NEVER worked for my webapps, even though I've marked them as reloadable. At least not on my 3.x installations. BTW: It's better to add doPost, doGet and a generic processRequest to your servlets if you're not sure whether it's POST or GET you're going to

RE: Tomcat Velocity Native language configuration problems

2001-11-21 Thread Zilvinas Binisevicius
Since I could use Win-CP1250 encoded data with Win-1250 declaration of the HTML in JSP page, I found that there was a quick-n-dirty *temporary* fix for the problem. I used the following connection URL: jdbc:postgresql://localhost/mercury?charSet=LATIN1 Looks like it is no a

Probably a simple question, but I'm at a loss!

2001-11-21 Thread Eskil Lauritsen
I've been using win98 for my JSP-dabbling until recently when I bought Windows XP. I was interested in getting Jakarta-Tomcat to work with XP so I installed j2sdk-1_3_1_01 and Jakarta-Tomcat 4.01. I used the Start Tomcat shortcut, and was relieved to see my pages working on localhost:8080, but

RE: Probably a simple question, but I'm at a loss!

2001-11-21 Thread Jan Søgaard
Hi Eskil Try to put the jdbc driver .jar file into the TOMCAT_HOME/lib directory. BR Jan. -Original Message- From: Eskil Lauritsen [mailto:[EMAIL PROTECTED]] Sent: 21. november 2001 11:27 To: [EMAIL PROTECTED] Subject: Probably a simple question, but I'm at a loss! I've been using

Re: Probably a simple question, but I'm at a loss!

2001-11-21 Thread Eskil Lauritsen
Thanks, Jan. That cured the db-connection problem. :) Now, all that is left is to fix the have-to-uninstall-then-reinstall-tomcat-for-it-to-work-again-after-being-st opped problem. -Eskil Lauritsen - Original Message - From: Jan Søgaard [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

RE: Tomcat4.0 as NT Service

2001-11-21 Thread Göran Byström
Hi, you can also use use this, not so pretty, command: %CATALINA_HOME%\bin\tomcat.exe -install Tomcat %JAVA_HOME%\jre\bin\hotspot\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% -Xrs -start

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.

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

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:

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

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 the

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

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

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 Win98. When I

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

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

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

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

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.

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,

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

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: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html For Tomcat 3.3, see:

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

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]

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: 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 Users

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

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

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: mailto:[EMAIL PROTECTED]

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

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

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

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.

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

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

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

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.

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 this

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

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

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,

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: 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 release. How

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:

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: 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! | | But I'd

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 PROTECTED]

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:

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: Wednesday,

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: Tomcat

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

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

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] To:

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

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

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

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

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

jsp:plugin feature from Servlet

2001-11-21 Thread Zsolt Koppany
Hi, because of technical reasons I need the jsp:plugin 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

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.

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

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

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

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 succesfully

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 paths. If

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: 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. Who

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

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: mailto:[EMAIL PROTECTED] For additional commands:

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.

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

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

Starting an Applet in new Window via a HTML link

2001-11-21 Thread Zsolt Koppany
Hi, from an HTML link (A HREF..) 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

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

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.

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 load-on-startup1/load-on-startup within the servlet /servlet pair in my

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 load-on-startup1/load-on-startup within the servlet

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

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

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

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

2001-11-21 Thread Wouter Boers
I think your problem might be this: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/classes/url-pattern /servlet-mapping AFAIK the url-pattern should be: url-pattern/myservlet/url-pattern to map http:///myapp/myserlvet to you servlet

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!), but

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

2001-11-21 Thread Galbayar
FORM ACTION=servlet/myservlet method=POST - 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

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 over the

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. servlet servlet-namemyservlet/servlet-name servlet-classmyservlet/servlet-class /servlet This would attempt to assign the name 'myservlet' to the class 'myservlet.class.'

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 form action=pudding method=post for form action=/servlet/servlet method=post works just as well as long as you

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

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.

  1   2   >