Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Using liferay from trunk Kolja Köster 1 de Outubro de 2009 02:47
RE: Using liferay from trunk Kolja Köster 1 de Outubro de 2009 04:33
RE: Using liferay from trunk Mika Koivisto 1 de Outubro de 2009 04:58
RE: Using liferay from trunk Kolja Köster 1 de Outubro de 2009 05:48
RE: Using liferay from trunk Mika Koivisto 1 de Outubro de 2009 06:11
RE: Using liferay from trunk Kolja Köster 1 de Outubro de 2009 06:49
RE: Using liferay from trunk Kolja Köster 1 de Outubro de 2009 07:46
RE: Using liferay from trunk Mika Koivisto 1 de Outubro de 2009 08:44
RE: Using liferay from trunk Kolja Köster 1 de Outubro de 2009 23:15
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 00:11
RE: Using liferay from trunk Oliver Bayer 2 de Outubro de 2009 01:00
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 01:44
RE: Using liferay from trunk Mika Koivisto 2 de Outubro de 2009 02:57
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 04:01
RE: Using liferay from trunk Brian Kim 2 de Outubro de 2009 02:16
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 02:19
RE: Using liferay from trunk Alexander Chow 2 de Outubro de 2009 04:12
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 04:36
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 05:20
RE: Using liferay from trunk Brian Kim 2 de Outubro de 2009 05:35
RE: Using liferay from trunk Oliver Bayer 2 de Outubro de 2009 06:07
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 06:24
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 06:53
RE: Using liferay from trunk Oliver Bayer 2 de Outubro de 2009 07:47
RE: Using liferay from trunk Kolja Köster 2 de Outubro de 2009 07:54
RE: Using liferay from trunk Alexander Chow 2 de Outubro de 2009 07:55
RE: Using liferay from trunk Alexander Chow 2 de Outubro de 2009 08:06
RE: Using liferay from trunk Alexander Chow 2 de Outubro de 2009 08:51
RE: Using liferay from trunk Kolja Köster 3 de Outubro de 2009 05:57
RE: Using liferay from trunk Kolja Köster 5 de Outubro de 2009 00:03
RE: Using liferay from trunk Alexander Chow 5 de Outubro de 2009 00:55
RE: Using liferay from trunk Kolja Köster 5 de Outubro de 2009 01:17
RE: Using liferay from trunk Kolja Köster 5 de Outubro de 2009 04:36
RE: Using liferay from trunk Oliver Bayer 5 de Outubro de 2009 08:05
RE: Using liferay from trunk Kolja Köster 6 de Outubro de 2009 00:11
RE: Using liferay from trunk Kolja Köster 6 de Outubro de 2009 01:32
Kolja Köster
Using liferay from trunk
1 de Outubro de 2009 02:47
Resposta

Kolja Köster

Ranking: Regular Member

Mensagens: 164

Data de entrada: 11 de Maio de 2009

Mensagens recentes

After the fantasic preview on version 5.3 on the symposium, I was very courious and wanted to get my hands on that version. So I checkt out the trunk from the public svn. I installed an new tomcat, becaus I do not want 5.3 to interfere with my existing liferay installation. I created personal verison of build.properties and release.properties. Some manual stated to change app.server.properties but I did not do so in my existing liferay installation, so my app.server.$username.properties is just empty. I changed CATALINA_HOME system variable to point on my new tomcat dir. I did ant build in my liferay trunk dir and i did ant deploy. Now what? Tomcat is running, several files from my trunk dir have been copied to the tomcat root, but I can not access the portal. What did I miss? Is there a documentation on this? Any help would be realle apreciated.

[Edit: Seems like a bunce of files are deployed to a wron directory. Might someone point me to a COMPLETE liste of property files, that have to be edited?]

[Another Edit: After changing some directory name values, tomcat now fails wiht an IllegalArgumentException: webapps/host-manager does not exist....a single readme on this would be so awsome....]

[And another one: I found a host-manager in work/catalina/localhost. Why does tomcat seach for it in webapps? What does the host-manager do? How to configure this? Anyone, please help. This is so frustrating. Half a page of text could easily solve this. I can not beleave to be the only one, who tries to checkout from trunk. Or do all of you know how to do this by heart?]

Regards
Kolja
Kolja Köster
RE: Using liferay from trunk
1 de Outubro de 2009 04:33
Resposta

Kolja Köster

Ranking: Regular Member

Mensagens: 164

Data de entrada: 11 de Maio de 2009

Mensagens recentes

Ok, I am sorry to say, that I am giving up on this. I changed all propertie files. I had my tomcat dir in several different places. Propertie files define variables based on other variablenames, which are not given in that file. It ist impossible for me to set up Liferay without the bundled tomcat. Noone has written a single line on this. ant deploy is not helping AT ALL, because I have no clue, how to edit the propertie files. I am stuck on this, very hard.
This really needs a documentation, or if it exists, it needs a link!! I am unable to solve this for about 5 hours now! Can anybody PLEASE STATE ANY DIRECTION how to USE LIFERAY FROM TRUNK?

Regards
Kolja
Mika Koivisto
RE: Using liferay from trunk
1 de Outubro de 2009 04:58
Resposta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1501

Data de entrada: 7 de Agosto de 2006

Mensagens recentes

There are a bunch of articles about setting up your development environment in the Wiki.

Here's a not so detailed easy way of getting started with trunk:

  1. Download latest Liferay bundle (tomcat 6 recommended)
  2. Checkout source code from svn
  3. Copy app.server.properties to app.server.YOURUSERNAME.properties
  4. Set app.server.type to your app server (i.e. tomcat)
  5. Adjust your tomcat bundle location in app.server.YOURUSERNAME.properties
  6. run> ant clean start deploy for the trunk source.
Kolja Köster
RE: Using liferay from trunk
1 de Outubro de 2009 05:48
Resposta

Kolja Köster

Ranking: Regular Member

Mensagens: 164

Data de entrada: 11 de Maio de 2009

Mensagens recentes

Mika Koivisto:

Download latest Liferay bundle (tomcat 6 recommended)

