Re: Any free online books for tomcat?

2006-02-20 Thread Alexander Voss
Hi, PKarthick wrote: > I would like to know whether any online books are there for tomat? or any documentation in > PDF(downloadable).. if so pzl send me the link. I have found being a member of the ACM (acm.org) very useful. As a professional member you get access to quite an impressive librar

Re: reg. custom security

2006-02-20 Thread Poornachandran
Hi Mark, Thank you for your reply. I understand that context.xml has to be kept in $CATALINA_HOME\conf\[hostname] directory. But, I cant even access the tomcat folders. Can I somehow manage security within my application scope only? Poorna Mark Thomas wrote: Poornachandran wrote: Hi,

Re: Struts and MyFaces

2006-02-20 Thread Maciej Piechotka
On 2/21/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 2/20/06, Maciej Piechotka <[EMAIL PROTECTED]> wrote: > > > I cannot find any information how and why should I use it. > > > > If I understand it generates code of a page(View in MVC). In which ML > > (html, html + css or in xhtml)? > > I'm not

Tomcat Restart and HttpSession

2006-02-20 Thread Cindy
In tomcat 5.0.29, when I shutdown and restart the appl thru the Manager, the HttpSession objects are NOT destroyed while the appli's ServletContext IS (together with other info like the set of Principal's). Keeping the HttpSessions could be a good feature for maintaining the state of the web a

Re: Retrieving host name

2006-02-20 Thread Martin Gainty
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/http/HttpServletRequest.html Generally whatever variable you will be retrieving is accessed by a getHTTPVARIABLENAME i.e. getQueryString() acquires the QUERYSTRING HTH, Martin- - Original Message - From: <[EMAIL PROTECTED]>

Re: Retrieving host name

2006-02-20 Thread Bill Barker
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Is there code for retrieving server address (IP address?) too? > request.getLocalAddr(); Note that this may not match the result of request.getServerName(); if natting or proxies are involved. > Thanks. > > request.getServer

Re: Retrieving host name

