Re: Database parameters missing.

2005-02-24 Thread David Sean Taylor
[EMAIL PROTECTED] wrote:
Hi,
I using Tomcat 5.5.7 and jetspeed on jdk 1.5 on a windows xp platform. I'm
5.5 doesn't run with Jetspeed-2 unfortunately
http://issues.apache.org/jira/browse/JS2-187
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Database parameters missing.

2005-02-23 Thread Unmesh Kulkarni
Hi,
Evidenly, your Jetspeed is missing the DB parameters. When you copied
the binary folders, did you copy jetspeed.xml?

Please verify that the jetspeed.xml file is available under 
%tomcat_home%/conf/localhost directory. 
cheers,
Unmesh



On Wed, 23 Feb 2005 10:58:55 -0800 (PST), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I using Tomcat 5.5.7 and jetspeed on jdk 1.5 on a windows xp platform. I'm
> running hsql by using the command "maven start.production.server" then in
> another window I run "maven quickStart".  Except when I deploy the
> jetspeed binary.  In this case I reinstall Tomcat then copy the binary
> folders over to the appropriate directories under Tomcat and I get the
> same errors.
> 
> What is not configured properly?  I understand that I may have
> misconfigured something with the source build but the binary I imagined
> would work.
> 
> I appreciate any insights,
> 
> Chris
> 
> I'm getting the errors while accessing jetspeed at
> http://localhost:8080/jetspeed.
> 
> With the source build, I had to change the build.properties paths to use
> \\ instead of / to satisfy the windows environment.
> I had to modify 4 files during the source build to accomodate "enum" since
> it is a reserved word in jdk 1.5.
> 
> After these adjustments the source compiles and deploys as planned.  But
> when I type http://localhost:8080/jetspeed I get the following error
> whether I deploy the source build or the binary.
> 
> [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(ConnectionFactoryAbstractImpl.java:204)
>at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(ConnectionFactoryAbstractImpl.java:112)
>at
> org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:105)
>at
> org.springframework.orm.ojb.PersistenceBrokerTransactionManager.doBegin(PersistenceBrokerTransactionManager.java:187)
>at
> org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:269)
>at
> org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:201)
>at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)
>at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
>at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
>at $Proxy7.createNode(Unknown Source)
>at
> org.apache.jetspeed.prefs.impl.PreferencesImpl.(PreferencesImpl.java:96)
>at
> org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:64)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>at java.lang.reflect.Method.invoke(Unknown Source)
>at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1087)
>at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
>at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:287)
>at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:205)
>at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
>at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:136)
>at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:236)
>at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:284)
>at
> org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:114)
>at
> org.springframework.context.support.FileSystemXmlApplication

Database parameters missing.

2005-02-23 Thread superman
Hi,

I using Tomcat 5.5.7 and jetspeed on jdk 1.5 on a windows xp platform. I'm
running hsql by using the command "maven start.production.server" then in
another window I run "maven quickStart".  Except when I deploy the
jetspeed binary.  In this case I reinstall Tomcat then copy the binary
folders over to the appropriate directories under Tomcat and I get the
same errors.

What is not configured properly?  I understand that I may have
misconfigured something with the source build but the binary I imagined
would work.

I appreciate any insights,

Chris


I'm getting the errors while accessing jetspeed at
http://localhost:8080/jetspeed.

With the source build, I had to change the build.properties paths to use
\\ instead of / to satisfy the windows environment.
I had to modify 4 files during the source build to accomodate "enum" since
it is a reserved word in jdk 1.5.

After these adjustments the source compiles and deploys as planned.  But
when I type http://localhost:8080/jetspeed I get the following error
whether I deploy the source build or the binary.

[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(ConnectionFactoryAbstractImpl.java:204)
at
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(ConnectionFactoryAbstractImpl.java:112)
at
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:105)
at
org.springframework.orm.ojb.PersistenceBrokerTransactionManager.doBegin(PersistenceBrokerTransactionManager.java:187)
at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:269)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:201)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
at $Proxy7.createNode(Unknown Source)
at
org.apache.jetspeed.prefs.impl.PreferencesImpl.(PreferencesImpl.java:96)
at
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1087)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:287)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:205)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:136)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:236)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:284)
at
org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:114)
at
org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:96)
at
org.apache.jetspeed.components.SpringComponentManager.(SpringComponentManager.java:44)
at
org.apache.jetspeed.engine.SpringEngine.initComponents(SpringEngine.java:108)
at 
org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:135)
at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
at 
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java