Done...
Mika Koivisto:
  • Checkout source code from svn

  • Done...
    Source resides in c:\liferaytrunk, tomcat in c:\liferaytrunk\tomcat
    Mika Koivisto:
  • Copy app.server.properties to app.server.YOURUSERNAME.properties
  • Set app.server.type to your app server (i.e. tomcat)
  • Adjust your tomcat bundle location in app.server.YOURUSERNAME.properties

  • Well, that ist not as easy as you describe it here. This seem to be the relevant lines:
    app.server.tomcat.version=6.0
    app.server.tomcat.dir=${app.server.parent.dir}/tomcat-6.0.16
    app.server.tomcat.classes.global.dir=${app.server.tomcat.dir}/lib
    app.server.tomcat.lib.endorsed.dir=${app.server.tomcat.dir}/lib/ext
    app.server.tomcat.lib.global.dir=${app.server.tomcat.dir}/lib/ext
    app.server.tomcat.lib.support.dir=${app.server.tomcat.dir}/lib/ext
    app.server.tomcat.support.dir=${app.server.tomcat.dir}/lib/ext
    app.server.tomcat.zip.name=liferay-portal-tomcat-6.0-${downloads.version}.zip

    Where does app.server.parent.dir have to point to? Where is this defined? Same for downloads.version. In the app.server.properties from the svn there are even more such variables like e.g. app.server.tomcat.portal.dir, which are used in a variable definition, but are itself never defined in the context of app.server.properties.
    Another question: Am I done after deploying this with ant deploy? The liferay-admin-guide states to remove some sample content from the tomcat/ROOT dir, and tells me to change some xml files. Is this all handled by ant?

    Regards
    Kolja
    Mika Koivisto
    RE: Using liferay from trunk
    1 de Outubro de 2009 06:11
    Resposta

    Mika Koivisto

    LIFERAY STAFF

    Ranking: Liferay Legend

    Mensagens: 1501

    Data de entrada: 7 de Agosto de 2006

    Mensagens recentes

    Okey I see what your issue is. I would recommend using following kind of directory structure:

    1C:/SomeBaseDir
    2        /bundles
    3                /tomcat-6.0.18
    4        /portal
    5        /ext
    6        /plugins


    Now you point app.server.parent.dir to C:/SomeBaseDir/bundles. You portal trunk sources reside in C:/SomeBaseDir/portal and if you use ext or plugins sdk they reside next to the portal directory. Once the ant clean start deploy has run you are done and can then startup your tomcat.
    Kolja Köster
    RE: Using liferay from trunk
    1 de Outubro de 2009 06:49
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Mika Koivisto:
    Okey I see what your issue is. I would recommend using following kind of directory structure:

    Still not working. Now I have a directory called liferaytrunk. Within it, I have a tomcat dir, called tomcat and my checked out sources dir called portal. These are the changes I made to my property files:
    c:\liferaytrunk\portal\build.username.properties:
    1app.server.dir=C:/liferaytrunk/tomcat
    2app.server.portal.dir=${app.server.dir}/webapps/ROOT
    3app.server.classes.portal.dir=${app.server.portal.dir}/WEB-INF/classes
    4app.server.lib.global.dir=${app.server.dir}/common/lib/ext
    5app.server.lip.portal.dir=${app.server.portal.dir}/WEB-INF/lib

    c:\liferaytrunk\portal\app.server.username.properties:
     1app.server.type=tomcat
     2
     3app.server.parent.dir=c:/liferaytrunk
     4
     5app.server.tomcat.version=6.0
     6app.server.tomcat.dir=${app.server.parent.dir}/tomcat
     7app.server.tomcat.bin.dir=${app.server.tomcat.dir}/bin
     8app.server.tomcat.classes.global.dir=${app.server.tomcat.dir}/lib
     9app.server.tomcat.classes.portal.dir=${app.server.tomcat.portal.dir}/WEB-INF/classes
    10app.server.tomcat.deploy.dir=${app.server.tomcat.dir}/webapps
    11app.server.tomcat.lib.endorsed.dir=${app.server.tomcat.dir}/lib/ext
    12app.server.tomcat.lib.global.dir=${app.server.tomcat.dir}/lib/ext
    13app.server.tomcat.lib.portal.dir=${app.server.tomcat.portal.dir}/WEB-INF/lib
    14app.server.tomcat.lib.support.dir=${app.server.tomcat.dir}/lib/ext
    15app.server.tomcat.portal.context=ROOT
    16app.server.tomcat.portal.dir=${app.server.tomcat.deploy.dir}/${app.server.tomcat.portal.context}
    17app.server.tomcat.log.dir=${app.server.tomcat.dir}/logs
    18app.server.tomcat.temp.dir=${app.server.tomcat.dir}/temp
    19app.server.tomcat.work.dir=${app.server.tomcat.dir}/work
    20app.server.tomcat.zip.name=liferay-portal-tomcat-6.0-${downloads.version}.zip
    21app.server.tomcat.zip.url=${sourceforge.mirror}/${app.server.tomcat.zip.name}
    22
    23downloads.dir=${project.dir}/downloads
    24downloads.version=@lp.version@
    25   
    26sourceforge.mirror=http://heanet.dl.sourceforge.net/sourceforge/lportal

    ant deploys about 5000 files to tomcat, which still does not start and fails to run the portal with an IllegalArgumentException.

    [Edit: corrected typos]

    Regards
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    1 de Outubro de 2009 07:46
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Tried the same procedure again, this time also creating an ext environment. Same error. Tomcat starts, console tells me about IllegalArgumentException. All that comes up is the demo page. THIS IS DONE EXACTLY AS DESCIBED IN THE GUIDE, THAT WAS LINKED HERE! At least to my humble skills. I have posted my configuration, please state if there still is a simple typo or somthing that I did not get.
    I see that this is complex. I see that this requires some skill. I do not see people telling me 'oh come on, that' sooooo easy.' It is not! Wasted a whole workday on this. Depressing, I am sorry to say.

    Regards
    Kolja
    Mika Koivisto
    RE: Using liferay from trunk
    1 de Outubro de 2009 08:44
    Resposta

    Mika Koivisto

    LIFERAY STAFF

    Ranking: Liferay Legend

    Mensagens: 1501

    Data de entrada: 7 de Agosto de 2006

    Mensagens recentes

    It is possible that trunk is unstable at times since it is under development and no QA has been do to it yet. Can you post what get's printed to the tomcat console? I didn't notice any errors in your properties.

    Using trunk is really only recommended for experienced developers that want an early access to the upcoming version and possibly contribute features and or bug fixes.

    I know that it can be quite depressing when you do everything right but it still does not work. When I develop against trunk I sometimes have to rollback to an earlier version that has been stable for me to be able to continue developing the feature I was doing.
    Kolja Köster
    RE: Using liferay from trunk
    1 de Outubro de 2009 23:15
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Mika Koivisto:
    It is possible that trunk is unstable at times since it is under development and no QA has been do to it yet. Can you post what get's printed to the tomcat console? I didn't notice any errors in your properties.

    This is, whats in catalina.log:
      101.10.2009 16:31:22 org.apache.catalina.core.AprLifecycleListener init
      2INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\liferaytrunk\tomcat\bin;C:\Programme\Java\jdk1.6.0_14\bin;C:\Programme\apache-ant\bin;C:\Programme\jikes\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\WiFi\bin\;C:\Programme\WinSCP\;C:\Programme\MySQL\MySQL Server 5.1\bin;C:\Programme\Subversion\bin;C:\Programme\BDV\Uniarchiv\Bin\Lead14
      301.10.2009 16:31:22 org.apache.coyote.http11.Http11Protocol init
      4INFO: Initializing Coyote HTTP/1.1 on http-8080
      501.10.2009 16:31:22 org.apache.catalina.startup.Catalina load
      6INFO: Initialization processed in 442 ms
      701.10.2009 16:31:22 org.apache.catalina.core.StandardService start
      8INFO: Starting service Catalina
      901.10.2009 16:31:22 org.apache.catalina.core.StandardEngine start
     10INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
     1101.10.2009 16:31:22 org.apache.catalina.core.StandardContext resourcesStart
     12SCHWERWIEGEND: Error starting static Resources
     13java.lang.IllegalArgumentException: Document base C:\liferaytrunk\tomcat\webapps\host-manager does not exist or is not a readable directory
     14    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
     15    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
     16    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
     17    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
     18    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
     19    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
     20    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
     21    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
     22    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
     23    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
     24    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
     25    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     26    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
     27    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
     28    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
     29    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     30    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
     31    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
     32    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
     33    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     34    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     35    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     36    at java.lang.reflect.Method.invoke(Method.java:597)
     37    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
     38    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
     3901.10.2009 16:31:22 org.apache.catalina.core.StandardContext start
     40SCHWERWIEGEND: Error in resourceStart()
     4101.10.2009 16:31:22 org.apache.catalina.core.StandardContext start
     42SCHWERWIEGEND: Error getConfigured
     4301.10.2009 16:31:22 org.apache.catalina.core.StandardContext start
     44SCHWERWIEGEND: Context [/host-manager] startup failed due to previous errors
     4501.10.2009 16:31:22 org.apache.catalina.core.StandardContext stop
     46INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] has not been started
     4701.10.2009 16:31:22 org.apache.catalina.core.StandardContext resourcesStart
     48SCHWERWIEGEND: Error starting static Resources
     49java.lang.IllegalArgumentException: Document base C:\liferaytrunk\tomcat\webapps\manager does not exist or is not a readable directory
     50    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
     51    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
     52    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
     53    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
     54    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
     55    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
     56    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
     57    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
     58    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
     59    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
     60    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
     61    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     62    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
     63    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
     64    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
     65    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
     66    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
     67    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
     68    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
     69    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     70    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     71    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     72    at java.lang.reflect.Method.invoke(Method.java:597)
     73    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
     74    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
     7501.10.2009 16:31:22 org.apache.catalina.core.StandardContext start
     76SCHWERWIEGEND: Error in resourceStart()
     7701.10.2009 16:31:22 org.apache.catalina.core.StandardContext start
     78SCHWERWIEGEND: Error getConfigured
     7901.10.2009 16:31:22 org.apache.catalina.core.StandardContext start
     80SCHWERWIEGEND: Context [/manager] startup failed due to previous errors
     8101.10.2009 16:31:22 org.apache.catalina.core.StandardContext stop
     82INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] has not been started
     8301.10.2009 16:33:03 org.apache.catalina.core.StandardContext start
     84SCHWERWIEGEND: Error listenerStart
     8501.10.2009 16:33:03 org.apache.catalina.core.StandardContext start
     86SCHWERWIEGEND: Context [] startup failed due to previous errors
     8701.10.2009 16:33:04 org.apache.coyote.http11.Http11Protocol start
     88INFO: Starting Coyote HTTP/1.1 on http-8080
     8901.10.2009 16:33:04 org.apache.jk.common.ChannelSocket init
     90INFO: JK: ajp13 listening on /0.0.0.0:8009
     9101.10.2009 16:33:04 org.apache.jk.server.JkMain start
     92INFO: Jk running ID=0 time=0/16  config=null
     9301.10.2009 16:33:04 org.apache.catalina.startup.Catalina start
     94INFO: Server startup in 102307 ms
     9501.10.2009 16:33:52 org.apache.coyote.http11.Http11Protocol pause
     96INFO: Pausing Coyote HTTP/1.1 on http-8080
     9701.10.2009 16:33:53 org.apache.catalina.core.StandardService stop
     98INFO: Stopping service Catalina
     9901.10.2009 16:33:53 org.apache.catalina.startup.HostConfig undeployApps
    100WARNUNG: Error while removing context [/tunnel-web]
    101java.lang.NullPointerException
    102    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.destroy(PortalClassLoaderFilter.java:57)
    103    at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332)
    104    at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3835)
    105    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4567)
    106    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    107    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1248)
    108    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1219)
    109    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:316)
    110    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    111    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    112    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    113    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
    114    at org.apache.catalina.core.StandardService.stop(StandardService.java:584)
    115    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    116    at org.apache.catalina.startup.Catalina.stop(Catalina.java:633)
    117    at org.apache.catalina.startup.Catalina.start(Catalina.java:608)
    118    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    119    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    120    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    121    at java.lang.reflect.Method.invoke(Method.java:597)
    122    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    123    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    12401.10.2009 16:33:53 org.apache.coyote.http11.Http11Protocol destroy
    125INFO: Stopping Coyote HTTP/1.1 on http-8080
    12601.10.2009 16:39:10 org.apache.catalina.core.AprLifecycleListener init
    127INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\liferaytrunk\tomcat\bin;C:\Programme\Java\jdk1.6.0_14\bin;C:\Programme\apache-ant\bin;C:\Programme\jikes\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\WiFi\bin\;C:\Programme\WinSCP\;C:\Programme\MySQL\MySQL Server 5.1\bin;C:\Programme\Subversion\bin;C:\Programme\BDV\Uniarchiv\Bin\Lead14
    12801.10.2009 16:39:10 org.apache.coyote.http11.Http11Protocol init
    129INFO: Initializing Coyote HTTP/1.1 on http-8080
    13001.10.2009 16:39:10 org.apache.catalina.startup.Catalina load
    131INFO: Initialization processed in 468 ms
    13201.10.2009 16:39:10 org.apache.catalina.core.StandardService start
    133INFO: Starting service Catalina
    13401.10.2009 16:39:10 org.apache.catalina.core.StandardEngine start
    135INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
    13601.10.2009 16:39:10 org.apache.catalina.core.StandardContext resourcesStart
    137SCHWERWIEGEND: Error starting static Resources
    138java.lang.IllegalArgumentException: Document base C:\liferaytrunk\tomcat\webapps\host-manager does not exist or is not a readable directory
    139    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
    140    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
    141    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
    142    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    143    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    144    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    145    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
    146    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
    147    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
    148    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    149    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    150    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    151    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    152    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    153    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    154    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    155    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    156    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    157    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    158    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    159    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    160    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    161    at java.lang.reflect.Method.invoke(Method.java:597)
    162    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    163    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    16401.10.2009 16:39:10 org.apache.catalina.core.StandardContext start
    165SCHWERWIEGEND: Error in resourceStart()
    16601.10.2009 16:39:10 org.apache.catalina.core.StandardContext start
    167SCHWERWIEGEND: Error getConfigured
    16801.10.2009 16:39:10 org.apache.catalina.core.StandardContext start
    169SCHWERWIEGEND: Context [/host-manager] startup failed due to previous errors
    17001.10.2009 16:39:10 org.apache.catalina.core.StandardContext stop
    171INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] has not been started
    17201.10.2009 16:39:10 org.apache.catalina.core.StandardContext resourcesStart
    173SCHWERWIEGEND: Error starting static Resources
    174java.lang.IllegalArgumentException: Document base C:\liferaytrunk\tomcat\webapps\manager does not exist or is not a readable directory
    175    at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
    176    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
    177    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
    178    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    179    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    180    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
    181    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630)
    182    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:556)
    183    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:491)
    184    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
    185    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
    186    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    187    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    188    at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
    189    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    190    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    191    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    192    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    193    at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
    194    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    195    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    196    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    197    at java.lang.reflect.Method.invoke(Method.java:597)
    198    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    199    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    20001.10.2009 16:39:10 org.apache.catalina.core.StandardContext start
    201SCHWERWIEGEND: Error in resourceStart()
    20201.10.2009 16:39:10 org.apache.catalina.core.StandardContext start
    203SCHWERWIEGEND: Error getConfigured
    20401.10.2009 16:39:10 org.apache.catalina.core.StandardContext start
    205SCHWERWIEGEND: Context [/manager] startup failed due to previous errors
    20601.10.2009 16:39:10 org.apache.catalina.core.StandardContext stop
    207INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] has not been started
    20801.10.2009 16:39:31 org.apache.catalina.core.StandardContext start
    209SCHWERWIEGEND: Error listenerStart
    21001.10.2009 16:39:31 org.apache.catalina.core.StandardContext start
    211SCHWERWIEGEND: Context [] startup failed due to previous errors
    21201.10.2009 16:39:33 org.apache.coyote.http11.Http11Protocol start
    213INFO: Starting Coyote HTTP/1.1 on http-8080
    21401.10.2009 16:39:33 org.apache.jk.common.ChannelSocket init
    215INFO: JK: ajp13 listening on /0.0.0.0:8009
    21601.10.2009 16:39:33 org.apache.jk.server.JkMain start
    217INFO: Jk running ID=0 time=0/15  config=null
    21801.10.2009 16:39:33 org.apache.catalina.startup.Catalina start
    219INFO: Server startup in 22318 ms
    22001.10.2009 16:41:34 org.apache.coyote.http11.Http11Protocol pause
    221INFO: Pausing Coyote HTTP/1.1 on http-8080
    22201.10.2009 16:41:35 org.apache.catalina.core.StandardService stop
    223INFO: Stopping service Catalina
    22401.10.2009 16:41:35 org.apache.catalina.startup.HostConfig undeployApps
    225WARNUNG: Error while removing context [/tunnel-web]
    226java.lang.NullPointerException
    227    at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.destroy(PortalClassLoaderFilter.java:57)
    228    at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332)
    229    at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3835)
    230    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4567)
    231    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    232    at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1248)
    233    at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1219)
    234    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:316)
    235    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    236    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1086)
    237    at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098)
    238    at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448)
    239    at org.apache.catalina.core.StandardService.stop(StandardService.java:584)
    240    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:744)
    241    at org.apache.catalina.startup.Catalina.stop(Catalina.java:633)
    242    at org.apache.catalina.startup.Catalina.start(Catalina.java:608)
    243    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    244    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    245    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    246    at java.lang.reflect.Method.invoke(Method.java:597)
    247    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    248    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    24901.10.2009 16:41:36 org.apache.coyote.http11.Http11Protocol destroy
    250INFO: Stopping Coyote HTTP/1.1 on http-8080


    Mika Koivisto:

    I know that it can be quite depressing when you do everything right but it still does not work. When I develop against trunk I sometimes have to rollback to an earlier version that has been stable for me to be able to continue developing the feature I was doing.

    Is there a chance to tell, if this is due to a broken trunk version or to a misconfiguration on my side?

    Regards
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 00:11
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    I gave it another try this morning. It is still not working, but the errors in the catalina.log have changed. This is what I did:

    -created dir 'c:\liferaytrunk'
    -created dir 'c:\liferaytrunk\portal'
    -created dir 'c:\liferaytrunk\tomcat'
    -cecked out 'svn.liferay.com/repos/public/portal/tunk' to 'portal'
    -unpacked apache-tomcat 6.0.2 to 'tomcat'
    -since my username ist 'kkoester' I created 'release.kkoester.properties' in portal,
    this is what goes in the file:
    1lp.ext.dir=C:/liferaytrunk/ext

    -cd to 'portal', did 'ant clean start build-ext'
    -cd to 'ext' (I am not sure, if this is right)
    -checked that app.server.properties in 'ext' contains these lines (since it did, I did not edit this file):
    1 app.server.tomcat.version=6.0
    2    app.server.tomcat.dir=${app.server.parent.dir}/tomcat-6.0.16
    3    app.server.tomcat.classes.global.dir=${app.server.tomcat.dir}/lib
    4    app.server.tomcat.lib.endorsed.dir=${app.server.tomcat.dir}/lib/ext
    5    app.server.tomcat.lib.global.dir=${app.server.tomcat.dir}/lib/ext
    6    app.server.tomcat.lib.support.dir=${app.server.tomcat.dir}/lib/ext
    7    app.server.tomcat.support.dir=${app.server.tomcat.dir}/lib/ext
    8    app.server.tomcat.zip.name=liferay-portal-tomcat-6.0-${downloads.version}.zip

    -created 'app.server.kkoester.properties' in 'ext', this is what go into that file:
    1app.server.type=tomcat
    2app.server.tomcat.dir=C:/liferaytrunk/tomcat

    -in 'ext' I did 'ant clean deploy'
    -cd to 'tomcat/bin'
    -startup.bat
    -tomcat start only with demopage, this is whats in catalina.log
     102.10.2009 09:05:57 org.apache.catalina.core.AprLifecycleListener init
     2INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Programme\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\liferaytrunk\tomcat\bin;C:\Programme\Java\jdk1.6.0_14\bin;C:\Programme\apache-ant\bin;C:\Programme\jikes\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\WiFi\bin\;C:\Programme\WinSCP\;C:\Programme\MySQL\MySQL Server 5.1\bin;C:\Programme\Subversion\bin;C:\Programme\BDV\Uniarchiv\Bin\Lead14
     302.10.2009 09:05:57 org.apache.coyote.http11.Http11Protocol init
     4INFO: Initializing Coyote HTTP/1.1 on http-8080
     502.10.2009 09:05:57 org.apache.catalina.startup.Catalina load
     6INFO: Initialization processed in 545 ms
     702.10.2009 09:05:57 org.apache.catalina.core.StandardService start
     8INFO: Starting service Catalina
     902.10.2009 09:05:57 org.apache.catalina.core.StandardEngine start
    10INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
    1102.10.2009 09:05:58 org.apache.catalina.core.StandardContext start
    12SCHWERWIEGEND: Error listenerStart
    1302.10.2009 09:05:58 org.apache.catalina.core.StandardContext start
    14SCHWERWIEGEND: Context [] startup failed due to previous errors
    1502.10.2009 09:05:58 org.apache.catalina.core.StandardContext start
    16SCHWERWIEGEND: Error filterStart
    1702.10.2009 09:05:58 org.apache.catalina.core.StandardContext start
    18SCHWERWIEGEND: Context [/tunnel-web] startup failed due to previous errors
    1902.10.2009 09:05:58 org.apache.coyote.http11.Http11Protocol start
    20INFO: Starting Coyote HTTP/1.1 on http-8080
    2102.10.2009 09:05:59 org.apache.jk.common.ChannelSocket init
    22INFO: JK: ajp13 listening on /0.0.0.0:8009
    2302.10.2009 09:05:59 org.apache.jk.server.JkMain start
    24INFO: Jk running ID=0 time=0/15  config=null
    2502.10.2009 09:05:59 org.apache.catalina.startup.Catalina start
    26INFO: Server startup in 1668 ms


    If this is due to a broken trunk version, it's fine, I will try again later. But I to not know if this is the case. I anyone could enlighten me in this, I would be very thankfull.

    Regards
    Kolja
    Oliver Bayer
    RE: Using liferay from trunk
    2 de Outubro de 2009 01:00
    Resposta

    Oliver Bayer

    Ranking: Liferay Master

    Mensagens: 875

    Data de entrada: 18 de Fevereiro de 2009

    Mensagens recentes

    Hi Kolja,

    I'm not sure but maybe you're missing some of the dependencies (downloadable via Liferay download page). Your steps to create liferay trunk seems to be right. The easiest way to build liferay from trunk is you download the liferay 5.2.3 bundle (contains all dependencies already) extract it to your tomcat folder and re-run "ant clean deploy" from ext.

    HTH
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 01:44
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Thanks for replying.
    Oliver Bayer:

    I'm not sure but maybe you're missing some of the dependencies (downloadable via Liferay download page).

    What are those? Could you explain or link me to somewhere, I can read about those?

    Regards
    Kolja
    Brian Kim
    RE: Using liferay from trunk
    2 de Outubro de 2009 02:16
    Resposta

    Brian Kim

    LIFERAY STAFF

    Ranking: Expert

    Mensagens: 319

    Data de entrada: 16 de Agosto de 2004

    Mensagens recentes

    Kolja Köster:
    Tried the same procedure again, this time also creating an ext environment. Same error. Tomcat starts, console tells me about IllegalArgumentException. All that comes up is the demo page. THIS IS DONE EXACTLY AS DESCIBED IN THE GUIDE, THAT WAS LINKED HERE! At least to my humble skills. I have posted my configuration, please state if there still is a simple typo or somthing that I did not get.
    I see that this is complex. I see that this requires some skill. I do not see people telling me 'oh come on, that' sooooo easy.' It is not! Wasted a whole workday on this. Depressing, I am sorry to say.

    Regards
    Kolja


    Kolja,

    Thanks for coming out to our Symposium - we're glad that you could make it. However, as Mika stated, we don't guarantee that our trunk is stable nor that our guides are up-to-date for it. Our developers are constantly checking in code and new features to improve our product, and then our documentation comes later when we provide a stable EE release.

    Regarding your issue, is there a reason your building an Ext environment? If you're just interested in checking out the 5.3 features, you can just deploy our core source directly to tomcat without the Ext.
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 02:19
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Brian Kim:
    Our developers are constantly checking in code and new features to improve our product, and then our documentation comes later when we provide a stable EE release.

    I completly understand this. But it would still be great if someone could point out if this ist due to somthing in trunk or due to a misconfiguration on my side. Since several people seem to use the trunk version, my guess was, that some of them might give a hint on this.

    Regards
    Kolja
    Mika Koivisto
    RE: Using liferay from trunk
    2 de Outubro de 2009 02:57
    Resposta

    Mika Koivisto

    LIFERAY STAFF

    Ranking: Liferay Legend

    Mensagens: 1501

    Data de entrada: 7 de Agosto de 2006

    Mensagens recentes

    I see you took a plain tomcat 6 and not one of our tomcat 6 bundles. There are additional steps you need to do to install Liferay on a plain tomcat. You can find those from the Liferay administrators guide. Basically you modify conf/catalina.properties and add lib/ext/*.jar to common.loader property. It is much easier for you to take the 5.2.3 SE tomcat 6 bundle.
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 04:01
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Mika Koivisto:
    I see you took a plain tomcat 6 and not one of our tomcat 6 bundles. There are additional steps you need to do to install Liferay on a plain tomcat. You can find those from the Liferay administrators guide. Basically you modify conf/catalina.properties and add lib/ext/*.jar to common.loader property. It is much easier for you to take the 5.2.3 SE tomcat 6 bundle.

    This explains, why the admin guide states things, the development guide does not. I will remove my tomcat folder and put the tomcat liveray bundle in there and then deploy my ext into it. Thank you for pointing this out. I will post the outcome, but this sounds very helpfull.

    Regards
    Kolja
    Alexander Chow
    RE: Using liferay from trunk
    2 de Outubro de 2009 04:12
    Resposta

    Alexander Chow

    LIFERAY STAFF

    Ranking: Liferay Master

    Mensagens: 519

    Data de entrada: 19 de Julho de 2005

    Mensagens recentes

    Hi Kolja,

    So, out of curiosity, are you able to get trunk to run without ext? That runs perfectly fine on my end.
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 04:36
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Still not running. Lifray tomcat6 bundle is still downloading. I am not quite sure, if it is even the right file. I tried to install liferay dependencies according to the admin guide. Basically I created 'common/lib/ext' in my tomcat folder put the dependency files in there and added the dir to 'conf/catalina.properties'. Catalina spits out diffenrent errors and the example page is gone. It is very confusing, that there are so many different guides, which are contrary to each other or not pointing out, that they are written for different scenarios. Beats me right now. Will give the bundle tomcat a try, once it is downloaded.

    Regards
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 05:20
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Ok, I am not sure, if I got that right. I still have my liferaytrunk dir, with the trunk sources in a subfolder 'portal' and the via ant created 'ext' folder. I remove the tomcat folder. Than I took the tomcat6 folder from the liferay-tomcat bundel and unziped its content into an fresh and empty folder C:\liferaytrunk\tomcat.
    I did 'ant clean deploy' in ext, now tomcat dies with an error message about 'Contex initiation failed'. Since it is not written in the log and the stupid Windows Tomcat Shell does not allow copy&paste, I am unable to post all of those errormessages here.
    Thought I could give my company a preview on the new features, but I can not spend more time on this. Not seeing how to approach this, I am sorry. This really beats me, and there are not many thing regarding computers that do.
    How are the people who use the trunk version do this? Is there any best practice? Or a CONSISTENT document how to install this from scratch, from the trunk sources, into a standrad tomcat?
    I have added a screenshot of the tomcat shell. It is not showing all errors but starting at the first one.

    Regards
    Kolja
    Anexo

    Anexos: liferay-error.jpg (160,6k)
    Brian Kim
    RE: Using liferay from trunk
    2 de Outubro de 2009 05:35
    Resposta

    Brian Kim

    LIFERAY STAFF

    Ranking: Expert

    Mensagens: 319

    Data de entrada: 16 de Agosto de 2004

    Mensagens recentes

    Kolja Köster:
    Since it is not written in the log and the stupid Windows Tomcat Shell does not allow copy&paste, I am unable to post all of those errormessages here.


    As an FYI, you _can_ copy and paste from the tomcat shell. Hit Alt-Space. Then choose Edit->Select All (or Mark).
    Oliver Bayer
    RE: Using liferay from trunk
    2 de Outubro de 2009 06:07
    Resposta

    Oliver Bayer

    Ranking: Liferay Master

    Mensagens: 875

    Data de entrada: 18 de Fevereiro de 2009

    Mensagens recentes

    Hi Kolja,

    take a look at my thread Missing bean in trunk. Now you're getting the same error as me. I was told that it should be fixed in the new trunk revision (I've hadn't the time to check), so do a svn update. If this doesn't work you can put the missing baseVelocityService in ext-spring.xml as described in my thread as a workaround so that liferay portal is starting.

    And yes you can copy from windows shell ;-): right click in the window title from the tomcat shell -> manage -> mark.

    Greets
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 06:24
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Thanks to both of you to point out, how to solve my copy issue. I am stuck to a Windows machine at work due to different tings like e.g. Lotus notes.....
    Anyway, I had a look at your thead Oliver, but I obviousliy failed to see, that I have the same error message as you, I am sorry. So from the perspectiv of setting liferay up i am done right? So, when the next trunk build is aviable, I update my portal dir via svn, rebuild svn and redeploy it to tomcat right?

    Regard
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 06:53
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Hmmmm, I checkt out revision 38472, as stated in the other thread. I did 'ant clean start build-ext' in the source dir and then 'ant clean deploy' in the ext folder. Still no luck:
      102.10.2009 13:47:20 org.apache.catalina.core.AprLifecycleListener init
      2INFO: The APR based Apache Tomcat Native library which allows optimal performanc
      3e in production environments was not found on the java.library.path: C:\liferayt
      4runk\tomcat\jre1.5.0_17\win\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\liferaytrunk
      5\tomcat\bin;C:\Programme\Java\jdk1.6.0_14\bin;C:\Programme\apache-ant\bin;C:\Pro
      6gramme\jikes\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Prog
      7ramme\Intel\WiFi\bin\;C:\Programme\WinSCP\;C:\Programme\MySQL\MySQL Server 5.1\b
      8in;C:\Programme\Subversion\bin;C:\Programme\BDV\Uniarchiv\Bin\Lead14
      902.10.2009 13:47:20 org.apache.coyote.http11.Http11Protocol init
     10INFO: Initializing Coyote HTTP/1.1 on http-8080
     1102.10.2009 13:47:20 org.apache.catalina.startup.Catalina load
     12INFO: Initialization processed in 560 ms
     1302.10.2009 13:47:20 org.apache.catalina.core.StandardService start
     14INFO: Starting service Catalina
     1502.10.2009 13:47:20 org.apache.catalina.core.StandardEngine start
     16INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
     17Loading jar:file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.ja
     18r!/system.properties
     19Loading file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/classes/system-ext.pro
     20perties
     21Loading jar:file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.ja
     22r!/portal.properties
     23Loading file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/classes/portal-ext.pro
     24perties
     2513:47:28,640 INFO  [DialectDetector:75] Determining dialect for HSQL Database En
     26gine 1
     2713:47:28,656 WARN  [DialectDetector:90] Liferay is configured to use Hypersonic
     28as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded
     29database useful for development and demo'ing purposes. The database settings can
     30 be changed in portal.properties.
     3113:47:28,703 INFO  [DialectDetector:55] Using dialect org.hibernate.dialect.HSQL
     32Dialect
     33Loading jar:file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.ja
     34r!/captcha.properties
     3513:47:31,937 INFO  [PortalImpl:263] Portal lib directory /C:/liferaytrunk/tomcat
     36/webapps/ROOT/WEB-INF/lib/
     3713:47:47,750 ERROR [ContextLoader:215] Context initialization failed
     38org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean def
     39inition with name 'com.ext.portlet.reports.service.ReportsEntryService.velocity'
     40 defined in class path resource [META-INF/ext-spring.xml]: Could not resolve par
     41ent bean definition 'baseVelocityService'; nested exception is org.springframewo
     42rk.beans.factory.NoSuchBeanDefinitionException: No bean named 'baseVelocityServi
     43ce' is defined
     44        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
     45edBeanDefinition(AbstractBeanFactory.java:1035)
     46        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
     47edBeanDefinition(AbstractBeanFactory.java:985)
     48        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
     49edLocalBeanDefinition(AbstractBeanFactory.java:971)
     50        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
     51preInstantiateSingletons(DefaultListableBeanFactory.java:420)
     52        at org.springframework.context.support.AbstractApplicationContext.finish
     53BeanFactoryInitialization(AbstractApplicationContext.java:728)
     54        at org.springframework.context.support.AbstractApplicationContext.refres
     55h(AbstractApplicationContext.java:380)
     56        at org.springframework.web.context.ContextLoader.createWebApplicationCon
     57text(ContextLoader.java:255)
     58        at org.springframework.web.context.ContextLoader.initWebApplicationConte
     59xt(ContextLoader.java:199)
     60        at org.springframework.web.context.ContextLoaderListener.contextInitiali
     61zed(ContextLoaderListener.java:45)
     62        at com.liferay.portal.spring.context.PortalContextLoaderListener.context
     63Initialized(PortalContextLoaderListener.java:48)
     64        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
     65t.java:3843)
     66        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
     67342)
     68        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
     69.java:791)
     70        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
     711)
     72        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
     73
     74        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
     75va:627)
     76        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
     77ava:553)
     78        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488
     79)
     80        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
     81        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
     82:311)
     83        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
     84eSupport.java:117)
     85        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
     86
     87        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
     88        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
     89
     90        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
     91)
     92        at org.apache.catalina.core.StandardService.start(StandardService.java:5
     9316)
     94        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
     95)
     96        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
     97        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     98        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
     99java:39)
    100        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    101sorImpl.java:25)
    102        at java.lang.reflect.Method.invoke(Method.java:585)
    103        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    104        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    105Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No b
    106ean named 'baseVelocityService' is defined
    107        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
    108getBeanDefinition(DefaultListableBeanFactory.java:387)
    109        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    110edLocalBeanDefinition(AbstractBeanFactory.java:971)
    111        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    112edBeanDefinition(AbstractBeanFactory.java:741)
    113        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    114edBeanDefinition(AbstractBeanFactory.java:1021)
    115        ... 33 more
    11602.10.2009 13:47:47 org.apache.catalina.core.StandardContext start
    117SCHWERWIEGEND: Error listenerStart
    11802.10.2009 13:47:47 org.apache.catalina.core.StandardContext start
    119SCHWERWIEGEND: Context [] startup failed due to previous errors
    12002.10.2009 13:47:47 org.apache.coyote.http11.Http11Protocol start
    121INFO: Starting Coyote HTTP/1.1 on http-8080
    12202.10.2009 13:47:47 org.apache.jk.common.ChannelSocket init
    123INFO: JK: ajp13 listening on /0.0.0.0:8009
    12402.10.2009 13:47:47 org.apache.jk.server.JkMain start
    125INFO: Jk running ID=0 time=0/16  config=null
    12602.10.2009 13:47:47 org.apache.catalina.startup.Catalina start
    127INFO: Server startup in 27366 ms


    Regards
    Kolja
    Oliver Bayer
    RE: Using liferay from trunk
    2 de Outubro de 2009 07:47
    Resposta

    Oliver Bayer

    Ranking: Liferay Master

    Mensagens: 875

    Data de entrada: 18 de Fevereiro de 2009

    Mensagens recentes

    look at the error-code snippet:
    113:47:47,750 ERROR [ContextLoader:215] Context initialization failed
    2 org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean def
    3 inition with name 'com.ext.portlet.reports.service.ReportsEntryService.velocity'
    4 defined in class path resource [META-INF/ext-spring.xml]: Could not resolve par
    5 ent bean definition 'baseVelocityService'; nested exception is org.springframewo
    6 rk.beans.factory.NoSuchBeanDefinitionException: No bean named 'baseVelocityServi
    7 e' is defined

    There you see No bean named 'baseVelocityService' is defined. It's the same message I get.

    So go to "ext-dir \ ext-impl src \ ext-spring.xml" and add the following at the top of the xml after the opening <beans>-tag:
    1<bean id="baseVelocityService" abstract="true">
    2    <property name="interceptorNames">
    3        <list>
    4            <value>velocityServiceInterceptor</value>
    5        </list>
    6    </property>
    7</bean>

    Now (after ant clean deploy from ext-dir) your tomcat should start up without any errors.

    HTH Oli
    Kolja Köster
    RE: Using liferay from trunk
    2 de Outubro de 2009 07:54
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    I thought the current snv build would fix that....anyway, the build from 16:45 central euopean time does not compile on my machine. I will wait what svn version will be aviable on monday.

    Regards
    Kolja
    Alexander Chow
    RE: Using liferay from trunk
    2 de Outubro de 2009 07:55
    Resposta

    Alexander Chow

    LIFERAY STAFF

    Ranking: Liferay Master

    Mensagens: 519

    Data de entrada: 19 de Julho de 2005

    Mensagens recentes

    Update your SVN again. You need at least rev 38484.
    Alexander Chow
    RE: Using liferay from trunk
    2 de Outubro de 2009 08:06
    Resposta

    Alexander Chow

    LIFERAY STAFF

    Ranking: Liferay Master

    Mensagens: 519

    Data de entrada: 19 de Julho de 2005

    Mensagens recentes

    Alexander Chow:
    Update your SVN again. You need at least rev 38484.


    Scratch that last one. Somebody just broke the build in trunk (as I said earlier, trunk is developmental! emoticon ) . Sorry about that. It is being fixed as we speak... if you try again Monday, it should be fixed.
    Alexander Chow
    RE: Using liferay from trunk
    2 de Outubro de 2009 08:51
    Resposta

    Alexander Chow

    LIFERAY STAFF

    Ranking: Liferay Master

    Mensagens: 519

    Data de entrada: 19 de Julho de 2005

    Mensagens recentes

    Okay, I just tested against 38493 and the ext builds and tomcat starts up. Please try again. Sorry about all the confusion.
    Kolja Köster
    RE: Using liferay from trunk
    3 de Outubro de 2009 05:57
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Alexander Chow:
    Alexander Chow:
    Update your SVN again. You need at least rev 38484.


    Scratch that last one. Somebody just broke the build in trunk (as I said earlier, trunk is developmental! emoticon ) . Sorry about that. It is being fixed as we speak... if you try again Monday, it should be fixed.

    As I said: No problem, I fully understand that the trunk version is not stable. I have no setup at home, so I can check this on monday. But the important point is, that my setup at work looks correct now. Thanks to everybody, for your help.

    Regards
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    5 de Outubro de 2009 00:03
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    I am still getting the same ContextLoaderError... Checked out trunk about 20 minutes ago. I there somthing else to be done? Strange thing, this error persists, regadless of updating from svn.... Can this be some configurations issue on my side?

    Regards
    Kolja
    Alexander Chow
    RE: Using liferay from trunk
    5 de Outubro de 2009 00:55
    Resposta

    Alexander Chow

    LIFERAY STAFF

    Ranking: Liferay Master

    Mensagens: 519

    Data de entrada: 19 de Julho de 2005

    Mensagens recentes

    Like Oliver mentioned in his related post, do you have this change: http://svn.liferay.com/browse/portal/trunk/tools/ext_tmpl/ext-impl/src/META-INF/ext-spring.xml?r1=30797&r2=38484&?
    Kolja Köster
    RE: Using liferay from trunk
    5 de Outubro de 2009 01:17
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Now you have lost me. I have updated to a trunk revision, that should have fixed this issue. When I have a look at portal/tools/ext_tmpl/src/META-INF/ext-spring.xml it looks like this:
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
     3
     4<beans>
     5    <bean id="com.ext.portlet.reports.service.ReportsEntryService.impl" class="com.ext.portlet.reports.service.impl.ReportsEntryServiceImpl" />
     6    <bean id="com.ext.portlet.reports.service.ReportsEntryService.velocity" class="com.ext.portlet.reports.service.impl.ReportsEntryServiceImpl" />
     7    <bean id="com.ext.portlet.reports.service.ReportsEntryServiceUtil" class="com.ext.portlet.reports.service.ReportsEntryServiceUtil">
     8        <property name="service" ref="com.ext.portlet.reports.service.ReportsEntryService.impl" />
     9    </bean>
    10    <bean id="com.ext.portlet.reports.service.persistence.ReportsEntryPersistence.impl" class="com.ext.portlet.reports.service.persistence.ReportsEntryPersistenceImpl" parent="basePersistence" />
    11    <bean id="com.ext.portlet.reports.service.persistence.ReportsEntryUtil" class="com.ext.portlet.reports.service.persistence.ReportsEntryUtil">
    12        <property name="persistence" ref="com.ext.portlet.reports.service.persistence.ReportsEntryPersistence.impl" />
    13    </bean>
    14</beans>

    This looks like the diff in mentiond in the workaround has already been applied. What am I supposed to do?

    Regards
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    5 de Outubro de 2009 04:36
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Ok, I have tried several trunk revision, 3 of those have been reportet working in this forum. Errormessage is not changing, so my guess is, I am missing somthing. I still have my sources checkt out to the subfolder portal, have ext build to the subfolder ext and have the bundled tomcat6 in the subfolder tomcat. I update sources in portal via tortoiseSVN, cd into that dir and do 'ant clean start build-ext'. Then I cd into ext and do 'ant clean deploy'.
    Is there somthing I am missing?

    Regards
    Kolja
    Oliver Bayer
    RE: Using liferay from trunk
    5 de Outubro de 2009 08:05
    Resposta

    Oliver Bayer

    Ranking: Liferay Master

    Mensagens: 875

    Data de entrada: 18 de Fevereiro de 2009

    Mensagens recentes

    Hi,

    try deleting the contents from ext-dir (previously save modified files to another dir) and re-run "build-ext" from src-dir. It seems to solve the issue. I don't know why but it looks as if the build script isn't copying all new files to ext (only if you delete contents from ext-dir) e.g. some of the new xml files aren't copied to "ext-impl src \ META-INF" as expected.
    Kolja Köster
    RE: Using liferay from trunk
    6 de Outubro de 2009 00:11
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    Oliver Bayer:

    try deleting the contents from ext-dir (previously save modified files to another dir) and re-run "build-ext" from src-dir. It seems to solve the issue. I don't know why but it looks as if the build script isn't copying all new files to ext (only if you delete contents from ext-dir) e.g. some of the new xml files aren't copied to "ext-impl src \ META-INF" as expected.

    Removed ext, checkt for latest trunk version, did 'ant clean start build-ext' in source dir. In my newly created ext dir I did 'ant clean deploy'. Error persists:
      106.10.2009 07:06:31 org.apache.catalina.core.AprLifecycleListener init
      2INFO: The APR based Apache Tomcat Native library which allows optimal performanc
      3e in production environments was not found on the java.library.path: C:\liferayt
      4runk\tomcat\jre1.5.0_17\win\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\liferaytrunk
      5\tomcat\bin;C:\Programme\Java\jdk1.6.0_14\bin;C:\Programme\apache-ant\bin;C:\Pro
      6gramme\jikes\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Prog
      7ramme\Intel\WiFi\bin\;C:\Programme\WinSCP\;C:\Programme\MySQL\MySQL Server 5.1\b
      8in;C:\Programme\Subversion\bin;C:\Programme\BDV\Uniarchiv\Bin\Lead14
      906.10.2009 07:06:31 org.apache.coyote.http11.Http11Protocol init
     10INFO: Initializing Coyote HTTP/1.1 on http-8080
     1106.10.2009 07:06:31 org.apache.catalina.startup.Catalina load
     12INFO: Initialization processed in 932 ms
     1306.10.2009 07:06:31 org.apache.catalina.core.StandardService start
     14INFO: Starting service Catalina
     1506.10.2009 07:06:31 org.apache.catalina.core.StandardEngine start
     16INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
     17Loading jar:file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.ja
     18r!/system.properties
     19Loading file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/classes/system-ext.pro
     20perties
     21Loading jar:file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.ja
     22r!/portal.properties
     23Loading file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/classes/portal-ext.pro
     24perties
     2507:07:19,768 INFO  [DialectDetector:75] Determining dialect for HSQL Database En
     26gine 1
     2707:07:19,768 WARN  [DialectDetector:90] Liferay is configured to use Hypersonic
     28as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded
     29database useful for development and demo'ing purposes. The database settings can
     30 be changed in portal.properties.
     3107:07:19,877 INFO  [DialectDetector:55] Using dialect org.hibernate.dialect.HSQL
     32Dialect
     33Loading jar:file:/C:/liferaytrunk/tomcat/webapps/ROOT/WEB-INF/lib/portal-impl.ja
     34r!/captcha.properties
     3507:07:23,533 INFO  [PortalImpl:263] Portal lib directory /C:/liferaytrunk/tomcat
     36/webapps/ROOT/WEB-INF/lib/
     3707:07:40,329 ERROR [ContextLoader:215] Context initialization failed
     38org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean def
     39inition with name 'com.ext.portlet.reports.service.ReportsEntryService.velocity'
     40 defined in class path resource [META-INF/ext-spring.xml]: Could not resolve par
     41ent bean definition 'baseVelocityService'; nested exception is org.springframewo
     42rk.beans.factory.NoSuchBeanDefinitionException: No bean named 'baseVelocityServi
     43ce' is defined
     44        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
     45edBeanDefinition(AbstractBeanFactory.java:1035)
     46        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
     47edBeanDefinition(AbstractBeanFactory.java:985)
     48        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
     49edLocalBeanDefinition(AbstractBeanFactory.java:971)
     50        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
     51preInstantiateSingletons(DefaultListableBeanFactory.java:420)
     52        at org.springframework.context.support.AbstractApplicationContext.finish
     53BeanFactoryInitialization(AbstractApplicationContext.java:728)
     54        at org.springframework.context.support.AbstractApplicationContext.refres
     55h(AbstractApplicationContext.java:380)
     56        at org.springframework.web.context.ContextLoader.createWebApplicationCon
     57text(ContextLoader.java:255)
     58        at org.springframework.web.context.ContextLoader.initWebApplicationConte
     59xt(ContextLoader.java:199)
     60        at org.springframework.web.context.ContextLoaderListener.contextInitiali
     61zed(ContextLoaderListener.java:45)
     62        at com.liferay.portal.spring.context.PortalContextLoaderListener.context
     63Initialized(PortalContextLoaderListener.java:48)
     64        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
     65t.java:3843)
     66        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
     67342)
     68        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
     69.java:791)
     70        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
     711)
     72        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
     73
     74        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
     75va:627)
     76        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
     77ava:553)
     78        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488
     79)
     80        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
     81        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
     82:311)
     83        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
     84eSupport.java:117)
     85        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
     86
     87        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
     88        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
     89
     90        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
     91)
     92        at org.apache.catalina.core.StandardService.start(StandardService.java:5
     9316)
     94        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
     95)
     96        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
     97        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     98        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
     99java:39)
    100        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    101sorImpl.java:25)
    102        at java.lang.reflect.Method.invoke(Method.java:585)
    103        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    104        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    105Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No b
    106ean named 'baseVelocityService' is defined
    107        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
    108getBeanDefinition(DefaultListableBeanFactory.java:387)
    109        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    110edLocalBeanDefinition(AbstractBeanFactory.java:971)
    111        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    112edBeanDefinition(AbstractBeanFactory.java:741)
    113        at org.springframework.beans.factory.support.AbstractBeanFactory.getMerg
    114edBeanDefinition(AbstractBeanFactory.java:1021)
    115        ... 33 more
    11606.10.2009 07:07:40 org.apache.catalina.core.StandardContext start
    117SCHWERWIEGEND: Error listenerStart
    11806.10.2009 07:07:40 org.apache.catalina.core.StandardContext start
    119SCHWERWIEGEND: Context [] startup failed due to previous errors
    12006.10.2009 07:07:40 org.apache.coyote.http11.Http11Protocol start
    121INFO: Starting Coyote HTTP/1.1 on http-8080
    12206.10.2009 07:07:41 org.apache.jk.common.ChannelSocket init
    123INFO: JK: ajp13 listening on /0.0.0.0:8009
    12406.10.2009 07:07:41 org.apache.jk.server.JkMain start
    125INFO: Jk running ID=0 time=0/15  config=null
    12606.10.2009 07:07:41 org.apache.catalina.startup.Catalina start
    127INFO: Server startup in 69188 ms


    Regards
    Kolja
    Kolja Köster
    RE: Using liferay from trunk
    6 de Outubro de 2009 01:32
    Resposta

    Kolja Köster

    Ranking: Regular Member

    Mensagens: 164

    Data de entrada: 11 de Maio de 2009

    Mensagens recentes

    I have rebuilded EVERYTING from scratch, removed all directories, recreated the source dir vom svn, recreated the tomcat dir from the tomcat6 bundle, recreated ext from the ant script and redeployed it from the ant script. THIS solved the issue. However, someone, with mor experience on ant, should perhaps have a look at those. But I am still puzzled that other people can rebuild from ant, and I can not.

    Regards
    Kolja