Mail Archive Home | exoplatform List | December 2007 Index
| <-- Date Index --> | <-- Thread Index --> |
Good, the previous exception is gone.
Read comments below...
On Dec 3, 2007 4:21 PM, Max Carpentier <max315462@xxxxxxxxx> wrote:
> Indeed i've just updated all projects and tried to build a runnable webos
> with command line :
>
> exobuild --product=portal --clean-mvn-repo --build --release
>
> I still get an error :
>
> [GET] org.exoplatform.portal /exo.portal.portlet.content version 2.0
> From file:c:\java/exo-dependencies/repository
> [GET] org.exoplatform.portal/exo.portal.portlet.content version 2.0
> From http://vnserver.exoplatform.org/maven2
BTW, you should use only this two repos: ($HOME/.m2/settings.xml)
<repository>
<id>maven.org</id>
<name>maven.org repository</name>
<url>http://repo1.maven.org/maven2</url>
<layout>default</layout>
</repository>
<repository>
<id>exo-int</id>
<name>exoplatform.org internal repository</name>
<url>http://maven2.exoplatform.org/rest/maven2</url>
<layout>default</layout>
</repository>
> Script threw exception: Sourced file:
> c:\java\eXoProjects\tools\trunk\build\src\main\script\eXo\eXo.bsh : Method
> Invocation this.interpreter
> .eval : at Line: 73 : in file: /bsh/commands/eval.bsh : this .interpreter
> .eval ( expression , this .caller .namespace )
>
> Called from method: eval : at Line: 48 : in file:
> c:\java\eXoProjects\tools\trunk\build\src\main\script\eXo\eXo.bsh : eval (
> command + "(cmd
> args)" )
> Target exception: Sourced file: inline evaluation of: ``exobuild(cmdargs);''
> : TargetError : at Line: 121 : in file: /eXo/projects/Project.b
> sh : throw new Exception ( "Error while deploying the project : " +
> relativePath ) ;
>
> Called from method: deployTo : at Line: 60 : in file:
> /eXo/projects/eXoProduct.bsh : project .deployTo ( repos , server )
> Target exception: java.lang.Exception: Error while deploying the project :
> org/exoplatform/portal/exo.portal.portlet.content/2.0/exo.portal.
> portlet.content-2.0.war
>
>
> Maybe i should just rewrite my webapp as a portlet, without any struts in
> it...my webapp currently use several features (internationalization,server
> and client-side form validation, tiles...) which may not work with the
> bridge ?
You may do it, perhaps it will help.
PS: Do you use windows, or linux?
PS2: Structure of eXo base directory
java/ <= it's $EXO_BASE_DIRECTORY
exo-dependencies/
tomcat-${version}
jboss-${version}
jonas-${version}
exo-working <= for deployed application server
jdk1.5
maven2
eXoProjects <= here sources
>
> Regards,
>
> Max
>
>
>
>
> 2007/11/29, Alexey Zavizionov <alexey.zavizionov@xxxxxxxxx>:
>
> > Hello, Max.
> >
> > I have just built it successful. Did you update all projects without any
> error?
> > Try to update and build all.
> >
> > This stack trace means that he could not find the description of
> > PortletApplicationsHolder within container configuration.
> >
> > Regards,
> > Alexey
> >
> > On Nov 28, 2007 5:34 PM, Max Carpentier <max315462@xxxxxxxxx> wrote:
> > > Thanxs Alexey,
> > > unfortunately i don't manage to build the portal project...following the
> > > instructions here
> > > (http://wiki.exoplatform.com/xwiki/bin/view/Main/Building+from+sources )
> ,
> > > the compilation fails with this error :
> > >
> > > org.apache.maven.reactor.MavenExecutionException: Could not find the
> model
> > > file 'C:\java\exoProjects\jcr\trunk\frameworks\httpclient\pom.xml
> > > '. for project unknown
> > > at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
> > >
> > >
> > > The portal i use is exo-enterprise-webos-r20470-tomcat (could'nt get any
> > > newer portal working)
> > > here's the full stack trace :
> > >
> > > GRAVE: Cannot deploy StrutsPortlet
> > > java.lang.RuntimeException: Cannot instantiate component class
> > >
> org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationProxy
> > > at
> > > org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance
> > > (MX4JComponentAdapter.java:86)
> > > at
> > >
> org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java
> :322)
> > > at
> > >
> org.picocontainer.defaults.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java
> > > :305)
> > > at
> > >
> org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationRegisterImpl.registerPortletApplication
> (PortletApplicationRegisterImpl.java:79)
> > > at
> > >
> org.exoplatform.services.portletcontainer.impl.servlet.PortletApplicationListener.contextInitialized
> > > (PortletApplicationListener.java:114)
> > > at
> > >
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
> > > at
> > >
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
> > > at
> > > org.apache.catalina.core.ContainerBase.addChildInternal
> (ContainerBase.java:761)
> > > at
> > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
> > > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> > > :525)
> > > at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
> > > at
> > > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
> > > at org.apache.catalina.startup.HostConfig.deployApps
> > > (HostConfig.java:490)
> > > at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> > > at
> > >
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> > > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
> > > (LifecycleSupport.java:120)
> > > at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
> > > at org.apache.catalina.core.StandardHost.start
> (StandardHost.java:719)
> > > at org.apache.catalina.core.ContainerBase.start
> > > (ContainerBase.java:1015)
> > > at
> > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> > > at
> > > org.apache.catalina.core.StandardService.start(StandardService.java:448)
> > > at org.apache.catalina.core.StandardServer.start
> > > (StandardServer.java:710)
> > > at org.apache.catalina.startup.Catalina.start (Catalina.java:552)
> > > 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:288)
> > > at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:413)
> > > Caused by: java.lang.Exception: Cannot find a satisfying constructor for
> > > class
> > >
> org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationProxy
> > > with parameter class
> > >
> org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationsHolder
> > >
> > > at
> > >
> org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:133)
> > > at
> > > org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance
> > > (MX4JComponentAdapter.java:62)
> > > ... 28 more
> > >
> > > Regards,
> > > Max
> > >
> > >
> > > 2007/11/23, Alexey Zavizionov <alexey.zavizionov@xxxxxxxxx >:
> > >
> > > > Hmm.. That's bad.
> > > >
> > > > Try to update all sources to the head revision. Build all and deploy.
> > > > Make sure that necessary jar (exo.pc.util-bridge-2.0.jar) have been
> > > > deployed to lib directory of your application server.
> > > > Do you Tomcat use?
> > > > Then, if any exception will appear send the full stack trace to me.
> > > >
> > > > Regards,
> > > > Alexey.
> > > >
> > > > On Nov 23, 2007 6:20 PM, Max Carpentier <max315462@xxxxxxxxx> wrote:
> > > > > Thanxs Alexey, unfortunately it still doesn't work...the portlet
> can't
> > > even
> > > > > be deployed :
> > > > >
> > > > > java.lang.Exception: Cannot find a satisfying constructor for class
> > > > >
> > >
> org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationProxy
> > > > > with parameter class
> > > > >
> > >
> org.exoplatform.services.portletcontainer.plugins.pc.PortletApplicationsHolder
> > > > > at
> > > > >
> > > org.exoplatform.container.ExoContainer.createComponent
> (ExoContainer.java:133)
> > > > > at
> > > > >
> org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance
> > > > > (MX4JComponentAdapter.java:62)
> > > > >
> > > > > i'll try to rebuild sources from scratch to get the latest jars...
> > > > >
> > > > > 2007/11/22, Alexey Zavizionov < alexey.zavizionov@xxxxxxxxx>:
> > > > >
> > > > > > Нi,
> > > > > > I have just noticed that the howto by that link refer to the old
> jar
> > > > > > and path at all of old project structure.
> > > > > > Therefore, you have exc NoClassDefFoundError looking for
> > > > > >
> > > > >
> > >
> org/exoplatform/services/portletcontainer/impl/portletAPIImp/PortletContextImpl.
> > > > > > The package name in new structure for this class is
> > > > > > org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp
> > > > > >
> > > > > > So, for now I have created util-bridge within
> > > > > > portlet-container/branches/2.0/applications, try to use this one.
> > > > > >
> > > > > > Look at modified "Portals bridges" wiki page at:
> > > > > > http://wiki.exoplatform.com/xwiki/bin/view/PC/Portals+bridges
> > > > > >
> > > > > > Regards,
> > > > > > Alexey
> > > > > >
> > > > > > On Nov 21, 2007 4:41 PM, Max Carpentier < max315462@xxxxxxxxx>
> wrote:
> > > > > > > Hi,
> > > > > > > I'm trying to test the SampleBridgeStrutsPortlet found in this
> link
> > > :
> > > > > > > http://wiki.exoplatform.com/xwiki/bin/view/PC/Portals+bridges
> but
> > > > > > > unfortunately it won't render...it can't find PortletContextImpl
> > > which
> > > > > seems
> > > > > > > to only be found in PC...
> > > > > > > has someone already tried this example in exo webos ? or maybe
> i'm
> > > doing
> > > > > > > something wrong ?
> > > > > > > Regards,
> > > > > > > Max
> > > > > > >
> > > > > > > stack trace :
> > > > > > > 2007/11/21 15:31:14:625 CET [ERROR] portletcontainer - exception
> > > > > returned by
> > > > > > > processAction() or render() methods <java.lang.NoClassDefFoundE
> > > > > > > rror:
> > > > > > >
> > > > >
> > >
> org/exoplatform/services/portletcontainer/impl/portletAPIImp/PortletContextImpl>
> > > > > > > java.lang.NoClassDefFoundError: org/exoplatform/servic
> > > > > > > es/portletcontainer/impl/portletAPIImp/PortletContextImpl
> > > > > > > at
> > > > > > >
> > > > >
> > >
> org.exoplatform.ServletContextProviderImpl.getServletContext(ServletContextProviderImpl.java
> > > > > > > :21)
> > > > > > > at
> > > > > > >
> org.apache.portals.bridges.struts.StrutsPortlet.getServletContext
> > > > > (StrutsPortlet.java:211)
> > > > > > > at
> > > > > > >
> > > > >
> > >
> org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:313)
> > > > > > > at
> > > > > > > org.apache.portals.bridges.struts.StrutsPortlet.doView(
> > > > > StrutsPortlet.java:301)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 2007/11/20, Max Carpentier < max315462@xxxxxxxxx>:
> > > > > > >
> > > > > > > > Hi,
> > > > > > > > Thanxs for your answers, gonna have a look at these links, it
> > > looks
> > > > > > > helpful !
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Max
> > > > > > > >
> > > > > > > >
> > > > > > > > 2007/11/20, Alexey Zavizionov < alexey.zavizionov@xxxxxxxxx >:
> > > > > > > >
> > > > > > > > > Hello, Maxime
> > > > > > > > >
> > > > > > > > > We have already been tested our portlet-container with this
> > > > > framework.
> > > > > > > > > Look at
> > > > > http://wiki.exoplatform.com/xwiki/bin/view/PC/Portals+bridges
> > > > > > > > > item "STRUTS - sbridgestrutsportlet".
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Alexey
> > > > > > > > >
> > > > > > > > > On Nov 20, 2007 1:10 PM, LAMARQUE Patrice GC EUR
> > > > > > > > > < patrice.lamarque@xxxxxxxxxxxxx > wrote:
> > > > > > > > > > Maxime,
> > > > > > > > > >
> > > > > > > > > > You won't be able to run a plain webapp in a portal.
> instead
> > > will
> > > > > need
> > > > > > > > > > to build a portlet ontop of your app in order to have it
> > > runnning
> > > > > in
> > > > > > > the
> > > > > > > > > > portal.
> > > > > > > > > > eXo uses the term 'application' to name portlets +
> widgets,
> > > not
> > > > > > > webapps...
> > > > > > > > > >
> > > > > > > > > > To convert your struts app into a portlet you may want to
> have
> > > a
> > > > > look
> > > > > > > to
> > > > > > > > > > :
> > > > > > > > > >
> > > > > > >
> > > > >
> > >
> http://portals.apache.org/bridges/multiproject/portals-bridges-struts/index.html
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Patrice
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Max Carpentier a écrit :
> > > > > > > > > > > Hi jérémi
> > > > > > > > > > > No, my webapp is just a classical jsp webapp, built with
> > > struts
> > > > > and
> > > > > > > > > > > tiles...
> > > > > > > > > > > I'm quite new to the portal concept..that's why i asked
> for
> > > some
> > > > > doc
> > > > > > > ;)
> > > > > > > > > > > Where and what should i begin with ?
> > > > > > > > > > >
> > > > > > > > > > > 2007/11/20, jeremi joslin < jeremi23@xxxxxxxxx
> > > > > > > > > > > <mailto: jeremi23@xxxxxxxxx>>:
> > > > > > > > > > >
> > > > > > > > > > > Hi,
> > > > > > > > > > > Is your application a Portlet (JSR 168 or 286)?
> > > > > > > > > > > Have you reloaded the list of portlet using the
> Portlet
> > > > > > > registry?
> > > > > > > > > > >
> > > > > > > > > > > Regards,
> > > > > > > > > > > Jérémi
> > > > > > > > > > >
> > > > > > > > > > > On Nov 20, 2007 5:35 PM, Max Carpentier <
> > > > > max315462@xxxxxxxxx
> > > > > > > > > > > <mailto: max315462@xxxxxxxxx >> wrote:
> > > > > > > > > > > > Hi,
> > > > > > > > > > > > I've installed the new exo webos, it sounds cool
> but i
> > > > > can't
> > > > > > > > > > > find any
> > > > > > > > > > > > documentation on it...
> > > > > > > > > > > > i'd like to import my webapp as an application to
> the
> > > > > desktop,
> > > > > > > > > > > i've tried to
> > > > > > > > > > > > add in my web.xml the few lines i've read in
> portlet
> > > > > > > container's
> > > > > > > > > > > doc but it
> > > > > > > > > > > > won't work...
> > > > > > > > > > > > the link :
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > > > >
> > >
> http://wiki.exoplatform.com/xwiki/bin/view/Portal/Make+a+Portlet+appear+in+the+desktop+layout
> > > > > > > > > > > > is empty too :(
> > > > > > > > > > > >
> > > > > > > > > > > > is there any doc written on how to add your own
> > > > > application in
> > > > > > > > > > > the webos ?
> > > > > > > > > > > > Thanxs in advance,
> > > > > > > > > > > >
> > > > > > > > > > > > Maxime
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > You receive this message as a subscriber of the
> > > > > > > > > > > exoplatform@xxxxxxx <mailto: exoplatform@xxxxxxx>
> > > mailing
> > > > > > > > > >
> > > > > > > > > > > > list.
> > > > > > > > > > > > To unsubscribe: mailto:
> > > exoplatform-unsubscribe@xxxxxxx
> > > > > > > > > > > <mailto: exoplatform-unsubscribe@xxxxxxx >
> > > > > > > > > > > > For general help: mailto: sympa@xxxxxxx
> > > > > > > > > > > <mailto: sympa@xxxxxxx>?subject=help
> > > > > > > > > > > > OW2 mailing lists service home page:
> > > > > http://www.ow2.org/wws
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > You receive this message as a subscriber of the
> > > > > exoplatform@xxxxxxx
> > > > > > > mailing list.
> > > > > > > > > > To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxx
> > > > > > > > > > For general help: mailto: sympa@xxxxxxx ?subject=help
> > > > > > > > > > OW2 mailing lists service home page:
> http://www.ow2.org/wws
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.