Re: reading file from jsp / war file

2006-01-11 Thread todd darsten
Never mind I changed it to Thread.currentThread().getContextClassLoader().getResource to get it working. --- todd darsten <[EMAIL PROTECTED]> wrote: > > My war file looks like > > mywar.war > +--WEB-INF > +--my.mapfile.txt > +--... other dirs > > Within my jsp, i am trying to reference >

Re: Application Not Available - Tomcat 5.5.12

2006-01-11 Thread Ken Johanson
Mike wrote: Hello all, I have scoured Google and the list archives, it seems like somebody must have had this issue before but I can't find any record of it. (all on a single host) Tomcat 5.5.12 Apache 1.3.28 mod_jk Mandrake Linux 9.1 Struts 1.2.4 My problem is that, while using my application

Re: problem with keytool for ssl

2006-01-11 Thread Ken Johanson
You appear to be attempting to import (last step) the certificate request you created. Instead, you should be waiting for / getting back your CA's signed version of your CSR, then import that.. Otherwise, create self signed cert to import, if you dont need users to trust your claimed identity.

Recommended way to selectively RequestDispatch.include/forward to form based login?

2006-01-11 Thread Ken Johanson
Hello, Does anyone have a suggested way to selectively, inside a simple JSP or Servlet, cause the built-in Tomcat form-login to be presented? Currently, I'm doing the following: -Have protected URI inside my webapp, e.g. /login/, configured with a security-constraint in web.xml. (this works

RE: Tomcat integegrated with Apache

2006-01-11 Thread Pete Alvin
I'm using Tomcat 5.5. I want to keep it simple. It always seems to take me 2 days of anguish to get Apache/Tomcat working together. Is it now unnecessary to hook it up to Apache? I need to also serve images and static HTML files. Is that efficient if I use Tomcat? In this case I'm sure you'd

Unable to override doPut(), etc, from Tomcat's JSPServlet (response 403)

2006-01-11 Thread Ken Johanson
Hi all, I'm wondering if there is another configuration needed to set which HTTP methods that JSPServlet accepts.. I'm attempting overriding doPut() in a JSP but I get a 403. Same if I don't override it and just try with 'request.getMethod().equalsIgnoreCase("PUT")' in the JSP generated servi

reading file from jsp / war file

2006-01-11 Thread todd darsten
My war file looks like mywar.war +--WEB-INF +--my.mapfile.txt +--... other dirs Within my jsp, i am trying to reference my.mapfile.txt as an URL This code works fine in Jetty but fails when we switch to TC 5.5.x <% URL myURL = application.getResource("/my.mapfile.txt"); %> i am getting an

RE: unable to load classes

