JSP recompiles on every access - Tags in jar

2008-10-31 Thread Ron McNulty
I recently inherited some IBM Websphere Portal code that I wanted to run on the Apache Jetspeed portal (Which runs on Tomcat 5.5.23). To my consternation, performance was terrible, and it turned out all JSPs (and their embedded custom tags) were being recompiled on every page access. I have

Re: JSP recompiles on every access - Tags in jar

2008-10-31 Thread Ron McNulty
Sent: Saturday, November 01, 2008 4:41 PM Subject: Re: JSP recompiles on every access - Tags in jar Ron McNulty wrote: Hi Chuck File times are all OK - Tomcat is running on the same machine. I should have mentioned I have seen this on Windows 2000 and XP SP3. I have not tried it on a Unix

Re: JSP recompiles on every access - Tags in jar

2008-11-02 Thread Ron McNulty
. I will spend some more time chasing this issue, and update the bug report as suggested if I get anywhere.. Regards Ron Mark Thomas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ron McNulty wrote: Hi Mark Thanks - that appears to be exactly the problem. I searched the bug

Tomcat hangs when cmd window fills up

2009-10-12 Thread Ron McNulty
Hi all This is possibly a little OT, but maybe someone has come across this. We are running Tomcat 5 (Actually Jetspeed-2.1.3) on a Windows 2K box. We start it from a cmd window, using startup.bat. All runs fine until a large amount of text gets output to the log (redirected to the Tomcat

Re: Http session lost b/w struts actions on Linux but not in Win

2009-12-22 Thread Ron McNulty
Hi Johan Two JSESSIONID values does look odd. I've seen problems like this when another server running a Java J2EE servlet container incorrectly had its JSESSIONID cookie scope set to the whole domain, rather than scoped to the server and application. In my case it was a SAP web server, and

Re: very slow class loading on initial JSP/servlet request after restart

2009-02-19 Thread Ron McNulty
Hi Sam You jar - does it include any JSP tag files written as JSP fragments? There are known issues in this area. The dependency management seems to get confused, resulting in lots of unnecessary compilation of the .tag files Regards Ron - Original Message - From: Sam Hokin

Re: tomcat 6.0.18 issue with my customer Tag class

2009-03-08 Thread Ron McNulty
Hi Mike Your tag syntax is a bit unusual. I would have expected my:message msg=This is a simple java alert message/ Then you put a variable msg in your tag class (with a getter setter), and the JSP runtime will populate it for you. Regards Ron - Original Message - From:

Extending JNDI

2009-03-13 Thread Ron McNulty
Hello I am running Apache Jetspeed Portal server (which sits on top of Tomcat) as a development platform. We then deploy portlets to Websphere portal server for production. One area of incompatibility that I would like to fix is JNDI branches. Tomcat provides the standard java:comp/env/

Re: Problem starting Tomcat in Netbeans

2009-03-13 Thread Ron McNulty
Hi Carlos This line looks odd? Why are there asterisks around it? *servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class* Regards Ron - Original Message - From: Carlos Botto carl...@qualitau.com To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, March 14,

Re: Problem starting Tomcat in Netbeans

2009-03-13 Thread Ron McNulty
To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, March 14, 2009 12:04 PM Subject: Re: Problem starting Tomcat in Netbeans Hi Ron, There are no * in the code, those in the email were put on purpose to underline the 18th. line. Thanks Carlos Ron McNulty wrote: Hi Carlos This line

Re: Problem starting Tomcat in Netbeans

2009-03-13 Thread Ron McNulty
in Netbeans Ron, I did it. Also I deleted the line and typed it again. Thanks Carlos Ron McNulty wrote: Hi Carlos The error is coming from Digester, whose job in life is simply to parse XML files and read them into objects. Have you opened web.xml with a hex editor and checked for non-ascii

Re: Extending JNDI

2009-03-14 Thread Ron McNulty
Thanks Mark That certainly looks like the place to start. Regards Ron - Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, March 14, 2009 11:38 PM Subject: Re: Extending JNDI Ron McNulty wrote: Hello I am running

Re: JSP when tag question

2009-07-04 Thread Ron McNulty
Hi Jim A liitle OT, but I can recommend the HTML Validator plugin for Firefox (if you don't already have it). It puts a red light in the bottom right corner of the browser when you forget an import - the HTML is of course invalid. Has saved me many a time... Regards Ron - Original

Re: Wrong SessionID

2009-07-22 Thread Ron McNulty
Hi Uwe I've seen something very similar when a SAP server was incorrectly configured to produce a JSESSIONID cookie that was global to the organisation, rather than scoped to the server that produced it. The (J2EE13679500) and End parts of the session ID look suspiciously like what I saw.

Re: Wrong SessionID

2009-07-23 Thread Ron McNulty
sure did learn a lot about cookies and useful Firefox plugins in the process. If you don't already have it, WebDeveloper is great. Regards Ron - Original Message - From: Poehner, Uwe uwe.poeh...@siemens.com To: Ron McNulty rmcnu...@xtra.co.nz; Tomcat Users List users@tomcat.apache.org

Re: Running multiple tomcats

2009-08-21 Thread Ron McNulty
It's not uncommon for firewalls to only allow access to particular ports on a machine. Try logging into the Solaris box and telnet localhost 8008 If that connects, then something (hopefully Tomcat) is running on port 8008. Repeat from your desktop. If that fails, the firewall is the problem.

Re: Not compiling JSP's

2009-09-02 Thread Ron McNulty
Hi Carl I've seen problems like this when deploying across time zones (in my case NZ - San Francisco), especially if there is a Windows box in the equation. The 1 hour off sounds odd - daylight saving problem? Regards Ron - Original Message - From: Carl c...@etrak-plus.com To:

Re: CSV File Save as dialogue defaults to HTM file

2010-02-07 Thread Ron McNulty
Hi Ran JSR168 portlets do not support rendering CSV - just HTML and WML as far as I am aware. The usual work-around is to define a servlet inside your portlet application WAR that serves the other file types. We do this regularly to serve RTF, PDF, CSV and image formats. The servlet and the

Re: Session id is invalid occurs randomly

2010-02-23 Thread Ron McNulty
Hi Jeffery Check what else they have open when they access your application. There could be another J2EE application that does not scope it's session cookies correctly. We have had ongoing problems with SAP portal servers scoping session cookies across our whole domain, rather than scoping to

Re: JSESSIONID being lost

2010-04-21 Thread Ron McNulty
Hi Jim There may be another mis-configured server out there that produces JSESSIONID cookies with a domain-wide scope. SAP portals are a known problem. Best of luck Regards Ron - Original Message - From: Jim Goodspeed goodspeeds...@gmail.com To: users@tomcat.apache.org Sent:

Cleartrust RSA integration

2010-06-20 Thread Ron McNulty
Hi All We are thinking of bringing some of our apps off proprietary J2EE servers to Tomcat. We would be deploying on Tomcat 6 (latest), JVM 1.6 and Linux on a VM (not sure of versions). One of the requirements is to authenticate using RSA Cleartrust. From my reading, Tomcat does not support

Re: Cleartrust RSA integration

2010-06-21 Thread Ron McNulty
a...@ice-sa.com To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, June 20, 2010 9:37 PM Subject: Re: Cleartrust RSA integration Ron McNulty wrote: Hi All We are thinking of bringing some of our apps off proprietary J2EE servers to Tomcat. We would be deploying on Tomcat 6 (latest), JVM

Re: Cleartrust RSA integration

2010-06-22 Thread Ron McNulty
Users List users@tomcat.apache.org Sent: Sunday, June 20, 2010 9:37 PM Subject: Re: Cleartrust RSA integration Ron McNulty wrote: Hi All We are thinking of bringing some of our apps off proprietary J2EE servers to Tomcat. We would be deploying on Tomcat 6 (latest), JVM 1.6 and Linux

Re: Debugging Tomcat

2010-07-24 Thread Ron McNulty
Hi Andre Reading your original post, it looks like you are trying to debug your own web app running under Tomcat, rather than Tomcat itself (as the thread title implies). I can recommend starting Tomcat from inside Eclipse using the Sysdeo Tomcat plugin. That is the way all our development

Re: Tomcat Maven and Axis 1.5.1 problem

2010-11-01 Thread Ron McNulty
A little googling produces this result: http://www.jarvana.com/jarvana/view/org/apache/axis2/axis2-kernel/1.1.1/axis2-kernel-1.1.1.jar!/org/apache/axis2/transport/local/LocalTransportSender.class?classDetails=ok I suspect that your set of Axis jars are from different versions of Axis - maybe

Re: [Tomcat 6.0.29] Why do I have to configure the datasource in the context.xml of the server and in the context.xml of the application?

2011-08-02 Thread Ron McNulty
Hi AN We use Oracle 11g with Jetspeed portal on Tomcat. 1. The resource definition goes in conf/context.xml just like for any web application. The portal does not change this. 2. You need to put Oracle's ojdbc6.jar into the /lib directory of Tomcat so that the driver class can be loaded by

Re: Sharing session between different webapps under same tomcat

2011-08-03 Thread Ron McNulty
Hi Jany I think it is possible to share sessions across contexts. Portal applications need to do this. Try http://jee-bpel-soa.blogspot.com/2009/06/session-sharing-in-apache-tomcat.html Regards Ron - Original Message - From: Jany Jose jany.j...@gmail.com To: Tomcat Users List

Re: Sharing session between different webapps under same tomcat

2011-08-04 Thread Ron McNulty
Sorry, I think you are missing something :) The session is per user across multiple contexts. Portlet apps are typically compiled into separate .war files, but can share a single session object at runtime. Regards Ron - Original Message - From: Chema demablo...@gmail.com To: Tomcat

Re: Sharing session between different webapps under same tomcat

2011-08-06 Thread Ron McNulty
you have to free manually all per-user session data from the context when user session is finished ( by example, closing browser). Or your context scope datastore could be full of information of all users which were logged , right ? 2011/8/4 Ron McNulty rmcnu...@clear.net.nz: Sorry, I think you

Re: Sharing session between different webapps under same tomcat

2011-08-07 Thread Ron McNulty
Hi Chema I take your point. But this is a problem solved by JSR168/286 portal implementations. Perhaps you could use a portal for your purposes? Otherwise I would suggest taking a look at Apache Jetspeed or Liferay source code to see how they implement cross-war session sharing. Both portals

Re: o Tomcat alter the page encoding for JSP file created via Netbeans 7.01

2011-11-05 Thread Ron McNulty
Hi Kiran There is nothing wrong with your JSP. I dropped it into Tomcat 7.0.16 as /webapps/ROOT/test.jsp and it showed up correctly as http://localhost:8080/test.jsp. It sounds like the browser is not seeing the CSS. If you don't already have the following installed, I suggest you try:

Re: DB Connection error

2012-01-09 Thread Ron McNulty
Hi Anjib Port 8080 looks very odd. For an Oracle XE database, this is an HTTP connection to the database admin console, but you need a TNS connection direct to the database. Try telnet localhost 1521 from the command line. If this connects, you probably have a standard Oracle database on

Re: Multiple JSESSIONID

2013-03-01 Thread Ron McNulty
- Original Message - From: Jose MarĂ­a Zaragoza demablo...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, February 28, 2013 11:43 PM Subject: Multiple JSESSIONID Hello: We're using Tomcat 6.0.24 as servlet container This server listens for requests under