Re: JSP fragments file extension and the jasper2 ant task

2004-11-12 Thread Trond G. Ziarkowski
Hey Jim, thanks for the tip. This works when the jspf files are compiled in tomcat, but the jasper2 ant task does nothing with them... Trond Ziarkowski, You may want to try adding the following to your web.xml servlet-mapping servlet-namejsp/servlet-name

RE: Tomcat 5.5.4 and Deferred IIS NTLM Authentication

2004-11-12 Thread Allistair Crossley
Hey Bill, How did you find that one out! :) Changed my out-of-box server.xml to use the file and it worked, thanks ever so much :) Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 propertiesFile=conf/jk2.properties / For the benefit of this thread

Re: Set resource parameters in 5.5 not the same as 5.0

2004-11-12 Thread Remy Maucherat
On Thu, 11 Nov 2004 23:25:05 -0500, V D [EMAIL PROTECTED] wrote: Using Embedded Tomcat, in 5.0, one would add a resource as: StandardContext context = (StandardContext)embeddedTomcat.createContext(context, path); ContextResource res = new ContextResource(); res.setName( jdbc/ name);

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-12 Thread Allistair Crossley
Hi, I have some new information on this for my case. I created a small JSP that had a scriplet error and ran it. I am definately using 5.5.4 with Java 5.0. In this case, I got the error stack trace in stdout. This used to come out in localhost_log. That's fine, at least I got it. However,

Gothia

2004-11-12 Thread Roland Carlsson
Peter (H)ärling ringde och konstaterade att han inte hittat någon lösning på det hela utan rekomenderade att vi kort och gott tog ner en av deras konsulter för att göra om jobbet en gång till. Jag sa att jag inte kunde beställa detta på egen hand. Han förväntar sig ett svar idag eller på måndag

Re: Gothia

2004-11-12 Thread Diederick de Vries
Roland Carlsson wrote: Peter (H)ärling ringde och konstaterade att han inte hittat någon lösning på det hela utan rekomenderade att vi kort och gott tog ner en av deras konsulter för att göra om jobbet en gång till. Jag sa att jag inte kunde beställa detta på egen hand. Han förväntar sig ett svar

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-12 Thread Remy Maucherat
On Fri, 12 Nov 2004 09:55:20 -, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, I have some new information on this for my case. I created a small JSP that had a scriplet error and ran it. I am definately using 5.5.4 with Java 5.0. In this case, I got the error stack trace in stdout.

Login over ssl

2004-11-12 Thread Roland Carlsson
Hi! I got a problem with securing a login-page. I would like the login-form to be secured with ssl to ensure that the users credentials isn't easially readable. But I have no need to put the rest of my page in ssl-mode. I have posted the security-constraint/ and login-config/ below. It seems

RE: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-12 Thread Allistair Crossley
Hm, maybe you are right Remy. I just explicitly placed a throw NPE in my contextInitialized and this came out to stdout. I am puzzled why the other NPE I know to be thrown is not doing the same. Will continue to look at this. On a positive note, my catalina.log as defined by a log4j

Editing Tomcat Balancer Rules

2004-11-12 Thread Vinayagam
Hi! Can any one help me how to configure the load balancer rules. I am using Tomcat 5.0.28 Regards Vink - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andrew Watters
Thanks for your reply. Please find below the tags as requested. Thank you for taking the time. Engine name=Catalina defaultHost=localhost debug=9 Valve className=org.apache.catalina.valves.RequestDumperValve/ Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log.

Tomcat 5.5.4 / Context not responding

2004-11-12 Thread Allistair Crossley
Hi All, Well, I finally have Tomcat 5.5.4 running my application with NTLM authentication and logging. One final hurdle remains and that is requests and the web application context. It appears that if I make a request to my web application with http://testserver/loadPage.do it does not work.

RE: Failed to install Tomcat5 service

2004-11-12 Thread Matteo Turra
Look at the page http://jakarta.apache.org/commons/daemon/procrun.html tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 \ --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; \ --ImagePath c:\devtools\tomcat\5.0\bin\bootstrap.jar \ --StartupClass

Newbie: problem with WebDav Tomcat servlet

2004-11-12 Thread Alessandro Ronchi
I want to use tomcat to develop an application. I've got the tomcat server correcly running, and I managed correctly basic users permissions. I have a problem: i want to use webdav to upload my app contents (jsp pages), but I get two errors: - Webdav runs correctly and ask me the correct

