error Ljavax/servlet/http/HttpServletRequest

2006-01-11 Thread marju jalloh
I `m calling a bean from a jsp page that return HttpServletRequest snippet HttpServletRequest req= myBean.getMessage(); out.write(req.getParameter("mess")); where mess is a variable that was set in the bean My problem jsp can`t compile I got the following errors javax.servlet.Ser

Vedr.: Tomcat 5.5 and java 1.5 features.

2006-01-11 Thread Thomas Nybro Bolding
Jasper in turn uses JDT to compile JSPs into servlets and JDT is currently only JDK 1.4 compliant. To use 1.5 features in your JSP you will thus have to replace jasper. This questions has been brought up a couple of times so search the archives or look at http://tomcat.apache.org/tomcat-5.5-do

Re: error Ljavax/servlet/http/HttpServletRequest

2006-01-11 Thread guangyu zhang
can you show me the com.MyBean.java ' source code? how does class "MyBean" get the HttpServletRequest ? Have you passed the request to class MyBean? 2006/1/11, marju jalloh <[EMAIL PROTECTED]>: > I `m calling a bean from a jsp page that return HttpServletRequest > snippet > > HttpServletReques

RE: error Ljavax/servlet/http/HttpServletRequest

2006-01-11 Thread Fredrik Rubensson
Hi, > I `m calling a bean from a jsp page that return HttpServletRequest snippet > > HttpServletRequest req= myBean.getMessage(); > out.write(req.getParameter("mess")); > where mess is a variable that was set in the bean > > My problem jsp can`t compile I got the following errors > >jav

Re: Tomcat 5.5 and java 1.5 features.

2006-01-11 Thread Markus Schönhaber
Dola Woolfe wrote: > Hi, > > I'd like to use java 1.5 features in my jsp code, in > particular generics. But the jasper compiler really > doesn't like it. Any setting to fix this: Use Tomcat >= 5.5.10 which comes with JDT from Eclipse 3.1 and supports Java 5. Regards mks -

Re: problem calling request.getParameter("myparameter") in jsp

2006-01-11 Thread Jon Wingfield
Your underlying problem is the exclamation mark at the start of your scriptlet. This makes the jsp ompiler put free standing code into the init method or creates methods on the servlet that you can call within your jsp. Without the exclamation mark the compiler inlines the scriptlet into the _j

Problem with servlets from upgrade

2006-01-11 Thread Francesca Jovanovic
I have a new computer and I have installed the latest version of Tomcat 5 and reinstalled the Sun One Studio 4 which I still had a setup file. The example servlets and jsp's work fine but my servlets - that worked fine on my old pc with tomcat 4 - now don't work, the jsps are working fine but no

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

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: 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: 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: 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

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

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();

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

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

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

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 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

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: 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

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: 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

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

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 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

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: 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: 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 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: 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: 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: 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: 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: 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

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

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

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-

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: 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: 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

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 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

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

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

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

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: 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

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: 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: 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 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: 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

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: 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

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: 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

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

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

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- >

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: 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 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: 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

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: 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

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

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 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

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
- 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: 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 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
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 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

[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: 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

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: 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: 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

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
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

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: 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 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

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: 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

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: 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;

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: 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.

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: 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

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 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: 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

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

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

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

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

  1   2   >