Re: connectors and port80

2003-06-02 Thread Mirit Naim
Under which account you installed tomcat? If it is not root, you can't run it at port 80 just like that (maybe there is a forwarding option, I don't know). >>> [EMAIL PROTECTED] 06/02/03 04:46PM >>> I'm trying to get tc to run on a linux 9 server. I've got it working fine on port 8080 but when I c

SSL error 40

2003-06-02 Thread Doug Chamberlin
I just changed the server certificate on a Tomcat 4.04 standalone server and now get "Secure connection: fatal error (40) from server. Failed to connect to server." errors. I deleted the old certificate and imported the new one with the same alias in the keystore. I then restarted the Tomcat se

Re: Invalid command 'JkMount'....

2003-06-02 Thread Graham Smith
Thanks. That worked brilliantly :oD Sorry if you consider thanks to be cluttering the list. John Turner wrote: Your mod_jk module is only loaded if HAVE_JK = TRUE (or is defined). In webmin, it probably is, when you start from the command line, it probably isn't. To test, you would do so

connectors and port80

2003-06-02 Thread Fumo, Vince
I'm trying to get tc to run on a linux 9 server. I've got it working fine on port 8080 but when I change my connector to port 80 I get an access denied exception (see info below). I'm guessing I got the connector definition correct and that its something in linux. Do any of you have any sug

RE: Why am I recieiving this?

2003-06-02 Thread James Lewis
lol! > -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: 02 June 2003 14:39 > To: Tomcat Users List > Subject: RE: Why am I recieiving this? > > > > Howdy, > > >Techniacally,my post should only and only goes to tomcat-user mail > server > > How did you arrive

RE: Realm class, Classloader

2003-06-02 Thread Cox, Charlie
actually it is loaded by tomcat's internal classes, to determine if your webapp should be called. So the tomcat classes need to be able to see it and they cannot access classes loaded by the Webapp classloader. Therefore it belongs in /server/lib as you have seen. See the classloader doc for more

RE: Why am I recieiving this?

2003-06-02 Thread Shapira, Yoav
Howdy, >Techniacally,my post should only and only goes to tomcat-user mail server How did you arrive at that conclusion? See RFC 3461, 3030. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, pro

RE: -Xincgc, -Xms600, -Xmx600

2003-06-02 Thread Shapira, Yoav
Howdy, You can enable the -verbose:gc switch and see how often GC is occurring. Incremental GC will occur all the time pretty much. Note that your core problem may be deeper. Why did memory consumption hit 600MB? Is that expected? If so, you should ensure the heap has more allocated than what

Re: Tomcat problems every morning.

2003-06-02 Thread Hemendra Rana
The traces that I put yesterday did indeed show that it is the MySQL database driver that times out the connection. I have added autoReconnect=true to the URL. Lets see if that works. Following is the stack trace of the exception that I got: java.sql.SQLException: Communication link failure: ja

Re: Invalid command 'JkMount'....

2003-06-02 Thread John Turner
Your mod_jk module is only loaded if HAVE_JK = TRUE (or is defined). In webmin, it probably is, when you start from the command line, it probably isn't. To test, you would do something like: export HAVE_JK=TRUE on the command line, then start Apache and see what happens. In any case, there's

Re: Why am I recieiving this?

2003-06-02 Thread Dan Tran
What I dont understand is why my post went to that host? Basically, I receive 2 emails for each time I post, one form tomcatcat user list, and one from that unknown host? Techniacally,my post should only and only goes to tomcat-user mail server Does my outlook behave? -Dan - Original Messa

RE: Tomcat 4 and native threads

2003-06-02 Thread Shapira, Yoav
Howdy, >i think it is because i've got a redhat 9.0 which >uses new kinds of threads( NPTL ). >Compatibility problems... That's a good theory. I'd be interesting to learn your experience and opinion regarding this new threading library. If it gives the JVM grief, that's not good ;( Yoav Shapi

RE: Some thoughts on memory consumption and gc

2003-06-02 Thread Shapira, Yoav
Howdy, >*) If you have 128 MB heap and 64 MB stack memory assigned, against which >will the memory consumption count? Mostly the heap. The stack space is used for method overhead and other miscellaneous information. >*) According to my experiements Runtime.availableMemory will give me the >hea

