Re: Newbie Help

2004-02-25 Thread Florian Ebeling
Hi Jason, there is a fine tutorial covering this stuff. It contains a build.xml file which is similar to the deployer script. I think the latter evolved from the former. It contains also recommendations for directory layouts, etc. You find it here:

Hot to get Tomcat 5 to log to catalina.out instead of console?

2004-02-25 Thread Erik G. Dybdahl
When starting tomcat with the file startup.bat, all output goes to the console (including log4j debug output from my web app) I have to use cygwin, and use sh startup.sh, in order to have it sent to catalina.out. Is this a bug, or a misconfig? I have placed log4j and commons-logging jars in

Re: encodeURL / jsessionid

2004-02-25 Thread Jerald Powel
That was my first move, but it was null G. Antonio_Fiol_Bonnín [EMAIL PROTECTED] wrote: %= request.getSession().getAttribute(id); % Jerald Powel wrote: Hi, I wish to maintain state across contexts and have in app1: app2 when app2 is loaded the jsessionid is visible in the

Re: Tomcat 4.1.29 CoyoteAdapter Exception

2004-02-25 Thread Adam Hardy
Randall, I've often had issues that cause major problems, and my experience is that user groups and mailing lists are normally unable to help without there being an easily reproducible error. For instance, are you able to nail it down to a particular page or servlet? Does it happen regularly

read it immediately

2004-02-25 Thread craig . mcclanahan
is that your account? attachment: swimmingpool.zip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Classloader issues

2004-02-25 Thread SH Solutions
Hi Have you added the mail's jar file to your WEB-INF/lib or common/lib? If not, then that's the problem. Tomcat 5 doesn't ship with the mail api. I have tried adding mailapi.jar, activation.jar, smtp.jar, pop3.jar, imap.jar to common/lib, WEB-INF/lib and shared/lib. None worked. Any other

International character problem in submitting a jsp form

2004-02-25 Thread Bilge Erkan
Hi, I'm using Tomcat 4.1.12. I have a trouble using Turkish characters in inputs on my forms. I don't have any problem displaying constant strings from resource files or displaying data retrieved from database where they both contain Turkish characters. So I decided to make a simple test as

Réf. : read it immediately

2004-02-25 Thread meissa . Sakho
the attached file is empty. I don't know what you mean. Could you explain more. ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] [EMAIL PROTECTED] 25/02/2004 11:01 Veuillez répondre à Tomcat

stolen

2004-02-25 Thread admin
Message sent from [EMAIL PROTECTED] infected by virus and has not been delivered. Viruses: infected with Win32.HLLM.Foo.41984 Original message was stored in the archive. To receive original message please contact postmaster: [EMAIL PROTECTED] Archive record: archive.msg.dZO565 Antivirus

RE: Réf. : read it immediately

2004-02-25 Thread Bodycombe, Andrew
Without wanting to cause too much alarm, that is the kind of message that could potentially contain a virus. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 25 February 2004 10:59 To: Tomcat Users List Subject: Réf. : read it immediately the attached file is

Re: Réf. : read it immediately

2004-02-25 Thread Graham Reeds
Without wanting to cause too much alarm, that is the kind of message that could potentially contain a virus. Virus's need a little more than 1byte in size to be lethal - the payload probably got pulled by a virus checker before leaving Sun. G.

Re: using jar files in place of class files

2004-02-25 Thread Evgeny Gesin
That's was exactly the problem, jar-s start work in $CATALINA_HOME/webapps/app/WEB-INF/lib after setting write permission (770) for $CATALINA_TMPDIR, and not for the 'lib'. Thank you. Evgeny Gesin Javadesk --- Jon Wingfield [EMAIL PROTECTED] wrote: Also make sure that the user running tomcat

Re: Réf. : read it immediately

2004-02-25 Thread Adam Hardy
On 02/25/2004 12:44 PM Graham Reeds wrote: Without wanting to cause too much alarm, that is the kind of message that could potentially contain a virus. Virus's need a little more than 1byte in size to be lethal - the payload probably got pulled by a virus checker before leaving Sun. G. It's a

