Issues with class loaders and jsp:include in Tomcat 3.3

2002-01-02 Thread Andrew Gilbert
We are using Tomcat 3.3 Final. Having a curious problem on certain jsp pages that try to dynamically load classes located in a jar in the WEB-INF/lib area of the web application. The apparent differential is the use of jsp:include tags within the page. The details are as follows: Using Weblogic

RE: Servlet basic question...classpaths and servlet locations.

2002-01-03 Thread Andrew Gilbert
The documentation in 3.3 on classpaths is quite good, with an excellent graphic describing classloaders and how/where things get loaded. http://localhost:8080/doc/tomcat-ug.html#configuring_classes Would also suggest familiarity with the Servlet and JSP specs (ie, an understanding of

Anyone ever respond to this - RemoteRuntimeException under tomcat3.3 WL 6.1

2002-01-03 Thread Andrew Gilbert
Picked this up from the archive for the list and curious if anyone has responded to it. We see the same thing. Under Tomcat 3.3 with WL 5.1 we get a partial stack trace on the console of Tomcat anytime an app level exception comes back over the wire, using WL 6.1 it gets worse than that and the

RE: Session beans and multiple tomcat servers ?

2001-03-02 Thread Andrew Gilbert
One option is a load balancer that will handle session affinity, either on it's own or through a custom cookie/url rewrite. This is a problem with almost all web application server solutions, certainly not unique to Tomcat/JSP. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Migration to Tomcat 3.2.1 Classpath errors using Weblogic 510

2001-03-05 Thread Andrew Gilbert
We are in the process of upgrading to Tomcat 3.2.1 from 3.1 and have experienced an issue with class loading which we did not see before. We started getting class not found exceptions while trying to do a naming lookup to a Weblogic 510 sp8 server. Under 3.1 this was not an issue. We placed the

Can't migrate to 3.2.1 - Number of issues

2001-03-07 Thread Andrew Gilbert
There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. Looking for any insight into workarounds, fixes, or strategy (ie wait till 3.3?). From perusing the list, we don't seem to be alone in experiencing these. Unfortunately, I haven't gotten a feel for

RE: Can't migrate to 3.2.1 - Number of issues

2001-03-07 Thread Andrew Gilbert
out Jboss? It has embedded tomcat 3.2.1 support (tomcat runs in same VM), it's open source , and supported by a very active and dynamic group of developpers. Chris Andrew Gilbert wrote: There seem to be a number of issues with 3.2.1, some of which prevent us from moving to it. Looking for any

RE: RMI and Tomcat

2001-03-09 Thread Andrew Gilbert
I have made two posts to the list about similar problems with 3.2.1 and using JNDI/RMI (EJB's) and not figured much out. Not having the time to delve further I backed off to Tomcat 3.1. You may try that for the interim. Any feedback from any of the implementors that would help us start to figure

RE: Classpath/loader problems for JNDI/JMS with JSP

2001-03-11 Thread Andrew Gilbert
Good thread. This is an extremely frustrating issue. As is apparent from this dicussion, other threads, and our own experience, it is not easy or pretty integrating the latest stable Tomcat (3.2.1) into a full J2EE environment. I am going to give the solution suggested below a try in our

RE: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat]

2001-03-12 Thread Andrew Gilbert
: Classpath/loader problems internal to tomcat 3.2.1 [Fwd: RMI and Tomcat] Hello, Thank you very much David Wall and Andrew Gilbert for your answer. Well I would really like that the way how class loading should work in Tomcat, works this way. I am using 3.2.1. I am using Jeremie that is a RMI like

RE: Tomcat 3.2, RMI, JNDI Classloaders: a solution

2001-03-15 Thread Andrew Gilbert
Carlos, Thanks. This is interesting. Can you explain what the effect of Thread.setContextClassLoader() is? Does it make classes from the WEB-INF/lib and WEB-INF/classes area avaiable to classes loaded by the boot class or system class loader? Andrew -Original Message- From: Carlos

RE: Tomcat 3.2, RMI, JNDI Classloaders: a solution

2001-03-15 Thread Andrew Gilbert
You can make them visible, but the class from the boot classloader or system classloader has to know what to do -- it calls Thread.getContextClassLoader() to get the class loader for the current thread, and asks *that* classloader to create the new object, instead of using the "new" operator.

Reminder for others upgrading to 4.1.12...

2002-10-07 Thread Andrew Gilbert
In the process of trying to upgrade our existing application from 3.3 to 4.1.12 I suffered some pain by not reading the release notes. Reminder to others who try: The invoker servlet is commented out by default in TOMCAT_HOME/conf/web.xml. If you don't have servlet mappings in your

Tomcat 4.1.12 - AJP13 mod_jk MBean Error

2002-10-07 Thread Andrew Gilbert
Anyway, short of disabling JMX support, of dealing with the following when trying to use mod_jk (versus mod_jk2) under 4.1.12? ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at

No MBean for mod_jk, only mod_jk2 in Tomcat 4.1.12?

2002-10-08 Thread Andrew Gilbert
Will ask this again in different manner. Looks like there is no MBean support in 4.1.12 for the AJP13 (mod_jk) Apache connector. Is there any easy way to remedy this, short of disabling JMX support? Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations...

2002-10-09 Thread Andrew Gilbert
We are finding this a particularly frustrating experience, and it seems to be a weak point either/or both in specification and implementation (or a fatal flaw in our basic approach - but would add we are consistent at least with the intent of the EJB specs). Would appreciate input and

RE: Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations...

2002-10-10 Thread Andrew Gilbert
Yoav and JeanFrancios, Thank you both for your replies. They were helpful and somewhat reassuring. At the general level: We are aware that Tomcat is not a full J2EE container. But servlets calling EJB's is bread and butter stuff. We have been successfully using Tomcat to talk to WebLogic for

RE: Connecting from Tomcat box to JBoss box?

2002-10-10 Thread Andrew Gilbert
Edmund, See Craig's response to my thread RE: Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations... You might want to go the JBoss to JBoss route. In fact I would strongly recommend it. Andy -Original Message- From: Mitchell, Edmund [mailto:[EMAIL PROTECTED]]

RE: Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations...

2002-10-10 Thread Andrew Gilbert
and J2EE Interoperability frustrations... On Thu, 10 Oct 2002, Andrew Gilbert wrote: Date: Thu, 10 Oct 2002 11:42:05 -0400 From: Andrew Gilbert [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Classpath Issues

RE: Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations...

2002-10-10 Thread Andrew Gilbert
-Original Message- From: Andrew Gilbert Sent: Thursday, October 10, 2002 3:39 PM To: Tomcat Users List Cc: 'Craig R. McClanahan'; 'Jean-Francois Arcand'; 'Shapira, Yoav'; Tim Segall Subject: RE: Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations... Craig, I

RE: Classpath Issues, Tomcat 4.X and J2EE Interoperability frustrations...

2002-10-10 Thread Andrew Gilbert
.X and J2EE Interoperability frustrations... On Thu, 10 Oct 2002, Andrew Gilbert wrote: Date: Thu, 10 Oct 2002 16:23:21 -0400 From: Andrew Gilbert [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Classpath