Re: Tomcat problems every morning.

2003-06-02 Thread Chong Yu Meng
Hollerman Geralyn M wrote: Why, yes, I am. And I thought perhaps MySQL was the problem - but I was told by some people using Oracle and PostgreSQL databases that they'd seen the problem as well. To put it bluntly, don't believe them, Lynn. It seems to me like you've done everything necessary to

RE: Invalid command 'JkMount'....

2003-06-02 Thread Morgan Pyne
Hi Graham, Try enabling server-info in the Apache config and confirming that mod_jk has actually been loaded. Your "LoadModule" is wrapped in an "Ifdefined" statement, so it's possible that some of the mechanisms you are using to start apache do not define "HAVE_JK", and mod_jk module does not ge

RE: Session Snooper

2003-06-02 Thread Shapira, Yoav
Howdy, It's not often you see someone post a deprecated solution to this list ;) Be careful using this page with non-default encodings. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: bedetrob [mailto:[EMAIL PROTECTED] >Sent: Friday, May 30, 2003 8:35 AM >To: Tomcat

RE: Compilation errors of Servlet.

2003-06-02 Thread Shapira, Yoav
Howdy, > CLASSPATH=/var/tomcat4/common/lib/servlet.jar This should work. (In addition to any other jar your apps might need). The LE vs. full version has nothing to do with it: they are essentially the same with respect to compiling and running servlets and JSPs. Yoav Shapira Millennium ChemI

Invalid command 'JkMount'....

2003-06-02 Thread Graham Smith
Hi. Yesterday I installed the mod_jk module into apache and managed to get it configued and doing what I want it to do. The only problem I now have is that whenever I start apache from the command line I get the error message below. Invalid command 'JkMount', perhaps mis-spelled or defined by

Re: Tomcat 4 jk2-2.0.2 with apache2 in solaris 8 configuration

2003-06-02 Thread John Turner
What version of Apache 2 do you have? The binary of mod_jk2 (and mod_jk) is version-sensitive. It should work for 2.0.43 and up. John On Sun, 1 Jun 2003 20:29:38 -0400, Omar Vera <[EMAIL PROTECTED]> wrote: Hi to everybody, I am trying to configure tomcat 4.1.24 with apache 2 using the conne

Re: Help: Error while opening the workers, jk will not work

2003-06-02 Thread John Turner
In httpd.conf, change JkLogLevel to debug, that should give you more information. Sounds to me like there is something wrong with your workers.properties file. John On Sun, 1 Jun 2003 10:36:51 -0400, Rob Cartier <[EMAIL PROTECTED]> wrote: Recently I have been seeing 'Error while opening the w

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread John Turner
True, but it doesn't help much if everyone has a Tomcat configured to listen on port 80. If I have 10 students, and they each need their own Tomcat instance, using ports less than 1024 doesn't make much sense, as there are other network services in that port space. So using > 1024 doesn't need

Re: Why am I recieiving this?

2003-06-02 Thread John Turner
Seems pretty self-explanatory to me. The mail administrator at logicaonline.com (look at the headers in the message!!) has blacklisted your email address. John On Mon, 2 Jun 2003 00:02:02 -0700, Dan Tran <[EMAIL PROTECTED]> wrote: I receive the below text every time I post a message to this gr

Re: Thanks to John and Geralyn

2003-06-02 Thread John Turner
On Sun, 1 Jun 2003 14:56:19 +0800, joe <[EMAIL PROTECTED]> wrote: Hi john and geralyn, thanks for the warmly and prompt reply. I think now at least i know what is going on.However, i'm still unsure of the following things: 1) Based on John wonderful's Howto, i think you are using both mod_jk.so

Re: installing Tomcat without being root

2003-06-02 Thread John Turner
On Mon, 2 Jun 2003 09:44:07 +0200, <[EMAIL PROTECTED]> wrote: Hello, thanks to your advice i had been able to install tomcat and run all my servlets, but I have still 2 problems: 1) Having installed TomCat standalone as a non-root user, TomCat is reachable only at port 8080, while the DNS is set

Restrict WebDAV servlet to context subdirectory

