Re: [OT] RE: insight into model.do

2007-02-14 Thread David Smith
Looking at the source code for the class my.package.action.ModelAction will get you to the entry point for handling the request. Depending on the size of the app and how well versed your predecessor was, this could be the whole back-end or it could call other classes to handle the database

Inicialization of an UnsignedByte variable

2007-02-14 Thread Alicia Sánchez-Mora
Hi, I want to assign a value to a variable of type UnsignedByte. In the function it looks like this: public String function (){ final UnsignedByte ptr =new UnsignedByte() ; final Base64 blob = new Base64 (ptr, 10, id,type,options*); ... } I want the ptr variable to have a value other

ImageMagick, tomcat problems.

2007-02-14 Thread aaron smith
I'm not a java developer, but one of our websites has a java backend. We just got a new version that has some major updates. It requires ImageMagick. I have installed ImageMagick and verifies it works with : convert logo: logo.gif, identify logo.gif, imdisplay logo.gif. I've also moved

RE: [OT] Apache mod_jk memory leak?

2007-02-14 Thread Per Johnsson
Hi! I wonder if this is the same problem we have, but we are using IIS6 and isapi_redirect.dll and if I'm not totally wrong the same codebase is used for apache and iis. We have come to the conclusion that there is a error in the free memory causing a crash when the pool workers of the iis is

request.getRemoteUser() returning null

2007-02-14 Thread Uwe_77
Hello, I configured IIS 6.0 (Windows 2003) to redirect jsp's to Tomcat (5.5.20) via JK2 ajp13 (isapi_redirector2.dll). Anonymous login in IIS ist turned off, Windows Authentication is turned on. Now I need to get the username. When I us request.getRemoteUser(), that is only returning null. In

RE: Apache mod_jk memory leak?

2007-02-14 Thread RChartier
Hi! I don't know IIS but maybe the patch could help. This is not an official patch. WindowsServer2003-KB931311 can be retrieved by calling microsoft support. But I can also send you the patch if you can't get it. Romain Per Johnsson wrote: Hi! I wonder if this is the same problem we

RE: Apache mod_jk memory leak?

