thank you Ron,

I've followed these instructions: http://raibledesigns.com/wiki/Wiki.jsp?page=InstallJetspeed. Jetspeed doesn't work again but new steps are done. Now Maven create the war file and move it under tomcat directory, but tomcat dosn't deploy it.
I run the production db using:

maven start.production.server



this is the log file:
log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
INFO: Starting auto deployment service: org.apache.jetspeed.deployment.impl.StandardDeploymentManager
INFO: Deployment scanning delay: 10000
INFO: Deployment staging directory: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\jetspeed/WEB-INF/deploy
INFO: Deployment scanner successfuly started!
[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:198) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:289) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:202) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
   at $Proxy7.createNode(Unknown Source)

it seems a jdbc problem but what do I do?

Gianluca


Ron Wheeler wrote:

You might want to have a look at the jetspeed documentation DRAFT at http://jetspeed.artifact-software.com.

It DOES NOT WORK as written but I hope that it gives you a bit of insight into the process that you are foillowing on th current getting started page.

It will work when, either
a) it is fixed up to match reality
or
b) reality is adjusted to fix the proposed installation procedure - the current maven plug-in does not quite work the way I am suggesting.

Watch out for tomcat major version - 5.5 is a major version. If you are using 5.5 you have set the major version to 5.5 not 5

I have tried to separate out the binary install from the source install. The DRAFT source installation has not been worked on in the DRAFT at http://jetspeed.artifact-software.com. I am waiting for feedback from the development group but they are up to their ears in aligators right now.


If you can look at the logs when you get something that does not work, you may be able to find your own problem. If not, post a bit of the log here and someone may be able to spot the cause.


Ron

Gianluca Luraschi wrote:

dear all,

I'm trying to install and deploy jetspeed from source on windows but it doesn't works, these are the step that I follow:
1. I install maven 1.0.2
2. I set MAVEN_HOME environment variable
3. I add in the path the path of maven.
4. I install the repository: install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository
5. I modify the tomcat installation:   <tomcat-users>

 <role rolename="manager"/>
   <user username="j2deployer" password="xxxxx" roles="manager"/>
</tomcat-users>
and
<Context antiJARLocking="true">
6. I unzip the jetspeed source in c:\jetspeed-2 directory
7. I modify the build.property:
org.apache.jetspeed.project.home = c:\jetspeed-2
adding:
org.apache.jetspeed.portal.home = ${org.apache.jetspeed.project.home}
setting:
org.apache.jetspeed.server.home = directory where tomcat is installed
org.apache.jetspeed.catalina.version.major = 5
8. from c:\jetspeed-2 I run: maven initMavenPlugin
(but I doesn't works: build faild)
So I run:
maven -DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2 -Dversion=2.0-M4-SNAPSHOT plugin:download
(sometimes works other no????)
9. In a separate ms-dos prompt I run, form c:\jetspeed-2: maven j2:start.test.server
(It doesn't works)
10. from c:\jetspeed-2 I run: maven allClean allBuild
(It seems to works: build successfull)
11. In a separate ms-dos prompt I run, form c:\jetspeed-2: maven j2:start.production.server
(It doesn't works)
12. In a separate ms-dos prompt I run, form c:\jetspeed-2:
maven j2:quickStart
(It doesn't works)

= Jetspeed doesn't works
Do you help me?

thanks
Gianluca



---------------------------------------------------------------------
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]





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

Reply via email to