[JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ
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 org.apache.turbine.util.TurbineException.init(TurbineException.java:177) at org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:392) rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity template: screens/Error: Error rendering Velocity template:
RE: [JBoss-user] Jestpeed - A Horrible Exception - NewbeeQ
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
RE: [JBoss-user] Jboss and sapdb
Yes, and with a lot of help from Jay Walters I got the CD example working. We are currently evaluating the SapDB and JBoss/Tomcat 2.2 on RH7.1. You could check the mailing archives for some info (sapdb and jboss). Make sure you are using the latest sapdbc.jar, do the command: java -jar sapdbc.jar -V and it should report at least: SAP DB JDBC Driver, SAP AG, 7.3 Build 000-000-066-079 -- sr -Original Message- From: Kemp Randy-W18971 [mailto:[EMAIL PROTECTED]] Sent: 16. júlí 2001 18:24 To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Jboss and sapdb Is anyone using Jboss with the database sapdb at www.sapdb.org? If so, how do you find the combination? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss JetSpeed Portlets?
Hi all! Anyone had any luck with JBoss JetSpeed? I've got JBoss-Tomcat up and running with a working database connection (CD example runs fine). Then I deployed the jetspeed.war file, just moved it to to the deploy dir for JBoss-Tomcat, got no errors. Did I miss a step or is this the correct way to install JetSpeed? Now all I want to do is add a single portlet, and I'm stuck... Guess I've been looking in the wrong places, so here goes: Anyone got some links to a how-to or to any documentation on this (making/deploying portlets)? I've taken a look at the JetSpeed site, InSight site, installed that one with no luck at all, the JBoss mailing lists and got nothing except for portlet-how-to http://www.bluesunrise.com/jetspeed/PortletHowTo.htm I'm not getting anywhere with it. The problem seems to be that I have no idea on how to get the portlet into the JBoss/JetSpeed environment. TIA! -- S Reynisson siggir at ZooM.is ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: Jboss CD Example - 'pload: can't read file ` cds.txt error -SOLVED
I ran the command directly (from shell) like: java -classpath $CLASSPATH:$JBOSS_HOME/client/ejb.jar:$JBOSS_HOME/client/jboss-client.jar:$J BOSS_HOME/client/jbosssx-client.jar:$JBOSS_HOME/deploy/cd.jar:. com.web_tomorrow.cd.Upload cds.txt and all was ok! Don't know what was wrong the script, access related I guess. Also the cds.txt was corrupt. I deleted the last 180 records or so and ran it from shell with the first 72 records. So JBoss is humming nicely with DefaultDS on SapDB. -- sr -Original Message- From: Sigurður Reynisson [mailto:[EMAIL PROTECTED]] Sent: 29. júní 2001 17:58 To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: Jboss CD Example - 'pload: can't read file ` cds.txt error Hi y'all! I'm running the run_upload.sh script on a Linux box. The table is created in my database (SapDB) but all I get is: 'pload: can't read file ` cds.txt oh, I've also set the primary key manually on the CDBEAN table and I'm using the latest scripts from the JBoss mailing list. Anyone solved this problem? Hints? Links? TIA! -- sr ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss CD Example - 'pload: can't read file ` cds.txt error
Hi y'all! I'm running the run_upload.sh script on a Linux box. The table is created in my database (SapDB) but all I get is: 'pload: can't read file ` cds.txt oh, I've also set the primary key manually on the CDBEAN table and I'm using the latest scripts from the JBoss mailing list. Anyone solved this problem? Hints? Links? TIA! -- sr ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] NewbeeQ: Problem with CD Example and Deployment
Hi all! I'm using JBoss-Tomcat on a Linux box. *Seems* to start ok, ie. I get [Default] JBoss 2.2.0 FINAL Started in 0m:21s. When running make all and make package all is well. When running make deploy I get the text below from JBoss (= lines not included:) Don't understand a thing in this dump ... Any pointers or hints? Links to where I can rtfm? TIA! -- S Reynisson [EMAIL PROTECTED] === [Auto deploy] Auto deploy of file:/usr/java/test/jboss-tomcat-2.2/jboss-2.2/deploy/cd.jar [J2EE Deployer Default] Deploy J2EE application: file:/usr/java/test/jboss-tomcat-2.2/jboss-2.2/deploy/cd.jar [J2EE Deployer Default] Create application cd.jar [J2EE Deployer Default] install module cd.jar [Container factory] Deploying:file:/usr/java/test/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/ cd.jar [Verifier] Verifying file:/usr/java/test/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/cd.jar/ejb 1016.jar [Container factory] Deploying CDBean [Container factory] Deploying CDCollectionBean [Container factory] com.sap.dbtech.jdbc.exceptions.InternalJDBCError: SAP DBTech JDBC: Execute delivered no data part [Container factory] at java.sql.SQLException.init(SQLException.java:45) [Container factory] at com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB.init(SQLExceptionSapDB.ja va:92) [Container factory] at com.sap.dbtech.jdbc.exceptions.JDBCDriverException.init(JDBCDriverExceptio n.java:33) [Container factory] at com.sap.dbtech.jdbc.exceptions.InternalJDBCError.init(InternalJDBCError.ja va:29) [Container factory] at com.sap.dbtech.jdbc.ResultSetSapDB.doFetch(ResultSetSapDB.java:309) [Container factory] at com.sap.dbtech.jdbc.ResultSetSapDB.fetchRelativePacket(ResultSetSapDB.java:5 78) [Container factory] at com.sap.dbtech.jdbc.ResultSetSapDB.relative(ResultSetSapDB.java:1554) [Container factory] at com.sap.dbtech.jdbc.ResultSetSapDB.next(ResultSetSapDB.java:1480) [Container factory] at org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitCommand.java :97) [Container factory] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManage r.java:97) [Container factory] at org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java: 105) [Container factory] at org.jboss.ejb.EntityContainer.init(EntityContainer.java:198) [Container factory] at org.jboss.ejb.Application.init(Application.java:183) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:337) [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:275) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435) [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178) [Container factory] at java.lang.reflect.Method.invoke(Native Method) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Container factory] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358) [Container factory] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) [Container factory] at java.lang.Thread.run(Thread.java:498) [J2EE Deployer Default] Starting cd.jar failed! [J2EE Deployer Default] Module cd.jar is not running [J2EE Deployer Default] Destroying application cd.jar [Auto deploy] Deployment failed:file:/usr/java/test/jboss-tomcat-2.2/jboss-2.2/deploy/cd.jar [Auto deploy] org.jboss.deployment.J2eeDeploymentException: Error while starting cd.jar: Could not deploy file:/usr/java/test/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/cd.jar [Auto deploy] at org.jboss.deployment.J2eeDeploymentException.init(J2eeDeploymentException. java:28) [Auto deploy] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:441) [Auto deploy] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178) [Auto deploy] at java.lang.reflect.Method.invoke(Native Method) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358) [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) [Auto deploy] at java.lang.Thread.run(Thread.java:498) === END ___ JBoss-user mailing list [EMAIL PROTECTED]