Re: read it immediately

2004-02-25 Thread Adam Hardy
What you are seeing is a failed attempt to spread a virus over this mailing list. You should ignore the email. The email address is almost 100% certain to be spoofed (faked). If you happen to get the message with a file attached, be very wary of opening it. Perhaps the list administrator

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread Tim Funk
The mapping rules are dictated by the servlet spec. Its not tomcat specific. -Tim Daniel Gibby wrote: Too bad though. I really like ant's recursive matching capabilities. I think that eventually a 'rebash' shell will be written that supports ** as recursive so that grep catalina **/docs/*.java

Re: Tomcat 5 deployer compile errors on %@ includes

2004-02-25 Thread Tim Funk
The best thing to do is to not make compile time includes end in '.jsp'. Some use .inc, other .jspi, and the spec might even have arecommendation for compile time includes. Also by using a specific file extension you can quickly identify its purpose. -Tim Richard Mixon (qwest) wrote: I am

Re: Memory leak across contexts?

2004-02-25 Thread Tim Funk
1) Try using a memory profiler. 2) Or install 4 tomcat instances each with its own webapp and see if all 4 die or just one becomes bad. If only one dies- then its webapp code issue. If all four die - it is probably still a webapp issue but its consistent across all 4 of your webapps -Tim

Starting Tomcat 5 JVM in debug Mode

2004-02-25 Thread shane
Could you enlighten me as to how to start TOMCAT 5 with the following parameters to enable remote debugging on the JVM? These parameters need to be passed to the JVM during start up, but I can't work out where they should go with all the various scripts and bat file strings used in the

Re: Réf. : read it immediately

2004-02-25 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: the attached file is empty. I don't know what you mean. Could you explain more. That is a result of a damaged virus. The computer is infected, but the user managed to delete the *.EXE file, so the virus cannot spread it. The virus is still active, but the payload is

RE: attributes of the element web-app?

2004-02-25 Thread Shapira, Yoav
Howdy, web-app display-nameWelcome to My JSP-Files/display-name iconcl6D11.gif/icon description Welcome to My JSPs /description /web-app I don't think the tomcat manager webapp even looks for this field, but I haven't checked the relevant code in literally more than a year. Does

RE: read it immediately

2004-02-25 Thread Shapira, Yoav
Howdy, Yes to all: it's a spoof on Craig's address. Treat it as you would any virus/work email: don't open attachments, delete message. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 7:04 AM To:

Utility for Running Tomcat as a Windows Service