RE: Where to put bean classes

2004-11-12 Thread Majirus Fansi
Dear Shapira, thank you for your help. It work regards, Majirus Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, You should read a book or tutorial on web application development when you get a chance ;) Tomcat has one called First Webapp or something like that in its docs. Put your beans in a

RE: Tomcat 5.5.4 / Context not responding - Test example webapp

2004-11-12 Thread Allistair Crossley
To demonstrate this problem, I have reduced it to a small web app. 1. Install 5.5.4 and delete tomcat/webapps/ROOT 2. Create file test.xml and save it to tomcat/conf/Catalina/localhost with the content Context path= docBase=/test/Context 3. Create folder tomcat/webapps/test 4. Create in that

Re: Tomcat 5.5.4 / Context not responding - Test example webapp

2004-11-12 Thread Remy Maucherat
On Fri, 12 Nov 2004 12:10:09 -, Allistair Crossley [EMAIL PROTECTED] wrote: To demonstrate this problem, I have reduced it to a small web app. 1. Install 5.5.4 and delete tomcat/webapps/ROOT 2. Create file test.xml and save it to tomcat/conf/Catalina/localhost with the content

RE: Login over ssl

2004-11-12 Thread Michal Kwiatek
Accourding to servlet specs, you need to require tranport guarantee CONFIDENTIAL or INTEGRAL (I'm not sure what the difference is, perhaps somebody can clarify this). So try: transport-guaranteeCONFIDENTIAL/transport-guarantee Hope that helps... Micha. -Original Message- From:

RE: Tomcat 5.5.4 / Context not responding - Test example webapp

2004-11-12 Thread Allistair Crossley
OK, so how would I make this test web application the root application. How is the root web application determined when there are several web applications that use the .xml configuration method? I have removed path= from the test.xml but the result is the same, blank page. Am I supposed to

RE: Tomcat 5.5.4 / Context not responding - Test example webapp

2004-11-12 Thread Allistair Crossley
ah ok, didn't see this anywhere in the docs :) thanks for helping out. had to rename my web application to ROOT and the iq.xml to ROOT.xml. caused a few issues with IIS but have been able to remap those too. quite a big change from 5.0! all working now touch wood! cheers, Allistair.

RE: More apps = More load ?

2004-11-12 Thread Shapira, Yoav
Hi, But this is all static load, correct? I mean, once Tomcat has started up No. I was being general and covering cases where apps launch their own threads which do stuff irrespective of whether any users are hitting the app or not. This is a fairly common case, for better or worse. But if

RE: Editing Tomcat Balancer Rules

2004-11-12 Thread Shapira, Yoav
Hi, What specific help do you need? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Vinayagam [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 5:42 AM To: Tomcat Users List Subject: Editing Tomcat Balancer Rules Hi! Can any one help me how to configure the

Re: Tomcat 5.5.4 / Context not responding - Test example webapp

2004-11-12 Thread Remy Maucherat
On Fri, 12 Nov 2004 13:50:12 -, Allistair Crossley [EMAIL PROTECTED] wrote: ah ok, didn't see this anywhere in the docs :) thanks for helping out. had to rename my web application to ROOT and the iq.xml to ROOT.xml. caused a few issues with IIS but have been able to remap those too. quite

RE: Tomcat 5.5.4 / Context not responding - Test example webapp

2004-11-12 Thread Allistair Crossley
Hi, Yep, I had read those but it does not mention that you do *not* delete ROOT anymore like you did in previous version of Tomcat and that you are supposed to also name the XML config file to ROOT. I've used Tomcat from version 3, and so I found this counter to previous experience with Tomcat

RE: URL.setURLStreamHandlerFactory - Tomcat 5.0

2004-11-12 Thread Shapira, Yoav
Hi, I was just reading this thread from August. Unfortunately, I *think* I need a custom stream handler factory as I want to be able to hack about with some of the URLs before they get a chance to open. That's an unfortunate requirement. It's tricky at best. We discussed this back as jar as

SocketException

2004-11-12 Thread Hollerman Geralyn M
As I have mentioned in the past, I am still getting this error in my catalina.out: Nov 12, 2004 5:03:19 AM org.apache.tomcat.util.net.TcpWorkerThread runIt SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument This is the complete text of the error - no stack trace, nothing

getResource (was RE: URL.setURLStreamHandlerFactory - Tomcat 5.0)

2004-11-12 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Yoav, I have *no* idea what this list would do without you... We discussed this back as jar as June: see the thread and accompanying Bugzilla issue at http://issues.apache.org/bugzilla/show_bug.cgi?id=29631. We decided not to allow

RE: SocketException

2004-11-12 Thread Peter Crowther
From: Hollerman Geralyn M [mailto:[EMAIL PROTECTED] SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument Hmm. An EINVAL from the socket layer. Are you running UNIX or Windows? Depending on which, I'd get hold of a system call tracer (Unix) or TDImon (Windows), monitor

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andoni
Ok, You can ignore the logger's and valve's when you are worrying about configuration. So what you are left with is: Engine name=Catalina defaultHost=localhost debug=9 Host name=localhost debug=9 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false

Re: Deploying a war in TC4

2004-11-12 Thread Paul Taylor
I am still unable to get this to unpack automatically, I have to unpack it myself before starting Tomcat and then it is ok in my web.xml I have web-app servlet servlet-nameController/servlet-name servlet-classcom.testapp.Controller/servlet-class

Re: Editing Tomcat Balancer Rules

2004-11-12 Thread Vinayagam
HI! If i am going to host one application. I need to constraints the following things like High availability, load balancing, clustering. So that i have to do the load balancing. There are three ways available in tomcat, Which is the best one and how to do this. Regards Vink - Original

Re: SocketException

2004-11-12 Thread agidden
This will happen on the Windows platform when using network interface cards which are improperly configured (which is the default for many NIC's). If you are on Windows, and using HTTP/HTTPS for your system reply back and I can send you the info on how to resolve this (and increase your TCP-IP

RE: SocketException

2004-11-12 Thread agidden
Ok then. If you take the time to measure the throughput on a good Windows 2000 server you may find that on a good day you are only getting about 2Mbps. By default, many of the network drivers are setup this way, but you can do something about it. 1. Open the properties of your 'local area

Tomcat 5.5.4 CVS Doc Update

2004-11-12 Thread Allistair Crossley
Hi, I am trying to get hold of the latest tomcat 5.5.4 documentation via wincvs. I have checked out jakarta-tomcat-catalina with a version header of TOMCAT_5_5_4 but I do not appearing to be getting the right xdocs that match what is up on the site at present, e.g section 22) Logging is not

Re: Tomcat 5.5.4 CVS Doc Update

2004-11-12 Thread Remy Maucherat
On Fri, 12 Nov 2004 16:32:03 -, Allistair Crossley [EMAIL PROTECTED] wrote: Hi, I am trying to get hold of the latest tomcat 5.5.4 documentation via wincvs. I have checked out jakarta-tomcat-catalina with a version header of TOMCAT_5_5_4 but I do not appearing to be getting the right

RE: Tomcat 5.5.4 CVS Doc Update

2004-11-12 Thread Allistair Crossley
yeah I tried head first but no result. hm, will try again at home, cheers -Original Message- From: Remy Maucherat [mailto:[EMAIL PROTECTED] Sent: 12 November 2004 16:47 To: Tomcat Users List Subject: Re: Tomcat 5.5.4 CVS Doc Update On Fri, 12 Nov 2004 16:32:03 -, Allistair

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andrew Watters
Hi Andoni Thanks again for your reply. I hope I'm understanding what you say correctly, apologies if not. If I rename my WAR to say, app.war, then to access a page the URL would become http://localhost/app/login.jsp. The reason why I changed the appBase to ROOT and renamed my WAR ROOT.war was

Re: Context element problems in conf/server.xml

2004-11-12 Thread Andoni
Yes, you can have any xxx.war that you access from http://localhost/login.jsp so long as it's path= and it is the only context in that Host which has path=. This is what makes it the default app. Andoni. - Original Message - From: Andrew Watters [EMAIL PROTECTED] Newsgroups:

Declarative security example

2004-11-12 Thread Freddy Villalba A.
Hello everybody, I'm trying to run the following test application on a Tomcat v4.1 that comes along with JBuilder X. web-app servlet servlet-nameSecureServlet/servlet-name servlet-classSecureServlet/servlet-class /servlet security-constraint web-resource-collection

FW: IIS 6.0, SSL and Tomcat 5.0.28 set up problems.

2004-11-12 Thread charles doweary
From: charles doweary [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: IIS 6.0, SSL and Tomcat 5.0.28 set up problems. Date: Fri, 12 Nov 2004 13:29:52 -0500 Dear Sir, I am running IIS 6.0 with Tomcat 5.0.28 on Windows Server 2003, and I am having a problem getting SSL to

RE: IIS 6.0, SSL and Tomcat 5.0.28 set up problems.

2004-11-12 Thread Shapira, Yoav
Hi, Keytool is part of the JDK, so RTFM at http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html. It's not part of IIS. Yoav Shapira http://www.yoavshapira.com -Original Message- From: charles doweary [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 1:38 PM To:

Fw: Login over ssl

2004-11-12 Thread Roland Carlsson
Hi! I am using that for my login pages. The problem is that tomcat doesn't honor that. So, must I put my whole web-app as CONFIDENTIAL when I only need the login to be performed in a (relative) safe way. Thanks in advance Roland Carlsson - Original Message - From: Michal Kwiatek [EMAIL

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-12 Thread Jonathan Eric Miller
Actually, I guess the default isn't that bad for UNIX/Linux anyway. In theory, if you are using J2SE 1.5 with the default log settings and you don't have Log4J installed, INFO level messages and above will get written to the console which gets redirected to catalina.out by catalina.sh. So,

RE: Login over ssl

2004-11-12 Thread Michal Kwiatek
I am using that for my login pages. The problem is that tomcat doesn't honor Of course you're right. I did not read carefully enough to see it. that. So, must I put my whole web-app as CONFIDENTIAL when I only need the login to be performed in a (relative) safe way. Looks good... Should

RE: SocketException

2004-11-12 Thread Hollerman Geralyn M
Peter Crowther wrote: SEVERE: Remote Host /xxx.xxx.xxx.xxx SocketException: Invalid argument Hmm. An EINVAL from the socket layer. Are you running UNIX or Windows? Depending on which, I'd get hold of a system call tracer (Unix) or TDImon (Windows), monitor until you got the error, and then look

OT: hosting recommendations?

2004-11-12 Thread Woodchuck
hihi all, can anyone recommend hosters that are Tomcat/Java friendly and offer private JVMs for cheap monthly cost? (cheap to me is $0 - $20/month range) i went to servlets.com and visited many of the hosters on their list but most of them seem to still have the legacy offerings that are stingy

Re: OT: hosting recommendations?

2004-11-12 Thread Randall Perry
We're a little more expensive than that, but can meet your needs: http://systame.com/html/mac-web-hosting.html hihi all, can anyone recommend hosters that are Tomcat/Java friendly and offer private JVMs for cheap monthly cost? (cheap to me is $0 - $20/month range) i went to

Re: OT: hosting recommendations?

2004-11-12 Thread Ben Souther
I use assortedinternet.com. Tomcat/postgres for 30.00 to 35.00 they might have other plans too On Fri, 2004-11-12 at 14:34, Woodchuck wrote: hihi all, can anyone recommend hosters that are Tomcat/Java friendly and offer private JVMs for cheap monthly cost? (cheap to me is $0 -

RE: Tomcat and -server option

2004-11-12 Thread Caldarale, Charles R
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat and -server option Is there a way to make sure that my JVM is taking the -server flag into consideration? I'm not aware of a programmatic way to verify this. The Java property java.vm.name (use

Please help...

2004-11-12 Thread Ken Keefe
I have been struggling with Tomcat for several days and I am at the end of my rope. If I come across as irritated, I apologize in advance. I simply want to learn how to write JSP. I have a book and I want to start working through it, but I am having trouble setting up a server to serve JSP. I

RE: Please help...

2004-11-12 Thread Benson Margulies
Just run a standalone tomcat. Connecting to Apache is real work and you don't need it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Please help...

2004-11-12 Thread Randall Svancara
Tomcat is organized differently than Apache. First of all Apache has a document root, where you can put all of your php and html files in. With tomcat, the directory structure is different. If you want to get started with tomcat, I suggest first creating directory under the webapps directory of

RE: Tomcat and -server option

2004-11-12 Thread Shapira, Yoav
Hi, Cool, good tip. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 3:14 PM To: Tomcat Users List Subject: RE: Tomcat and -server option From: Shapira, Yoav [mailto:[EMAIL PROTECTED]

Re: Tomcat and -server option

2004-11-12 Thread Mufaddal Khumri
Hi, I have: JAVA_OPTS=-server -Djava.awt.headless=true -Xms1g -Xmx1g -Dfile.encoding=ISO-8859-1 in catalina.sh I just tried: logger.info(java.vm.name: + System.getProperty(java.vm.name)); and i get: INFO - java.vm.name: Java HotSpot(TM) Client VM Why is the -server option not

RE: Please help...

2004-11-12 Thread Didier McGillis
First get familiar with Tomcat, its very daunting of a task connection apache and tomcat with mod_jk2, but not impossible. Use tomcat standalone, the one guy had a pretty straightforward and easy way of doing it, after you get :8080/test/ working you can move to serving over port 80 with

RE: Tomcat and -server option

2004-11-12 Thread Caldarale, Charles R
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat and -server option Does java.vm.name display the mode the JVM is executing in or its name of the JVM installed on my machine? It's the mode you're executing in. I don't have a UNIX/Linux system handy, but on a Windows

has anyone tried or run the TC -security with mail session or database connection successfully?

2004-11-12 Thread David Lee
Thanks lot if anyone can point me in the right direction. TC5.5.4 ( it happens to other versions) Window XP JAVA 1.5.0 My program runs successfully without turning on the -security, but has the errors when it is turned on. The errors generated look like not related to access violation because

CGI Servlet environmental variables

2004-11-12 Thread Lisa Soto
Hi, I've read through the documentation, and searched the archives and can't find a solution to my problem. We have apache2 with tomcat 4.1.27. When I was using mod_jk, we could uses aliases under apache with no problems, even with the ROOT of tomcat mounted on the / of apache. With JK2,

Re: Tomcat 5.5.4, Logging and the death of my friend localhost_log

2004-11-12 Thread Remy Maucherat
On Fri, 12 Nov 2004 12:53:18 -0600, Jonathan Eric Miller [EMAIL PROTECTED] wrote: Actually, I guess the default isn't that bad for UNIX/Linux anyway. In On Windows, I think it's time to start using the .exe wrapper (or another similar wrapper), rather than keep using the .bat scripts, given

Re: More apps = More load ?

2004-11-12 Thread Steven J. Owens
On Fri, Nov 12, 2004 at 08:47:59AM -0500, Shapira, Yoav wrote: No. I was being general and covering cases where apps launch their own threads which do stuff irrespective of whether any users are hitting the app or not. This is a fairly common case, for better or worse. I was discussing

Important

2004-11-12 Thread hgomez
-- Virus Warning Message (on uusnwa08) Found virus WORM_NETSKY.Z in file Bill.txt .exe (in Bill.zip) The file is deleted.

RE: Tomcat and -server option

2004-11-12 Thread Mike Curwen
You might need a space here, depending on what else is being constructed and sent to the command line: JAVA_OPTS=-server ---^ might need: JAVA_OPTS= -server -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 3:09 PM To:

RE: More apps = More load ?

2004-11-12 Thread Mike Curwen
I'm going to speculate and say that someone will mention something along the lines of ... the spirit of the J2EE spec would have you move up to a ejb container and use EJB/MDB (or some such). -Original Message- From: Steven J.Owens [mailto:[EMAIL PROTECTED] Sent: Friday, November

OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-12 Thread Kevin A. Burton
I'm having a terrible time trying to get my JSPs compiled on Tomcat. We started having OutOfMemory problems a while back and I've tracked it down to JSP compilation. Here's what I can do to replicate the problem: - shutdown tomcat - remove the work directory - startup tomcat - For all my JSPs I

[ANN] Multiple Instances Tomcat Installer

2004-11-12 Thread Wolfgang Hackl
Hi everybody! I created a shell script for helping with the installation of multiple Tomcat instances. You may want to use it if you need to accelerate the creation of a new service. The script is called MITI - Multiple Instances Tomcat Installer. MITI performs actions analogous to the Advanced

Problem with classpaths

2004-11-12 Thread Venkatesh . Babu
Hi, I'm using tomcat 4.1 for our application, the problem i'm facing is that tomcat is often unable to find the classes present in my application and also certain classes like javax.servlet.HttpServlet, com.objectspace.jgl.Sequence etc... However, I've placed all the classes and jars in the