2007-02-14 Thread Per Johnsson
Please do! It will be much appriciated... /per jonsson -Original Message- From: RChartier [mailto:[EMAIL PROTECTED] Sent: den 14 februari 2007 13:10 To: users@tomcat.apache.org Subject: RE: Apache mod_jk memory leak? Hi! I don't know IIS but maybe the patch could help. This is

Re: Inicialization of an UnsignedByte variable

2007-02-14 Thread David Delbecq
Well, your question should probably go to appropriate mailing list. I don't know what libraries your found your UnsignedByte Object in, but it's that l'ibrary's mailing list which is appropriate for your question. Not knowing anything about your library, i'll dare to guess that abc is not in the

Rough hint about server sizing Apache/Tomcat

2007-02-14 Thread Sascha Wehnert
Hi folks, guess this is a more Apache related question but perhaps someone can give me some hints here: I am in the situation to provide a proposal for a Apache/Tomcat setup where Apache might have to serve 4000 clients. I am a bit unsure about the hardware I need for this. Is a dual

Embedded tomcat

2007-02-14 Thread asaf.lahav
Hi all, I need your suggestion about working with embedded tomcat. On a test I'm performing, I am running the embedded tomcat and installed one webapp on it. I need to share objects between the webapp running on the embedded tomcat and the host VM via a set of classes which are defined

RE: Rough hint about server sizing Apache/Tomcat

2007-02-14 Thread Peter Crowther
From: Sascha Wehnert [mailto:[EMAIL PROTECTED] I am in the situation to provide a proposal for a Apache/Tomcat setup where Apache might have to serve 4000 clients. 4000 total or 4000 simulatneous? What activity profiles - pages per second and so on? How heavyweight are the pages? And so

Re: request.getRemoteUser() returning null

2007-02-14 Thread David Smith
You'll need to add an attribute to the ajp13 connector in server.xml: tomcatAuthentication=false By default, tomcat ignores the REMOTE_USER header provided by the IIS or Apache HTTPd front-end. This allows that header through. --David Uwe_77 wrote: Hello, I configured IIS 6.0 (Windows 2003)

Re: Embedded tomcat

2007-02-14 Thread DJohnson
If you remove the duplicate jars from the webapp, it will still find the classes via the same classloader used in the host application, and the single definition of each class will allow the casts to work. Please respond to Tomcat Users List users@tomcat.apache.org To: 'Tomcat Users

RE: Embedded tomcat

2007-02-14 Thread asaf.lahav
The problem is that I cannot guarantee that web applications running under the embedded tomcat won't hold any duplicate jars. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 3:58 PM To: Tomcat Users List Subject: Re: Embedded

RE: [OT] RE: insight into model.do

2007-02-14 Thread Steve Ingraham
David Smith wrote: Looking at the source code for the class my.package.action.ModelAction will get you to the entry point for handling the request. Depending on the size of the app and how well versed your predecessor was, this could be the whole back-end or it could call other

ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Hello, for sure, the problem is well known. jspx pages turn the amp; in simple which causes a lot of problems. See http://www.lunatech-research.com/archives/2006/01/20/jsp-xml-rant for details. How to avoid this problems? Or just live with it? Thanks -- Stefan

RE: mod_jk - tomcat sending delay

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
ok, thanks. -Original Message- From: Babu Satasiya [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 4:58 PM To: users@tomcat.apache.org Subject: RE: mod_jk - tomcat sending delay Hi, oh!! Its always - Apache+mod_jk - connecting to multiple tomcates on different systems.

Re: [OT] RE: insight into model.do

2007-02-14 Thread Hassan Schroeder
On 2/14/07, Steve Ingraham [EMAIL PROTECTED] wrote: Ok, I have been trying to locate the class file but am striking out. Can someone tell me where this my.package.action.ModelAction class would be located in a Jakarta Tomcat 5.5.9 build on a Redhat AS 3 machine? I have run the command locate

tomcat form authentication behind proxy looping issue.

2007-02-14 Thread [EMAIL PROTECTED]
Greetings: I am using Tomcat 5.5.20 behind an apache 2.2 mod_proxy. The webapp uses form authentication. If I access the webapp directly (http://localhost:8080/mywebapp) the authentication works and the user is redirected to the homepage. If I access the webapp behind the proxy

tomcat form authentication behind proxy looping issue.

2007-02-14 Thread [EMAIL PROTECTED]
Greetings: I am using Tomcat 5.5.20 behind an apache 2.2 mod_proxy. The webapp uses form authentication. If I access the webapp directly (http://localhost:8080/mywebapp) the authentication works and the user is redirected to the homepage. If I access the webapp behind the proxy

RE: [OT] RE: insight into model.do

2007-02-14 Thread Haroon Rafique
On Today at 9:24am, SI=Steve Ingraham [EMAIL PROTECTED] wrote: SI SI Ok, I have been trying to locate the class file but am striking out. SI Can someone tell me where this my.package.action.ModelAction class SI would be located in a Jakarta Tomcat 5.5.9 build on a Redhat AS 3 SI machine? I

Re: [OT] RE: insight into model.do

2007-02-14 Thread Pid
Steve Ingraham wrote: David Smith wrote: Looking at the source code for the class my.package.action.ModelAction will get you to the entry point for handling the request. Depending on the size of the app and how well versed your predecessor was, this could be the whole back-end or it could

What is the best production grade connection pooling for Tomcat 5.5

2007-02-14 Thread APliszka-Public
Hi, What is the best production grade connection pooling for Tomcat 5.5? We are using MySQL 4 and run 500k page views/day website and we need reliable connection pooling. We are using JBoss now, but we want to migrate to Tomcat. Thanks Andrew

Re: [OT] RE: insight into model.do

2007-02-14 Thread David Smith
Sorry my bad. I wrote that waaa tooo early in the morning. You are looking for the class org.keel.clients.struts.ModelAction which should be in the folder org/keel/clients/struts of your source code. Since you've described yourself as a real newbie, you might find the servlet spec as

RE: Connection Pool configuration

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
also, I'm looking for my DBCP configuration in the server.xml file and see the very generic: Resource name=jdbc/EmployeeAppDb auth=SERVLET type=javax.sql.DataSource/ ResourceParams name=jdbc/EmployeeAppDb

RE: Connection Pool configuration

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
are you talking under the META-INF folder of the app I suppose? Just so that I'm clear. I was looking at the documentation of TC 5.5 and it mentioned a jar file titled naming-factory-dbcp.jar. I don't seem to have that under either of my lib directories -- common or root. I do have

Error Removing Hosts/Context

2007-02-14 Thread Dana Hazzard Jr
I have setup a host in the administration tool as follows: -Tomcat Server |_Service(Catalina) |_Host (localhost) |_Context (/Ikano) For some reason when I click on the Context(/Ikano) link to change some of the settings I receive an error of HTTP Status 500 - Error retrieving attribute

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Leon Rosenberg
correct me if i wrong, but isn't amp; forbidden in xml anyway? Leon On 2/14/07, Stefan [EMAIL PROTECTED] wrote: Hello, for sure, the problem is well known. jspx pages turn the amp; in simple which causes a lot of problems. See http://www.lunatech-research.com/archives/2006/01/20/jsp-xml-rant

Re: Inicialization of an UnsignedByte variable

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: Well, your question should probably go to appropriate mailing list. I don't know what libraries your found your UnsignedByte Object in, but it's that library's mailing list which is appropriate for your question. Not

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: correct me if i wrong, but isn't amp; forbidden in xml anyway? Nope. It's one of the only entities defined in XML (amp;, lt;, gt;, and quot;, I think). I'm not sure why the OP thinks this is an error. If you put amp;

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Robert Koberg
On Wed, 14 Feb 2007 12:24:43 -0500, Leon Rosenberg [EMAIL PROTECTED] wrote: correct me if i wrong, but isn't amp; forbidden in xml anyway? you're wrong. Leon On 2/14/07, Stefan [EMAIL PROTECTED] wrote: Hello, for sure, the problem is well known. jspx pages turn the amp; in simple

RE: [OT] RE: insight into model.do

2007-02-14 Thread Nelson, Tracy M.
| From: Steve Ingraham [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 13 February, 2007 15:57 | | I have been reading everything I can online, I | have a Learning Java book that I am trying to read and understand, I | have enrolled in a Java class that is teaching me some basics of Java | coding.

multiple versions of TC

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
Hi, I'm running 4.0.1 currently on my local box, but our prod box has 4.1.3. I was wondering, if I copy down the newer version, can I run it also (not simultaneously) but without having to delete the older version? Can I just set the jdk path appropriately and run it like I would my older

Questions regarding SSL

2007-02-14 Thread Bryant McClellan
I've tried to do my homework but I'm still having trouble with getting HTTPS to work. For starters: Server is Windows 2003 Standard Server, SP1. Java version is jdk1.5.0_04 plus update 11. Tomcat version is 5.5.20. Tomcat is set up to run as a service using the native dlls. I've built a

Re: multiple versions of TC

2007-02-14 Thread David Kerber
Propes, Barry L [GCG-NAOT] wrote: Hi, I'm running 4.0.1 currently on my local box, but our prod box has 4.1.3. I was wondering, if I copy down the newer version, can I run it also (not simultaneously) but without having to delete the older version? You could even run them simultaneously

RE: multiple versions of TC

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
ok, thanks, David. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 12:21 PM To: Tomcat Users List Subject: Re: multiple versions of TC Propes, Barry L [GCG-NAOT] wrote: Hi, I'm running 4.0.1 currently on my local box, but our prod

RE: Questions regarding SSL

2007-02-14 Thread Caldarale, Charles R
From: Bryant McClellan [mailto:[EMAIL PROTECTED] Subject: Questions regarding SSL Server is Windows 2003 Standard Server, SP1. Java version is jdk1.5.0_04 plus update 11. Tomcat version is 5.5.20. Tomcat is set up to run as a service using the native dlls. I'm new at Java and Tomcat

Re: socket is not connected any more (errno=11)

2007-02-14 Thread Fletcher Cocquyt
Mladen Turk mladen.turk at gmail.com writes: Fletcher Cocquyt wrote: We have a problem with lost submissions in a loadbalanced (mod_jk) webapp and think these errors are related - what causes error number 11 and what can be done about it? This is correct behavior if Tomcat

RE: Questions regarding SSL

2007-02-14 Thread Bryant McClellan
Chuck, My configuration matches the apr doc, except that enableLookups s set to false. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 1:27 PM To: Tomcat Users List Subject: RE: Questions regarding SSL From: Bryant McClellan

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread David Smith
Ok... you are wrong. An by itself is wrong. It's a hack, but you end up having to do amp;amp; Seems like these should be preserved instead of decoded when the output is x/html. I can see it getting real ugly if you have to process a document through several transforms. But that's just

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: Seems like these should be preserved instead of decoded when the output is x/html. If the 's were preserved, then how would you actually emit an '' character? I think that the OP

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Nicholas Sushkin
He doesn't want to see 'amp;', he wants to see '' in his browser rendering an XHTML document produced by an JSPX page. So, the point of the post was probably that XHTML serializer of JSPX output should be more XML-like and serialize '' as 'amp;', not as ''. On Wednesday 14 February 2007 12:38,

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Nicholas Sushkin schrieb: He doesn't want to see 'amp;', he wants to see '' in his browser rendering an XHTML document produced by an JSPX page. So, the point of the post was probably that XHTML serializer of JSPX output should be more XML-like and serialize '' as 'amp;', not as ''. On

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Leon Rosenberg
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: Seems like these should be preserved instead of decoded when the output is x/html. If the 's were preserved, then how would you actually emit an '' character?

Re: multiple versions of TC

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, David Kerber wrote: Propes, Barry L [GCG-NAOT] wrote: I'm running 4.0.1 currently on my local box, but our prod box has 4.1.3. I was wondering, if I copy down the newer version, can I run it also (not simultaneously) but without having to

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smith wrote: Seems like these should be preserved instead of decoded when the output is x/html. If the 's were preserved, then how would you actually emit an '' character? I think that the OP and the author of the rant against JSPXs

RE: [OT] RE: insight into model.do

2007-02-14 Thread Haroon Rafique
On Today at 2:02pm, SI=Steve Ingraham [EMAIL PROTECTED] wrote: SI SI [..snip..] SI Glad you found the source. See my comments inline. SI /** SI * An Action that provides the glue between Struts and Keel. SI * SI * @author Michael Nash SI * @author Shash Chatterjee SI * @version

RE: [OT] RE: insight into model.do

2007-02-14 Thread Steve Ingraham
Haroon Rafique wrote: Hi Steve, I thought you said you had access to the source. You won't find the sources inside the tomcat webapps directory. You are likely to only find the .war file and an expanded ware file directory (but no sources). Find out in which directory the real

RE: multiple versions of TC

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
gotcha! Thanks. Both were running at port 8080, just not simultaneously. I should be ok in that regard, correct? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 1:22 PM To: Tomcat Users List Subject: Re: multiple versions of TC

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
David Smith schrieb: Ok... you are wrong. An by itself is wrong. It's a hack, but you end up having to do amp;amp; Seems like these should be preserved instead of decoded when the output is x/html. I can see it getting real ugly if you have to process a document through several

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: If the 's were preserved, then how would you actually emit an '' character? #; the amp; is not xml its html. It's both, actually. Btw, isn't allowed

Re: [OT] RE: insight into model.do

2007-02-14 Thread Wendy Smoak
On 2/14/07, Steve Ingraham [EMAIL PROTECTED] wrote: If anyone has some further input on what would be the best way to examine the script I would appreciate any additional direction. Well, at least you'll come out of this with some resume material. :) Do come join us on the Struts Users list,

RE: multiple versions of TC

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
what does that entail? Just going and switching it in a properties file somewhere? Or making an entirely new properties file? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 2:31 PM To: Tomcat Users List Subject: Re: multiple

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan wrote: but where do I need a single in the generated XML. That's forbidden a causes the problems. Can You come up a use case? Oh, I'm not saying that it's a good idea. I actually agree that emitting a single doesn't make any

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Leon Rosenberg schrieb: On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: ... #; the amp; is not xml its html. Btw, isn't allowed in html as well, for example in links. regards Leon ... - To start a new

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan wrote: Christopher Schultz schrieb: Compare this to XSLT. If you want a stylesheet to emit an '', don't you use amp;? And if you want to emit 'amp;' you have to double it. I don't see the difference, and I think that the OP is

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Leon Rosenberg
On 2/14/07, Stefan [EMAIL PROTECTED] wrote: Leon Rosenberg schrieb: On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: ... #; the amp; is not xml its html. Btw, isn't allowed in html as well, for example in links. regards Leon ...

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Robert Koberg schrieb: On Wed, 14 Feb 2007 15:05:02 -0500, Christopher Schultz [EMAIL PROTECTED] wrote: Stefan wrote: but where do I need a single in the generated XML. That's forbidden a causes the problems. Can You come up a use case? Oh, I'm not saying that it's a good idea. I actually

RE: What is the best production grade connection pooling for Tomcat 5.5

2007-02-14 Thread Tim Lucia
-Original Message- From: APliszka-Public [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 11:36 AM To: Tomcat Users List Subject: What is the best production grade connection pooling for Tomcat 5.5 Hi, What is the best production grade connection pooling for Tomcat

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan wrote: but where do I need a single in the generated XML. That's forbidden a causes the problems. Can You come up a use case? Oh, I'm not saying that it's a good idea. I actually agree that

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Leon Rosenberg
On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: On 2/14/07, Christopher Schultz [EMAIL PROTECTED] wrote: If the 's were preserved, then how would you actually emit an '' character? #; the amp; is not

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Robert Koberg
On Wed, 14 Feb 2007 15:05:02 -0500, Christopher Schultz [EMAIL PROTECTED] wrote: Stefan wrote: but where do I need a single in the generated XML. That's forbidden a causes the problems. Can You come up a use case? Oh, I'm not saying that it's a good idea. I actually agree that emitting a

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Stefan
Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan wrote: Christopher Schultz schrieb: Compare this to XSLT. If you want a stylesheet to emit an '', don't you use amp;? And if you want to emit 'amp;' you have to double it. I don't see the

Re: What is the best production grade connection pooling for Tomcat 5.5

2007-02-14 Thread APliszka-Public
Thank you very much for help. That is very useful information. We are using apache2 + mod_jk + JBoss 4 + MySQL 4 (master+slaves). We run community site so we get most of our traffic from 1pm to 9pm. Once again thanks. Andrew Tim Lucia wrote: -Original Message- From: APliszka-Public

RE: [OT] RE: insight into model.do

2007-02-14 Thread Steve Ingraham
Well, at least you'll come out of this with some resume material. :) Do come join us on the Struts Users list, where your questions are more on-topic and there should be more people around who know the framework. * http://struts.apache.org/mail-lists.html -- Wendy Wendy, Lest I

Re: [OT] RE: insight into model.do

2007-02-14 Thread Wendy Smoak
On 2/14/07, Steve Ingraham [EMAIL PROTECTED] wrote: Well, at least you'll come out of this with some resume material. :) Do come join us on the Struts Users list, where your questions are more on-topic and there should be more people around who know the framework. *

RE: [OT] RE: insight into model.do

2007-02-14 Thread Steve Ingraham
Lest I find myself being chastised for asking my questions on the wrong list should I be subscribing to the User, Developer, Commits or the Issues list? Ask on the Users list. (The dev list is for discussion about developing the Struts framework itself. Commits and Issues are

Re: multiple versions of TC

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, Propes, Barry L [GCG-NAOT] wrote: what does that entail? Just going and switching it in a properties file somewhere? Or making an entirely new properties file? Take a look at the Advanced section of RUNNING.TXT in your Tomcat installation

Tomcat 5.5 Xml + Xslt Question

2007-02-14 Thread Jim Reynolds
Hello, I am struggling with content types within a JSP page. I have an XML, XSLT and CSS file that combined are suposed to create a tree. (I am trying to get treeview to work). I created a webapp for playing in, and have the following code in a jsp page called showTree.jsp. But when I hit the

Re: Tomcat 5.5 Xml + Xslt Question

2007-02-14 Thread APliszka-Public
1. In your jsp make sure that '?xml version=1.0 encoding=UTF-8?' is on the very first line, it should be befora any imports or taglibs or etc. This is just one of the problems you might have with xml in jsps. Andrew Jim Reynolds wrote: Hello, I am struggling with content types within a JSP

Re: Tomcat 5.5 Xml + Xslt Question

2007-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, Jim Reynolds wrote: I am struggling with content types within a JSP page. I have an XML, XSLT and CSS file that combined are suposed to create a tree. (I am trying to get treeview to work). I don't know a thing about treeview, but I might be

Re: Tomcat 5.5 Xml + Xslt Question

2007-02-14 Thread Jim Reynolds
Problem resolved: Thank you for the reply. I was setting my @page content to text/xml on line1, then the ?xml tag on the second line. Hard to believe that would screw things up, but it does. Thanks a million, saved me a lot of time. Regards. On 2/14/07, APliszka-Public [EMAIL PROTECTED]

RE: multiple versions of TC

2007-02-14 Thread Propes, Barry L [GCG-NAOT]
perfect! Thanks, Chris! -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 3:27 PM To: Tomcat Users List Subject: Re: multiple versions of TC -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, Propes, Barry L [GCG-NAOT] wrote:

Appfuse behind hight traffic websites

2007-02-14 Thread APliszka-Public
Hi, Is anyone using Appfuse 1.9.x in production for hight traffic websites? I am thinking about using it for our next project. Now we are using custom Apache2 + JBoss + Hibernate = MySQL for production websites. Thanks Andrew

RE: Embedded tomcat

2007-02-14 Thread Greg Johnson
asaf.lahav wrote: The problem is that I cannot guarantee that web applications running under the embedded tomcat won't hold any duplicate jars. Then write your own ClassLoader to handle your unique situation. Your ClassLoader will need to enforce that the classes are loaded from the same jar

mod_watch

2007-02-14 Thread Lars Nielsen Lind
Hi, I have tried to download mod_watch from Snert but it seems to be closed. If you want to graph traffic with MRTG pr. virtual host (incl. namebased) are there any other modules available - or other tools for Apache/Tomcat. Thanks, Lars Nielsen Lind

RE: mod_watch

2007-02-14 Thread Caldarale, Charles R
From: Lars Nielsen Lind [mailto:[EMAIL PROTECTED] Subject: mod_watch If you want to graph traffic with MRTG pr. virtual host (incl. namebased) are there any other modules available - or other tools for Apache/Tomcat. Lambda Probe has basic traffic graphing under its Connector stats tab;

Jsp gest 404 error

2007-02-14 Thread Coelho.Joao
I am using tomcat 4.1. Where must the jsp page be in relation to the WEB-INF directory ? I am running into some dificulties with some pages. Some pages show up and others give me an error 404.

Re: ampersand (amp;) handling in jspx - any workaround?

2007-02-14 Thread Pid
Stefan wrote: Christopher Schultz schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan, Stefan wrote: Christopher Schultz schrieb: Compare this to XSLT. If you want a stylesheet to emit an '', don't you use amp;? And if you want to emit 'amp;' you have to double it. I don't

Re: Jsp gest 404 error

2007-02-14 Thread Zack Grafton
Hello, Everything in the WEB-INF directory isn't directly accessible; meaning, if you type in something like http://localhost:8080/myapp/WEB-INF/index.jsp, you will get a 404 error. Where you should place them is entirely dependent on you. You can write controller servlets and use a

Re: Questions regarding SSL

2007-02-14 Thread Pulkit Singhal
Can we have a look at the connectors chunk of your server.xml file? On 2/14/07, Bryant McClellan [EMAIL PROTECTED] wrote: I've tried to do my homework but I'm still having trouble with getting HTTPS to work. For starters: Server is Windows 2003 Standard Server, SP1. Java version is

Cleanup of tempdir in tomcat

2007-02-14 Thread Aparna Pratap
Hi I am using Tomcat 5.0.25. In my application images are getting stored permenantly inside tempdir of Tomcat. This is happening when the request is not processed completely. I want to clean the tempdir either with every request or after its size reaches some limit. Or after some time period but