Hema,

Thanks for the direction, however it seemed not to change the error so I
resorted to downloading the latest version of Tomcat version 5.5.4 and
compiled jetspeed2 and configured it to work with postgres database. I
checked to make sure that the correct xml and properties files where in
place to the best of my abilities and the information everyone has
provided at the moment.  All compiles well and the database scripts
pre-populated the database but I get the same error I got with the JBOSS
version when i use the url http://localhost:8080/jetspeed and it seems
like the Datasource is not found from the error message below.  I don't
know enough about jetspeed yet to trouble shoot the problem.  

What configuration has to be in place in order for this lookup to occur
properly?

Thanks for you help,

chris

[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR:
SQLException thrown while trying to
get Connection from Datasource (java:comp/env/jdbc/jetspeed)
Cannot create JDBC driver of class '' for connect URL 'null'
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null'
        at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
        at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDataSource(Connec
tionFactoryAbstractImpl.java:204)
        at
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(ConnectionFactory
AbstractImpl.java:112)
        at
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:1
05)
        at
org.springframework.orm.ojb.PersistenceBrokerTransactionManager.doBegin(PersistenceBrokerTransacti
onManager.java:187)
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(Abstract
PlatformTransactionManager.java:269)
        at
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(
TransactionAspectSupport.java:201)
"
On Fri, 2004-12-17 at 15:12, Hema Menon wrote:
> Quoted response from previous messages
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> It looks like you might be missing some of the OJB repository files in
> your classpath.
> 
> 1. verify that these files are present under
> "webapps/jetspeed/WEB-INF/classes" in you tomcat install:
> OJB-logging.properties
> OJB.properties
> repository_database.xml
> repository.dtd
> repository_internal.xml
> repository.xml
> TEMP.xml
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> Hema
> 
> 
> On Fri, 17 Dec 2004 09:59:55 -0500, Superman <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > I've deployed jetspeed2 on jboss 4.0 on jdk 1.5 per the instructions for
> > deploying to jboss and I get the servlet error below when I try the url
> > http://localhost:8080/jetspeed.  I looked in the logs and it appears
> > that the PreferenceFactory failed with the error below from the
> > jetspeed.log.
> > Any help or direction on how to troubleshoot the problem is appreciated.
> > 
> > chris
> > 
> > jetspeed.log
> > 2004-12-17 09:30:34,685 [main] INFO  STDOUT - Caused by:
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean with name 'java.util.prefs.PreferencesFactory' defined in URL
> > [file:/home/chris/programs/jboss-4.0.0/server/j2/deploy/jetspeed.war/WEB-INF/assembly/jetspeed-spring.xml]:
> >  Initialization of bean failed; nested exception is 
> > org.apache.jetspeed.prefs.PreferencesException: Failed to initialize prefs 
> > api.  java.lang.ExceptionInInitializerError
> > 2004-12-17 09:30:34,685 [main] INFO  STDOUT -   at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:300)
> > 
> > servlet error:
> > javax.servlet.ServletException: Failed to initalize jetspeed.
> > org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
> >        
> > org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:206)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >        
> > org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
> >        
> > org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
> >        org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
> >        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >        
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
> >        
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
> >        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
> >        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >        
> > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
> > 
> > root cause
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 


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

Reply via email to