I have the same problem. The actual cause seems to be missing tables:

    [java] ERROR: Unexpected exception deploying portlet application:
org.apache
.jetspeed.persistence.impl.JetspeedOJBRuntimeException: Failed to retreive
Objec
t.: Table not found: PORTLET_APPLICATION in statement [SELECT
A0.APP_TYPE,A0.VER
SION,A0.APP_IDENTIFIER,A0.APP_NAME,A0.WEB_APP_ID,A0.DESCRIPTION,A0.APPLICATI
ON_I
D FROM PORTLET_APPLICATION A0 WHERE A0.APP_IDENTIFIER =  'jetspeed' ]
attempting
 rollback...
    [java] java.sql.SQLException: Table not found: PORTLET_APPLICATION in
statem
ent [SELECT
A0.APP_TYPE,A0.VERSION,A0.APP_IDENTIFIER,A0.APP_NAME,A0.WEB_APP_ID,A
0.DESCRIPTION,A0.APPLICATION_ID FROM PORTLET_APPLICATION A0 WHERE
A0.APP_IDENTIF
IER =  'jetspeed' ]

-ronc

-----Original Message-----
From: Sami Lakka [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 6:36 AM
To: [EMAIL PROTECTED]
Subject: Jetspeed2 Build problems


Hi,

 

I'm having problems in building the Jetspeed2. Everything works fine

until I give maven fullDeploy command. I get the following error:

 

C:\Apache\jetspeed-2.0\portal>maven fullDeploy

 __  __

|  \/  |__ _Apache__ ___

| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~

|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

 

fullDeploy:

deploy:

    [echo] Deploying jetspeed2:jetspeed, Jetspeed-2 Portal Engine

    [copy] Copying 1 file to C:\tomcat-4.1\webapps

    [unwar] Expanding: C:\tomcat-4.1\webapps\jetspeed.war into
C:\tomcat-4.1\web

apps\jetspeed

    [copy] Copying 1 file to C:\tomcat-4.1\webapps

catalina:base-shared:

    [echo] Copying from C:\Documents and Settings\lakkas/.maven/repository
to ..

.

 

catalina:shared:

 

 

pam.register:

    [java] 0 [main] INFO jetspeed.Jetspeed  - Jetspeed environment
attempting to

 initialize portal Engine...

    [java]  INFO: Creating portlet container...

    [java] JMX locked by operation init

    [java] JMX released by operation init

    [java] Calling FileSystemPAM...

    [java] Loading C:/tomcat-4.1/webapps/jetspeed/WEB-INF/portlet.xml into
memor

y....

    [java] Saving the portlet.xml in the registry...

    [java] Exception in deploy. Rollback of application deployment...

    [java] Saving the portlet.xml in the registry...

    [java] java.lang.NullPointerException

    [java]      at
org.apache.jetspeed.persistence.impl.OJBODMGPersistencePlugin

.rollbackTransaction(OJBODMGPersistencePlugin.java:215)

    [java]      at
org.apache.jetspeed.registry.impl.PersistentPortletRegistrySe

rvice.rollbackTransaction(PersistentPortletRegistryService.java:505)

    [java]      at
org.apache.jetspeed.registry.JetspeedPortletRegistry.rollback

Transaction(JetspeedPortletRegistry.java:305)

    [java]      at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.rollback(Fi

leSystemPAM.java:426)

    [java]      at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(File

SystemPAM.java:248)

    [java]      at
org.apache.jetspeed.tools.pamanager.FileSystemPAM.deploy(File

SystemPAM.java:120)

    [java]      at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager

.register(PortletApplicationManager.java:339)

    [java]      at
org.apache.jetspeed.tools.pamanager.PortletApplicationManager

.main(PortletApplicationManager.java:251)

Reply via email to