taylor 2004/08/20 08:26:54
Modified: components/portlet-factory/src/java/org/apache/jetspeed/factory
JetspeedPortletFactory.java
Log:
debugging class loader issue with pam
checking in debug statements for Scott to have a look
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.2 +13 -2
jakarta-jetspeed-2/components/portlet-factory/src/java/org/apache/jetspeed/factory/JetspeedPortletFactory.java
Index: JetspeedPortletFactory.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/components/portlet-factory/src/java/org/apache/jetspeed/factory/JetspeedPortletFactory.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JetspeedPortletFactory.java 16 Aug 2004 18:27:54 -0000 1.1
+++ JetspeedPortletFactory.java 20 Aug 2004 15:26:54 -0000 1.2
@@ -118,6 +118,17 @@
catch (ClassNotFoundException e1)
{
// move along
+ System.out.println("CNF: " + e1.toString() + ":" +
className);
+ }
+ catch (NoClassDefFoundError e2)
+ {
+ // move along
+ System.out.println("NCDF: " + e2.toString() + ":" +
className);
+ }
+ catch (ExceptionInInitializerError e3)
+ {
+ // move along
+ System.out.println("EIIE: " + e3.toString() + ":" +
className);
}
}
}
@@ -146,7 +157,7 @@
portlet = portletCache.get(portletName);
if (null != portlet)
{
- ((PortletDefinitionCtrl)
portletDefinition).setPortletClassLoader(portlet.getClass().getClassLoader());
+ // ((PortletDefinitionCtrl)
portletDefinition).setPortletClassLoader(portlet.getClass().getClassLoader());
return portlet;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]