Re: OFF TOPIC: Merging data into a PDF form

2004-11-24 Thread Richard
Sorry.What I meant was Its suppose to be comptible with Struts They say its working okay with cocoon. On Wed, 24 Nov 2004 16:59:49 +0800, Richard [EMAIL PROTECTED] wrote: Hi David, Im not sure if this is a good option. A framework I have used before can serialized all html

Problem when accessing the index file in my web Application

2004-11-24 Thread inr
Hi all, When I attempt to acess the initial file from my own Web Application in Tomcat 5.5 it works but generates following Error in stdout.log. Anyone Please Tell me what will be the Cause for Error The Generated Log Message in $Catalina_Home/logs/stdout.log is as

RE: Problem when accessing the index file in my web Application

2004-11-24 Thread Allistair Crossley
this was a bug as far as I can remember with ROOT as the web application name. Fix: don't use 5.5.0, use 5.5.4 which is stable. Allistair -Original Message- From: inr [mailto:[EMAIL PROTECTED] Sent: 21 February 2002 21:31 To: Tomcat Users List Subject: Problem when accessing the

Re: OFF TOPIC: Merging data into a PDF form

2004-11-24 Thread Richard
Hi David, Im not sure if this is a good option. A framework I have used before can serialized all html data into pdf files. They say its working okay with cocoon. Its up to you if you want to check it out. Apache Cocoon. http://cocoon.apache.org/2.0/ Richard On Tue, 23 Nov 2004 08:29:44

Call Oracle stored procedure via DBCP?

2004-11-24 Thread Sergey Karpov
Hello! Is Tomcat + DPCP + JNDI and Oracle + stored procedure... When from the application on Tomcat the call of stored procedure is carried out through direct connection with Oracle - all normally... And results in ResultSet come back... However when direct connection is replaced with the

RE: Call Oracle stored procedure via DBCP?

