Re: Problems coonecting jetspeed to a DB

2000-11-03 Thread Udo Bussmann

Hi Marco,
here is how I set up the classpath, to get Jetspeed running with tomcat:
- downloaded both Jetspeed and Turbine the current code ( I did that
about one or two weeks ago )
- turbine from the HEAD branch
- jetspeed from the pre-proposal-0003-no-psml branch
- build both
- set classpath in tomcat.bat as appended

Note that the "turbine-new.jar" is the result from the build process.
It is probably not the officially recommended way, to overwrite
delivered .jar files
but for me it worked.
Where I had the feeling that turbine delivers more recent jar files,
I took them, instead of the jetspeed delivered ones.
You recognize it through the either %TUR_HOME% or %JETSPEED_HOME%
variable in the path name

Good Luck 
Udo






set CLASSPATH=.
set CLASSPATH=%TOMCAT_HOME%\classes
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\xerces-1.1.3.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\xalan_1_1_D01.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\xmlrpc.jar

set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\turbine-new.jar

set
CLASSPATH=%CLASSPATH%;D:\tools\Netscape\Program\java\classes\ldap10.jar

set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\castor.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\cocoon.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\coocon-ext-servlet2.2.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\hsql.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\jaxp.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\bin\classes
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\mail.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\jyve-2.0.jar

set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\activation-1.0.1.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\ecs-1.3.3.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\freemaker-jdk1.2.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\village-1.4.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\webmacro-jkd1.2.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\webmacro-jkd1.2.jar

set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar

set CLASSPATH=%CLASSPATH%;D:\tools\SQLLIB\java\db2java.zip





Mamei Marco wrote:
 
 Hi,
 I want to connect a DB to Jetspeed (Turbine) to enable user authentication.
 I am running Jetspeed1.2b1 under Tomcat3.1 on WinNT. I would like to use
 Interbase6 ad DB.
 Here is what I did with the TurbineResources properties:
 
 database.default.driver=interbase.interclient.Driver
 database.default.url=jdbc:interbase://hpi8160/e:/database/paperino.gdb
 database.default.username=SYSDBA
 database.default.password=masterkey
 ...
 database.adaptor=DBInterbase
 database.adaptor.DBInterbase=interbase.interclient.Driver
 ...
 
 But it doesn't work, looking at the jetspeed.log
 it says:
 Exception:
 java.lang.ClassNotFoundException:
 org.apache.turbine.util.db.map.DatabaseMapBuilder
 
 Now I looked in the Turbine.jar file and in fact
 that class does not exists. In the package:
 org.apache.turbine.util.db.map there are:
 DatabaseMap.class
 GenerateMapBuilderTask.class
 MapBuilder.class
 TurbineMapBuilder.class
 XMLDatabaseMapBuilder.class
 
 But no the required one?!
 Please Help!
 Marco
 
 --
 --
 Please read the FAQ! http://java.apache.org/faq/
 To subscribe:[EMAIL PROTECTED]
 To unsubscribe:  [EMAIL PROTECTED]
 Archives and Other:  http://java.apache.org/main/mail.html
 Problems?:   [EMAIL PROTECTED]


--
--
Please read the FAQ! http://java.apache.org/faq/
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Archives and Other:  http://java.apache.org/main/mail.html
Problems?:   [EMAIL PROTECTED]




Re: servlet to portlet

2001-02-15 Thread Udo Bussmann

Hi,
I think org.apache.jetspeed.util.servlet.EcsServletElement should do the job, but 
didn't try it yet.
It extends the ECS concrete element.

Regards
Udo



On Tue, 13 Feb 2001 20:32:11 +0100, Reddy, Ayndla Srinivas wrote:

Hello,

I have a simple servlet which connects to mysql database running under
tomcat (4.0). I am trying to make a portlet from it and make it run in
jetspeed (1.3a.).  I am presently checking out the documentation on portlet
API/examples etc but have not been able to find the right information.  Can
somebody kindly point me to the right resource? 


Thanks in Advace
 

Best Regards
Srinivas 


--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search: http://www.mail-archive.com/jetspeed@list.working-dogs.com/
List Help?:  [EMAIL PROTECTED]







--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search: http://www.mail-archive.com/jetspeed@list.working-dogs.com/
List Help?:  [EMAIL PROTECTED]