Wednesday, November 10, 2004

Jetspeed 2 on Weblogic - part 2

Well I have gotten a little farther since my last post. First I found this thread explaining how to get past the "cannot find" issue.

Then I started getting this:
java.lang.RuntimeException: Failed to initialize prefs api. java.lang.InternalError: Can't instantiate Preferences factory java.lang.ClassNotFoundException: org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
and found this related post which links to a bug report on the sun website detailing the issue. This told me to stop using the jdk that is bundled with weblogic and use the j2sdk1.4.2_03 that is already on my machine.

Well after I pointed to this jdk, I started getting this issue:
Cannot load Implicit TLDs java.lang.ClassNotFoundException: weblogic/apache/xerces/parsers/SAXParser
which I have seen before. But this time I figured out a fix. In the endorsed directory of j2sdk1.4.2_03 I found some sax, xalan, and xerces jars. I deleted those and the sax parser problem went away.

Now I have to figure out why my portlets show this:
javax.portlet.PortletException: Failed to find Servlet context for Portlet Application: /localeselector at org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke( at org.apache.jetspeed.container.invoker.ServletPortletInvoker.render( at org.apache.pluto.PortletContainerImpl.renderPortlet( at org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet( at at


Anonymous said...

Did you ever figure out the "Failed to find Servlet context for Portlet Application" error?

If you have, can you provide some guidance on how to solve the issue? I can be reached at impossible_skule!NOSPAM!@!NOSPAM!, removing the !NOSPAM! items.


Jeff Sheets said...

Sure did, just check out my November archives to see the Jetspeed 2 Finally post.