Re: Is jsp designed for use by large websites

2006-11-30 Thread Lars Nielsen Lind
In regards to the aspects about the architecture I believe that the choice of using JSP and Java technology is a good one for you and your customers. The reason is the possibility for using Web services, services and in the hopefully near future Semantic Web technologies. Its a fact that it is

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
OK. I guess it was just a Tomcat bug that it ran under 5.5.7. I'll post the results of the test to let others know once I can schedule the server for the test. Mark Thomas wrote: IT Desk wrote: Here's the entry in the Tomcat server.xml file (Yes I know I should have a separate context xml

Re: tomcat inserts leading / on include file

2006-11-30 Thread Mark Thomas
IT Desk wrote: > Here's the entry in the Tomcat server.xml file > (Yes I know I should have a separate context xml file but this is the > way things already were when I started on this project): > > appBase="/home/perap/htdocs/perap" >unpackWARs="true" autoDeploy="true" >

RE: tomcat inserts leading / on include file

2006-11-30 Thread Caldarale, Charles R
> From: IT Desk [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat inserts leading / on include file > > appBase="/home/perap/htdocs/perap" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false"> > debug="5" > privileged="true"/>

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
Here's the entry in the Tomcat server.xml file (Yes I know I should have a separate context xml file but this is the way things already were when I started on this project): appBase="/home/perap/htdocs/perap" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlN

Re: tomcat inserts leading / on include file

2006-11-30 Thread Mark Thomas
IT Desk wrote: > It runs fine under 5.5.7. It was when I upgraded to 5.5.20 that I got > this error. > > The include would work fine if tomcat didn't do an insert of the leading > forward slash to the path. Can you provide your directory structure within your app? I am expecting to see somethi

Re: tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
It runs fine under 5.5.7. It was when I upgraded to 5.5.20 that I got this error. The include would work fine if tomcat didn't do an insert of the leading forward slash to the path. Parsons Technical Services wrote: What OS? Case sensitivity? Spelling? \ instead of a / ? Just thought

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Mark Thomas
Martin Gainty wrote: > 2 more ways of doing the same thing > And yes I did this 3 months ago and it worked exactly as I explained > and BTW worked for all environments that use JVM > If stupidity were money you BS Chuck would be rich Martin, There is no justification whatsoever for this sort of m

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Martin Gainty
2 more ways of doing the same thing And yes I did this 3 months ago and it worked exactly as I explained and BTW worked for all environments that use JVM If stupidity were money you BS Chuck would be rich Bye, This e-mail communication and any attachments may contain confidential and privileged

Re: tomcat inserts leading / on include file

2006-11-30 Thread Parsons Technical Services
What OS? Case sensitivity? Spelling? \ instead of a / ? Just thoughts. Doug - Original Message - From: "IT Desk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, November 30, 2006 8:25 PM Subject: tomcat inserts leading / on include file In my jsp, I have: <%@ includ

Re: Host Aliases

2006-11-30 Thread Martin Gainty
which source zip/gzip or cvs? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in er

Host Aliases

2006-11-30 Thread James McIntosh
Does anyone know how to successfully add aliases to a host without restarting / redeploying. I have managed to add an alias with JMX but it is not added to the org.apache.tomcat.util.http.mapper.Mapper via the org.apache.catalina.connector.MapperListener in the Connector. I have had a look at some

Re: JNDI bound mail.Session and Spring's JavaMailSender

2006-11-30 Thread Mark Thomas
Mikolaj Rydzewski wrote: > Hi, > > I thought it'd be a simple task: to send emails from Spring 2.0 webapp > using JNDI bound mail Session, everything on Tomcat 5.5.20. I've copied > mail.jar and activation.jar to common/lib. > > Can somebody confirm that similiar setup works for him? Or where is

Re: tomcat inserts leading / on include file

2006-11-30 Thread Martin Gainty
Just ran a quick test with the same include with no ill effect I assume you have a folder labelled Connections in same folder as invoking jsp with contents of db.jsp? M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designat

tomcat inserts leading / on include file

2006-11-30 Thread IT Desk
In my jsp, I have: <%@ include file="Connections/db.jsp" %> and get error: org.apache.jasper.JasperException: /index.jsp(2,0) File "/Connections/db.jsp" not found The error message is showing a leading / was inserted. Why is that? I'm using Tomcat version 5.5.20. I tried hardcoding the full

JNDI bound mail.Session and Spring's JavaMailSender

2006-11-30 Thread Mikolaj Rydzewski
Hi, I thought it'd be a simple task: to send emails from Spring 2.0 webapp using JNDI bound mail Session, everything on Tomcat 5.5.20. I've copied mail.jar and activation.jar to common/lib. I've got global resource in server.xml: I've got resource link in META-INF/context.xml: The s

Re: FastCGI

2006-11-30 Thread Mark Thomas
Dima Retov wrote: > > Does tomcat supports FastCGI? No, but it looks possible to write a servlet to interface to it. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Tomcat 5.5.20 Administration Tool throws AttributeNotFoundException

2006-11-30 Thread DEVAL SHAH
Hello, I downloaded the Admin zip and installed it in Tomcat. I am able to login and see the main Admin page. But when I click on any of the node I cannot see anything and on Tomcat server I get this error: SEVERE: Invalid path /login was requested Nov 30, 2006 3:41:49 PM org.apache.struts.ac

Re: tc 6.0.2 beta jars in a maven repository?

2006-11-30 Thread Paul McMahan
Created Bugzilla issue 41093 and attached the poms from my local maven repo. Thanks for your help. If you need anything else then please let me know. Best wishes, Paul On 11/30/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 11/30/06, Paul McMahan <[EMAIL PROTECTED]> wrote: > > Alternately, I

Re: Is jsp designed for use by large websites

2006-11-30 Thread Rashmi Rubdi
>> With JSPs, it was always: edit, save, deploy to >>Tomcat, go to test launcher page, then click on link/button to launch >>the modified page (refresh didn't always cause a recompile, don't know >>if that was a browser or Tomcat (or Apache->Tomcat) issue). Remy is right, with JSPs also it's possi

Re: Cannot get more than one servlet loaded in my webapp

2006-11-30 Thread Andre Charbonneau
Greetings, It turns out this this was a false alarm. I found that there was an error message in another log file under $CATALINA_HOME which indicated that the error was because my other servlet could not load a java class. This probably explains why it wasn't loading. Cheers, And

Problem starting tomcat sucessfully

2006-11-30 Thread Akinola Oke
I just installed tomcat 4.131 and the environment variables correctly set. However when launched, the start still did not complete successfully. Below is where the startup is being freeze. Is there any thing I should change in the "jk2.properties" file? 30.11.2006 21:37:44 org.apache.coyote.http1

Re: tc 6.0.2 beta jars in a maven repository?

2006-11-30 Thread Wendy Smoak
On 11/30/06, Paul McMahan <[EMAIL PROTECTED]> wrote: > Alternately, I suppose since 6.0.2 is "only" a Beta, we could start > with minimal poms (no dependencies) and see how well that works. That sounds reasonable for now. I installed the tomcat jars into my local maven repository by using comm

RE: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Oracle JDBC OCI driver access in Tomcat > > where else do you load in the OCI libraries? You've obviously never done this, or bothered to read the doc. Here's the one for Solaris: http://java.sun.com/j2se/1.5.0/runtime_solaris.html

Re: tc 6.0.2 beta jars in a maven repository?

2006-11-30 Thread Paul McMahan
On 11/30/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 11/30/06, Paul McMahan <[EMAIL PROTECTED]> wrote: > Are the tc6.0.2 beta jars available in a maven repository? If not > then what's the best way to request that they be made available -- > post to [EMAIL PROTECTED] (again), create a bug rep

Re: Tomcat listening on port but not responding to requests

2006-11-30 Thread Timothy Collett
On Nov 30, 2006, at 1:56 PM, Joel Klein wrote: 1. Try visiting the tomcat page from the server itself At the moment I only have remote ssh access. I did try running a couple simple Java web gets, and they too seem to hang. Is there a curses-based browser on the machines you could use via s

FastCGI

2006-11-30 Thread Dima Retov
Does tomcat supports FastCGI? -- Best regards, Dima mailto:[EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: tc 6.0.2 beta jars in a maven repository?

2006-11-30 Thread Wendy Smoak
On 11/30/06, Paul McMahan <[EMAIL PROTECTED]> wrote: Are the tc6.0.2 beta jars available in a maven repository? If not then what's the best way to request that they be made available -- post to [EMAIL PROTECTED] (again), create a bug report, contact someone on IRC, etc...? It's a matter of so

Cannot get more than one servlet loaded in my webapp

2006-11-30 Thread Andre Charbonneau
Hi, I'm currently working on a small webapp which initially contained 1 single servlet. Everything was working fine until I tried to add a second servlet. For some reason, I can't get that second servlet to load on startup. I added the entry in the web.xml file of my web application as foll

tc 6.0.2 beta jars in a maven repository?

2006-11-30 Thread Paul McMahan
Are the tc6.0.2 beta jars available in a maven repository? If not then what's the best way to request that they be made available -- post to [EMAIL PROTECTED] (again), create a bug report, contact someone on IRC, etc...? Best wishes, Paul

Re: Is jsp designed for use by large websites

2006-11-30 Thread Rémy Maucherat
On 11/30/06, Nelson, Tracy <[EMAIL PROTECTED]> wrote: With PHP, you tend to have two windows open: editor and browser. Change the page in the editor, save the change, hit refresh on the browser: boom, there's your change. You can do that with JSP too (including taglibs which can be written as

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Martin Gainty
Yep.. which is exactly the reason why I said be careful when loading in type 2 OCI binaries I agree that If you error on the side of caution and stay with Type4 drivers you wont have to load them in If you get stuck in either Type 2 or Type 4 as this is tricky stuff.. feel free to contact me of

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Martin Gainty
Ok hotshot where else do you load in the OCI libraries? HUH? This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have recei

Re: Is jsp designed for use by large websites

2006-11-30 Thread David Kerber
Nelson, Tracy wrote: ... taglibs and other supporting classes in Java rather than use JavaScript. Testing JSPs also seems to take longer, although a good IDE should make it fast (I've never used an IDE that had good JSP support). With PHP, Have you tried Eclipse? Not perfect, but pretty goo

RE: Is jsp designed for use by large websites

2006-11-30 Thread Nelson, Tracy
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Thursday, 30 November, 2006 09:25 | | The bottom line for the whole PHP versus Java thing for me is perceived | complexity of a project. If I want it done super fast and super simple, | I'll go for PHP. If I want to actually architect s

RE: Tomcat listening on port but not responding to requests

2006-11-30 Thread Joel Klein
Steve and Charles asked a number of diagnostic questions, here are my answers: Charles wrote: Is there a stdout.log (or any other log files) in your environment? Might want to check those as well. Anything on the console window for the Tomcat process? Steve wrote: Check all logs, are there e

RE: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:[EMAIL PROTECTED] > Subject: Re: Oracle JDBC OCI driver access in Tomcat > > be careful when manipulating LD_LIBRARY_PATH in > $JAVA_HOME/jre/lib/$Processor/jvm.cfg to include libraries > located in $ORACLE_HOME/lib Martin, where do you come up with this stuff? T

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gurpreet, [EMAIL PROTECTED] wrote: > When I run this code snippet as a standalone Java programme (standalone > JVM), I do the following: > > a) Give the command line option "-d64" while running the standalone > programme. > b) Set the LD_LIBRARY_PATH

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Gregor Schneider
I wouldn't recommend using the OCI-driver in general, esp. in Tomcat, since it requires the OCI-middleware. Check your Oracle-docs for the "Thin"-driver (class 4) and use that one. Greg -- what's puzzlin' you, is the nature of my game

How to fallback to HTTP/1.0

2006-11-30 Thread Robert
Hello, I am having some problems with IE6, XMLHttpRequest, NTLM (jcifs) and Tomcat 5.5. I get various HTTP errors such as a 505 response status. The problem I am having is similar as described in http://issues.apache.org/bugzilla/show_bug.cgi?id=31567 I know the problem itself is not in Tomcat.

Re[2]: Is jsp designed for use by large websites

2006-11-30 Thread Dima Retov
There is java implementation of PHP. http://caucho.com/resin-3.1/doc/quercus.xtp Thursday, November 30, 2006, 5:24:41 PM, you wrote: CS> -BEGIN PGP SIGNED MESSAGE- CS> Hash: SHA1 CS> Martin, CS> Martin Gainty wrote: >> This is going O/T so feel free to ping me off the list >> >

tomcat, SingleSignOn and session persistance

2006-11-30 Thread olkin
Hi all! I've just found that SingleSignOn valve invalidates session when passivate event came (e.g. tomcat is shuting down). So I need to relogin every time when tomcat restarts. But this is not sutable for me because my web application configures remote host (where tomcat is installed) and restar

CGI Servlet in Tomcat 6.0.2

2006-11-30 Thread Martin Dubuc
I would like to use the CGI servlet in Tomcat 6.0.2, but I get this error message when enabling it: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.CGIServlet is privileged and cannot be loaded by this web application I have read the documentation and it looks like the

Re: Is jsp designed for use by large websites

2006-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: > This is going O/T so feel free to ping me off the list > > These current graphs may help if you want to gage PHP assignments > http://mshiltonj.com/sm/categories/languages_p-z/ > then compare to Java assignments > http:

Re[2]: Is jsp designed for use by large websites

2006-11-30 Thread Dima Retov
How do you know that there are more PHP developers then Java? -- Best regards, Dimamailto:[EMAIL PROTECTED] Thursday, November 30, 2006, 4:39:59 PM, you wrote: HKN> I am a jsp developer ,too, but honestly not a j2ee guru. HKN> I don't see any reason that jsp/j2ee w

Re: Is jsp designed for use by large websites

2006-11-30 Thread Htin Kyaw Nyo
I am a jsp developer ,too, but honestly not a j2ee guru. I don't see any reason that jsp/j2ee will have a bad potential in the future. However, by the time jsf is mature, jsp users may be gradually transformed to jsf/ajax developers which is a modern trend in the future. jsp/jsf has one great ad

Re: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Martin Gainty
You have to install Oracle 9 Client http://forums.oracle.com/forums/thread.jspa?messageID=1526720� and make a backup copy of your jvm.cfg be careful when manipulating LD_LIBRARY_PATH in $JAVA_HOME/jre/lib/$Processor/jvm.cfg to include libraries located in $ORACLE_HOME/lib (version inconsistencies

Re: Is jsp designed for use by large websites

2006-11-30 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear List, JSP is designed to be used for Websites. Depending what you do with it, changes where it can be used for a Large Web Site. As for the questions. 1a. Who cares if JSP is not supported by web hosting companies - Large web sites have t

Re: Is jsp designed for use by large websites

2006-11-30 Thread John Mok
Jack wrote: > > Hello, > > My logic is: > > 1a. JSP is not supported by many web hosting companies > or is only supported in more expensive dedicated > server plans. In contrast, open source alternatives > such as php is well-supported by web hosting > companies. > -> Result: most small and me

Re: Is jsp designed for use by large websites

2006-11-30 Thread Martin Gainty
This is going O/T so feel free to ping me off the list These current graphs may help if you want to gage PHP assignments http://mshiltonj.com/sm/categories/languages_p-z/ then compare to Java assignments http://mshiltonj.com/sm/categories/languages_a-m/ Can you show how a simle math routine or fo

Re: Tomcat 4.1 Issue - Strange

2006-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno, Bruno Vilardo wrote: > We have other machinces that are running fine with the same configuration > that is in this server in which is having issue. This is one of the primary reasons why I think it is a HW problem. > I need to do some further

RE: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Gurpreet . Sachdeva
Hi Mohan, Thanx for the suggestion. But I am already using jars. I am not using zips (as indicated below in the listing of libraries). Regards, Gurpreet "Narayanaswamy,

RE: Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Narayanaswamy, Mohan
Below information may be useful to you. abstract of oracle technical docs : JDK Driver File Name JDBC Version --- 1.1 classes111.zip 7.3.4 - 1.2 classes12.zip 8.1.6 - 1.3 classes12.zip 9.2 - 1.4 ojdbc14.zip 9.2 - If you use oracle 9i and JDK 1.4 you must use ojdbc14

Oracle JDBC OCI driver access in Tomcat

2006-11-30 Thread Gurpreet . Sachdeva
Hi, I have a piece of code which I have to run in tomcat 5.5.7. This code is using Oracle JDBC OCI driver for database access. For use of OCI driver, the native library libocijdbc10.so has to be included. When I run this code snippet as a standalone Java programme (standalone JVM), I do the f

RE: Tomcat 4.1 Issue - Strange

2006-11-30 Thread Bruno Vilardo
Hello All, Thanks a lot for the help everyone is providing me. I was also confused when start reading about a BUG that was never fixed. We have other machinces that are running fine with the same configuration that is in this server in which is having issue. I need to do some further troublesh

Re: Getting a webapp to run on tomcat 4.1

2006-11-30 Thread Mark Thomas
ying lcs wrote: > Thanks. Can you please tell me which tag lib that i am using causing > problem when i try to run in under Tomcat 4.x? >From the information you've posted - no. Look at your jars, check which version they are and which JSTL version they require (look at the manifest, docs, etc) an

Re: Extending WebappLoader doesn't load internal tomcat libs

2006-11-30 Thread Joaquín López
I would like to extend WebappLoader to use libraries that are placed out of my webapp dir, but when I try to start the server, I obtain the following error: Nov 30, 2006 11:38:07 AM es.tid.psstlatam.tomcat.CustomWebappLoader start INFO: CustomWebappLoader start: /etc/opt/psbatlatam/ar/pmg/pod/;/

Re: virtual mapping on Tomcat 5.5

2006-11-30 Thread olivier nouguier
hi, A: put apache (httpd) in front of tomcat ==> quite easy. B: dirty read/stream hack ==> don't know what to say :-) On 11/29/06, Jennifer Lu <[EMAIL PROTECTED]> wrote: Hi David, I think I have joined the list as I have received the confirmation on this? Probably this is the first email I se

Re: Address already in use

2006-11-30 Thread David Smith
TCPView from http://www.sysinternals.com can help you figure out what program has control over your port . --David red phoenix wrote: My JDK is jdk1.5.0_09 and my tomcat is 5.5.17,and I use Norton Antivirus 2006,when I start Tomcat,it raise following error: Error: Error initializing endpo

Re: Connector question

2006-11-30 Thread David Smith
Nope. You can remove the one not used. I would recommend you comment it out first and test. Remove when it's tested to work just to make sure you are removing the right one. --David Narayanaswamy, Mohan wrote: In one of my development server, we have the following two entry, Do we need bot

Re: Is jsp designed for use by large websites

2006-11-30 Thread Jack
> Good Morning Jack- > As Tomcat is OpenSource (and not proprietary) and > can be installed on any OS (vs just 1) I dont > undertand > What is causing the number of Tomcat users to > attenuate over time? > M Hello, My logic is: 1a. JSP is not supported by many web hosting companies or is only s