2004-11-24 Thread
Hi! What is the mistake? Stacktrace preferred. Dmitriy -Original Message- From: Sergey Karpov [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: Call Oracle stored procedure via DBCP? Importance: High Hello! Is Tomcat + DPCP + JNDI

Re: HTTP Compression

2004-11-24 Thread Ronald Klop
I think two things are mixed here. Compression and port value are different things. BTW: we use compression=on. I like using defaults as long as they work. Ronald. On Tue Nov 23 17:49:20 CET 2004 deepak shripat mane [EMAIL PROTECTED] wrote: For client purpose u have to specify port value so must

Tomcat 5.5.4 and Log4j

2004-11-24 Thread Wouter De Vaal
Hi, I'm having difficulties to configure log4j with tomcat logging per context. Here's what I have done: 1. I've added log4j.jar to the bin dir 2. I've created a log4j.xml in common/classes and added the log4j.dtd This seems to work, because when I add a debug logger for org.apache, I get a lot

[OT] Tomcat hosting: your opinion about potentiel businessplan

2004-11-24 Thread Thomas Nybro Bolding
I know this is (way) off topic and excuse if I hereby breach any code of conduct for this list - if so please do NOT consider this a flamebait but please just tell me or simply ignore the posting. In the past I have lbeen looking for Tomcat (MySQL, PHP, Python,...) hosting possibilities on the

New session created from same client/different host

2004-11-24 Thread Mark O'Driscoll
If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each alias. Is there any way to stop these new sessions being created? TIA Mark

RE: New session created from same client/different host

2004-11-24 Thread Peter Crowther
From: Mark O'Driscoll [mailto:[EMAIL PROTECTED] If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each alias. Is there any way to stop

Re: SSL and form-based login

2004-11-24 Thread Charles Daniel
From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: SSL and form-based login Date: Wed, 24 Nov 2004 01:11:11 -0600 On Tue, Nov 23, 2004 at 01:20:16PM -0800, footh wrote: However, if the original page is http and the login form is

Re: Data sorting problem Tomcat-Oracle

2004-11-24 Thread Harald Henkel
Tim Funk wrote: Tomcat knows nothing about NLS_SORT. Odds are NLS_SORT is probably not set when running on XP. ??? Oracle usually sets values in the registry, and by default only NLS_LANG, from which the other values are derived. If you want to change the defaults, you could either define

Servlet class not found

2004-11-24 Thread Richard Lewis
Hello, This is probably quite a simple question but I couldn't find an answer in the archives: I'm writing a servlet to perform a little search on my website. The servlet is compiled and is in a directory structure like this: $CATALINA_HOME/webapps/StudioSearch +-- index.html (provides a

Re: JavaScript/JSP Question

2004-11-24 Thread Andoni
Hi, Yes, there is a way. It is not related to Tomcat in any way but... what you need to use is string.indexOf(string2) So, take the value of the current item in the combo box and see if it contains the string you are searching for using the indexOf() method. This is a JavaScript issue though so

RE: Servlet class not found

2004-11-24 Thread Allistair Crossley
can we see the form action value? it should be action=/studio-search Allistair -Original Message- From: Richard Lewis [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 11:21 To: [EMAIL PROTECTED] Subject: Servlet class not found Hello, This is probably quite a simple

org.apache.commons.digester.Digester error

2004-11-24 Thread akki
hi list i am getting follwoing log enteries whenever i start tomcat i dont know what is wrong Nov 24, 2004 4:50:45 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 36 column 11: The content of element type web-app must match

msgAjp.receive(): Bad signature 00 !!!!!!urgent

2004-11-24 Thread akki
hi list i m getting this error after every five to ten minutes in my apache log file.. i dont know where it is indication [Wed Nov 24 16:50:25 2004] [error] msgAjp.receive(): Bad signature 00 [Wed Nov 24 16:50:25 2004] [error] channelSocket.receive(): Bad header [Wed Nov 24 16:50:25 2004]

slow read from input stream.

2004-11-24 Thread Alexander Zubenko
In tomcat 5.0.28 I do following: HttpServletRequest request; InputStream in = request.getInputStream(); in.read(); first call to read always takes aprox. 90 ms. I have discovered that first call to in.read() calls public int realReadBytes(byte cbuf[], int off, int len) method in

RE: Servlet class not found

2004-11-24 Thread Joseph Samuel
It seems that the package is not properly declared in it. Check it. -Original Message- From: Richard Lewis [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 4:51 PM To: [EMAIL PROTECTED] Subject: Servlet class not found Hello, This is probably quite a simple question but I

Re: Servlet class not found

2004-11-24 Thread Quinton Delpeche
On Wednesday 24 November 2004 13:21, Richard Lewis wrote: Hello, Hi, This is probably quite a simple question but I couldn't find an answer in the archives: Did you compile the class file and declare its package? package za.co.vippayroll.intsys.training.database; This line should appear

RE: org.apache.commons.digester.Digester error

2004-11-24 Thread Peter Crowther
From: akki [mailto:[EMAIL PROTECTED] Nov 24, 2004 4:50:45 PM org.apache.commons.digester.Digester error SEVERE: Parse Error at line 36 column 11: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-para m*,filter*,fil

Re: org.apache.commons.digester.Digester error

2004-11-24 Thread Quinton Delpeche
On Wednesday 24 November 2004 13:29, akki wrote: The content of element type web-app must match This is where your error is. You xml file doesn't have a closing /web-app or one of the other tagsets doesn't have a closing equivalent. Check you xml file for the problem... ...or insert into an

Re: Protecting my web server

2004-11-24 Thread Andoni
Also trim down your server.xml (over a number of days if necessary) to only what is necessary. If you only have to expose one webapp then only have one connector in that service, and one engine which has the only host inside it as the default and that has the only context inside it as your

[OT] SCWCD Exam 1.4

2004-11-24 Thread Andoni
Hello, I know this is off topic but I was just wondering if anybody had done either the new 1.4 version of the SCWCD Exam (Sun Certified Web Component Developer) or the upgrade exam from 1.2. If you have can you recommend any book or reference page. It seems to be a bit new at the moment and

Problems using ant to deploy to Tomcat

2004-11-24 Thread Cumbers
Hey guys I am using an ant build file to deploy to tomcat, and I have come across a strange problem. Within my build file I have the value: property name=dev.context value=/rms-dev/ which I use to give to the following targets: !-- deploy to the development instance of RMS -- target

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Allistair Crossley
Yeah, there's a new book out in January 2005. Search Amazon for SCWCD. Allistair -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 10:35 To: Tomcat Users List Subject: [OT] SCWCD Exam 1.4 Hello, I know this is off topic but I was just

RE: Servlet class not found

2004-11-24 Thread Richard Lewis
On Wed, 24 Nov 2004 17:05:23 +0530, Joseph Samuel [EMAIL PROTECTED] said: It seems that the package is not properly declared in it. Check it. Oh, yes. Of course, its now in a proper directory structure. Thanks very much, Richard -- Richard Lewis [EMAIL PROTECTED]

RE: Printing to log files..

2004-11-24 Thread Ben Souther
i have certain process that are started by tomcat..And the only way for me to know that the process is going on is to put system.out.print(),but then this also prints on my log files, is there any way other than this to print only on screen and not to the log files ..? There are several

RE: jstl.jar and standard.jar causes Digester, taglib error on st artup

2004-11-24 Thread Morten Andersen
I do not reference the jstl taglib's anywhere... The problems seems to be caused alone by the fact that jstl.jar and standard.jar is in the WEB-INF/lib directory. This is very strange... At 19:27 23-11-2004, you wrote: You may want to check you web.xml to make sure the taglib definition is

Re: Data sorting problem Tomcat-Oracle

2004-11-24 Thread Tim Funk
Ahhh. The archives have a lot of references about System environment variables not being set when run as a service. If you are using the type 4 driver - I don't think it looks for Environment variables or the registry since the driver is pure java. Oracle's support would probably be more

Re: Printing to log files..

2004-11-24 Thread Tim Funk
Look at log4j. Then your log4j config can log those entries anywhere you want. -Tim Satish Plakote wrote: Hello Deepak, i have certain process that are started by tomcat..And the only way for me to know that the process is going on is to put system.out.print(),but then this also prints on my log

Re: Installing a war from inside a jar

2004-11-24 Thread Ben Souther
Make sure you're getting the syntax of the war file correct: http://java.sun.com/j2se/1.4.2/docs/api/java/net/JarURLConnection.html URL url = new URL(jar:file:/home/duke/myApp.war!/); Note: the jar: at the beginning. Still not sure how this will work from within a jar though. -Ben On Tue,

Re: Protecting my web server

2004-11-24 Thread Tim Funk
If a limited number of people need to see your machine and your know their ip addresses or domain names, you can use the RemoteAddresssValve. -Tim Richard wrote: Hello Guys, Please advise. For demo purposes I need to expose my machine to the web. I got a public IP and have hosted my dev

[OT] Re: JavaScript/JSP Question

2004-11-24 Thread Ben Souther
This question is not tomcat specific so I'm marking [OT]. I believe Javascript has the same startsWith/endsWith string functionality that Java has. You should be able to simulate that pretty easily. On Tue, 2004-11-23 at 23:33, Jack Lauman wrote: I'm using the following JavaScript to

Re: Error in start.log...

2004-11-24 Thread Tim Funk
Your user id doens't have write permission to /var/run -Tim Quinton Delpeche wrote: Hello, I get this error in my start.log file /usr/share/tomcat5/bin/catalina.sh: line 281: /var/run/tomcat5.pid: Permission denied Now I know what this means, but I want to know if anybody else gets this error

Re: New session created from same client/different host

2004-11-24 Thread Tim Funk
Not really. -Tim Mark O'Driscoll wrote: If my client (IE6) connects to a single tomcat(5.0.28 Windows2k) using different hostnames (e.g. http://localhost:8080/myapp/test.jsp AND http://127.0.0.1:8080/myapp/test.jsp ) a new session is created for each alias. Is there any way to stop these new

Re: How to disable directory listing

2004-11-24 Thread Tim Funk
FAQ! http://jakarta.apache.org/tomcat/faq/misc.html#listing -Tim Lee Chin Khiong wrote: How to disable directory listing under Tomcat 5 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: servlet instance problem

2004-11-24 Thread Ben Souther
On Wed, 2004-11-24 at 01:25, Satish Plakote wrote: Hi I am have a web application that does a lot of processing. I have a load on startup servlet that will get init information for me. when 2 users submit the form.. i noticed that one instance of the servlet is running and the other request

Re: Does Tomcat Rollback transactions automatically.

2004-11-24 Thread Ronald Klop
Do not mix webserver and database logic. Tomcat does only webserving. Ronald. On Tue Nov 23 22:35:06 CET 2004 Shilpa Nalgonda [EMAIL PROTECTED] wrote: Hi , I am using Tomcat 4.1.30, and using datasource to get the Connection from Pool. When there is an exception in the database operations, the

Too many open files error...

2004-11-24 Thread Quinton Delpeche
Hi, I get this error in my catalina.out logs every 30 or so minutes and then I am forced to restart Tomcat. Does this mean that I don't have enough sockets for my connector or what? CATALINA_OUT SEVERE: Endpoint [SSL: ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8443]] ignored

RE: Too many open files error...

2004-11-24 Thread Peter Crowther
From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Does this mean that I don't have enough sockets for my connector or what? ignored exception: java.net.SocketException: Too many open files Quinton, what OS are you on? If on UNIX, this could mean that you have run out of file descriptors

Re: Too many open files error...

2004-11-24 Thread Quinton Delpeche
On Wednesday 24 November 2004 15:33, Peter Crowther wrote: Hi Peter, Quinton, what OS are you on? If on UNIX, this could mean that you have run out of file descriptors for the process - at least, I last saw this error when running a popular telnet-based multi-user game when we fell off the

RE: Another Admin problem...

2004-11-24 Thread Shapira, Yoav
Hi, The contexts might be saved in conf/[engine name]/[host name]/app.xml files. They need not be in server.xml. This is different in Tomcat 5 from Tomcat 4. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: servlet instance problem

2004-11-24 Thread Shapira, Yoav
Hi, I am have a web application that does a lot of processing. I have a load on startup servlet that will get init information for me. when 2 users submit the form.. i noticed that one instance of the servlet is running and the other request waits for some time for processor and just dies off..

RE: Scheduling and queue management under Coyote

2004-11-24 Thread Shapira, Yoav
Hi, Under our current system, each template is given its own queue and incoming requests are handed off to the appropriate queue, from which dedicated threads pull off the request and execute the transaction. Note that the Servlet Specification mandates that an entire request be processed by

RE: Problems using ant to deploy to Tomcat

2004-11-24 Thread Shapira, Yoav
Hi, as far as I can see this should deploy to the context /rms-dev. However upon trying to redeploy I get this message: rms/build_local.xml [103] FAIL - Encountered exception java.io.IOException: java.lang.IllegalStateException: Context path / is already in use Before doing a new deployment,

RE: Unnable to redeploy an axis web app

2004-11-24 Thread Shapira, Yoav
Hi, Please make sure to let the Axis guys know this: your experience in troubleshooting this issue is valuable. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 5:47 PM To: Tomcat Users List Subject: Re:

RE: SuSE 9.2 and Tomcat...

2004-11-24 Thread Shapira, Yoav
Hi, Thank you for sharing. It IS useful information. Now if newbies would only search the archives before posting the same questions, we'd be all set! ;) Yoav Shapira http://www.yoavshapira.com -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
Citing Thank you for sharing. It IS useful information. Now if newbies would only search the archives before posting the same questions, we'd be all set! ;) Mmm, of course it would be great, but mailing lists are not in reality the place people look for documentation for world-class software

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Shapira, Yoav
Hi, But you know, I submitted a logging page doc patch over a week ago and it's still not there, and since then there have been many posts asking about this problem. I don't find that encouraging. As I responded, your patch has been committed, and it will be available in the next release. If

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
Hey :) But you know, I submitted a logging page doc patch over a week ago and it's still not there, and since then there have been many posts asking about this problem. I don't find that encouraging. As I responded, your patch has been committed, and it will be available in the next

RE: slow read from input stream.

2004-11-24 Thread Alexander Zubenko
The problem was on client-side. Client request was sent with pauses. Sorry for inconvenience. -Original Message- From: Alexander Zubenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 2:35 PM To: Tomcat Users List Subject: slow read from input stream. In tomcat 5.0.28 I do

RE: How to disable directory listing

2004-11-24 Thread Phillip Qin
Do it in your app's web.xml -Original Message- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED] Sent: November 24, 2004 1:29 AM To: 'Tomcat Users List' Subject: RE: How to disable directory listing Is there any better way to configure Tomcat 5 to no Directory listing just like IIS ?

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Ben Souther
Let's get a page detailing a step by step how to write and contribute documentation and then let's get Tomcat's docs up to scratch by really considering the areas that come up time and again in the lists and making the Tomcat documentation deserving of its functional reputation. There's the

Re: Tomcat Documentation Thoughts

2004-11-24 Thread Wouter De Vaal
On Wed, 24 Nov 2004 09:44:00 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, But you know, I submitted a logging page doc patch over a week ago and it's still not there, and since then there have been many posts asking about this problem. I don't find that encouraging. Is this about

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
Hi, Well you are one of those asking about logging. Don't get overly exited about the logging detail I have added to the logging page. The kind of logging you are attempting to do I believe you are confused about (i may be wrong). You are setting up logging from *within* Tomcat. This will tell

RE: Tomcat Documentation Thoughts

2004-11-24 Thread Allistair Crossley
That's useful thanks Ben :) Allistair. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 14:55 To: Tomcat Users List Subject: RE: Tomcat Documentation Thoughts Let's get a page detailing a step by step how to write and contribute

Re: [OT] SCWCD Exam 1.4

2004-11-24 Thread Andoni
Hi, Thanks for that I found one which was printed in September. Here's it's ISBN: 0596005407 If you know of a reason I shouldn't buy this one and January's is better let me know. I'm always open to recommendations. Andoni. - Original Message - From: Allistair Crossley [EMAIL PROTECTED]

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Allistair Crossley
The one you found Head First Servlets and JSP appears to me not to be a dedicated exam guide. I think the only reason it is mentioning you can even take the exam if you want! is to sell copies. I could be wrong but I think you'd be better waiting for a dedicated 1.4 exam guide. Allistair

Jsessionid Problem

2004-11-24 Thread Arnab Chakravarty
Hi all, We are running 2 tomcat instances, running 2 different applications. We are making a switchover from tomcat 1 to tomcat 2 and in this process loosing the session information on tomcat 1 this is resulting in error (error page) in the application. I had disabled cookies and then again

Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Michael McQuade
Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display a User Login screen, ID and Password on an HTML form, user enters data, the submit button executes the program to verify the Users

enabling jsp-debugging on tomcat

2004-11-24 Thread Timo . Roessner
hi, what i want to do is: i want to enable jsp-debugging in eclipse using lomboz on a tomcat 5.5.4 server, so i followed the steps on the objectlearn-website to achieve this. i changed the context path so every generated servlet goes into the /j2src folder and i can set breakpoints, which is

Re: Data sorting problem Tomcat-Oracle

2004-11-24 Thread Harald Henkel
Hello Tim. Thanks, I got at last a working solution. Tim Funk wrote: Ahhh. The archives have a lot of references about System environment variables not being set when run as a service. I guess it doesn't have too much to do with that. I now tested running it standalone. If you are using

RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Wick, Daniel
Mike, What is your question? We are happy to help, but need some detail. --Dan -Original Message- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:31 AM To: Tomcat Users List Subject: Tomcat and Servlets - DESPERATE for help Hi folks, I

AW: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Timo . Roessner
hi, i am not quite sure (my serlvet-experience is some years ago) but i think you just have to flush the buffer, so i think you should call out.flush() ,if your Printwriter is called out, at the end of every servlet. hope this helpfull, timo -Ursprüngliche Nachricht- Von: Michael

RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Shiva.Devaguptapu
I can be helpful, if u can send me the files related to whatever u r saying. -Original Message- From: Michael McQuade [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:01 PM To: Tomcat Users List Subject: Tomcat and Servlets - DESPERATE for help Hi folks, I pray someone

java.lang.NoClassDefFoundError

2004-11-24 Thread Mohamed Ganna
Hi there, I'm newbie to Tomcat. I'm using Tomcat 4.1.31 under Linux RedHat9.0, and I set up all the necessary CLASSPATH and sample servlets are running great. I built up a Servlet for user's authentication using freeradius 0.9.2 and a Java based radius client (jradius-client). The servlet works

Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Dave Robbins
kinda sounds like your sending malformed html to the browser do the view source thing in the browser and see what you're sending it Hi folks, I pray someone can tell me something here. Im writing an application in Servlets using Tomcat Heres my scenario. I display a User Login

[OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Ben Souther
Hi, This is not a Tomcat specific question so I am marking the subject [OT]. You may find more enthusiastic help in a JSP/Servlet list (a Google search will yield plenty of them). Have you considered using response.sendRedirect() to send the user to another page after a successful login? -Ben

Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Michael McQuade
lol, I put my question in my Request Dan,did u not see it - Original Message - From: Wick, Daniel [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 10:55 AM Subject: RE: Tomcat and Servlets - DESPERATE for help Mike, What is

enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Timo . Roessner
hi, what i want to do is: i want to enable jsp-debugging in eclipse using lomboz on a tomcat 5.5.4 server, so i followed the steps on the objectlearn-website to achieve this. i changed the context path so every generated servlet goes into the /j2src folder and i can set breakpoints, which is

Re: Tomcat 5.5.4 and Log4j

2004-11-24 Thread Jacob Kjome
Look in the archives for another email from me. The fact is that the logger naming scheme used by Tomcat for its host and context logs is simply incompatible with the DOMConfigurator. This is because the XML files it processes use the log4j.dtd which define the logger name attribute as an ID.

[OT] RE: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Allistair Crossley
This sounds like the code building the initial page is also being sent down the reponse for some reason. Some code would be useful from the servlet. This kind of thing normally requires using a RequestDispatcher or like ben says, sendRedirect. Allistair -Original Message- From:

RE: java.lang.NoClassDefFoundError

2004-11-24 Thread Shapira, Yoav
Hi, The CLASSPATH environment variable is meaningless to Tomcat: it's ignored. You need to put the class (the compiled .class file) in WEB-INF/classes, or a jar containing the class in WEB-INF/lib. If you just put the class in WEB-INF/classes, make sure to do so in the appropriate subdirectory,

Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread sven morales
May I suggest the usage of Apache Axis tcpmon tool. This is an applet based tool. Get hold of axis.jar and put this on your classpath. Then launch it like so in the same server as where Tomcat is running: java -cp axis.jar org.apache.axis.utils.tcpmon 8081 localhost 8080 This tool basically

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Michael McQuade
Ben, I think it is a Tomcat specific subject, Im just not sure what to do about it, Im thinking theres a variable in Tomcat maybe needs to be set, or session refreshed, or something.. - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

RE: 5.5.4 SEVERE: Error unregistering mbean in stdout every 5-10 mins.

2004-11-24 Thread Shapira, Yoav
Hi, Well, it was noted briefly and then forgotten in my flurry of fixing things for 5.0.30. Please open a Bugzilla item so that neither I nor any other committers forget this again. Thanks, Yoav Shapira http://www.yoavshapira.com -Original Message- From: Allistair Crossley

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Ben Souther
On Wed, 2004-11-24 at 11:26, Michael McQuade wrote: Ben, I think it is a Tomcat specific subject, Im just not sure what to do about it, Im thinking theres a variable in Tomcat maybe needs to be set, or session refreshed, or something.. If you want to paste the relevant part of your

RE: OutOfMemory exceptions

2004-11-24 Thread Ryan Daly
I read in another thread about setting up one Tomcat instance per host. Is that something you'd recommend doing? At least then a redeploy wouldn't affect other webapps running on that same host... Maybe this should be another thread if it gets much attention. --

RE: 5.5.4 SEVERE: Error unregistering mbean in stdout every 5-10 mins.

2004-11-24 Thread Allistair Crossley
Hi, Bill already fixed it I think .. Thanks for the report. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=81697 Allistair Crossley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yoav, Has this one been noted by your good self for invesigation or propogation to the

Re: java.lang.NoClassDefFoundError

2004-11-24 Thread Mohamed Ganna
Hi Yoav, Thank's for your advice. I put the .jar in a WEB-INF/lib that I created and it's working. Thank's for your help NzM Shapira, Yoav wrote: Hi, The CLASSPATH environment variable is meaningless to Tomcat: it's ignored. You need to put the class (the compiled .class file) in

enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Timo . Roessner
hi, what i want to do is: i want to enable jsp-debugging in eclipse using lomboz on a tomcat 5.5.4 server, so i followed the steps on the objectlearn-website to achieve this. i changed the context path so every generated servlet goes into the /j2src folder and i can set breakpoints, which is

RE: enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Allistair Crossley
if you post this one more time i will scream at you. if you do not get an answer, nobody knows the answer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 17:01 To: [EMAIL PROTECTED] Subject: enabling jsp-debugging using lomboz, eclipse

AW: enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Timo . Roessner
yeah, sorry, i didnt do it deliberately, the problem was that when i send the first, and after an hour the second email, they didnt appear in my mailclient (and on the mailinglist?) after two hours, so i thought they got lost , so i send it the third time, and then all of the three appeared at the

RE: enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4

2004-11-24 Thread Allistair Crossley
kein Problem, alles gut. ;) Allistair -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 17:14 To: [EMAIL PROTECTED] Subject: AW: enabling jsp-debugging using lomboz, eclipse and tomcat 5.5.4 yeah, sorry, i didnt do it deliberately,

Re: [OT] SCWCD Exam 1.4

2004-11-24 Thread Andoni
Hi, That's strange: the Australians seem to think it's an SCWCD book here: http://www.elx.com.au/item/0596005407 and yet the rest of the planet seems to think it's just your average Servlet's and JSP book:

RE: Tomcat 5 and Mail...

2004-11-24 Thread Shapira, Yoav
Hi, What Tomcat 5 version? Apache Tomcat/5.0 Let's try again: which specific Tomcat 5 version, e.g. 5.0.28? ;) The reason I ask is that I broke the MailSession factory in 5.0.25, so if you're using that build AND a JNDI MailSession factory, that would explain your problem. Yoav This

RE: Tomcat 5 and Mail...

2004-11-24 Thread Shapira, Yoav
Hi, Well, let's try an even simpler scenario: test it without a SecurityManager. What Tomcat 5 version? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 23, 2004 7:14 AM To: [EMAIL PROTECTED] Subject:

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Allistair Crossley
lol, interesting, different name for down under. Maybe it is good nuff then! Allistair -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: 24 November 2004 17:19 To: Tomcat Users List Subject: Re: [OT] SCWCD Exam 1.4 Hi, That's strange: the Australians seem to

Re: [OT] Re: Tomcat and Servlets - DESPERATE for help

2004-11-24 Thread Dennis Payne
If you are using a single servlet to determine the course of action and those actions are not mutually exclusive (like using a switch or if...else if structure) then something like this could definitely happen. Check your code... I am sure it is allowing two things to happen at once because it

Re: [OT] SCWCD Exam 1.4

2004-11-24 Thread Andoni
Hi, even check out the two covers: http://www.elx.com.au/images/products/full/0596005407.jpg and http://images-eu.amazon.com/images/P/0596005407.02.LZZZ.jpg I think it may be the other way around. They may be trying to get people who are not necessarily doing the exam to buy a copy of their

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Mike Curwen
-Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 2004 9:25 AM To: Tomcat Users List Subject: RE: [OT] SCWCD Exam 1.4 The one you found Head First Servlets and JSP appears to me not to be a dedicated exam guide. I think the

RE: [OT] SCWCD Exam 1.4

2004-11-24 Thread Mike Curwen
I'd be completely remiss in not mentioning that Manning is putting out a second edition of it's SCWCD study guide. The second edition has been updated for the new exam. Manning's ISBN is 1932394389 (that's the one scheduled for January) HeadFirst is 0596005407 (the one out now) both of them

Slashdot article - Cross-Platform Java Sandbox Exploit

2004-11-24 Thread sven morales
Is Tomcat affected by such? or is this a just a FUD? the link to the article is: http://slashdot.org/article.pl?sid=04/11/24/1323228from=rss Sorry, I do not want to create FUD myself. I just dont understand what a sandbox is. __ Do you Yahoo!?

RE: Slashdot article - Cross-Platform Java Sandbox Exploit

2004-11-24 Thread Shapira, Yoav
Hi, The thread is client-side, has nothing to do with Tomcat. Whether it's FUD or not is gray area, as are most such things, but please mark further discussion with [OFF-TOPIC] in the subject, if you choose to continue discussion on this list at all. Thanks, Yoav Shapira

Class Loader Crazy!!!

2004-11-24 Thread Regis Santos
Hello everbody, I've read in Tomcat 5 Docs that when a web application needs a class or a resource, the Class Loader looks in the following repositories, in this order: - Bootstrap classes of your JVM - System class loader classses (described above) - /WEB-INF/classes of your web application

locale-encoding-mapping not working?

2004-11-24 Thread Ralf Hauser
Hi all, I am trying to use locale-encoding-mapping in my web.xml to set the encoding of the HTTP-HEADER my tomcat 5.0.28 serves to utf-8. One option is certainly to set that in each jsp individually, but from reading e.g. slide 8 of

Re: Class Loader Crazy!!!

2004-11-24 Thread Tim Funk
jasper-compile.jar is not meant to be copied. jasper-runtime.jar is for use when you precompile your jsp's so they may be used in any container (including a newer tomcat version) If you precompile your jsp's against tomcat 4 - they will run fine in tomcat 5 if you copy jasper-runtime.jar into

Re: SSL and form-based login

2004-11-24 Thread footh
Great. Thank you both for your help. I will do a bunch of research on Apache and try to get my site similarly configured. It definitely seems a lot easier than the options I was considering. Regards, JF --- Charles Daniel [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Reply-To:

  1   2   >