Re: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ

2001-07-27 Thread David Jencks

I've never heard of jetspeed before and don't know what turbine does but...

database.adaptor.DBPostgres=org.hsql.jdbcDriver
looks peculiar, since (I believe) this is the Hypersonic driver.

david jencks


On 2001.07.27 06:14:27 -0400 Sigurður Reynisson wrote:
 Hi all!
 
 I posted this in the Jetspeed group and got no answers and I'm posting
 here as a last try - pls forgive me if this is not related to JBoss! ;)
 
 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.hsql.jdbcDriver
 
 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]
 
 
 Horrible Exception: org.apache.velocity.exception.ResourceNotFoundException:
 Unable to find resource 'screens/Error'
   at 
org.apache.velocity.exception.VelocityException.init(VelocityException.java)
   at 
org.apache.velocity.exception.ResourceNotFoundException.init(ResourceNotFoundException.java)
   at 
org.apache.velocity.runtime.resource.ResourceManager.getResource(ResourceManager.java)
   at org.apache.velocity.runtime.Runtime.getTemplate(Runtime.java)
   at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java)
 rethrown as org.apache.turbine.util.TurbineException: Error rendering
 Velocity template: screens/Error: Unable to find resource 'screens/Error'
   at 

RE: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ

2001-07-27 Thread Sigurður Reynisson

It sure is! ;) However, after replacing it with org.postgresql.Driver,
I still get:
Horrible Exception: org.apache.velocity.exception.ResourceNotFoundException:

Unable to find resource 'screens/Error'
--
sr


-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]] 
Sent: 27. júlí 2001 12:14
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ


I've never heard of jetspeed before and don't know what turbine does but...

database.adaptor.DBPostgres=org.hsql.jdbcDriver
looks peculiar, since (I believe) this is the Hypersonic driver.

david jencks


On 2001.07.27 06:14:27 -0400 Sigurður Reynisson wrote:
 Hi all!
 
 I posted this in the Jetspeed group and got no answers and I'm posting 
 here as a last try - pls forgive me if this is not related to JBoss! 
 ;)
 
 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.hsql.jdbcDriver
 
 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]
 
 
 Horrible Exception: 
 org.apache.velocity.exception.ResourceNotFoundException:
 Unable to find resource 'screens/Error'
   at
org.apache.velocity.exception.VelocityException.init(VelocityException.jav
a)
   at
org.apache.velocity.exception.ResourceNotFoundException.init(ResourceNotFo
undException.java