Re: Hot deploy deletes my context file...

2008-05-02 Thread Mark Thomas
Michael Burbidge wrote: I have a context file that is associated with my web application. My context file is in $CATALINA_HOME/conf/Catalina/localhost/mytest.xml. My war is called mytest.war and my servlet is mytest. If I deploy my war with tomcat shutdow my context file is not deleted on

RE: Uploading Files Larger than 2GB

2008-05-02 Thread Peter Crowther
From: hoffmandirt [mailto:[EMAIL PROTECTED] I get an error anytime I try to upload a file that is greater than 2GB. There was a thread on this fairly recently, as I recall, in which it was found that Internet Explorer had a 2G upload limit. What browser or tool are you testing with?

Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread qm westview
*Hi there,* *I am an application programmer (Java, PHP) and almost new to web development. I am currently investigating as to what is the most appropriate/applicable open source platform/framework to develop a web site (simple to start but more comprehensive into the future) for tourism or

Re: TOMCAT CLUSTERING HOWTO

2008-05-02 Thread karthikn
Hi Apache contains the logic to handle the load balancing between the two tomcats: As per the Documents tomcat-docs/cluster-howto.html* *I have only tried to achieve Clustering of 2 TOMCAT's on a single MACHINE, JVM My Primary Objective was to check if the war deployed / undeployed on

Re: Hot deploy deletes my context file...

2008-05-02 Thread Michael Burbidge
Version 5.5.6 I use the follow target in my ant build script: property name=deploy.dir value=${catalina.home}/webapps / target name=deploywar echo message=copying ${war.file} to ${deploy.dir} / copy file=${war.file} todir=${deploy.dir} /

CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
Hi, We have a Tomcat app that is loadbalanced by hardware. I have 4 boxes available in our test env, all of which vary slightly but not massively in spec. Anyway I moved from 2 tomcat instances on each machine ( listening on different ports ) down to 1 and I noticed for the same load the cpu

Re: CPU usage quirk with multiple tomcat instances

2008-05-02 Thread David kerber
Lists wrote: Hi, We have a Tomcat app that is loadbalanced by hardware. I have 4 boxes available in our test env, all of which vary slightly but not massively in spec. Anyway I moved from 2 tomcat instances on each machine ( listening on different ports ) down to 1 and I noticed for the same

Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Lyallex
Greetings I guess given the lack of replies that most think this is too OT for this list, well I suppose it is but I couldn't resist answering. Don't Do It That is, don't use any framework at all. Download Tomcat and the relevant J2EE API documentation bundle, then goto the MySQL site and get

Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Frank W. Zammetti
I actually agree with Lyallex quite strongly, I found very little value in *any* of the frameworks out there today, and in fact I'm starting to believe most of them are counterproductive. However, that's not to say I think plain servlets and JSPs is the absolute best answer either... since

[OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Peter Crowther
From: Lyallex [mailto:[EMAIL PROTECTED] Subject: Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site Greetings I guess given the lack of replies that most think this is too OT for this list, well I suppose it is but I couldn't

RE: Uploading Files Larger than 2GB

2008-05-02 Thread hoffmandirt
I tried with IE6, IE7, and Firefox 2.0.0.14 and no luck with any of them. -- View this message in context: http://www.nabble.com/Uploading-Files-Larger-than-2GB-tp16996471p17019824.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Lyallex
On Fri, May 2, 2008 at 2:38 PM, Frank W. Zammetti [EMAIL PROTECTED] wrote: I actually agree with Lyallex quite strongly, ..no, you don't, you can't, well actually you do, so I'm not going mad then, fabulous. No Idea what DWR is and the idea of writing more of my app in javascript leaves me a

Re: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Lyallex
Peter Never suggested the OP develop carts and such like from scratch really did I. What I said was he should focus on learning the core APIs, that's a little different. Building your own business logic is a requirement whatever framework you use (or don't use). If you can tell me where to find

Re: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Frank W. Zammetti
Peter's point is valid though... you could certainly build the site in PHP for example and just drop in a bunch of pre-existing modules for a shopping cart, blog, that sort of thing, then just write some basic PHP pages to tie it all together. For example, my web host has this Fantastico

Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread David kerber
Lyallex wrote: Greetings I guess given the lack of replies that most think this is too OT for this list, well I suppose it is but I couldn't resist answering. Don't Do It That is, don't use any framework at all. Download Tomcat and the relevant J2EE API documentation bundle, then goto the

JkSetEnv and Servlet Filters

2008-05-02 Thread Keith Ealanta
Can anyone advise me how to access the attributes set in an http request using JkSetEnv? Specifically I'm using JkSetEnv on Apache2.0 to set a number of attributes in the request. I have captured the mod_jk packets (on port 8009) and they contain the items I've set in the attributes section

Re: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread David kerber
Peter Crowther wrote: From: Lyallex [mailto:[EMAIL PROTECTED] Subject: Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site Greetings I guess given the lack of replies that most think this is too OT for this list, well I suppose it is

name based virtual hosting on tomcat

2008-05-02 Thread percival
I am running tomcat5.5 on ubuntu 7.10 behind a router and using dynamic dns, forwarding port 80 to my ubuntu box. I am trying to set up virtual host to handle more than 1 url using the same ip address. I have followed the instructions i have found to set up virtual hosts on tomcat but no success

Re: CPU usage quirk with multiple tomcat instances

2008-05-02 Thread Lists
My guess (and that's all it is) is that you have eliminated much of the context-switching overhead that two instances would have compared to one. Ah I see. I guess i can look at that with mpstat and look at things like thread migrations etc. Important because if we install more CPU's i guess

Re: name based virtual hosting on tomcat

2008-05-02 Thread Hassan Schroeder
On Fri, May 2, 2008 at 7:51 AM, percival [EMAIL PROTECTED] wrote: I am running tomcat5.5 on ubuntu 7.10 behind a router and using dynamic dns, forwarding port 80 to my ubuntu box. I am trying to set up virtual host to handle more than 1 url using the same ip address. I have followed the

Re: name based virtual hosting on tomcat

2008-05-02 Thread Hassan Schroeder
On Fri, May 2, 2008 at 7:51 AM, percival [EMAIL PROTECTED] wrote: I am running tomcat5.5 on ubuntu 7.10 behind a router and using dynamic dns, forwarding port 80 to my ubuntu box. I am trying to set up virtual host to handle more than 1 url using the same ip address. I have followed the

Web Service on Tomcat on Solaris

2008-05-02 Thread Hansen, P (Palle)
Hi All I'm fairly new to Tomact etc, but I've developed a Web Service in Eclipse, and it works great there I created the War Files and deployed them to Tomcat 5.5 running on Windows and everything looks Great I then installed Tomcat on Unix Solaris 8 And deployed the war files there. This is

RE: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Peter Crowther
From: David kerber [mailto:[EMAIL PROTECTED] Not using a framework isn't quite the same thing as not using available packages and libraries. Entirely true. However, many (though not all) of the existing packages assume particular frameworks. If anyone wants a glimpse of a possible nightmare

Tomcat 6.0.16 and web server 2.0.59

2008-05-02 Thread Mehrotra, Anurag
I have been trying to connect tomcat 6.0.16 (using JVM 1.5.0_15) on windows 32 bit platform to connect to apache web server httpd 2.0.59 with mod_jk. I have defined the following entries in my worker.properties: workers.tomcat_home workers.java_home ps I loaded the mod_jk.so as follows:

Re: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:[EMAIL PROTECTED] Not using a framework isn't quite the same thing as not using available packages and libraries. Entirely true. However, many (though not all) of the existing packages assume particular frameworks. If anyone wants a

authenticated but not authorized -- blank page

2008-05-02 Thread DIGLLOYD INC
I have a webapp 'guest', with two subfolders 'guest1' and 'guest2'. These are protected by security constraints. /guest/guest1 has a security constraint requiring role 'guest1' /guest/guest2 has a security constraint requiring role 'guest2' Users 'guest1' and 'guest2' map to roles of the

Where to find mod_jk ?

2008-05-02 Thread karthikn
Hi Can some body on form tell me where can i find ? Load Balacing mod_jk for Apache2.2 http server to Tomcat 5.5.23 connectors. OS = Win 2000 ,UNIX 11 pa I could not find one on apache mirror sites ... WITH REGARDS kARTHIK

Re: [OT] RE: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Lyallex
I agree with others on the list that *for other purposes* starting at the basics and working up is the way to go. I may have a different view of what basics is, given that I *think* I still carry around enough in my head that I could design a functional (if basic) computer from the discrete

Re: Hot deploy deletes my context file...

2008-05-02 Thread Mark H. Wood
On Fri, May 02, 2008 at 05:32:58AM -0700, Michael Burbidge wrote: By experimenting from the shell copying files I can see what Tomcat is doing. I think that it deletes associated contexts whenever an application is undeployed by deleting the .war file. I think you are right. This drove me

Re: Hot deploy deletes my context file...

2008-05-02 Thread Robert Koberg
On Fri, 2008-05-02 at 12:31 -0400, Mark H. Wood wrote: On Fri, May 02, 2008 at 05:32:58AM -0700, Michael Burbidge wrote: By experimenting from the shell copying files I can see what Tomcat is doing. I think that it deletes associated contexts whenever an application is undeployed by

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Propes, Barry L
I actually have my role names defined within EACH constraint. -Original Message- From: DIGLLOYD INC [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 10:56 AM To: Tomcat List Users Subject: authenticated but not authorized -- blank page I have a webapp 'guest', with two subfolders

RE: Tomcat and JSF

2008-05-02 Thread Caldarale, Charles R
From: jaykay [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat and JSF May 2, 2008 9:38:40 AM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\apache-tomcat-6.0.14\webapps\ROOT\WEB-INF\l ib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Caldarale, Charles R
From: DIGLLOYD INC [mailto:[EMAIL PROTECTED] Subject: authenticated but not authorized -- blank page I have a webapp 'guest', with two subfolders 'guest1' and 'guest2'. Really? Because that's not what's in your security constraints: url-pattern/_guest1_/*/url-pattern

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:[EMAIL PROTECTED] Subject: RE: authenticated but not authorized -- blank page I actually have my role names defined within EACH constraint. So does Lloyd: !-- Define a Security Constraint on this Application -- security-constraint ...

RE: Tomcat and JSF

2008-05-02 Thread jaykay
log messages again. This is the log file when the server starts without the jars in the lib folder. And this should be the expected result May 2, 2008 9:38:40 AM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Propes, Barry L
I'm on an older version of Tomcat, but I don't have a separate security-role atttribute tag like his: !-- Security roles referenced by this web application -- security-role role-nameguest1/role-name role-nameguest2/role-name /security-role -Original Message- From:

Re: Tomcat and JSF

2008-05-02 Thread jaykay
Chris, Yes, I have the jars in .../My_Webapp/WEB-INF/lib folder. I use Tomcat6.0.14. I tried Tomcat5.5 also, but got the same result. This is the log file when the server starts without the jars in the lib folder. And this should be the expected result May 2, 2008 9:38:40 AM

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:[EMAIL PROTECTED] Subject: RE: authenticated but not authorized -- blank page I'm on an older version of Tomcat, but I don't have a separate security-role atttribute tag like his: !-- Security roles referenced by this web application -- security-role

RE: Tomcat and JSF

2008-05-02 Thread Caldarale, Charles R
From: jaykay [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat and JSF May 2, 2008 9:38:40 AM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO: validateJarFile(C:\apache-tomcat-6.0.14\webapps\ROOT\WEB-INF\l ib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.

RE: Tomcat and JSF

2008-05-02 Thread jaykay
Hi chuck, yes, I removed j2ee.jar. But still the problem persists. Jay Caldarale, Charles R wrote: From: jaykay [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat and JSF May 2, 2008 9:38:40 AM org.apache.catalina.loader.WebappClassLoader validateJarFile INFO:

RE: Tomcat and JSF

2008-05-02 Thread Caldarale, Charles R
From: jaykay [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat and JSF yes, I removed j2ee.jar. But still the problem persists. And what do the logs say now? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended

RE: Tomcat and JSF

2008-05-02 Thread jaykay
Log with jars present May 2, 2008 10:51:00 AM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program

Re: Seeking advice as to what platform/framework to use for developing a tourism/tourist attractions web site

2008-05-02 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true.

RE: Tomcat and JSF

2008-05-02 Thread jaykay
This is the full log with the shutdown log also First server startup is jars not present, second tomcat startup is with jsf jars This may be more helpful May 2, 2008 10:51:00 AM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Propes, Barry L
oh okthat's about the only difference I saw between mine and his...I've had no difficulty getting the appropriate errors I should but I thought mine was a 500 error (for stepping over to other apps with different roles). -Original Message- From: Caldarale, Charles R [mailto:[EMAIL

RE: authenticated but not authorized -- blank page

2008-05-02 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:[EMAIL PROTECTED] Subject: RE: authenticated but not authorized -- blank page oh okthat's about the only difference I saw between mine and his...I've had no difficulty getting the appropriate errors I should but I thought mine was a 500 error (for

Re: Where to find mod_jk ?

2008-05-02 Thread Mark Thomas
karthikn wrote: Hi Can some body on form tell me where can i find ? Load Balacing mod_jk for Apache2.2 http server to Tomcat 5.5.23 connectors. OS = Win 2000 ,UNIX 11 pa I could not find one on apache mirror sites ... http://tomcat.apache.org/download-connectors.cgi Mark

Re: Hot deploy deletes my context file...

2008-05-02 Thread Mark Thomas
Robert Koberg wrote: On Fri, 2008-05-02 at 12:31 -0400, Mark H. Wood wrote: On Fri, May 02, 2008 at 05:32:58AM -0700, Michael Burbidge wrote: By experimenting from the shell copying files I can see what Tomcat is doing. I think that it deletes associated contexts whenever an application is

RE: Tomcat and JSF

2008-05-02 Thread jaykay
Hi, I got the issue corrected. I was using jars from jsf-1_1_01 distribution. When I copied the jsf-api.jar and jsf-impl.jar from jsf 1.2 (mojarra-1.2_08-b06-FCS),I got my desired results. But Tomcat has some xml parsing error when starting up. I assume it is the problem with JSF right? The log

tomcat calls StandardContext.stop() from StandardContext.start()

2008-05-02 Thread Sebastiaan van Erk
Hi, I'm having a problem I've never had before, and I can't for the life of me figure out what's going on. My web application is calling StandardContext.stop() from StandardContext.start() (6.0.16). Below is the full trace. If any other information is needed, please let me know. (I'm

Re: authenticated but not authorized -- blank page

2008-05-02 Thread DIGLLOYD INC
I was trying to simplify the discussion. The folders are actually _guest1_ and _guest2_ and the security constraints match. Login and the mappings work correctly. I just was trying to phrase the discussion generally. On May 2, 2008, at 10:14 AM, Caldarale, Charles R wrote: From:

Re: Tomcat and JSF

2008-05-02 Thread David Smith
I would suspect one of the xml files tomcat reads at startup uses xsi:schemaLocation, but doesn't declare the xsi namespace. Maybe check your webapps web.xml files to be sure they are well formed. There are a lot of xml validators in the world that can help you with this. --David jaykay

Re: tomcat calls StandardContext.stop() from StandardContext.start()

2008-05-02 Thread Sebastiaan van Erk
Hi, It turns out I forgot to fill in the context name in the project properties of the sysdeo plugin and it was using context name . Ooops! I would of course prefer an error message instead of the strange behavior described below. :-) Regards, Sebastiaan Sebastiaan van Erk wrote: Hi,

Re: authenticated but not authorized -- blank page

2008-05-02 Thread DIGLLOYD INC
I found the problem. In fact, an error 401 is sent, which caused the browser to retry somehow, but that resulted in a 404. My 404 page, while specified, did not exist. So then a blank page results. Or at least it seems that this is what is going on. On May 2, 2008, at 2:38 PM, DIGLLOYD

mod_jk URL double decoding problem

2008-05-02 Thread Avi Avi
My question is regarding mod_jk/tomcat integration. I am using Apache 2.0.54 and mod_jk 1.2.26. When I request the following url to my application, I get an HTTP 500 response (internal server error). http://www.foo.com/bar?a=param_with_%25 But if I send the request to jboss directly (port 8080),