[redhat-ccm-list] weblogic URL("resource:///..") problem

Dennis Gregorovic dgregor at redhat.com
Fri May 7 01:33:16 UTC 2004


sun.net.www.protocol.resource.Handler is the URL protocol handler for
resource://.  This class is part of WAF.  

The tricky part is that this class must be loaded in the system
classloader.  Our Tomcat and Resin startup scripts make this happen by
adding the $CCM_HOME/webapps/WEB-INF/system directory to the
java.ext.dirs system property.  I don't know if this will work for
WebLogic.

-- Dennis

On Thu, 2004-05-06 at 17:54, Denham, Martin wrote:
> Hi,
> 
> I am trying to run ccm/cms on weblogic 8.1 and am getting the following error:
> Caused by: com.arsdigita.util.UncheckedWrapperException: Cannot parse URL (root cause: java.net.MalformedURLException: unknown protocol: resource)
>         at com.arsdigita.cms.ContentSectionConfig.<init>(ContentSectionConfig.java:153)
>         at com.arsdigita.cms.ContentSection.<clinit>(ContentSection.java:133)
>         
> which is caused in ContentSectionConfig by:
> 		m_itemAdapters = new URLParameter
> 			("com.arsdigita.cms.item_adapters",
> 			 Parameter.REQUIRED,
> 			 new URL("resource:///WEB-INF/resources/cms-item-adapters.xml"));
> 
> This discussion seems to be relevant:
> 	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109392
> But I can't find "a new URL protocol handler for resource://" anywhere in the code.  Is this a Tomcat feature?
> 
> Also, has anybody any comment regarding the complexity of making ccm/cms run on weblogic?  Maybe I should not try.
> 
> thanks
> 
> Martin
> 
> 
> ***********************************************************************************
> EDF Energy plc internet e-mail disclaimer
> This e-mail and any files transmitted with it are confidential and may be protected by legal privilege.
> If you are not the intended recipient, please notify the sender and delete the e-mail from your system.
> This e-mail has been scanned for malicious content but the internet is inherently insecure and EDF
> Energy plc cannot accept any liability for the integrity of this message or its attachments. No employee
> or agent of EDF Energy plc or any related company is authorised to conclude any binding agreement on
> behalf of EDF Energy plc or any related company by e-mail. All e-mails sent and received by EDF Energy
> plc are monitored to ensure compliance with the company's information security policy.
> ***********************************************************************************
> 
> 





More information about the Redhat-ccm-list mailing list