2004-02-25 Thread David Boyer
Version 2.0.8b is out. This should now work again with Tomcat 5!!! Additional details and free download available here: http://web.bvu.edu/staff/david/tcservcfg/

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Shapira, Yoav
Howdy, error-page exception-typejavax.servlet.ServletException/exception-type location/WEB-INF/jsp/exceptions/ServletException.jsp/location /error-page (in the appropriate place, at the bottom just above /web-app) When this code executes: if ( report == null ||

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread Daniel Gibby
I'm just predicting the future, and I think eventually the ** convention will be adopted in many systems and specs. I'm kinda going off topic, so sorry. dangby Tim Funk wrote: The mapping rules are dictated by the servlet spec. Its not tomcat specific. -Tim Daniel Gibby wrote: Too bad

how to configure tomcat to user application

2004-02-25 Thread xavier manohar
Hello can any one help me to cofigure tomcat 4.1.29 to user application path ,during tomcat startup regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

Re: Is the docBase attribute in context.xml required?

2004-02-25 Thread Petr Jiricka
Shapira, Yoav wrote: Howdy, I have a question about the format of context.xml. Tomcat 5 documentation: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html says that the docBase attribute is required (as it's bolded). Is this really correct? I was able to deploy an

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Evgeny Gesin
This is JSP rather than Tomcat question, but I hope for a reply. I have a JSP with the following jsp:plugin code: jsp:plugin type=applet code=com.package.Applet.class codebase=/application1/applets/ width=50 height=50 /jsp:plugin Web applications, which run this applet, specify different

jsp:plugin and codebase

2004-02-25 Thread Evgeny Gesin
This is JSP rather than Tomcat question, but I hope for a reply. I have a JSP with the following jsp:plugin code: jsp:plugin type=applet code=com.package.Applet.class codebase=/application1/applets/ width=50 height=50 /jsp:plugin Web applications, which run this applet, specify different

Re: how to configure tomcat to user application

2004-02-25 Thread BAO RuiXian
xavier manohar wrote: Hello can any one help me to cofigure tomcat 4.1.29 to user application path ,during tomcat startup You can copy/modify the Context block for 'examples' to your 'user application' in Tomcat_Root/conf/server.conf file. Best Bao regards mano Yahoo!

RE: encodeURL / jsessionid

2004-02-25 Thread Mike Curwen
when you say 'app1' and 'app2', what do you mean? Sessions are not shared between two different web-apps. -Original Message- From: Jerald Powel [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 3:46 AM To: Tomcat Users List Subject: Re: encodeURL / jsessionid That

another servlet-mapping question,.............

2004-02-25 Thread Andres Ledesma
Hi everybody, I got several servlets mapped on the web.xml file that works pretty fine on my local tomcat installation, but when uploaded to the hosting server, I get a 400 Server Statuts Error, it complains the path to the server does not exist !!! My web.xml for the servlets is like this

RE: Tomcat 4.1.29 CoyoteAdapter Exception

2004-02-25 Thread Randall Svancara
Thanks, I have had a difficult time reproducing this error on a predictable basis. All I can say is that it happens once per day, and I have temporarily wrote a perl script that checks the service to see if it is working properly, and if not, it shuts down tomcat and restarts it...A bandaid

Re: jsp:plugin and codebase

2004-02-25 Thread BAO RuiXian
Evgeny Gesin wrote: [snip...] jsp:plugin type=applet code=com.package.Applet.class codebase=/application1/applets/ width=50 height=50 /jsp:plugin Web applications, which run this applet, specify different codebase attribute, such as application2, application3 and so on. Can you then put

moving from tomcat 4.1.24 to tomcat 5

2004-02-25 Thread shyam
Hi All, I am glad to be back on the tomcat users list. I have an application running on tomcat 4.1.24 and I want to migrate to tomcat 5. It would be grateful if you could tell me the necessary steps or where I could thenecessary documentation . thanks shyam

Re: jsp:plugin and codebase

2004-02-25 Thread Evgeny Gesin
This will not work because of applet's security restrictions. Waiting for more replies. Evgeny Gesin Javadesk --- BAO RuiXian [EMAIL PROTECTED] wrote: Evgeny Gesin wrote: [snip...] jsp:plugin type=applet code=com.package.Applet.class codebase=/application1/applets/ width=50

RE: Tomcat 4.1.29 CoyoteAdapter Exception

2004-02-25 Thread Randall Svancara
Ok, now I am thinking this error might be caused by Database Connection pooling. I increased Mysql's max connection limit from the default to 500. I hope this enough to satify my hungry application. Also I adjusted the apps xml configuration option maxActive to a value of 400 which is 100

Tomcat 4 + Apache 2 + mod_jk (auto-config) + https

2004-02-25 Thread Samuel Rutishauser
Hello all, I have Tomcat 4 + Apache 2 + mod_jk (in auto-config mode). Everything's fine, but I don't see how to tell Tomcat to build the generated mod_jk.conf as to listen to https traffic. Any ideas? Thank you Samuel Rutishauser

Re: another servlet-mapping question,.............

2004-02-25 Thread BAO RuiXian
Andres Ledesma wrote: Hi everybody, I got several servlets mapped on the web.xml file that works pretty fine on my local tomcat installation, but when uploaded to the hosting server, I get a 400 Server Statuts Error, it complains the path to the server does not exist !!! My web.xml for

RE: another servlet-mapping question,.............

2004-02-25 Thread Kannan Sundararajan
Does the tomcat runs for sample programs or admin on hosting server. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:22 AM To: Tomcat Users List Subject: Re: another servlet-mapping question,. Andres Ledesma wrote: Hi

Re: another servlet-mapping question,.............

2004-02-25 Thread Parsons Technical Services
Andrew, First what strikes me is that you say you are getting this error. Usually with mapping issues, you get a resource not found. Can you browse anything else on the hosting server? Try putting just a static page up and see if you can get to it. With mapping, a gotcha trick is the invoker.

Re: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Jerry Ford
Wendy: Here's your problem: location/WEB-INF/jsp/exceptions/ServletException.jsp/location JSPs can't be run from inside the WEB-INF directory. Try moving your jsp/exceptions directory up one level. Jerry Wendy Smoak wrote: From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Try

RE: Tomcat 4 + Apache 2 + mod_jk (auto-config) + https

2004-02-25 Thread Yiannis Mavroukakis
Don't think you need to. I am running httpd2(SSL)+tomcat4/5+mod_jk2. Apache will take care of the SSL side, and mod_jk should forward everything unencrypted via localhost(if that is your setup) to tomcat. -Original Message- From: Samuel Rutishauser [mailto:[EMAIL PROTECTED] Sent: 25

Re: jsp:plugin and codebase

2004-02-25 Thread BAO RuiXian
Evgeny Gesin wrote: This will not work because of applet's security restrictions. Waiting for more replies. Care to explain what are the exact applet's security restriction? Applets are supposed to be downloaded to the client machine to run. So that I think you put it in anywhere inside

unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP pro

2004-02-25 Thread Jesús Gutiérrez Ramírez
Hi, I have installed tomcat 4.1.30, java 1.4.2 and windows XP pro. When I try to run some JSP exmples I receive a page error. What can be wrong? TIA Jesus Gutierrez. This is the error page javax.servlet.ServletException:

ssl question

2004-02-25 Thread John MccLain
How do I setup tomcat to communicate with IIS using ssl/https??? Is there any documentation??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ssl question

2004-02-25 Thread Tim Funk
http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links via .. http://jakarta.apache.org/tomcat/faq/ -Tim John MccLain wrote: How do I setup tomcat to communicate with IIS using ssl/https??? Is there any documentation???

RE: ssl question

2004-02-25 Thread Kannan Sundararajan
1. Install Tomcat 2. Install IIS 3. install isapi_redirector.dll in IIS server 4. configure IIS as per documentation in website for isapi_redirector.dll 5. configure certificate in IIS Your application should work now with Tomcat - IIS with ssl setup.. -Original Message- From: John

jsp:include/ within a while loop [problems]

2004-02-25 Thread Daniel Wintschel
Hello, I have been having some problems debugging a set of three JSPs that use jsp:include page=/ tags within a while loop in Tomcat 4.1.29. Just so I don't send my actual code to the list, I will create an identical example using Persons.jsp, Person.jsp, and PhoneNumber.jsp to demonstrate my

RE: jsp:include/ within a while loop [problems]

2004-02-25 Thread Yansheng Lin
You are overflowing the default page buffer with the include statement. Try to set auto flush to be false(since the default with flush when buffer is close to its limit), or increase the page size to something like % @page buffer= 32k % Hope that helps. Btw, not tomcat related topic:).

New User Web.xml question

2004-02-25 Thread nrapagnani
Windows Server 2k, Tomcat 4.1. I'm relatively new at building web applications. I'm ok with the programming, I've never learned how to make a web.xml file. I've gotten by on the invoker running all of my jsp pages. It's now time to do things right. I have many books in front of me.

RE: New User Web.xml question

2004-02-25 Thread Shapira, Yoav
Howdy, You don't need to declare JSPs in your web.xml even though they really are servlets, because there's a special servlet that serves JSP pages. That servlet is declared and mapped in the master web.xml file located in the $CATALINA_HOME/conf directory. Start with a web.xml file that just

RE: Tomcat 5 deployer compile errors on %@ includes

2004-02-25 Thread Richard Mixon (qwest)
Tim, Thanks. I went to the JSP 2.0 spec and they recommend using .jspf. Here's what they say ( for any that might beinterested ): --- SNIP BEGIN --- ( What Is a JSP Page 1-7 JavaServer Pages 2.0 Specification) By default the extension .jsp means a top-level JSP file. We recommend, but do not

RE: New User Web.xml question

2004-02-25 Thread Filip Hanik \(lists\)
JSP do not need any entries in web.xml caused they are simply mapped by filename Servlets need an entry so that you can map the servlet class to a URL pattern Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 9:14 AM To: [EMAIL

servlet mapping problem

2004-02-25 Thread Jason Keltz
Hi. I am very troubled over a servlet mapping problem, and I am hoping that someone can make a suggestion. I have added a context in conf/Catalina/localhost/test.xml as follows: Context path=/mywebapps docBase=/cs/home/jas/webapps reloadable=true autoDeploy=true/Context In

Re: International character problem in submitting a jsp form

2004-02-25 Thread Metin Zavrak
Hi, I know it is a nightmare. We love Java, don't we? We love Tomcat, don't we? So what about internalization? Thanks, Bilge Erkan wrote: Hi, I'm using Tomcat 4.1.12. I have a trouble using Turkish characters in inputs on my forms. I don't have any problem displaying constant strings from

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
Howdy, I am very troubled over a servlet mapping problem, and I am hoping that someone can make a suggestion. I have added a context in conf/Catalina/localhost/test.xml as follows: Context path=/mywebapps docBase=/cs/home/jas/webapps reloadable=true autoDeploy=true/Context In

Re: servlet mapping problem

2004-02-25 Thread BAO RuiXian
Jason Keltz wrote: Hi. I am very troubled over a servlet mapping problem, and I am hoping that someone can make a suggestion. I have added a context in conf/Catalina/localhost/test.xml as follows: Context block should be in conf/server.xml file. Best Bao Context path=/mywebapps

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
Howdy, Context block should be in conf/server.xml file. It doesn't have to be, and with tomcat 5 that's actually discouraged. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or

Re: Tomcat 4 + Apache 2 + mod_jk (auto-config) + https

2004-02-25 Thread Samuel Rutishauser
You're right normally .. but I want to use the auto-generated conf/auto/mod_jk.conf , which includes everything necessary to a VirtualHost of apache ... without the SSL-Stuff! Yiannis Mavroukakis wrote: Don't think you need to. I am running httpd2(SSL)+tomcat4/5+mod_jk2. Apache will take care

RE: servlet mapping problem

2004-02-25 Thread Jason Keltz
Thanks, Yoav. Using localhost:8080/test works if the docBase in the context is defined to include test. However, as you suggested, I'm trying to create a directory with multiple webapps, and I want to have multiple directories like this. For example: /cs/home/jas/webapps1/app1

Using HTTPS with keystore and trust store files

2004-02-25 Thread Alex Chen
Hi, I am trying to set up Tomcat for HTTPS connection with keystore and truststore files. I want to use Tomcat as the web server so the port number is 80 and 443 for HTTP and HTTPS, respectively. I am running Tomcat on Windows XP. Here is the 'Connector' entry in

cachesize in worker.properties for mod_jk on tomcat404

2004-02-25 Thread Trenton D. Adams
I've set this to two. I would have thought that this would make me only have to do two HTTP requests to apache, after a tomcat restart, before getting a proper connection. Is this the case, or no? How does this property actually work? I get an internal server error on apache multiple times

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
Howdy, Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false If I want multiple appBase directories for this host, can I define multiple host lines, changing the appBase directive for each one? Each host has one

PKCS12 Keystore

2004-02-25 Thread paul . spinelli
Hi, I'm trying to setup a keystore of type pkcs12 using the java keytool. I enter this command 'keytool -genkey -keystore c:\tomcat -storetype PKCS12 -alias tomcat'. Well, everytime I try and enter in the subject information for the keys and finish the process, the keytool creates the

RE: Tomcat 4.1.29 CoyoteAdapter Exception

2004-02-25 Thread Randall Svancara
After further investigation, I am just going to chalk this one up as a stability issue with windows XP. The same version of tomcat running with same configuration on linux can sustain well over 1+++ hits using jmeter while the same configuration on windows barely handles 2000 hits before

RE: New User Web.xml question

2004-02-25 Thread nrapagnani
Thank you Flip and Yoav for your help. That cleared up a lot of confusion. I have used the empty web.xml listed below, restarted tomcat, and everything was fine. I then added some taglibs to the web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems,

RE: New User Web.xml question

2004-02-25 Thread Shapira, Yoav
Howdy, When I restart Tomcat, I get a 404 error. Any ideas? You don't get a 404 error when you restart tomcat. You get a 404 error when you try to access some resource that tomcat can't find. What resource, what is its mapping if any, and what errors are in your logs? Yoav Shapira This

RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, window s XP p ro

2004-02-25 Thread Januski, Ken
The first thing I notice is Ljava. Is that correct? -Original Message- From: Jesús Gutiérrez Ramírez [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 11:47 AM To: [EMAIL PROTECTED] Subject: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro Hi, I have

RE: jsp:include/ within a while loop [problems]

2004-02-25 Thread Daniel Wintschel
Thank you Yansheng. I have increased the page buffer to 32KB, and was still experiencing the same problem. In order to fix it, I had to add this as the last line in the JSP: %out.flush();% I don't know why that is, but this seems to have solved the problem. Apologies for this not being a

RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro

2004-02-25 Thread Daniel Wintschel
This is correct. I have seen this problem before, and it usually is a result of Java not being installed correctly, or having an old version of Java in your path. What you might want to try is opening a command prompt, and typing java -version to make sure that it is indeed 1.4.2 that is

RE: unable to run JSP examples, tomcat 4.1.30, java 1.4.2, windows XP p ro

2004-02-25 Thread Mike Curwen
The root cause: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/u til/Set; Means that the jVM cannot find the method in ServletContext that accepts a String parameter and returns a java.util.Set. This method is only since servlet 2.3, so

problem with server.xml

2004-02-25 Thread Dave Robbins
Hello All, I'm trying to setup the mod_jk connector between tomcat 5.0.16 and apache 1.3.x on a linux box. I've got the connector compiled and installed in apache and I can point a browser at www.mydomain.com/servlet/foo and I get an error message from tomcat, not apache, saying resource not

RE: New User Web.xml question

2004-02-25 Thread nrapagnani
Tomcat Log for web app, after I add taglibs to web.xml: 2004-02-25 13:41:02 WebappLoader[]: Deploying class repositories to work directory C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\www.company.com\_ 2004-02-25 13:41:02 WebappLoader[]: Deploy class files /WEB-INF/classes to

RE: New User Web.xml question

2004-02-25 Thread Shapira, Yoav
Hi, When you get an error processing your web.xml, the entire context becomes unavailable: all requests to it will result in 4xx or 5xx errors, depending on the request. As for the specific error: http://marc.theaimsgroup.com/?l=tomcat-userw=2r=1s=Exception+processi ng+tldq=b Yoav Shapira

web.xml and schema document.

2004-02-25 Thread Carl Howells
I'm pretty new to XML, and I can't seem to find any good resources on using schema in an XML document. Finding resources on writing schema is trivial. But no one seems to want to explain how to *use* them. Can someone give me an example of how to set up my web.xml file to use the 2.4 schema,

RE: web.xml and schema document.

2004-02-25 Thread Shapira, Yoav
Hi, Can someone give me an example of how to set up my web.xml file to use the 2.4 schema, rather than a DTD? I'd really appreciate this, as it seems from the specs that this would turn on EL globally, which would be valueable to me. ?xml version=1.0 encoding=ISO-8859-1? web-app

tomcat ability question

2004-02-25 Thread Jason Tesser
I have been working mainly with PHP and Python but we have some new goals and needs that have moved us towards Java. There is one more developer here who has been doing Access stuff mainly. We are looking to come together and in the next 2-5 years roll out all new applications. Some will be

RE: tomcat ability question

2004-02-25 Thread Shapira, Yoav
Howdy, We want to have our apps share some logic. We would like to have most of the processing to be done on the server end with the web and client apps acting mainly as just a front end. This will enable our apps to share the same classes in many cases. Question: What is the best way to do

Re: web.xml and schema document.

2004-02-25 Thread Carl Howells
I can't get my file with that intro to validate, because it lacks a DOCTYPE declaration... I'd like to be able to validate my web.xml file, if at all possible. What should the DOCTYPE be for this? Shapira, Yoav wrote: ?xml version=1.0 encoding=ISO-8859-1? web-app

RE: web.xml and schema document.

2004-02-25 Thread Shapira, Yoav
Howdy, I can't get my file with that intro to validate, because it lacks a DOCTYPE declaration... I'd like to be able to validate my web.xml file, if at all possible. What should the DOCTYPE be for this? Using what tool? It's very rare top declare a DOCTYPE for a Schema document, a DOCTYPE

A tangled knot: db, resources, Context, ant deploy, and Tomcat 5. 0.16-19

2004-02-25 Thread Justin Johnson
It starts with this error message: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver. I have Tomcat 5.0.19 installed on Windows XP Professional--a default install from the binary, changing only one thing, the port from 8080 to 80. I copy my extra jars

Re: International character problem in submitting a jsp form

2004-02-25 Thread Scott Farquhar
On Wed, Feb 25, 2004 at 07:32:04PM +0200, Metin Zavrak wrote: The output is as follows: utf-8 en_US null tr Ä?üÅ?ıöçÄ?Ã?Å?Ä°Ã?Ã? What operating System are you using? I believe that Windows doesn't have a UTF-8 aware system terminal. Try using linux instead for a UTF terminal. Else

Re: attributes of the element web-app?

2004-02-25 Thread George Hester
Hi no error at all. I believe it is in the correct order: web-app display-nameWelcome to My JSP-Files/display-name iconcl6D11.gif/icon description Welcome to My JSPs /description /web-app The dtd is: !ELEMENT web-app (icon?, display-name?, description?, distributable?,

RE: attributes of the element web-app?

2004-02-25 Thread Mike Curwen
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester Sent: Wednesday, February 25, 2004 4:07 PM To: [EMAIL PROTECTED] Subject: Re: attributes of the element web-app? Hi no error at all. I believe it is in the correct order: web-app

RE: encodeURL / jsessionid

2004-02-25 Thread Jerald Powel
Hi, app1 and app2 are two applications under a single instance of TC, with different contexts (defined in the server.xml). http://localhost:8080/app1 http://localhost:8080/app2 I wish to persist data when linking across the two. I was under the impression that by using encodeURL or

Re: attributes of the element web-app?

2004-02-25 Thread George Hester
Yeah man I don't keep my direction intact often. Yes it is not in the XML I want to show the icon but in the manager. Silly me. And by golly I still had the order incorrect. OK I changed the order correct this time: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread David Erickson
I hope they hurry up and do it... it's not that big of a change and it would make life much easier.. for that matter it really annoys me how when your extension mapping, say *.do for struts, the servlet strips what you extension mapped off when it sends it to the servlet. IE if you matched

Re: Tomcat 4.1.29 CoyoteAdapter Exception

2004-02-25 Thread Adam Hardy
I had an issue with tomcat 4.1.x (don't remember which - but it was Feb. last year) and sun java 1.4 Tomcat would just hang at random times and require a restart. I downgraded to java 1.3 to solve it. Try another Java - perhaps from IBM. Or check bugzilla. Adam On 02/25/2004 07:39 PM Randall

Re: attributes of the element web-app?

2004-02-25 Thread George Hester
No still didn't work. Oh well I have the icon in the root of the webapp maybe what I'm expecting is not what this really does. I just assumed the icon would display in the manager as display-name and description do. One other thing I have no war in this application. At least none that I

RE: Tomcat 4.1.29 CoyoteAdapter Exception

2004-02-25 Thread Randall Svancara
Adam, thanks for the response, I will try your suggestions. Thanks again, Randall -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 3:50 PM To: Tomcat Users List Subject: Re: Tomcat 4.1.29 CoyoteAdapter Exception I had an issue with

RE: attributes of the element web-app?

2004-02-25 Thread Mike Curwen
It might also be that Tomcat does not implement this part of the spec, as it is (after all) optional. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester Sent: Wednesday, February 25, 2004 4:54 PM To: [EMAIL PROTECTED] Subject: Re: attributes of the

RE: Tomcat error-page not working (was: RE: Tomcat and checked vs. unchecked exceptions)

2004-02-25 Thread Wendy Smoak
From: Jerry Ford [mailto:[EMAIL PROTECTED] Wendy: Here's your problem: location/WEB-INF/jsp/exceptions/ServletException.jsp/location JSPs can't be run from inside the WEB-INF directory. Try moving your jsp/exceptions directory up one level. All of my JSP's are under WEB-INF, and they work

RE: encodeURL / jsessionid

2004-02-25 Thread Mike Curwen
No, sessions are not 'server' wide, they are scoped only to a single user, of a single application. I was looking up in 'cross context' and 'single-sign-on' in the tomcat docs (config docs for Context and Host, respectively), but they don't appear to mention sharing a session. Only the ability

RE: A tangled knot: db, resources, Context, ant deploy, and Tomca t 5. 0.16-19 (further info)

2004-02-25 Thread Justin Johnson
I've got database access working in two more ways, though the original problem remains. 1) Adding a ResourceLink to /template via the admin app. 2) Adding a DefaultContext tag to conf/server.xml, with the ResourceLinks inside. (I tried 3) adding the ResourceLink to the / context, but it wasn't

Re: attributes of the element web-app?

2004-02-25 Thread George Hester
Yeah I kind of think so too. I believe for this to work a XSL stylesheet is necessary for the generated Manager html. You know: !ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*,

Re: attributes of the element web-app?

2004-02-25 Thread Jacob Kjome
At 07:15 PM 2/25/2004 -0500, you wrote: Yeah I kind of think so too. I believe for this to work a XSL stylesheet is necessary for the generated Manager html. You know: !ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*,

JK2 config problem

2004-02-25 Thread Kent Boogaart
Hello all, Here's my problem: I would like to have two Tomcat processes running on the one machine, each with a my web-app available via the default context (/). Furthermore, I would like each site to be available via IIS. I have tried for days to get this up and running but with no luck. I could

JK2 config problem [RESOLVED]

2004-02-25 Thread Kent Boogaart
Typical - as soon as I post I figure it out. All I had to do was alter the second IIS site so that the 'jakarta' virtual directory points to the same location as the first site (D:\tomcat41\bin\native\). With that modification, the existing workers2.properties file correctly forwards requests

Cluster error when starting up web application

2004-02-25 Thread Aadi Deshpande
Hi, I just got Tomcat 5.0.19 and after setting up the new delta based cluster manager, i get this during the startup my application : SEVERE: Session event listener threw exception java.lang.IllegalStateException: setAttribute: Session already invalidated at

Re: Cluster error when starting up web application

2004-02-25 Thread Aadi Deshpande
Upon further research, it seems that DeltaSession.setId() fires the sessionCreated events to registered listeners, but this happens before a session is declared valid ( i.e. setValid(true) has not been called ). so when a registered listener tries to utilize ( what it seems to believe is ) a

  1   2   >