2003-06-02 Thread Sven Kuenzler
I would like to use the webdav servlet in the context of another web application. In particular, WebDAV only should make files beneath a certain subdirectory, say "docs/usr", available. So I tried: webdav /docs/usr/* However, this produces strange behaviour trying to do a PROPFIND on

Re: /admin

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 18:26, Dominic Parry wrote: > java.lang.NoClassDefFoundError: org/apache/naming/JndiPermission Is naming-common.jar in your CATALINA_HOME\common\lib ? I'm not sure why it wouldn't find it if it is, maybe CATALINE_HOME needs to be explicitly declared when running Tomcat in proc

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Mirit Naim
there is a utility called sudo that enables you to give regular users permissions to run commands as privileged users. If you use it, your users will be able to stop/start tomcat, while it is installed in another account (in your case root), without being able to su to root. >>> [EMAIL PROTECTED]

Re: Manager app and HttpURLConnection

2003-06-02 Thread Tim Funk
That is because the manager servlet is protected. A 401 response code is a challenge back to the client and the client needs to resend a new request with the Header: WWW-Authenticate with the userid and password. More information: http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2068.html#sec-10.4.2

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 19:30, Tim Funk wrote: > If each student runs their own tomcat instance, then just have tomcat > listen on a port above 1024. Plus they would each need an instance of Tomcat in their home directory, I'd say that's where the permission denied is coming from it's probably current

jsp evaluation into a stream instead of response?

2003-06-02 Thread Holger Klawitter
Hi there, I am trying to create a servlet which basically sends an email. I would like to create a HTML File as part of that mail. As there is some kind of dynamic involved it would be nice to create that HTML data from a JSP file. My only current idea to is create an artificial HTTP Request an

Manager app and HttpURLConnection

2003-06-02 Thread Dominic Parry
Hi I'm trying to do this: try { URL url = new URL("http://localhost/manager/reload?path=/DynaServlet";); HttpURLConnection con = (HttpURLConnection)url.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader(

Re: Starting Tomcat without logging in as root?

2003-06-02 Thread Tim Funk
If each student runs their own tomcat instance, then just have tomcat listen on a port above 1024. -Tim [EMAIL PROTECTED] wrote: Hello, My students do not login as root, but I want them to be able to start Tomcat. Is this possible? Right now they get "Permission Denied" message. Thanks,

Re: Guild on using MOD_JK2

2003-06-02 Thread Tim Funk
I do not know of a conversion guide. mod_jk and mod_jk2 are configured (not so) completely differently. The way to go to mod_jk2, is really to read the docs on jk2 (which we know are still lacking :( )and start from scratch. As people create good how-tos on the connectors, I try to link to them

Starting Tomcat without logging in as root?

2003-06-02 Thread ravi
Hello, My students do not login as root, but I want them to be able to start Tomcat. Is this possible? Right now they get "Permission Denied" message. Thanks, Ravi Kulkarni [EMAIL PROTECTED] :-) - To unsubscribe,

Re: Expression Language question

2003-06-02 Thread Tim Funk
Ooops, sorry, I misread. How's this instead ... -Tim Nikola Milutinovic wrote: I think that's the ticket. Yes, Tim, but I'd like to be able to differentiate between "user not logged in" - session.isNew() and "user logged in, but error in web-app" - !sessi

Re: /admin

2003-06-02 Thread Dominic Parry
I that case, I can't seem to get it to run. When I try to deploy, I get: 2003-06-02 10:38:24 HostConfig[localhost]: Deploying web application directory admin 2003-06-02 10:38:24 StandardHost[localhost]: Installing web application at context path /admin from URL file:C:\Program Files\Apache Group\

Re: /admin

2003-06-02 Thread Kwok Peng Tuck
No. You may use it even if it is connected to apache or some other webserver Dominic Parry wrote: Hi I'm I right to assume that the /admin app is only needed to configure the Tomcat if it is used as a standalone web server. Thanks Dom -

/admin

2003-06-02 Thread Dominic Parry
Hi I'm I right to assume that the /admin app is only needed to configure the Tomcat if it is used as a standalone web server. Thanks Dom

RE: polish chars

2003-06-02 Thread Euan Guttridge
Thanks, Adding this to the env fixed both Linux and Solaris: NLS_LANG="AMERICAN_AMERICA.UTF8"; export NLS_LANG -Original Message- From: Ari Suutari [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 10:53 To: Tomcat Users List; Euan Guttridge; '[EMAIL PROTECTED]' Subject: Re: polish chars H

Re: polish chars

2003-06-02 Thread Ari Suutari
Hi, On Monday 02 June 2003 12:52, Euan Guttridge wrote: > I am getting "??" instead of polish characters. Any config I need to look > at? Works fine on NT, not on Linux. > > - j2sdk1.4.1 > - tomcat 1.1.24 > - red hat linux 7.2 I had a similar problem on linux. It was because I wa

polish chars

2003-06-02 Thread Euan Guttridge
I am getting "??" instead of polish characters. Any config I need to look at? Works fine on NT, not on Linux. - j2sdk1.4.1 - tomcat 1.1.24 - red hat linux 7.2 Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

page cannot be displayed

2003-06-02 Thread Keith Mastin
Just instaled tomcat on a redhat-7.3 server that's already running ssl-enabled apache-1.3.27. I can connect via localhost:8080 with lynx, but when I dial with the ip address:8080 on either mozilla or IE I get a page cannot be displayed error. I checked the archives and didn't see this problem. F

JK2 woes

2003-06-02 Thread David Bolshoy
Hi, Could someone shed more light on the following JK2 messages: [Sun Jun 01 18:49:29 2003] (error ) [jk_channel_un.c (422)] channelUn.receive(): error receiving -1 0 Success 859a460 19 Jun 1, 2003 6:49:29 PM org.apache.jk.common.JniHandler nativeDispatch SEVERE: nativeDispatch: error 12 J

RE: mod_jk.log errors

2003-06-02 Thread Marco Laponder
Sorry, little bug in my mail ;-) The second connector is not commented out in my current situation ! So my server.xml looks this connector: > -Oorspronkelijk bericht- > Van: Marco Laponder [mailto:[EMAIL PROTECTED] > Verzonden: maandag 2 juni 2003 9:42 > Aan: 'Tomcat Users List' > On

JK binaries for Solaris

2003-06-02 Thread Sharon Stahl
Hi everyone, I have had problems compiling mod_jk from source and have posted my message a couple of times to the mail list but no one has responded to my questions yet. I have tried to get the binaries but all the solaris directories for binaries are empty at the following site. http://jak

Re: building mod_proxy Apache 1.3

2003-06-02 Thread Sharon Stahl
Hi Eric, I have not done this but I notice that you don't mention running 'make' after you did the configure. configure should have produced a Makefile. When you run make do you get the mod_proxy.so or are you getting some kind of error? Aloha, Sharon > From: Eric fiedler <[EM

RE: Jboss to parse exsisting tomcat server.xml ...

2003-06-02 Thread Paul Gregoire
-- this is my 3rd attempt to answer a question please disregard if youve seen it already :) -- To make changes to tomcat under jboss you must edit tomcat41-service.xml not server.xml; changes made to the server.xml will not be used by tomcat. The Tomcat bundled with JBoss uses the tomcat41-servi

Can't find TomcatStarter

2003-06-02 Thread Allen Williams
Attempt to integrate Tomcat- Apache with jk2 on WinNT 4.0. Getting the following error: [Mon May 26 20:13:47 2003] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Mon May 26 20:13:47 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter [Mon May 26 20:13:47 2003] [notice]

RE: Access Log Valve

2003-06-02 Thread Tyndall, David
Thanks Much worked GREAT -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:42 AM To: Tomcat Users List Subject: RE: Access Log Valve Howdy, Just comment it in server.xml. It's commented out by default. Yoav Shapira Millennium ChemInfo

Cannot recover key" error and SSL

2003-06-02 Thread Dan LeBaron
I'm running Tomcat 3.2 on a Windows 2000 Server. After following the instructions in the SSL doc that come with tomcat I run startup.bat and get the following error. Any help would be greatQQ 2003-05-31 11:19:11 - ContextManager: Adding context Ctx( /examples ) 2003-05-31 11:19:11 - ContextM

Thanks to John and Geralyn

2003-06-02 Thread joe
Hi john and geralyn, thanks for the warmly and prompt reply. I think now at least i know what is going on.However, i'm still unsure of the following things: 1) Based on John wonderful's Howto, i think you are using both mod_jk.so and mod_jk-2.0.43.so. I was wondering is it a typo or this should be

Guild on using MOD_JK2

2003-06-02 Thread joe
Hi all, i've been playing with mod_jk connector and thanks to this email chain that i've finally got it to work...However, it seems that i've read that mod_jk2 connector is much better than mod_jk. Could anyone give me some update URL/guide or changes i need to make to migrate to use mod_jk2? Thos

RE: Session Snooper

2003-06-02 Thread bedetrob
Try this one: http://www.krasu.ru/server/examples/jsp/snoop.html Rob > -Original Message- > From: Francisco J. Bido [mailto:[EMAIL PROTECTED] > Sent: Monday, April 21, 2003 8:54 AM > To: Tomcat Users List > Subject: Re: Session Snooper > > > I see... Any equivalents or close approximatio

Document contains no data

2003-06-02 Thread gordon
I helped setup TC-4.1.24/Apache-2.0.45/mod-jk2-2.0.2 on RH8. When I was last associated with it, it seemed to work fine with some simple servlets. Some "modifications" were made ( no one seems to know exactly what ) and now when requesting a servlet, it grinds awhile and returns "Document con

RE: mod_jk.log errors

2003-06-02 Thread Marco Laponder
Van: John Turner [mailto:[EMAIL PROTECTED] > Verzonden: woensdag 28 mei 2003 19:18 > Aan: Tomcat Users List > Onderwerp: Re: mod_jk.log errors > > > > Search in server.xml for '8009' and see how many times it > comes up, and > whether each occurence is enabled or disabled.

Re: installing Tomcat without being root

2003-06-02 Thread kurtc
Hello, thanks to your advice i had been able to install tomcat and run all my servlets, but I have still 2 problems: 1) Having installed TomCat standalone as a non-root user, TomCat is reachable only at port 8080, while the DNS is set for the port 80, ie www.myhost.com:8080 works, but www.myhost

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Holger Klawitter
> javac doesn't when I set my class path variable. > > $ echo $CLASSPATH > /var/tomcat4/common/lib/servlet.jar Perhaps because you didn't export CLASSPATH in order to make the environment variable available to child processes of your shell (for details: "man bash | less +/^ENV") Mit fre

Realm class, Classloader

2003-06-02 Thread Oliver Wulff
I'm using Tomcat 4.1.24 and JDK 1.3.1. I've created a custom realm which is configured like this: The implementation class "test.RacfRealm" can be found only if it is deployed to the server/lib directory. If the Realm is configured for the context "sec_test", the class should be lo

Problems in Starting Tomcat 4.1 in Windows NT using JDK 1.2.2

2003-06-02 Thread shankar
Hi, I have encountered this problem while I start to run the catalina.bat in the current window. Can anyone see this.. E:\Tomcat\bin>catalina run Using CATALINA_BASE: e:\tomcat Using CATALINA_HOME: e:\tomcat Using CATALINA_TMPDIR: e:\tomcat\temp Using JAVA_HOME: c:\jdk1.2.2 Bootstrap:

Why am I recieiving this?

2003-06-02 Thread Dan Tran
I receive the below text every time I post a message to this group. ?? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 01, 2003 7:47 PM Subject: RE: Re: Filter out certain user accounts > Dear [EMAIL PROTECTED], > > Your recent message to this

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread shankar
I tried to install without spaces too. It is giving the same problem. Can anyone suggest what else to do to install this in windows NT having jdk 1.2.2 Warm reg, shankar - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 2:06 PM Subject: R

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Kwok Peng Tuck
Actually setting the $CLASSPATH should work. I prefer the 'javac -classpath' method, as you can specify the jars that you want instead of a bunch of directories in the $CLASSPATH variable. Try combining that with a shell script, saves you from typing too many times. Better yet, use ant. Jonat

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread srinivasan sriram
Hi Shankar, Check whether the port for the tomcat is available and not used by any other application. Normally tomcat operates on 8081 port. If this is not available tomcat will not start. So check this out and if the port is not available change the port number and try. shankar <[EMAIL PROTEC

RE: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread graghupathy
suggest it to install in a directory without space -Original Message- From: shankar [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 07:01 To: Tomcat Users List Subject: Re: Increasing Tomcat JVM setting with Tomcat in service Hi, I tried to install the Tomcat 4.1 in windows NT and w

Re: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread shankar
Hi, I tried to install the Tomcat 4.1 in windows NT and while starting it stops at this point. E:\Program Files\Apache Group\Tomcat 4.1\bin>startup Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\jdk1.2.2 E:\Program Files\Apache Group\T

RE: Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread John Corrigan
Edit the Windows Registry. HKEY_LOCAL_MACHINE + SYSTEM + CurrentControlSet + Services + Apache Tomcat 4.1 + Parameters Add values like: JVM Option Number n = -Xms256m Make sure to set the JVM Option Count value correctly. -Original Message- From:

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jonathan Michael Nowacki
Holy cow!!! It worked. Thank you very much Kwok Peng Tuck It's still puzzles me why javac -classpath /var/tomcat4/common/lib/servlet.jar MultiServlet.java works yet javac doesn't when I set my class path variable. $ echo $CLASSPATH /var/tomcat4/common/lib/servlet.jar $ javac MultiServlet.java

Re: Simple question on Unicode URL in Tomcat

2003-06-02 Thread Shawn
Hiho, try something like: String s = URLEncoder.encode(s, enc); s is your URL and enc is the java encoding such as "Shift_JIS". See URLEncoder for more info. Will work from java 1.4 I believe. Had the same problem and this seems to solve it just fine. -- Shawn Happily using M2, Opera's revol

Re: Expression Language question

2003-06-02 Thread Nikola Milutinovic
> I think that's the ticket. Yes, Tim, but I'd like to be able to differentiate between "user not logged in" - session.isNew() and "user logged in, but error in web-app" - !session.isNew() and session.getAttribute( "userID" ) == null. Is there a way to call a method from EL? Like: Or would t

Antwort: Re: Antwort: Re: JAAS LoginModule ?

2003-06-02 Thread Oliver Wulff
How can I configure an Authenticator implicitly and explicitly? *** BITTE BEACHTEN *** Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet möglicherweise vertrauliche oder gesetzlich geschützte Daten oder Informationen. Zum Empfang derselben ist (

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Kwok Peng Tuck
That's because it's javac -classpath. Jonathan Michael Nowacki wrote: I'm compiling with root, $ javac -cp /var/tomcat4/common/lib/servlet.jar MultiServlet.java javac: invalid flag: -cp Usage: javac and if I change my classpath to: $ echo $CLASSPATH /var/tomcat4/common/lib/servlet.jar I still

Increasing Tomcat JVM setting with Tomcat in service

2003-06-02 Thread Regis CABARET
Hi there, How can I increase the JVM setting when Tomcat is installed in service? Thanks in advance, R.

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jonathan Michael Nowacki
I'm compiling with root, $ javac -cp /var/tomcat4/common/lib/servlet.jar MultiServlet.java javac: invalid flag: -cp Usage: javac and if I change my classpath to: $ echo $CLASSPATH /var/tomcat4/common/lib/servlet.jar I still get the same error $ javac MultiServlet.java MultiServlet.java:1: p

jk2.socket permissions

2003-06-02 Thread Chong Yu Meng
I've almost got UNIX sockets to work, but for a rather strange problem that could be the result of my configuration. 1. I installed Tomcat as root, and it starts up as root. 2. Apache2 starts up as user apache2 and group apache2 3. I initially created an empty file (did not want to use the jk2.so

"Cannot recover key" error and SSL

2003-06-02 Thread Dan LeBaron
I am using Tomcat 3.2 on a windows 2000 Server. Importing a signed Geotrust SSL Cert works fine, but I receive the following error when running tomcat. Please help.!! "Cannot recover key" error and SSL 2003-05-31 11:19:11 - ContextManager: Adding context Ctx( /examples ) 2003-05-31 11

RE: Thanks to John and Geralyn

2003-06-02 Thread Joe
Thank you very much, it finally works on my machine! Thanks Again, Joe -Original Message- From: Michenaud Laurent [mailto:[EMAIL PROTECTED] Sent: Sunday, June 01, 2003 4:52 PM To: Tomcat Users List Subject: Re: Thanks to John and Geralyn here how i do to build mod_jk2 : First, i downlo

RE: Tomcat problems every morning.

2003-06-02 Thread Paul \(BRI\)
My comment won't be that helpful - but I started out at the same place - each morning I came in a got a call from staff saying the pages with content pulled from the dbase was down. One thing I know, as others suggested, it has to do with the JDBC/connection - in our case it happens when the netw

Re: Database setup? - SOLVED

2003-06-02 Thread Kwok Peng Tuck
Yes it does have to be in order :) . Check the dtd that it references. Terje Hopsø wrote: Thanks!! It was out of order. Now it start without errors. I was not aware of that it had to be in a spesific order. - Terje -Original Message- From: Brian Buchanan [mailto:[EMAIL PROTECTED] Sent:

Simple question on Unicode URL in Tomcat

2003-06-02 Thread John Z Yang
Dear all: I have a simple question regarding to the Unicode URL support in Tomcat. If I pass a Unicode URL to Tomcat, can it retrieve the targeted content? Some of our web pages are named under double byte characters. We have tried various ways to make it work but all failed. If you have a work a

"Cannot recover key" error and SSL

2003-06-02 Thread Dan LeBaron
I am using Tomcat 3.2 on a windows 2000 Server. Importing a signed Geotrust SSL Cert works fine, but I receive the following error when running tomcat. Please help.!! "Cannot recover key" error and SSL 2003-05-31 11:19:11 - ContextManager: Adding context Ctx( /examples ) 2003-05-31 11:

Re: Tomcat problems every morning.

2003-06-02 Thread Hollerman Geralyn M
On Sun, 01 Jun 2003 18:14:05 -0700, Hemendra Rana wrote > Are you using mysql database on the backend too. Someone here > pointed out that by default, mysql driver times out after every 8 > hours. I still needs to verify whether that is the cause of my > problem though. Will let you know of my f

Re: Tomcat problems every morning.

2003-06-02 Thread Hemendra Rana
Are you using mysql database on the backend too. Someone here pointed out that by default, mysql driver times out after every 8 hours. I still needs to verify whether that is the cause of my problem though. Will let you know of my finds. Hemendra Hollerman Geralyn M wrote: On Sun, 01 Jun 2003 10

Re: Filter out certain user accounts

2003-06-02 Thread Dan Tran
supper!!! Thanks - Original Message - From: "Tim Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, June 01, 2003 5:35 PM Subject: Re: Filter out certain user accounts > You should be able to cast ServletRequest to HttpServletRequest. > > Then you'll ha

Re: Filter out certain user accounts

2003-06-02 Thread Tim Funk
You should be able to cast ServletRequest to HttpServletRequest. Then you'll have access to getUserPrincipal() -Tim Dan Tran wrote: Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to another

Tomcat 4 jk2-2.0.2 with apache2 in solaris 8 configuration

2003-06-02 Thread Omar Vera
Hi to everybody, I am trying to configure tomcat 4.1.24 with apache 2 using the connector jk2-2.0.2 and I get an error message when I am making the mod_jk2.so file. The error message is: # make list=' server/apache2'; \ for i in $list; do \ echo "Making $target in $i"; \ if test "$i

Filter out certain user accounts

2003-06-02 Thread Dan Tran
Hello, I would like the build filter to check for a site maintainant flag set in application context and disallow certain user to passthruand route them to another page. The problem here, the interface doFilter's ServletRequest does not have access to getUserPrincipal, so I have no way to find

newbie install question - cannot access Tomcat remotely, only on localhost

2003-06-02 Thread Darren Gates
Hello, I've setup JDK 1.4, Apache 1.3.26 and Tomcat 4.1.12 on a Windows 2000 server. I am able to successfully access: http://localhost/ (for general web files) and http://localhost:8080/ (for Tomcat jsp files - I get the default index.jsp page that comes with Tomcat) and http://myipadd

Re: Tomcat problems every morning.

2003-06-02 Thread Hollerman Geralyn M
On Sun, 01 Jun 2003 10:31:15 -0700, Hemendra Rana wrote > I am running Tomcat 4.1.24 server on Linux and every morning I get > the following exception. Things work perfectly fine throughout the > day after I restart the Tomcat server. Any ideas? Could this be a > logger issue, because my serve

Problems building mod_jk and mod_jk2 for apache2, tomcat41 on redhat 6.2

2003-06-02 Thread ajames
Hello tomcat-user experts, I have been trying to build mod_jk and mod_jk2 for apache 2.0.45 (also tried 2.0.46), tomcat 4.1.24 on redhat linux 6.2 (kernel 2.2.14-5.0), glibc 2.1.3-21, and libtool 1.3.4-3. I can get both to configure and make ok, but there is no resulting .so file(s) in the apache

Re: Expression Language question

2003-06-02 Thread Tim Funk
I think that's the ticket. -Tim Nikola Milutinovic wrote: Simple question. I have a JSP/Servlet combination in which Servlet is used to authenticate user and create a session. A JSP page then checks for the existence of the session and reads neccessary ID from it. I'm switching to JSTL and I'd

Re: IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Dan Tran
Jason, thanks I went to the connector virtual directory and unset the basic authentication. it works Thanks for your advice -Dan - Original Message - From: "Jason Bainbridge" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, June 01, 2003 12:42 PM Subject:

Re: IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Jason Bainbridge
On Sun, 1 Jun 2003 23:01, Dan Tran wrote: > Hello, I have my tomcat behind IIS5 thru JK2 connector. > My tomcat has a form base authentication form. > > The problem here is if my tomcat form base authentication fails, IIS pops > up its own diaglog window for another authentication. > > How do I pr

Re: Forms and JSPs

2003-06-02 Thread Jeff Knox
It works! Instead of recompiling Apache 1.3 to use threads I installed Apache 2.0 and mod_jk2. It took a bit of wrangling to get the configs working with my virtual hosts, but now everything is happy and I can use parameters on the URL. Thanks everybody! Jeff On Saturday, May 31, 2003, at

Re: Tomcat problems every morning.

2003-06-02 Thread Jason Bainbridge
On Mon, 2 Jun 2003 01:31, Hemendra Rana wrote: > I am running Tomcat 4.1.24 server on Linux and every morning I get the > following exception. Things work perfectly fine throughout the day after > I restart the Tomcat server. Any ideas? Could this be a logger issue, > because my server logs rotate

Expression Language question

2003-06-02 Thread Nikola Milutinovic
Simple question. I have a JSP/Servlet combination in which Servlet is used to authenticate user and create a session. A JSP page then checks for the existence of the session and reads neccessary ID from it. I'm switching to JSTL and I'd like to switch to EL, now. Here is the old code, how can

Tomcat problems every morning.

2003-06-02 Thread Hemendra Rana
Hi, I am running Tomcat 4.1.24 server on Linux and every morning I get the following exception. Things work perfectly fine throughout the day after I restart the Tomcat server. Any ideas? Could this be a logger issue, because my server logs rotate every night. Any help will be appreciated. Th

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jason Bainbridge
Simplify things... Firstly that extensive CLASSPATH you have created could be causing more problems than it is solving, so try removing it. Then just try: javac -cp /var/tomcat4/common/lib/servlet.jar MultiServlet.java Does that work? If not does the user you are compiling with have rights to

Re: faulty fix for (javax.servlet does not exist)

2003-06-02 Thread Jonathan Michael Nowacki
This website http://www.sitepoint.com/article/509/3 says all I have to do is put servlet.jar in my classpath to solve my problems. Unfortunitally, it doesn't seem to work. > >This is my error >

when I use a servlet too many times- error

2003-06-02 Thread Munteanu Gabriel
I have a servlet that generates images dynamically. Examples of requests: imgChanger?text=Hello imgChanger?text=Beautiful etc I play with it about 10-20 times and after that, in IE, instead of getting the image I am getting an img square[no image] and tomcat says: Jun 1, 2003 6:48:06 PM org.ap

IIS Authentication pops up after tomcat form base fails?why?

2003-06-02 Thread Dan Tran
Hello, I have my tomcat behind IIS5 thru JK2 connector. My tomcat has a form base authentication form. The problem here is if my tomcat form base authentication fails, IIS pops up its own diaglog window for another authentication. How do I prevent this? Regards -Dan

  1   2   >