2006-02-20 Thread Zorro3692
Hi, Is there code for retrieving server address (IP address?) too? Thanks. request.getServerName() > -Original Message- > From: Amir Sadeh [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 19, 2006 10:57 AM > To: users@tomcat.apache.org > Subject: Retrieving host name > > Hi,

Re: how to get help if no answer from this list?

2006-02-20 Thread Richard Schilling
It almost sounds like you need someone to sit at the computer you're installing Tomcat on and check things out. Since that's not possible, you might try "starting from scratch": 1. write down the version of the JDK/JRE are you running. 2. make sure CLASSPATH is *not* set in the environment. 3. u

RE: remote debug on tomcat using eclipse

2006-02-20 Thread Tim Lucia
Well, every day for the last 4 or 5 years, I run Eclipse as the UI/IDE/Debugger and Tomcat in attach mode (socket) as the engine. I sent this to you off list because I wanted to include the image, which I think gets bounced from the list (at least the HTML mode goes away.) What Mark Thomas sai

RE: Fw: Servlet problem

2006-02-20 Thread Caldarale, Charles R
> From: Mark Whitby [mailto:[EMAIL PROTECTED] > Subject: Re: Fw: Servlet problem > > If nothing is found then it redirects the user to > searchnone.jsp. If an item or more than one item > is found then the page will redirect to itemlist.jsp > or matchlist.jsp As a previous poster pointed out,

Re: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Alex David Shadrach Hooper
Pulled from Caldarale, Charles R's mail (Mon, Feb 20, 2006 at 11:11:34AM -0600): > > From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] > > Subject: java.lang.IllegalStateException: removeAttribute: > > Session already invalidated > > > > This doesn't seem to be related to anything in th

Re: Struts and MyFaces

2006-02-20 Thread Wendy Smoak
On 2/20/06, Maciej Piechotka <[EMAIL PROTECTED]> wrote: > I cannot find any information how and why should I use it. > > If I understand it generates code of a page(View in MVC). In which ML > (html, html + css or in xhtml)? I'm not sure if you're asking about Struts-JSF integration, or why you m

Re: Fw: Servlet problem

2006-02-20 Thread Mark Whitby
There is a problem with this though. I start off with searchitem.jsp OR searchmatch.jsp. I want to end up at itemlist.jsp, matchlist.jsp or searchnone.jsp depending on what's said below. When I click the button (which appears on both searchitem.jsp AND searchmatch.jsp albeit with slightly di

RE: Fw: Servlet problem

2006-02-20 Thread Caldarale, Charles R
> From: Mark Whitby [mailto:[EMAIL PROTECTED] > Subject: Re: Fw: Servlet problem > > Yeah but that's not what I want to happen. I want the > servlet to redirect the user to searchnone.jsp as per > the servlet code and not to the servlet itself, if that > makes sense? The ACTION parameter in a

RE: Servlet problem

2006-02-20 Thread GB Developer
> Can anyone tell me where I'm going wrong? what filip said, but also... >From your servlet source code, make sure not to expect a server-side operation, such as: dispatcher.forward(request, response); to result in a client-side 'refresh' to the 'specified' page (searchnone.jsp, when you obtai

Re: Fw: Servlet problem

2006-02-20 Thread Mark Whitby
Yeah but that's not what I want to happen. I want the servlet to redirect the user to searchnone.jsp as per the servlet code and not to the servlet itself, if that makes sense? Mark - Original Message - From: "Filip Hanik - Dev Lists" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sen

Re: Fw: Servlet problem

2006-02-20 Thread Filip Hanik - Dev Lists
per your web.xml http://localhost:8080/WEB-INF/classes/SearchServlet?itemvalue=type+search+criteria+here should be http://localhost:8080/searchmatch.jsp?itemvalue=type+search+criteria+here Filip Mark Whitby wrote: EDIT: I've sent this twice because the first one contained an error in what I

Fw: Servlet problem

2006-02-20 Thread Mark Whitby
EDIT: I've sent this twice because the first one contained an error in what I wrote. Ignore the first one. Hi all, Apologies for the stupidity of this email but I'm having a few servlet problems. I've created the following SearchServlet.java file, compiled it into a class file using Netbeans

RE: Retrieving host name

2006-02-20 Thread Daniel Blumenthal
request.getServerName() > -Original Message- > From: Amir Sadeh [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 19, 2006 10:57 AM > To: users@tomcat.apache.org > Subject: Retrieving host name > > Hi, > How can I retrieve the host name (defined in the tomcat > server.xml) or some un

Servlet problem

2006-02-20 Thread Mark Whitby
Hi all, Apologies for the stupidity of this email but I'm having a few servlet problems. I've created the following SearchServlet.java file, compiled it into a class file using Netbeans then copied the class file into my WEB-XML/classes file. Now for testing the servlet is very limited but

JNDI Datasource Problem - SOLVED

2006-02-20 Thread Mark Whitby
Marc, It works like a charm now thanks very much! (I had verified it before hand yes using code set up to access the database from within a jsp file but I'm much happier now I can do it this way!) Think we may need to recommend a change in the set up help files Tomcat have Mark - Origi

Re: JNDI Datasource Problem

2006-02-20 Thread Marc Richards
I see that you have your resource defined under the context for your jsp. I know you're suppose to be able to do this, but I haven't had much luck with it personally. Try this just for kicks: 1. Move the TestDB resource to the section of server.xml 2. If there is a "context".xml file under co

RE: Hotspot_compiler for tomcat as win service?

2006-02-20 Thread Caldarale, Charles R
> From: Paul Holmes-Higgin [mailto:[EMAIL PROTECTED] > Subject: RE: Hotspot_compiler for tomcat as win service? > > Thanks for the suggestion - I've tried adding that option as an extra > java opt in service.bat, but it didn't appear to work. Also, this is > for a "portable" installation, so I c

Tomcat 5.15 SSL/HTTPS page links automatically rewriting?

2006-02-20 Thread b
I am having issues configuring SSL w/ Tomcat. I completed the certificate installation and modifications to my server.xml file. When I access https://mydomain-name.com the page loads fine, and appears to be served securely. However, all of the links on the page have changed from https://mydomai

Re: JNDI Datasource Problem

2006-02-20 Thread Mark Whitby
Yeah I know, I was using the wrong guide. I'm using Tomcat 5.5.15. However I'm now using the right guide and still have the same problem. I'm getting the following error: javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedExcep

RE: remote debug on tomcat using eclipse

2006-02-20 Thread Asaf Lahav
Title: Message Hi Tim,   I tried this as well… I'm getting a "Failed to connect to remote VM" error message. I even tried this with just an empty project I opened in Eclipse. I figured it has to work like that since all it is expected to do is connect to the remote VM…   Any help is a

Re: JNDI Datasource Problem

2006-02-20 Thread Marc Richards
I didn't see any mention of the Tomcat version here, but in 5.5 the part of the config is no longer used. All paramters go in the tag with name="value" format just like name and auth from your example below. i.e. maxIdle="30". -marc --- Mark Whitby <[EMAIL PROTECTED]> wrote: > Hey guys, > >

RE: Hotspot_compiler for tomcat as win service?

2006-02-20 Thread Paul Holmes-Higgin
Chuck Thanks for the suggestion - I've tried adding that option as an extra java opt in service.bat, but it didn't appear to work. Also, this is for a "portable" installation, so I can't rely on a full java installation (i.e. java options tab). One assumption in all of this is that if the hotspo

Re: remote debug on tomcat using eclipse

2006-02-20 Thread Mark Thomas
Asaf Lahav wrote: > I already setup both JPDA_ADDRESS and JPDA_TRANSPORT environment variables. > But I don't know where to add the command line arguments when I'm running > the Tomcat in service mode. Use tomcat5w.exe from the bin directory. Add the following options under the Java tab. -Xdebug

RE: Hotspot_compiler for tomcat as win service?

2006-02-20 Thread Caldarale, Charles R
> From: Paul Holmes-Higgin [mailto:[EMAIL PROTECTED] > Subject: Hotspot_compiler for tomcat as win service? > > I'm trying to find where I can put .hotspot_compiler files for Tomcat > when installed as a Windows service (service.bat). You could use -XX:CompileCommandFile in the Java Options area

RE: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version of TOMCAT 5.5.15

2006-02-20 Thread David St. Amant
Try adding the commons-daemon.jar to the CLASSPATH Dave St. Amant Lead Programmer Precision Information, LLC 702 N. Blackhawk Ave., Suite #205 Madison, WI 53705 Website: www.educatedinvestor.com Phone: 608-243-1282 E-mail: [EMAIL PROTECTED] There are ten kinds of people in the world - Those who

RE: remote debug on tomcat using eclipse

2006-02-20 Thread Asaf Lahav
Hi Mark, First of all, thanks for responding. I already read those instructions you pointed me to. Where can I find instructions saying how to configure Tomcat for remote debugging on windows XP when running in service mode? I already setup both JPDA_ADDRESS and JPDA_TRANSPORT environment

Hotspot_compiler for tomcat as win service?

2006-02-20 Thread Paul Holmes-Higgin
Hi I'm trying to find where I can put .hotspot_compiler files for Tomcat when installed as a Windows service (service.bat). I've googled & searched archives, tried many locations without success - anyone got any idea? Many thanks Paul. --- Paul Holmes-Higgin Alfresco -

Re: reg. custom security

2006-02-20 Thread Mark Thomas
Poornachandran wrote: > Hi, > > I am in a kind of a strange situation. Basically, I need to implement > security using Form Based authentication in one of my webapps. But, the > catch here is that I cannot access any of the server's configuration > files. I can only work with my app specific files

Re: remote debug on tomcat using eclipse

2006-02-20 Thread Mark Thomas
Step 1. http://tomcat.apache.org/faq/development.html#rd Step 2. http://tomcat.apache.org/faq/development.html#rd-eclipse Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

reg. custom security

2006-02-20 Thread Poornachandran
Hi, I am in a kind of a strange situation. Basically, I need to implement security using Form Based authentication in one of my webapps. But, the catch here is that I cannot access any of the server's configuration files. I can only work with my app specific files. So, I can neither configur

RE: Tomcat & JavaMail Help

2006-02-20 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Tomcat & JavaMail Help > > I am trying to send an email from a servlet. The application > is running on Windows 2003. What you don't tell us is which version of Tomcat. The rules for specifying resources have evolved as the differe

remote debug on tomcat using eclipse

2006-02-20 Thread Asaf Lahav
Hi all,   I'm trying to debug an AXIS webservice which is running on my local tomcat 5.5.15. My working environment is: Windows XP JVM 1.5 Eclipse 3.1 My tomcat 1.5.15 is installed and running as a Service   I've read a couple of articles explaining how to configure tomcat and Ecli

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Caldarale, Charles R
> From: Glen Mazza [mailto:[EMAIL PROTECTED] > Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector > > For the Vector object you're using, it is possible > that the JDT compiler is not 1.5-compliant The methods of interest (Vector.add() and Vector.iterator()) have been around sinc

NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version of TOMCAT 5.5.15

2006-02-20 Thread William . Adams
Greetings: I am attempting to run the binary version of TOMCAT-5.5.15 in compatibility mode with a 1.4.2 JVM. It is abending at initialization with the following messages in STDERR. [Signaling in VM: java/lang/NoClassDefFoundError, message: org/apache/tomcat/util/log/SystemLogHandler] at j

JVM Option -Xmx (Windows registry entry)

2006-02-20 Thread Ronak Sutaria
Hi, I have read the Tomcat FAQs on the Out.Of.Memory error. Based on it we have tried the -Xmx value and seen a difference in the performance. But there was an effect that adding the -Xmx value to the registry was producing which I was trying to understand (and hoping someone could help with). We

Tomcat & JavaMail Help

2006-02-20 Thread nguessan
Hi all, I am trying to send an email from a servlet. The application is running on Windows 2003. The servlet compiles but it does not send any email. My smtp server is configured to properly accept and relay message from the machine on which my application is running (tested with another email sen

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
That's it ! I had a library containing java 1.1 classes in my classpath. It seems that JDT uses the classes that are in the classpath instead of those that are in the JRE. This behaviour is a bit different of Sun compiler. Thanks for your help Thibaut Thibaut Nicolas a écrit : I've tried

RE: Tomcat running from CDROM

2006-02-20 Thread George Sexton
Since the spec requires some directories (work, tmp) be writable this won't work. The best solution would be to create a stub "CatalinaBase" directory and put on the workstation in the temp directory, and then set CatalinaHome to the CDROM and run it that way. George Sexton MH Software, Inc. htt

RE: Tomcat & SQL Server

2006-02-20 Thread George Sexton
You might get more response if you read this page and re-post your questions: http://www.catb.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Javed Iqbal [mailto:[EMAIL PROTECTED] > Sent: M

Re: how to get help if no answer from this list?

2006-02-20 Thread Mark Eggers
Dr. Exner, It helps to understand classloading in Tomcat. I just got Axis up and running on the following system. Windows/2000 Professional Java JDK 1.5.0_04 Tomcat 5.59 I will assume that this works the same on my Linux box (Fedora Core 4) since Apache is great in making cross-platform tools.

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
I've tried to put the sample JSP in webapps/jsp-examples and it works. So the problem may not be linked to the version of tomcat but to the context in which I deployed my application. Maybe there's a problem with my classpath (WEB-APP/lib folder) I'll try to investigate in that way and let you

Re: scheme="https" not working?

2006-02-20 Thread Dave Brondsema
Markus Schönhaber wrote: > Dave Brondsema wrote: >> I'm using Tomcat 5.5.15 on Windows 2000. I have this connector: >> >maxThreads="150" minSpareThreads="25" maxSpareThreads="75" >>enableLookups="false" disableUploadTimeout="true" >>acceptCount="

RE: New isapi_redirect.dll has problems

2006-02-20 Thread David Thielen
Hello; I would agree with you except... I switched back to the release version Friday afternoon and the size of the logfile since then has been 0 bytes - nothing. I will leave it this way until Wednesday evening and then switch back to the new one again for a day to see what happens. Thanks - da

Re: Help with detecting session timeout

2006-02-20 Thread Filip Hanik - Dev Lists
Once the session expires... this code never gets called by tomcat. So I am not really sure what you are thinking about? -Dennis that is cause you have protected every single resource in your webapp and require login for that. hence, every single resource is bound by the session existing or not.

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Glen Mazza
Thibaut Nicolas wrote: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /jsp/Test.jsp Generated servlet error: The method add(String) is undefined for the type Vector An error occurred at line: 4 in the jsp file: /jsp/Test.jsp G

RE: Help with detecting session timeout

2006-02-20 Thread Klotz Jr, Dennis
Filip, Perhaps we have different web.xml deployments in mind... In my case the code you suggested never gets called once the tomcat session is expired. Here are snippets from my web.xml: CallQServlet com.xyz.hm.callq.server.CallQServlet debug fa

Re: Help with detecting session timeout

2006-02-20 Thread Wade Chandler
--- "Klotz Jr, Dennis" <[EMAIL PROTECTED]> wrote: > Greetings to all. > > I hope everyone had a great weekend. :) I've run > into a problem that I > can't find any answers for and I am hopeful that one > of you has the time > to respond. > > Given: > * Tomcat 5.5.15 > * Applet using jvm 1.5 > *

Re: Any free online books for tomcat?

2006-02-20 Thread Glen Mazza
PKarthick wrote: Hi all, I would like to know whether any online books are there for tomat? or any documentation in PDF(downloadable).. if so pzl send me the link. Review the online docs to get a better idea of the scope of Tomcat (http://tomcat.apache.org/tomcat-5.5-doc/index.html), they'

Re: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Alex David Shadrach Hooper
Pulled from Caldarale, Charles R's mail (Mon, Feb 20, 2006 at 11:11:34AM -0600): > > From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] > > Subject: java.lang.IllegalStateException: removeAttribute: > > Session already invalidated > > > > This doesn't seem to be related to anything in th

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Caldarale, Charles R
> From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] > Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector > > Here is the very simple JSP that have written to isolate the error This probably won't help much: your sample JSP works fine for me on nearly stock versions of 5.5.15 and 5.

RE: java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Caldarale, Charles R
> From: Alex David Shadrach Hooper [mailto:[EMAIL PROTECTED] > Subject: java.lang.IllegalStateException: removeAttribute: > Session already invalidated > > This doesn't seem to be related to anything in the webapp code What about a session or context listener? What's the stack trace associated

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
Of course, Here is the very simple JSP that have written to isolate the error <%@ page language="java" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Iterator" %> <% Vector v = new Vector(); v.add("Hello"); v.add("World"); %> <% Iterator it = v.iterator(); while (it.hasNext

Re: scheme="https" not working?

2006-02-20 Thread Markus Schönhaber
Dave Brondsema wrote: > I'm using Tomcat 5.5.15 on Windows 2000. I have this connector: > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" >enableLookups="false" disableUploadTimeout="true" >acceptCount="100" secure="true" >

java.lang.IllegalStateException: removeAttribute: Session already invalidated

2006-02-20 Thread Alex David Shadrach Hooper
Hi, I have a webapp running under 5.0.28 on Solaris. When attempting to reload the webapp using the tomcat manager, it regularly fails with the IllegalStageException noted in the subject. This doesn't seem to be related to anything in the webapp code, and Googling has not turned up anything usefu

Re: Help with detecting session timeout

2006-02-20 Thread Filip Hanik - Dev Lists
no, that is not true, this could be your servlet (note, this assumes your session was created by another JSP/servlet. note, you can also do request.getSession().isNew() and so on, public void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException { if ( req.getSes

RE: scheme="https" not working?

2006-02-20 Thread Klotz Jr, Dennis
Do you have your port 80 connector forwarding set correctly? -Original Message- From: Dave Brondsema [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 11:31 AM To: users@tomcat.apache.org Subject: scheme="https" not working? I'm using Tomcat 5.5.15 on Windows 2000. I have this c

RE: Help with detecting session timeout

2006-02-20 Thread Klotz Jr, Dennis
Thanks Filip. Please correct me if I am wrong... Isn't it the case that if the session expires, the client cannot access any of the servlets within my webapp? Therefore, the response you set would never be seen by the clients applet. So I how your code would ever work? Thanks again for respond

Struts and MyFaces

2006-02-20 Thread Maciej Piechotka
I cannot find any information how and why should I use it. If I understand it generates code of a page(View in MVC). In which ML (html, html + css or in xhtml)? Thanks in advance

scheme="https" not working?

2006-02-20 Thread Dave Brondsema
I'm using Tomcat 5.5.15 on Windows 2000. I have this connector: I can access http://eaglesnest-test.cornerstone.edu:443/manager/html but I get no response when attempting to access https://eaglesnest-test.cornerstone.edu:443/manager/html Somehow it's running unsecured but still on port 443.

Re: Help with detecting session timeout

2006-02-20 Thread Filip Hanik - Dev Lists
in your servlet, you can do ... if ( session_has_timed_out) { response.setError(505,"Session has timed out"); return; } then in your applet, you can catch the 505, Filip Klotz Jr, Dennis wrote: Greetings to all. I hope everyone had a great weekend. :) I've run into a problem that I c

Help with detecting session timeout

2006-02-20 Thread Klotz Jr, Dennis
Greetings to all. I hope everyone had a great weekend. :) I've run into a problem that I can't find any answers for and I am hopeful that one of you has the time to respond. Given: * Tomcat 5.5.15 * Applet using jvm 1.5 * An applet that has been sitting idle and tomcat has expired the session * U

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Michael Andreas Omerou
Can we have the code that causes this error? >-Original Message- >From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] >Sent: 20 February 2006 16:33 >To: users@tomcat.apache.org >Subject: JSP compilation error in Tomcat 5.5 using type Vector > >Hi all, > >I have a problem while trying to migr

RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)

2006-02-20 Thread Michael Andreas Omerou
Hi Guys, First of all thanks for your assistance so far. I played a lot trying to remove the response.setHeader() and leaving meta tags only in my code, then, removing meta-tags and leaving response.setHeader(), I tried all possible combinations of meta tags,etc. What I ended up and thought of

JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
Hi all, I have a problem while trying to migrate an application from Tomcat 4.1 to Tomcat 5.5. I get a JasperException when tomcat try to compile a JSP : The method add(String) is undefined for the type Vector The method iterator() is undefined for the type Vector I've put the complete trace at

Re: time/date stamp differences

2006-02-20 Thread Remy Maucherat
On 2/20/06, Tim Lucia <[EMAIL PROTECTED]> wrote: > If you use the manager application to undeploy and redeploy (for rolling > back, or for upgrading) then the old files will be removed undeploy, and the > dates and times will not matter. And also: http://issues.apache.org/bugzilla/show_bug.cgi?id=

Re: time/date stamp differences

2006-02-20 Thread David Delbecq
You mean the .jsps do not get recompiled after redeploy? What procedure do you follow to rollback? Do you do a 'undeploy/redeploy process'? I think doing a undeploy should remove the associated work directory, where tomcat store all generated jsp source / jsp .class Hall, Scott a écrit : >Hello T

RE: time/date stamp differences

2006-02-20 Thread Tim Lucia
If you use the manager application to undeploy and redeploy (for rolling back, or for upgrading) then the old files will be removed undeploy, and the dates and times will not matter. Tim > -Original Message- > From: Hall, Scott [mailto:[EMAIL PROTECTED] > Sent: Monday, February 20, 2006

time/date stamp differences

2006-02-20 Thread Hall, Scott
Hello Tomcat Users, We have currently begun the migration from 5.5.7 to 5.5.15 in my shop. All has been going smoothly except for one quirk that we don't seem to understand. I apologize if this has been covered in some form, but I've spent a good portion of the past two days looking for an answer

Vedr.: Tomcat & SQL Server

2006-02-20 Thread Thomas Nybro Bolding
In short - that depends! What are your requirements for load balancing, fault tolerance etc? What kind of rig are we talking about, how many concurrent users do you expect,... That said I prefer to install Tomcat and DB on different machines. This allows you to scale Tomcat and DB servers inde

Any free online books for tomcat?

2006-02-20 Thread PKarthick
Hi all, I would like to know whether any online books are there for tomat? or any documentation in PDF(downloadable).. if so pzl send me the link.   Thanks in advance Kary Systems Engineer PTG.  

Re: JNDI Datasource Problem

2006-02-20 Thread Markus Schönhaber
Rose, Greg wrote: > If you look at the resulting link when you click on CONTEXT > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html > > It gives you several options as to setting up your context. They all > refer to the context.xml file, not the Server.xml file. > > I have found that pla

RE: JNDI Datasource Problem

2006-02-20 Thread Rose, Greg
Sorry, I must be confused then, since the help page says: " Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended to place elements directly in the server.xml file. Instead, put them in the META-INF/context.xml directory of your WAR file or the conf directory as described above

RE: JNDI Datasource Problem

2006-02-20 Thread Rose, Greg
If you look at the resulting link when you click on CONTEXT http://tomcat.apache.org/tomcat-5.5-doc/config/context.html It gives you several options as to setting up your context. They all refer to the context.xml file, not the Server.xml file. I have found that placing my context.xml file into

RE: JNDI Datasource Problem

2006-02-20 Thread Caldarale, Charles R
> From: Rose, Greg [mailto:[EMAIL PROTECTED] > Subject: RE: JNDI Datasource Problem > > If it is 5.5.x, you can not alter the Server.xml file. That's not correct. It is strongly recommended to put tags in either the META-INF directory of the webapp or in conf/Catalina/[hostname]/[appname].xml,

Re: JNDI Datasource Problem

2006-02-20 Thread Mark Whitby
Yeah it's 5.5.15. It's strange that because I'm advised to actually change the server.xml file in the guide to setting up a JNDI Source on the Tomcat website. My server.xl file is in a bit of a state though so I've attached it to this email see if I've set it up right as it says here: http:/

RE: JNDI Datasource Problem

2006-02-20 Thread Rose, Greg
What release of Tomcat are you using? If it is 5.5.x, you can not alter the Server.xml file. You will need to create a context file and place it into your META_INF directory in your application. Tomcat will place it into your CATALINA_HOME\conf\Catalina\localhost directory when the application

Re: JNDI Datasource Problem

2006-02-20 Thread chuanjiang lo
i think you would need to change the context.xml? On 2/20/06, Mark Whitby <[EMAIL PROTECTED]> wrote: > > Hey guys, > > Thanks for the help with the previous problem I had, I've managed to solve > them now thanks to your help. But now I'm having a problem with setting up > a DataSource connection.

Re: how to get help if no answer from this list?

2006-02-20 Thread Dr. Exner
Thanks for this hint, but it did not work. I copied the file into both directories but got the same old error on startup. May be I did something wrong "from the beginning"? But there is not much to configure with the self extracting exe file. D. Exner - Original Message - From: "Ha

Re: how to get help if no answer from this list?

2006-02-20 Thread Markus Schönhaber
Dr. Exner wrote: > for a course including a short introduction and demo on web services I have > to decide, whether to base it on java/tomcat/axis or on C#/.NET. Because > I'm using xerces-j already in this course (and for some other reasons), I > preffered the java solution. However, I hang with t

Re: how to get help if no answer from this list?

2006-02-20 Thread Dr. Exner
Thanks for your answer, the system is Windows XP with a tomcat stand alone (Catalina?) installation. But there is no server-config.wsdd file at the whole system partition. So where to check and to modify the CLASSPATH setting? D. Exner - Original Message - From: "Richard Schilling

Vedr.: Tomcat & SQL Server

2006-02-20 Thread Thomas Nybro Bolding
In short - that depends! What are your requirements for load balancing, fault tolerance etc? What kind of rig are we talking about, how many concurrent users do you expect,... That said I prefer to install Tomcat and DB on different machines. This allows you to scale Tomcat and DB servers inde

Re: how to get help if no answer from this list?

2006-02-20 Thread Hadraba Petr
Hi, did you try to copy the `activation.jar' in the common/lib/ (or common/endorsed/ if newer version then in JRE) directory? This path is _always_ included in the CLASSPATH by the startup scripts... I have there JDBC drivers, xalan, xerces (in the common/endorsed-) and it works fine. And the se

Tomcat & SQL Server

2006-02-20 Thread Javed Iqbal
Guys, What is the best option A- Having Database (SQL server) and Tomcat on the same box. B- on separate boxdes What are the limitation of Tomcat 5.0.16? Regards Javed - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Tomcat running from CDROM

2006-02-20 Thread Alexander E Genaud
Hello, I am attempting to place a web application on a CDROM, without requiring further installations by the end user. Does anyone have experience doing this? I have been playing with Tomcat and Jetty, but have been most satisfied with Tomcat. Is it possible to make Tomcat run readonly (disable

Re: how to get help if no answer from this list?

2006-02-20 Thread Richard Schilling
Dr. Exner: Don't dismay. Sometimes it takes this listserve of volunteers time to answer questions. You didn't mention what platform you're using, but it appears to be Windows - by you mentioning the Windows control panel. /WEB-INF/server-config.wsdd was created, but you should check it for

how to get help if no answer from this list?

2006-02-20 Thread Dr. Exner
Hi, for a course including a short introduction and demo on web services I have to decide, whether to base it on java/tomcat/axis or on C#/.NET. Because I'm using xerces-j already in this course (and for some other reasons), I preffered the java solution. However, I hang with the test installa