Hi,

>The nice thing is, there is an easy fix. :)
>
>As someone pointed out earlier, the easiest and quickest way to remedy this
>is to create a build.properties file in ${basedir}  (the directory where you
>had the portal generated by the maven pluing) with the following values
>(assuming you are building 2.0):
>
>portals.bridges.version=1.0
>derby.version=10.1.1.0
>bridges.groupId=org.apache.portals.bridges
>jetspeed.version=2.0

Thank you for help. This works fine.

Unfortunately, I run into the next problem. While starting up tomcat 5.0.28 I 
got this
Exceptions:

2006-03-13 17:12:22,456 [main] ERROR org.apache.jetspeed.engine.JetspeedEngine -
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'JetspeedDS' defined in ServletContext
resource [/WEB-INF/assembly/boot/datasource.xml]: Initialization of bean 
failed; nested exception is
org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata 
from the given datasource

2006-03-13 17:12:22,460 [main] INFO  org.apache.jetspeed.engine.JetspeedEngine 
- Finished starting Jetspeed Engine
(org.apache.jetspeed.engine.JetspeedEngine) at 3/13/06 5:12 PM.  Elapsed time: 
5 seconds.

2006-03-13 17:12:22,474 [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:149)


[...]

Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'JetspeedDS' defined in
ServletContext resource [/WEB-INF/assembly/boot/datasource.xml]: Initialization 
of bean failed; nested exception is
org.apache.ojb.broker.metadata.MetadataException: Could not get the metadata 
from the given datasource


HSQL is up and running:

j2:_start.hsql:
    [echo] ====================================
    [echo] Production/Deployment Database
    [echo] ====================================
    [java] [EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false) entered
    [java] [EMAIL PROTECTED]: [Thread[main,5,main]]: checkRunning(false) exited
    [java] [EMAIL PROTECTED]: Startup sequence initiated from main() method
    [java] [EMAIL PROTECTED]: Loaded properties from 
[/export/home/raupach/myportal/server.properties]
    [java] [EMAIL PROTECTED]: Initiating startup sequence...
    [java] [EMAIL PROTECTED]: Server socket opened successfully in 69 ms.
    [java] [EMAIL PROTECTED]: Database [index=0, id=0, 
db=file:/export/home/raupach/myportal//target/portal-db/hsql/Production,
alias=] opened sucessfully in 5076 ms.
    [java] [EMAIL PROTECTED]: Startup sequence completed in 5223 ms.
    [java] [EMAIL PROTECTED]: 2006-03-13 17:05:56.204 HSQLDB server 1.8.0 is 
online
    [java] [EMAIL PROTECTED]: To close normally, connect and execute SHUTDOWN 
SQL
    [java] [EMAIL PROTECTED]: From command line, use [Ctrl]+[C] to abort 
abruptly


(I noticed, that /export/home/raupach/myportal/server.properties don't 
exists...)


--

  Oliver Raupach





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to