Hi all, again!

I just noticed that after pressing F5 the Horrible Exception now reads:

Horrible Exception: java.lang.ClassCastException: java.lang.String
        at
org.apache.jetspeed.services.rundata.DefaultJetspeedRunData.getProfile
        (DefaultJetspeedRunData.java:237)
        at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform
        (JetspeedSessionValidator.java:127)
<snip...>

Original post:
---------------------------------------------------------------------------
Specs:
        JBoss 2.4 BETA(Rel_2_4_0_23) w/Embedded Tomcat-3.2.3
        Jetspeed Portal Implementation 1.3a2 (builds ok)

I'm trying to use Postgresql DB for Jetspeed, I've put the following in my
TurbineResources.properties:

        database.default.driver=org.postgresql.Driver
        database.default.url=jdbc:postgresql://10.10.10.5:5432/TST
        database.default.username=dba
        database.default.password=dba
        ...
        database.adaptor=DBPostgres
        database.adaptor.DBPostgres=org.postgresql.Driver

I then run build and start JBoss with the new jetspeed.war and I get from
JBoss:

        [AutoDeployer] Auto deploy of
file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/jetspeed.war
        [J2EE Deployer Default] Deploy J2EE application:
file:/usr/java/JBoss-2.4.0_Tomcat-      3.2.3/jboss/deploy/jetspeed.war
        [J2EE Deployer Default] Create application jetspeed.war
        [J2EE Deployer Default] inflate and install module jetspeed.war
        [Container factory] Deploying:file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/tmp/deploy/Default/jetspeed.war
        [Default] Added ClassLoader: org.jboss.web.WebClassLoader@ec10c6
URL:    http://tom.zoom.is:8083/WebClassLoader@15470790/
        [Container factory] Deployed application:
file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/tmp/deploy/Default/jetspeed.war
        [J2EE Deployer Default] Starting module jetspeed.war
        [EmbeddedTomcatSX] deploy, ctxPath=/jetspeed,
warUrl=file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/tmp/deploy/Default/jetspeed.war/web1004/
        [J2EE Deployer Default] J2EE application:
file:/usr/java/JBoss-2.4.0_Tomcat-      3.2.3/jboss/deploy/jetspeed.war is
deployed.

I then goto my browser's http://tom.zoom.is:8080/jetspeed/index.jsp and get:

        Horrible Exception:
org.apache.velocity.exception.ResourceNotFoundException: 
        Unable to find resource 'screens/Error'
        ...<SNIP>...

The full Exception is included in the Horrible Exception.txt file. I also
included an updated verion of the turbine-postgres.sql file, this one runs
without any errors, at least on my postgresql install ;)

I don't even see the index page. Just the Exception.

Also, right after the jetspeed deployment message from JBoss, I get:

        [AutoDeployer] Auto deploy of
file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jbosspool-
jdbc.rar
        [RARDeployer] Attempting to deploy RAR at
'file:/usr/java/JBoss-2.4.0_Tomcat-
3.2.3/jboss/deploy/lib/jbosspool-jdbc.rar'
        [RARDeployer] Loading Minerva Resource Adapter for JDBC 1/2 drivers
        [RARDeployer] Required license terms present. See deployment
descriptor.
        [MinervaDS] Not setting config property 'Driver'
        [MinervaDS] Not setting config property 'Password'
        [MinervaDS] Not setting config property 'UserName'
        [MinervaDS] Bound connection factory for resource adapter 'Minerva
JDBC LocalTransaction   ResourceAdapter' to JNDI name 'java:/MinervaDS'
        [AutoDeployer] Auto deploy of
file:/usr/java/JBoss-2.4.0_Tomcat-3.2.3/jboss/deploy/lib/jms-ra.rar
        [RARDeployer] Attempting to deploy RAR at
'file:/usr/java/JBoss-2.4.0_Tomcat-     3.2.3/jboss/deploy/lib/jms-ra.rar'
        [JmsXA] Using default value 'java:DefaultJMSProvider' for config
property 'JmsProviderAdapterJNDI'
        [JmsXA] FINE: Setting LogWriter:
org.jboss.logging.LogWriter@1ed0d0c6
        [JmsXA] Bound connection factory for resource adapter 'JMS Adapter'
to JNDI name 'java:/JmsXA'

Is this in any way related to my troubles? Esp. the message about not
setting config property for Driver, Password and Username. I am using the CD
example in JBoss with PostgreSQL and it works fine.

Any ideas and/or help welcome - TIA!
--
Sigurdur Reynisson
[EMAIL PROTECTED]

ps. pls forgive me if this is a common one
(I did check the mailing list and came up with nothing)


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

Reply via email to