Hi, yes this is exactly the version that I'm using - using Java version
1.5.0_07-b03 but otherwise everything else is present and correct...

Thanks,

Iain

-----Original Message-----
From: Timony, Michael 
Sent: 16 August 2006 23:36
To: '[email protected]'
Cc: '[EMAIL PROTECTED]'; O'Connell, Iain
Subject: RE: Spring MVC in Jetspeed 2.1-dev


I think Iain is using the JetSpeed/Tomcat installer which I build using
Sun's 1.5.0_06-b05 JVM on Linux. This is build from svn, which I checked out
a couple of days ago (build 431435). 

The rt.jar included with the JVM used to build it has the following XPath
class files:

ls *XP*|more

CachedXPathAPI.class
XPathAPI.class
XPath.class
XPathContext.class
XPathContext$XPathExpressionContext.class
XPathException.class
XPathFactory.class
XPathProcessorException.class
XPathVisitable.class
XPathVisitor.class


I tried the same springmvc-demo.war that Iain and received the same error
messages. I used the same JRE as that which I build JetSpeed with, and also
tried on a Windows box using a 1.5 JVM also.

My apologies if the formatting of this e-mail is messed up.

Mick Timony


O'Connell, Iain wrote:
> XPathFactoryConfigurationException: No XPathFactory implementation
> found for the object model: http://java.sun.com/jaxp/xpath/dom

Seems like either no JAXP XPath implementation can be found, or there is a
problem with the one that was found. J2SE 1.4 and above includes the Apache
JAXP implementation.

My jre rt.jar (build 1.5.0_05-b05) contains:

com/sun/org/apache/xpath/internal/XPath.class
com/sun/org/apache/xpath/internal/XPathAPI.class
com/sun/org/apache/xpath/internal/XPathContext$XPathExpressionContext.class
com/sun/org/apache/xpath/internal/XPathContext.class
com/sun/org/apache/xpath/internal/XPathException.class
com/sun/org/apache/xpath/internal/XPathFactory.class
...

Do you know what JAXP implementation you're using?


-----Original Message-----
From: O'Connell, Iain [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 9:50 AM
To: 'Jetspeed Users List'
Subject: RE: Spring MVC in Jetspeed 2.1-dev


Thanks for the pointer on this.  I've had some success getting this up and
running, however at the moment I'm running into the following error:

>java.lang.RuntimeException: XPathFactory#newInstance() failed to create an
XPathFactory for the default object model:
http://java.sun.com/jaxp/xpath/dom with the
XPathFactoryConfigurationException:
javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
implementation found for the object model:
http://java.sun.com/jaxp/xpath/dom

I was wondering if there are any additional configuration steps that I need
to take to get this portlet up and running...?

Thanks again,

Iain

-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: 09 August 2006 19:17
To: Jetspeed Users List
Subject: Re: Spring MVC in Jetspeed 2.1-dev


O'Connell, Iain wrote:
> Hi folks,
>
> According to some of the Jetspeed feature lists there should be some
sample
> Portlets distributed with Jetspeed to show how to use Spring MVC, however
I
> can't seem to find them.  Would anybody have any pointers on this or
> information about using Spring MVC with Jetspeed?
>
> Thanks,
>
> Iain
>

Source code found here:

http://svn.apache.org/viewvc/portals/bridges/trunk/applications/springmvc/

This example requires Java 1.5

I put the war file here:

http://www.bluesunrise.com/maven/org.apache.portals.bridges/wars/

The examples show using Spring MVC + DOJO with a generic DOM portlet. I
think it makes for a nice portlet development framework



Reply via email to