Khalid,
Yes, it's now working properly in my install. Here's how to configure
jetspeed with JRun:
=== GENERAL SETTINGS
1. Download and unzip the latest distribution (1.1)
2. On JRun create a directory /classes under /jsm-default. Unjar all the
libraries on /Jetspeed-1.1/lib on that directory, and also Jetspeed.jar
(I'm using NT4.0 - I couldn't run it just by declaring all jars on the
classpath even after restarting the system)
3. Create a directory /tmp under /jsm-default and an empty text file called
turbine.log inside it.
4. Create a directory /JetspeedDocumentCache inside /tmp
5. Copy /content from your distribution to /jsm-default/services/jws/htdocs
6. Create a jetspeed-cache under the same directory (htdocs)
=== ON THE CONFIG FILES
7. On TurbineResources.properties:
- Change logfile property to the path of the turbine.log file you created.
The format is, for instance: /c:/JRun/jsm-default/tmp/turbine.log
- Change jetspeed.properties to the path of JetspeedResources.properties
as, for instance:
/d:/Jetspeed-1.1/src/config/JetspeedResources.properties
8. On JetspeedResources.properties:
- Change the address of defaultPortlets.xml using the file: protocol,
as follows:
file:///d:/jetspeed-1.1/src/content/xml/defaultPortlets.xml
Until I do this way, I was getting a NullPointerException on
PersistentDocument.getRemoteFile() after using file: everything
is working
- Declare the cache directory created previously on cache.directory
/c:/Jrun/jsm-default/tmp/JetspeedDocumentCache
- Same for public.cache.directory
/c:/JRun/jsm-default/services/jws/htdocs/jetspeed-cache
- Same for xmlportletcontroller.stylesheet
/d:/jetspeed-1.1/src/content/xml/defaultstyle.xsl
- Same for cocoon.properties.file
/d:/jetspeed-1.1/src/config/cocoon.properties
8. Restart JRun
9. If you have a dial-up connection, connect to the internet to download
the external resources
10. Access http://localhost:port/jetspeed
And it'll download the external resources and access the jetspeed main page.
If you're not connected when trying to access jetspeed all portlets (default
portlets) will be empty.
I'm in doubt about MSSQL Server since there's no Adapter to it declared on
TurbineResources.properties.
Hope this helps
Wellington Silva
-----Original Message-----
From: Khalid Ghanem
To: JetSpeed (E-mail)
Sent: 4/10/00 7:48 AM
Subject: Setting up JetSpeed with JRUN/MS SQL Server/NT
Hi all,
I am new to JetSpeed. I'd like to use it to create a site like My Yahoo.
Most of the content, however, is from different local database, not
remote ones.
JetSpeed seems to be made for such applications, but it is not obvious
how to use the API just from the its docs. Is there a case study that I
could look at, or an example. Under the "Use Jetspeed" section in
JetSpeed site, there's a link to
http://relativity.yi.org/servlet/jetspeed, Where is the code for this?
Is it supposed to be in the download
http://java.apache.org/jetspeed/dist/Jetspeed-1.1.zip.
I am trying to use JRUN for NT, and MS SQL server as the backend
database. Have anybody done this successfully before?
Finally, Do I have to know XML to use JetSpeed?
Thanks in advance,
Khalid Ghanem (SCJP/MCP)
--
--------------------------------------------------------------
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]