portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Mark Donaghy" <philip.dona...@gmail.com>
Subject Re: Is Current Build in Trunk broken..??
Date Mon, 14 Aug 2006 17:53:33 GMT
The class PortletRequestContext is in
CATALINA_HOME/shared/lib/jetspeed-commons-2.1-dev.jar

and in the source code,

./commons/src/java/org/apache/jetspeed/container/PortletRequestContext.java

Do you have these files?

Philip

On 8/14/06, Team Vit <team.vit@gmail.com> wrote:
> Thank you Mr Langley for such a quick reply.
> Sorry about the missign information...it is my first time here
> so here goes
>
> ANT HOME --> C:\Ant
>         VER ---->  1.6.5
> MAVEN HOME --> C:\Maven\
>         VER ----> 1.0.2
> CATALINA_HOME --> C:\tomcat5.5\
>         Ver -------> 5.5
> JAVA_HOME  --->  D:\XP Program Files\Java\jdk1.5.0_07\
>          VER ---- 1.5.0.07
> --------------------------------------------------------------------------------------
> Also i am using MySQL as backend....
> my build.properties is
> --------------------------------------------------------------------------------------
> # jetspeed 2 home required for build
> org.apache.jetspeed.project.home = /j2-src-latest
>
> # jetspeed required properties
> org.apache.jetspeed.server.home = /tomcat5.5
> org.apache.jetspeed.catalina.version.major = 5.5
> org.apache.jetspeed.server.shared = ${org.apache.jetspeed.server.home
> }/shared/lib
> org.apache.jetspeed.deploy.war.dir = ${org.apache.jetspeed.server.home
> }/webapps
> org.apache.jetspeed.services.autodeployment.user = j2deployer
> org.apache.jetspeed.services.autodeployment.password = j2deployer
>
> org.apache.jetspeed.portal.name=jetspeed
>
> org.apache.jetspeed.production.database.url = jdbc:mysql://127.0.0.1/j2-dev
> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver
> org.apache.jetspeed.production.database.user = jetspeed2
> org.apache.jetspeed.production.database.password = jetspeed2
>
> org.apache.jetspeed.production.jdbc.drivers.path=/MySQL/Lib/mysql-connector-java-3.1.13-bin.jar
> org.apache.jetspeed.production.database.default.name=mysql
> --------------------------------------------------------------------------------------
>
> If any more information is needed please feel free to ask.
>
> Thanks in advance
>
> Team Vit
>
>
>
> On 8/14/06, Langley, John <langleyj@telcordia.com> wrote:
> >
> > You might include jdk version, os version, $JAVA_HOME, $CATALINA_HOME,
> > $MAVEN_HOME, $ANT_HOME and versions of each in your description. I'm not
> > sure it matters, but I for instance had problems with maven2 last week
> > and switched to maven v1.0.2. If you supply all the info, maybe someone
> > will see something obvious.
> >
> > Langley
> >
> > -----Original Message-----
> > From: Team Vit [mailto:team.vit@gmail.com]
> > Sent: Monday, August 14, 2006 12:25 PM
> > To: jetspeed-dev@portals.apache.org
> > Subject: Is Current Build in Trunk broken..??
> >
> > Hello everybody,
> >
> > We are unable to build the latest version ( 2.1-dev) from the svn.
> > The error log is pasted below...
> >
> > from what we are able to understand.
> > It is not able to find
> > org.apache.jetspeed.container.PortletRequestContextclass...
> > we were also not able to find it manually by searching through all the
> > source files.
> >
> > Could u plese help me as i am very eager to try the new J2 desktop.
> >
> > Team VIT
> > ________________________________________________________________________
> > __
> > 2006-08-14 21:19:17,849 [main] ERROR
> > org.apache.jetspeed.engine.JetspeedEngine -
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean
> > with name 'portalURLValve' defined in ServletContext resource
> > [/WEB-INF/assembly/pipelines.xml]: Can't resolve reference to bean
> > 'NavigationalStateComponent' while setting property 'constructor
> > argument';
> > nested exception is
> > org.springframework.beans.factory.BeanCreationException:
> > Error creating bean with name 'NavigationalStateComponent' defined in
> > ServletContext resource [/WEB-INF/assembly/portal-url-generation.xml]:
> > Instantiation of bean failed; nested exception is
> > org.springframework.beans.FatalBeanException: Could not instantiate
> > class [
> > org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCompon
> > ent];
> > constructor threw exception; nested exception is
> > java.lang.NoClassDefFoundError:
> > org/apache/jetspeed/container/PortletRequestContext
> > 2006-08-14 21:19:17,849 [main] INFO
> > org.apache.jetspeed.engine.JetspeedEngine - Finished starting Jetspeed
> > Engine (org.apache.jetspeed.engine.JetspeedEngine) at 8/14/06 9:19 PM.
> > Elapsed time: 12 seconds.
> > 2006-08-14 21:19:17,865 [main] FATAL
> > org.apache.jetspeed.engine.JetspeedServlet - Jetspeed: init() failed:
> > org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization
> > exception!
> >     at
> > org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java
> > :131)
> >     at
> > org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java
> > :153)
> >     at org.apache.catalina.core.StandardWrapper.loadServlet(
> > StandardWrapper.java:1091)
> >     at
> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
> > :925)
> >     at org.apache.catalina.core.StandardContext.loadOnStartup(
> > StandardContext.java:3880)
> >     at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java
> > :4141)
> >     at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:759)
> >     at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> > :739)
> >     at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> >     at org.apache.catalina.startup.HostConfig.deployDescriptor(
> > HostConfig.java:603)
> >     at org.apache.catalina.startup.HostConfig.deployDescriptors(
> > HostConfig.java:535)
> >     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> > :470)
> >     at
> > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
> >     at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> > :310)
> >     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:119)
> >     at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> >     at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> >     at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> >     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> > :442)
> >     at
> > org.apache.catalina.core.StandardService.start(StandardService.java
> > :450)
> >     at org.apache.catalina.core.StandardServer.start(StandardServer.java
> > :680)
> >     at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:39)
> >     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> >     at java.lang.reflect.Method.invoke(Method.java:585)
> >     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
> >     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> > Caused by: org.springframework.beans.factory.BeanCreationException:
> > Error
> > creating bean with name 'portalURLValve' defined in ServletContext
> > resource
> > [/WEB-INF/assembly/pipelines.xml]: Can't resolve reference to bean
> > 'NavigationalStateComponent' while setting property 'constructor
> > argument';
> > nested exception is
> > org.springframework.beans.factory.BeanCreationException:
> > Error creating bean with name 'NavigationalStateComponent' defined in
> > ServletContext resource [/WEB-INF/assembly/portal-url-generation.xml]:
> > Instantiation of bean failed; nested exception is
> > org.springframework.beans.FatalBeanException: Could not instantiate
> > class [
> > org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCompon
> > ent];
> > constructor threw exception; nested exception is
> > java.lang.NoClassDefFoundError:
> > org/apache/jetspeed/container/PortletRequestContext
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.resolveReference
> > (AbstractAutowireCapableBeanFactory.java:984)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.resolveValueIfNecessary
> > (AbstractAutowireCapableBeanFactory.java:918)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.resolveConstructorArguments
> > (AbstractAutowireCapableBeanFactory.java:574)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.autowireConstructor
> > (AbstractAutowireCapableBeanFactory.java:477)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.createBean
> > (AbstractAutowireCapableBeanFactory.java:306)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.createBean
> > (AbstractAutowireCapableBeanFactory.java:260)
> >     at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > (AbstractBeanFactory.java:221)
> >     at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > (AbstractBeanFactory.java:145)
> >     at
> > org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
> > InstantiateSingletons
> > (DefaultListableBeanFactory.java:291)
> >     at
> > org.springframework.context.support.AbstractApplicationContext.refresh(
> > AbstractApplicationContext.java:317)
> >     at
> > org.springframework.web.context.support.AbstractRefreshableWebApplicatio
> > nContext.refresh
> > (AbstractRefreshableWebApplicationContext.java:131)
> >     at org.apache.jetspeed.components.SpringComponentManager.start(
> > SpringComponentManager.java:217)
> >     at
> > org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java
> > :114)
> >     ... 27 more
> > Caused by: org.springframework.beans.factory.BeanCreationException:
> > Error
> > creating bean with name 'NavigationalStateComponent' defined in
> > ServletContext resource [/WEB-INF/assembly/portal-url-generation.xml]:
> > Instantiation of bean failed; nested exception is
> > org.springframework.beans.FatalBeanException: Could not instantiate
> > class [
> > org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCompon
> > ent];
> > constructor threw exception; nested exception is
> > java.lang.NoClassDefFoundError:
> > org/apache/jetspeed/container/PortletRequestContext
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.createBean
> > (AbstractAutowireCapableBeanFactory.java:356)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.createBean
> > (AbstractAutowireCapableBeanFactory.java:260)
> >     at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > (AbstractBeanFactory.java:221)
> >     at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean
> > (AbstractBeanFactory.java:145)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.resolveReference
> > (AbstractAutowireCapableBeanFactory.java:980)
> >     ... 39 more
> > Caused by: org.springframework.beans.FatalBeanException: Could not
> > instantiate class [
> > org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCompon
> > ent];
> > constructor threw exception; nested exception is
> > java.lang.NoClassDefFoundError:
> > org/apache/jetspeed/container/PortletRequestContext
> >     at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java
> > :93)
> >     at
> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.in
> > stantiate
> > (SimpleInstantiationStrategy.java:72)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.autowireConstructor
> > (AbstractAutowireCapableBeanFactory.java:531)
> >     at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > tory.createBean
> > (AbstractAutowireCapableBeanFactory.java:306)
> >     ... 43 more
> > Caused by: java.lang.NoClassDefFoundError:
> > org/apache/jetspeed/container/PortletRequestContext
> >     at org.apache.jetspeed.JetspeedPortalContext.getSupportedModes(
> > JetspeedPortalContext.java:188)
> >     at
> > org.apache.jetspeed.JetspeedPortalContext.getSupportedPortletModes(
> > JetspeedPortalContext.java:202)
> >     at
> > org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCompon
> > ent
> > .<init>(JetspeedNavigationalStateComponent.java:78)
> >     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >     at sun.reflect.NativeConstructorAccessorImpl.newInstance(
> > NativeConstructorAccessorImpl.java:39)
> >     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> > DelegatingConstructorAccessorImpl.java:27)
> >     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >     at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java
> > :78)
> >     ... 46 more
> > ________________________________________________________________________
> > ___________
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
> >
> >
>
>


-- 
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message