2006-01-11 Thread Nehal Sangoi
Hi Thank You for giving some direction to work upon. I will try and test the way you have suggested and reply my findings... Regards Nehal -Original Message- From: Michel Costa [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 10:17 PM To: [EMAIL PROTECTED] Subject: RE: unable

RE: Tomcat integegrated with Apache

2006-01-11 Thread Caldarale, Charles R
> From: Pete Alvin [mailto:[EMAIL PROTECTED] > Subject: Tomcat integegrated with Apache > > I'm trying to get Tomcat running on a new BSD box and my IT guys says > that a connector isn't necessary because it's integrated with Apache. You have to configure the connector in Tomcat and, depending o

Tomcat integegrated with Apache

2006-01-11 Thread Pete Alvin
Thanks for that advice! Sounds like I need to run the compat thing to get Tomcat5.5 to work with 1.4.2. NEW QUESTION: I'm trying to get Tomcat running on a new BSD box and my IT guys says that a connector isn't necessary because it's integrated with Apache. There is a brief mention of this in

Last-Modified not updated when file is changed / touched.

2006-01-11 Thread hanasaki
Running tomcat 5.5.14 on Linux with: java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) Files are coming back with unchanged "last modified" dates even after editing or a unix "tou

Re: Avoid duplication of database settings

2006-01-11 Thread Jeremy Thomerson
Yes - Spring would be very handy for your usage. You can configure your your entire middle tier (services and persistence) within your Spring configuration, and then share it between the multiple clients. You can then inject the services into various objects, or pull them from a global single

Re: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2?

2006-01-11 Thread foo shyn
ooppss almost forgot about this.you can run java -version to check your java version too. fooshyn - Original Message - From: "Pete Alvin" <[EMAIL PROTECTED]> To: Sent: Thursday, January 12, 2006 10:33 AM Subject: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2? Is J2SE 5.0 the same as 1

Re: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2?

2006-01-11 Thread foo shyn
Hi, There are a lot of improvement and new classes being introduce in J2SE1.5.0 ... therefore those classes that's being compiled using 1.5.0 might not be running well in 1.4.2. Think you should check out Sun's website for detailed info, it's all there. To check the version of Java installed thin

RE: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2?

2006-01-11 Thread Caldarale, Charles R
> From: Pete Alvin [mailto:[EMAIL PROTECTED] > Subject: Tomcat 5.5: is J2SE 5.0 the same as 1.4.2? > > Is J2SE 5.0 the same as 1.4.2? No, J2SE 5.0 is sometimes referred to as 1.5.0. > I know they just changed their number so I don't know if these are > the same or not. Sun just dropped the l

Tomcat 5.5: is J2SE 5.0 the same as 1.4.2?

2006-01-11 Thread Pete Alvin
Is J2SE 5.0 the same as 1.4.2? I know they just changed their number so I don't know if these are the same or not. Also, how does one find out on Linux what version of Java is installed? I grepped for javac and this came up: /usr/ports/java/jdk14/work/j2se/make/java/javac -

Re: Cluster configuration

2006-01-11 Thread Paul Smith
Aren't you missing the mcastBindAddr property? We're just going through the test setup for clustering with 5.5.15 and it's working pretty well, here's a snippet from our config: jvmRoute="worker2"> distributable="true" > className="org.

Cluster configuration

2006-01-11 Thread bradley mclain
I am unable to get a 2 node cluster to work. I am using 5.5.15, as I saw in an email that prior versions are broken. when i start node A i see the following written to the log: 1064 INFO [main] - Manager [localhost/cluster]: skipping state transfer. No members active in cluster group. I expect

RE: tomcat and javac (UNCLASSIFIED)

2006-01-11 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat and javac (UNCLASSIFIED) > > Can you let me know which dir in Tomcat 5.5.12 has the > java compiler? There are three jasper-*.jar files in common/lib. The actual Java compiler appears to be in jasper-compiler-jdt.jar;

Re: tomcat and javac (UNCLASSIFIED)

2006-01-11 Thread Zorro3692
Hi Chuck, Can you let me know which dir in Tomcat 5.5.12 has the java compiler? Thanks, Jimmy From: Samara, Fadi N Mr ACSIM/ASPEX > [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat and javac (UNCLASSIFIED) > > Which Java version are you using ? > If you are referring to JAVA_HOME

RE: Client Errors: 5.5.12 JSP XML Samples

2006-01-11 Thread Caldarale, Charles R
> From: Brendan Stephens [mailto:[EMAIL PROTECTED] > Subject: Client Errors: 5.5.12 JSP XML Samples > > XHTML Basic Example /jsp-examples/jsp2/jspx/basic.jspx > There appears to be something about the DOCTYPE declaration > that IE does not like for the XHTML Basic Example. > > Can anyone confir

Client Errors: 5.5.12 JSP XML Samples

2006-01-11 Thread Brendan Stephens
I have successfully installed the Tomcat 5.5.12 Server on a Windows 2000 System for training and dev purposes. JSP appears to be processing correctly save for 2 examples - slightly Off Topic here... SVG (Scalable Vector Graphics) /jsp-examples/jsp2/jspx/svgexample.html The SVG sample appears to

RE: Starting Tomcat at boot

2006-01-11 Thread Richard Mixon
If you are using the Tomcat version that ships with SLES9 (version 5.0.x I believe) just use the /etc/init.d/tomcat script. There is usually a symbolic link created and you can just issue one of the following from a root command prompt: rctomcat start rctomcat stop rctomcat restart rctomcat

Re: Problems Using Context Loader

2006-01-11 Thread Sriram Narayanan
On 1/11/06, Michel Costa <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I am trying to create a ClassLoader for my application so then I will not > have to reload all the hibernate and struts when a new class is compiled. > Could you please explain why this is a problem ? Is the startup time an is

Re: Starting Tomcat at boot

2006-01-11 Thread Jim Cammack
>>> [EMAIL PROTECTED] 01/11/2006 2:14:15 PM >>> Simple question: What's the most idiot proof way to start Tomcat at boot on SuSE Enterprise Linux version 9? Nigel DeFreitas Insurance Services Office 201 469 3939 I've had good luck with SLES9.1 by having a symbolic link in /etc/init.d/rc3.d cal

Re: i need configure SSL protocolo (https) with tomcat 5.5.12

2006-01-11 Thread Dhaval Patel
I am sorry. The link is http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html --- Dhaval Patel <[EMAIL PROTECTED]> wrote: > > http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/<20051204175733.82684.qmail%40web50613.mail.yahoo.com> > > > > --- Iosev Perez Rivero

Starting Tomcat at boot

2006-01-11 Thread DeFreitas, Nigel
Simple question: What's the most idiot proof way to start Tomcat at boot on SuSE Enterprise Linux version 9? Nigel DeFreitas Insurance Services Office 201 469 3939

Re: i need configure SSL protocolo (https) with tomcat 5.5.12

2006-01-11 Thread Dhaval Patel
http://mail-archives.apache.org/mod_mbox/tomcat-users/200512.mbox/<20051204175733.82684.qmail%40web50613.mail.yahoo.com> --- Iosev Perez Rivero <[EMAIL PROTECTED]> wrote: > i need configure SSL protocolo (https) with tomcat 5.5.12, but I don´t know > configure, I used > documentation of tomca

Re: problem of setting up ssl in tomcat 5.5.9

2006-01-11 Thread zhou jian
Jan 11, 2006 2:59:44 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Jan 11, 2006 2:59:44 PM org.apache.tomcat.util.net.puretls.PureTLSSocketFactory init INFO: Error initializing SocketFactory java.io.FileNotFoundException: server.pem (No such file or

Re: Accessing Files outside of WebApp

2006-01-11 Thread Alvaro Seixas
I've a similar situation where I have to provide million of check images. What I did was to create a context - using a simple xml file in webapps - for each context. - Original Message - From: "Zach Moazeni" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, January 11, 2006 5:

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Bah, a coworker had me try FileDownloadServlet /FileDownloader/* and everything is Groovy. Thanks for all the previous help. -Zach Zach Moazeni wrote: Also one other thing...hitting the Servlet via "./FileDownloader/MyDoc.doc?id=#{doc.id}" (using JSF) Doesnt' seem to hit th

[OT] RE: Tomcat IIS-redirector help

2006-01-11 Thread Brantley Hobbs
> -Original Message- > From: Zach Moazeni [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 11, 2006 3:37 PM > To: Tomcat Users List > Subject: Re: Tomcat IIS-redirector help > > It certainly would be nice if ASP and ASP.NET had a binary to which you > could pass the file to and receive

Re: Tomcat IIS-redirector help

2006-01-11 Thread Zach Moazeni
It certainly would be nice if ASP and ASP.NET had a binary to which you could pass the file to and receive the output. You could then map .asp files as CGI's. -Zach Brantley Hobbs wrote: Can you please send me the txt of the registry file? I will check it out and make sure there is

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Also one other thing...hitting the Servlet via "./FileDownloader/MyDoc.doc?id=#{doc.id}" (using JSF) Doesnt' seem to hit the servlet, but going to "./FileDownloader?id=#{doc.id}" does. Thanks for any input -Zach Zach Moazeni wrote: Alrighty, I was able to push the download to the cli

RE: Tomcat IIS-redirector help

2006-01-11 Thread Brantley Hobbs
> Can you please send me the txt of the registry file? I will check it out > and > make sure there is nothing that I have not already done. > > Tom > I sent this in private, but I decided to post it back to the list just in case it is useful to someone else: Tom, I'm pasting the contents of th

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Alrighty, I was able to push the download to the client with this snipbit of code I wrote: File file = new File("C:\\wolverine-documents\\inquiryDocs\\1010\\Operations Use Cases V1.3.doc"); FileInputStream fin = new FileInputStream(file); byte[] bytes = new byte[fin.a

Re: tomcat deploy configuration

2006-01-11 Thread William Mok
- Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, January 11, 2006 12:13 PM Subject: RE: tomcat deploy configuration From: William Mok [mailto:[EMAIL PROTECTED] Subject: Re: tomcat deploy configuration The requested resou

RE: tomcat deploy configuration

2006-01-11 Thread Caldarale, Charles R
> From: William Mok [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat deploy configuration > > The requested resource (/dbtrax/servlet/PlexEngineDemo) > is not available. > > /servlet/PlexEngine Your mapping is for /servlet/PlexEngine but you tried to reference /servlet/PlexEngineDemo. - Chuck

Re: tomcat deploy configuration

2006-01-11 Thread William Mok
Thanks. - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, January 11, 2006 11:55 AM Subject: RE: tomcat deploy configuration From: William Mok [mailto:[EMAIL PROTECTED] Subject: tomcat deploy configuration However, if I m

Application Not Available - Tomcat 5.5.12

2006-01-11 Thread Mike
Hello all, I have scoured Google and the list archives, it seems like somebody must have had this issue before but I can't find any record of it. (all on a single host) Tomcat 5.5.12 Apache 1.3.28 mod_jk Mandrake Linux 9.1 Struts 1.2.4 My problem is that, while using my application (via browser)

RE: Tomcat IIS-redirector help

2006-01-11 Thread Thomas Dickey
I am so frustrated now but thanks for the acknowledgement. I have done everything that I'm supposed to do. I do not understand why this is not working. Can you please send me the txt of the registry file? I will check it out and make sure there is nothing that I have not already done. Thanks

RE: tomcat deploy configuration

2006-01-11 Thread Caldarale, Charles R
> From: William Mok [mailto:[EMAIL PROTECTED] > Subject: tomcat deploy configuration > > However, if I move the servlet class files to a > separate directory called myservlet, for example > \webapps\myservlet, the servlet > fails to deploy. (servlet not found error) > > What is the minimum co

tomcat deploy configuration

2006-01-11 Thread William Mok
Hi, I have written a servlet and deployed successfully under \webapps\examples\WEB-INF\classes with all the servlet class files sitting there. However, if I move the servlet class files to a separate directory called myservlet, for example \webapps\myservlet, the servlet fails to deploy. (serv

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Sorry, keep = keen -Zach Zach Moazeni wrote: Even then I have to bring out the byte array into somewhere so that they're link is active. Like I said I'd rather not do any type of copy over for this link. Plus I'm not too keep on Blobs in databases anyway. I think the other's suggestion of

Re: Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Even then I have to bring out the byte array into somewhere so that they're link is active. Like I said I'd rather not do any type of copy over for this link. Plus I'm not too keep on Blobs in databases anyway. I think the other's suggestion of the Servlet mapping will do great. Thanks for a

RE: tomcat and javac (UNCLASSIFIED)

2006-01-11 Thread Jignesh Shah
Thanks for the tools.jar tip.. I plugged the tools.jar in the JRE disabled the JRE check in setclasspath.sh and I was all set.. 4.1.31 works fine with JRE. - Jignesh --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Samara, Fadi N Mr ACSIM/ASPEX > > [mailto:[EMAIL PROTECTED] >

Re: Accessing Files outside of WebApp

2006-01-11 Thread Frank W. Zammetti
You may want to have a look at the ResourceServerServlet in Java Web Parts: http://javawebparts.sourceforge.net/javadocs/javawebparts/servlet/ResourceServerServlet.html That may give you what you want. It allows you to serve any resource from a variety of sources (currently file system from any

RE: Accessing Files outside of WebApp

2006-01-11 Thread George Sexton
What I do for my application is creat a URL mapping /binaries/* That maps to a servlet that then reads the files from the source directory, and transmits them out the OutputStream. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- >

i need configure SSL protocolo (https) with tomcat 5.5.12

2006-01-11 Thread Iosev Perez Rivero
i need configure SSL protocolo (https) with tomcat 5.5.12, but I don´t know configure, I used documentation of tomcat but I have a error, someone may explain me this process. Regrards. Iósev Pérez Rivero Estudiante 4to. Año Universidad de las Ciencias Informáticas

problem with keytool for ssl

2006-01-11 Thread Iosev Perez Rivero
I have a problem for configure SSL protocol using keytool C:\Tomcat55\webapps\ROOT>keytool -genkey -alias tomcat -keyalg RSA -keystore .ke ystore Enter keystore password: eileen What is your first and last name? [Unknown]: iosev What is the name of your organizational unit? [Unk

Re: Accessing Files outside of WebApp

2006-01-11 Thread Wade Chandler
--- Zach Moazeni <[EMAIL PROTECTED]> wrote: > Hello, > > In our current application I need to link to a > file that resides > outside of the webapp directory. On another > application we allowed the > users upload files and stored them in the webapp > directory, which made > deployment a r

RE: Accessing Files outside of WebApp

2006-01-11 Thread CARROLL, MIKE \(CONTRACTOR\)
Why not just store the file in a database as a BLOB? Let the database worry about where they go... -Original Message- From: Zach Moazeni [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 2:16 PM To: Tomcat Users List Subject: Accessing Files outside of WebApp Hello, In our

Re: How to redirect incoming requests?

2006-01-11 Thread Wade Chandler
--- Ritchie Gillam <[EMAIL PROTECTED]> wrote: > I am trying to have all requests that come to the > Tomcat Server be redirected to another web server. > What is the best/easiest was to do this? > > I have Tomcat 5.5.7 installed and I do not have or > want to install Apache. > > I have did a sea

Accessing Files outside of WebApp

2006-01-11 Thread Zach Moazeni
Hello, In our current application I need to link to a file that resides outside of the webapp directory. On another application we allowed the users upload files and stored them in the webapp directory, which made deployment a royal pain. This time we are storing the files in a location ex

RE: Tomcat IIS-redirector help

2006-01-11 Thread Brantley Hobbs
Thomas, I don't know if I can help you, but I can offer moral support; I'm using the ISAPI redirector on IIS6/W2K3 and it works fine. Some (admittedly basic) checkpoints: 1. I'm using version 1.2.13 of the redirector. 2. I have a .reg file of registry entries if you'd like to see them so you ca

RE: Tomcat IIS-redirector help

2006-01-11 Thread Thomas Dickey
I have had a few people offer assistance, but nothing has worked. Is there anyone who can point me in the right direction? I am at a complete loss... Thanks in advance!!! Tom -Original Message- From: Thomas Dickey [mailto:[EMAIL PROTECTED] Sent: Monday, January 09, 2006 9:32 AM To: user

Re: Using a CustomClassLoader for my WebApp

2006-01-11 Thread Sriram Narayanan
On 1/11/06, Sriram Narayanan <[EMAIL PROTECTED]> wrote: > Hi: > > I'm trying to create a CustomClassLoader that I could use as my Web > App's classloader. > But I've been unsuccessful so far. > I forgot what I did wrong, but I've accomplished what I wanted, and the results are here: http://issues.

RE: tomcat and javac (UNCLASSIFIED)

2006-01-11 Thread Caldarale, Charles R
> From: Samara, Fadi N Mr ACSIM/ASPEX > [mailto:[EMAIL PROTECTED] > Subject: RE: tomcat and javac (UNCLASSIFIED) > > Which Java version are you using ? > If you are referring to JAVA_HOME as the environment variable, then it > should point to your java sdk not jre Not true with Tomcat 5.5 leve

Re: tomcat and javac

2006-01-11 Thread Markus Schönhaber
Jignesh Shah wrote: > When I use our application with tomcat 5.5.12 it seems > it does not need a javac ,I mean I can get it running > with a jre as JAVA_HOME, however for some reasons we > cant use 5.5.12 and when I try to use an older version > of tomcat 5.0.28 or 4.1.31 it says that the jre wont

Re: Supported Version

2006-01-11 Thread Markus Schönhaber
CARROLL, MIKE (CONTRACTOR) wrote: > My client has a requirement to upgrade to a Tomcat version greater then > 5.5.12, but the next release up 5.5.15 is still listed as _Beta_ on > http://tomcat.apache.org However, when I look under > http://archive.apache.org/dist/tomcat/tomcat-5/ it shows a non-be

RE: tomcat and javac (UNCLASSIFIED)

2006-01-11 Thread Jignesh Shah
I have a requirement where I have to use the jre in the final verison of product cant ship it with J2sdk... and I am using 1.4.2_07 jre. It seemed it was fine with 5.5.12, where most of the pages from my webapps application came up but there were some other issues. But in the older version of tomca

RE: tomcat and javac (UNCLASSIFIED)

2006-01-11 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Which Java version are you using ? If you are referring to JAVA_HOME as the environment variable, then it should point to your java sdk not jre -Original Message- From: Jignesh Shah [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006

tomcat and javac

2006-01-11 Thread Jignesh Shah
Hi, When I use our application with tomcat 5.5.12 it seems it does not need a javac ,I mean I can get it running with a jre as JAVA_HOME, however for some reasons we cant use 5.5.12 and when I try to use an older version of tomcat 5.0.28 or 4.1.31 it says that the jre wont be sufficient at JAVA_HO

Supported Version

2006-01-11 Thread CARROLL, MIKE \(CONTRACTOR\)
Hello, My client has a requirement to upgrade to a Tomcat version greater then 5.5.12, but the next release up 5.5.15 is still listed as _Beta_ on http://tomcat.apache.org However, when I look under http://archive.apache.org/dist/tomcat/tomcat-5/ it shows a non-beta version of 5.5.15 available for

Re: Frames in JSP.

2006-01-11 Thread Seak, Teng-Fong
[EMAIL PROTECTED] wrote: Dear All, I have a JSP like the following . . . . First of all, and tags are mutually exclusive: http://www.w3.org/TR/1999/REC-html401-199912

Antwort: Frames in JSP.

2006-01-11 Thread Thomas . Weil
<[EMAIL PROTECTED]> schrieb am 11.01.2006 17:19:30: > Dear All, > I have a JSP like the following > > > . > . > > > > > > > > > > > > . > . > > This is, by the way, not a valid

Re: Frames in JSP.

2006-01-11 Thread Frank W. Zammetti
On Wed, January 11, 2006 11:19 am, [EMAIL PROTECTED] said: > > Dear All, > > I have a JSP like the following > > > > . > . > > > > > > > > > > > > . > . > > > > where .. is for

Re: Question regarding tomcat class path handling

2006-01-11 Thread Sriram Narayanan
On 1/10/06, Sriram Narayanan <[EMAIL PROTECTED]> wrote: > On 1/10/06, Oded Arbel <[EMAIL PROTECTED]> wrote: > > > > > > > What you could do is to write your own WebAppClassLoader that'd add > > > these folders to its lookup list. > > > > Hmm. interesting. How can I let such a class loader implement

Re: Small connection problems with JK 1.2.15 and IIS 5

2006-01-11 Thread Mladen Turk
br1 wrote: Hello, I am new to the list but I must say I used it a lot to find things in the past years. This time I am facing a problem or two but not finding a solution.. small problems luckily. (2) [Fri Jan 06 15:17:20 2006] [warn] jk_ajp_common.c (2138): Unable to get the free endpoint f

RE: How to redirect incoming requests?

2006-01-11 Thread Duan, Nick
Couple of ways you may consider: - Ask your network administrator to change your DNS mapping or IP address mapping. - Use the build-in balancer of tomcat as a proxy to redirect the traffic (see the load balancer section of tomcat doc). - Apache or HW load balancer. ND -Original Message-

Frames in JSP.

2006-01-11 Thread anunay.ashish
Dear All, I have a JSP like the following . . . . where .. is for html code. If I try to access html elements under the jsp "a.jsp", it returns me a null. Why? Thanks in

Small connection problems with JK 1.2.15 and IIS 5

2006-01-11 Thread br1
Hello, I am new to the list but I must say I used it a lot to find things in the past years. This time I am facing a problem or two but not finding a solution.. small problems luckily. I have the following setup: IIS 5, about 30 Tomcat instances spread around 20 different servers - versions va

Re: How to create EXE in java

2006-01-11 Thread Mladen Turk
kavallappa chiru wrote: Hi How can i cretae exe file from java class file , so that i can run java application without running java classfile from the command prompt. I just want click on the icon to run it as we are all doing in windows. You have an ASF licensed solution at: http://svn.apac

RE: Problem with servlets from upgrade

2006-01-11 Thread George Sexton
Read: http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES.txt Specifically, search for Enabling invoker servlet: Essentially, you need to do URL mapping in your web.xml for your servlets. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Mess

RE: Serving secured static content

2006-01-11 Thread George Sexton
Put a security constraint in your web.xml for the resources you want to secure. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: ALEX HYDE [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 11, 2006 6:23 AM > To: users@tomca

RE: How to create EXE in java

2006-01-11 Thread Jim Cant
Hi, I have used JSmooth (http://jsmooth.sourceforge.net/) which also wraps everything up in a .exe file and seem to share many features with EXE4J. I disagree with the first respondent in this thread who suggested creating jar file with the main class specified in the manifest. In my view, a jar

Re: Session from a tag

2006-01-11 Thread Thom Hehl
Ah!!! That's what I was looking for. Thanks so much! David Delbecq wrote: getJspContext().getAttribute("someKey",PageContext.SESSION_SCOPE) Le Mercredi 11 Janvier 2006 16:19, Thom Hehl a écrit : This explains the code I found. What if you extend SimpleTagSupport. What's the difference?

Re: Session from a tag

2006-01-11 Thread David Delbecq
getJspContext().getAttribute("someKey",PageContext.SESSION_SCOPE) Le Mercredi 11 Janvier 2006 16:19, Thom Hehl a écrit : > This explains the code I found. What if you extend SimpleTagSupport. > What's the difference? > > David Delbecq wrote: > > >to expose bean in jsp: > >http://java.sun.com/pro

RE: Problem with servlets from upgrade (Tomcat to SunOne)

2006-01-11 Thread Duan, Nick
Without knowing how your web.xml file was defined, it seems to me a context root problem. Sun has its own way to define the path of a context root in its sun-web.xml file, unlike tomcat which uses the application name as the default root path. If you use Sun's Studio to package and deploy your

Re: Session from a tag

2006-01-11 Thread Thom Hehl
This explains the code I found. What if you extend SimpleTagSupport. What's the difference? David Delbecq wrote: to expose bean in jsp: http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html to access session in a custom tag, assuming you extend TagSupport class: pageContext.getSessio

Re: Session from a tag

2006-01-11 Thread David Delbecq
to expose bean in jsp: http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html to access session in a custom tag, assuming you extend TagSupport class: pageContext.getSession(); Le Mercredi 11 Janvier 2006 15:57, Thom Hehl a écrit : > I'm trying to get to the session from a tag. I have a b

Re: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Rafal Zawadzki
> Not sure I fully agree with you - not about Apache being a great stable > product - as I do agree with that. However, I have been using Tomcat since > version 3 - and settled on using Tomcat (since version 5.0.x) standalone as > I found greater stability, speed and reliance than with using it i

Session from a tag

2006-01-11 Thread Thom Hehl
I'm trying to get to the session from a tag. I have a bean stored there that I want to use in my tag. How can I retrieve this. I can't find this information anywhere. Thanks. Thom Hehl Heavyweight Software for Heavyweight Needs www.heavyweightsoftware.com -- "In every revolution, there is one

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Chris McCormack
I would consider integrating this as part of your application and stay just standalone tomcat (or load balanced tomcat). Keep it simple. http://www.opensymphony.com/oscache/ Very useful. __ This email has been scanned for all viruses by the MessageLabs SkyScan service

RE: unable to load classes

2006-01-11 Thread Nehal Sangoi
Hi How can i change the default classloading hierarchy in Tomcat 5.5.9 ? And would that affect in my Tomcat setup anyway? Please reply to my query because i am stucked up badly at this problem. -Original Message- From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Sent: Friday, January 06, 2006

How to redirect incoming requests?

2006-01-11 Thread Ritchie Gillam
I am trying to have all requests that come to the Tomcat Server be redirected to another web server. What is the best/easiest was to do this? I have Tomcat 5.5.7 installed and I do not have or want to install Apache. I have did a search through the archives and have found nothing. Any suggesti

RE: java.lang.Class.getResourceAsStream() throws ClassCastException

2006-01-11 Thread Fredrik Rubensson
> During initilization of my c3p0 connection pool by hibernate the below printed > exception occurs. The exception causes a failure in the c3p0 initilization and > thus hibernate and my application. > > Does anyone know what might cause this behavour? Seems like it is the catalina class loade

Re: help with wmv

2006-01-11 Thread Thomas . Weil
Mark, i guess setting HttpServletResponse.setHeader("Content-Type","video/x-ms-wmv"); when generating your response should help with that. Regards, Thomas <[EMAIL PROTECTED]> schrieb am 10.01.2006 21:38:54: > Hello, > I am unable to properly serve up wmv files. > Despite adding the video

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread ALEX HYDE
Adam, I think I just posted a question on nearly this same topic. I found something called Pippo for static content and would be easier to configure as it sits in Tomcat. Do you have security considerations? Have you had to add modules for securing content in Apache? Adam John

Serving secured static content

2006-01-11 Thread ALEX HYDE
Dear group, I have been looking at how to best serve static content from my web-site. Most of the content is static. I was looking at using Apache as a front to Tomcat and have that all up and running. The problem is securing the content. I have written an Apache plug-in using mod_p

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Adam Johnston
I like the sound of that idea - videos tend to change rarely, and are prime candidates for caching. Is anyone actually using this configuration? Thanks. -Original Message- From: Wouter Boers [mailto:[EMAIL PROTECTED] Sent: 10 January 2006 16:01 To: 'Tomcat Users List' Subject: RE: Using

Problems Using Context Loader

2006-01-11 Thread Michel Costa
Hi everyone, I am trying to create a ClassLoader for my application so then I will not have to reload all the hibernate and struts when a new class is compiled. Then my problems started: I do not know where to put my special ClassLoader. I got lots of classcast exceptions until I found that a in

java.lang.Class.getResourceAsStream() throws ClassCastException

2006-01-11 Thread JS Portal support team
Hi, During initilization of my c3p0 connection pool by hibernate the below printed exception occurs. The exception causes a failure in the c3p0 initilization and thus hibernate and my application. Does anyone know what might cause this behavour? The folowing bugs describe a similair problem. B

Tomcat 4.x to 5.5.x migration problem

2006-01-11 Thread Dennis Leary
Migrating from Tomcat 4.x to 5.5.x The application uses an application scope bean and for some reason the 5.5.x container is continuously initializing the bean. jsp snippet com.foo.bar.Admin Constructor public Admin() throws Exception { try{ Context ctx = new InitialContext();

NotSerializableException in Tomcat 5.5.15

2006-01-11 Thread Ronald Klop
Hello, I'm seeing this exception in catalina.out of Tomcat 5.5.15 (2 node cluster). This is Tomcat code, so I'm wondering if I should fix something or if the problem is inside Tomcat? Ronald. SEVERE: Unable to serialize delta request for sessionid [F63F9EDF02547D7610359C7A990650A7] java.io.N

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Carl Olivier
### "Adam Johnston" <[EMAIL PROTECTED]> wrote message to "George Sexton" <[EMAIL PROTECTED]>, "Tomcat Users List" ### ### this is reply for: RE: Using Tomcat 5.5 as a standalone web server ### > Thanks George and to Tim for his answer also - George's example seems > to be a reliable indicator of

Re: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Rafal Zawadzki
### "Adam Johnston" <[EMAIL PROTECTED]> wrote message to "George Sexton" <[EMAIL PROTECTED]>, "Tomcat Users List" ### ### this is reply for: RE: Using Tomcat 5.5 as a standalone web server ### > Thanks George and to Tim for his answer also - George's example seems to > be a reliable indicator of

Re: Problem with pdf in tomcat 4.1.29

2006-01-11 Thread Tim Funk
Its the response header: Content-Type: application/pdf;charset=ISO-8859-1 I can't recall the resolution to this issue. I believe a tomcat update fixes this. An issue similar to this was discussed in Bugzilla. The main issue is your using a JSP. The JSP is calling response.setCharacterset().

Re: Can't play wmv

2006-01-11 Thread Tim Funk
Make sure tomcat is returning the header: Content-Type: video/x-ms-wmv You can confirm this via telnet: telnet MYSERVER 80 HEAD /MY/foo.wmv HTTP/1.1 Host: MYSERVER Connection: close You can add the header in $CATALINA_HOME/conf/web.xml or in web.xml of your webapp. -Tim Mark Winslow wrote

RE: Using Tomcat 5.5 as a standalone web server

2006-01-11 Thread Adam Johnston
Thanks George and to Tim for his answer also - George's example seems to be a reliable indicator of its capability. I am going to load test the site on a pure Tomcat install - I will let you all know how it goes ;) I would love still to hear of any other examples of pure Tomcat installs. It strik

  1   2   >