Re: Getting Jetspeed started on Windows

2005-03-13 Thread Danilo Luiz Rheinheimer
Hi,
 I am not a jetspeed expert, I just started to play with it a few days ago.
 But my advice is download a source version and compile it yourself. I 
am using the CVS head version with success, just follow the 'getting 
started' guide.

Danilo.
Ray Clark wrote:
I'm sorry I couldn't help you.  I the same thing that
you did and it worked for me.  I have no experience
with Jetspeed other than installing it and bringing it
up a couple of times to look at it.  Your problem
seemed like the same thing that I had, but it doesn't
seem to have the same resolution.  So I don't know
what to tell you.
Sorry, :(
Ray
--- [EMAIL PROTECTED] wrote:
 

Jetspeed 2.0 M1 is the binary I downloaded. I got
the readme you point to last week and followed the
instructions to the letter on two different windows
PC's (Win2K and XP) and the result the exception
page on both of them, part of which I reproduced
below.
--
Charles Knell
[EMAIL PROTECTED] - email

-Original Message-
From: Hema Menon [EMAIL PROTECTED]
Sent: Sun, 13 Mar 2005 08:42:50 -0600
To:   Jetspeed Users List
jetspeed-user@jakarta.apache.org
Subject:  Re: Re: Getting Jetspeed started on
Windows
The Apache Portals community is pleased to announce
the release of
   

Jetspeed 2.0 M1.
This is our first milestone release and brings
   

Jetspeed closer to a
Here's part of David's original mail on release of
Jetspeed M1. Check
out the link to README.txt.
   

You can download Jetspeed 2.0 M1 from:
http://www.apache.org/dist/portals/jetspeed-2/
Release notes and installation instructions are
   

at:
   

   

http://www.apache.org/dist/portals/jetspeed-2/JETSPEED-2.0-M1-README.txt
 

The Jetspeed Project Wiki and Home pages can be
   

found here:
   

http://wiki.apache.org/portals/Jetspeed2
http://portals.apache.org/jetspeed-2/
   

On Sun, 13 Mar 2005 08:17:42 -0500,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   

Thanks, Ray, but I do have the HSQLDB server 1.7.1
 

running, and that is the message I'm getting. I
suspect there may be a configuration, driver, or
classpath issue, but I can't identify what's wrong.
   

As for the readme document on the downloads
 

page, I can't find anything with that name. I do
find a page at
   

http://portals.apache.org/jetspeed-2/getting-started.html;
 

that purports to help a user get going, but it is
chock-full of unstated assumptions and consequently
very confusing. If the readme document you refer to
is somewhere else, I will be grateful if you can pin
down exactly where it can be found.
   

--
Charles Knell
[EMAIL PROTECTED] - email
-Original Message-
From: Ray Clark [EMAIL PROTECTED]
Sent: Sat, 12 Mar 2005 19:05:20 -0800 (PST)
To:   Jetspeed Users List
 

jetspeed-user@jakarta.apache.org
   

Subject:  Re: Getting Jetspeed started on Windows
I got the same error.  It sounds like you didn't
 

start
   

the database.  Shutdown Tomcat, go to the
jetspeed-database directory and double click on
start-database.  Then start Tomcat.  I believe
 

that
   

your URL will bring up Jetspeed then.
Ray
--- [EMAIL PROTECTED] wrote:
 

I went to another machine with Tomcat 5.5.7
installed.
I unzipped the binary Windows distribution
(jetspeed-2.0-M1.zip) into my Tomcat directory.
I started Tomcat.
I pointed a browser to http://localhost:8080.
Tomcat is working.
I pointed the browser to
http://localhost:8080/jetspeed.
I get this output to the browser, can anyone
   

tell me
   

what's wrong? Thanks.
   

===
 

type Exception report
 

message
description The server encountered an internal
   

error
   

() that prevented it from fulfilling this
   

request.
   

exception
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:689)
 

   

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 

   

org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
 

   

org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
 

   

org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:45)
 

   

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
 

   

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 

   

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
 

   

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 

   

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
 

   

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 

root cause
org.apache.jetspeed.exception.JetspeedException:
Unable to create Engine
   


Can not build Jetspeed 2 on linux with jkd 1.5

2005-03-12 Thread Danilo Luiz Rheinheimer
Hi,
 I can not build jetspeed 2 on a machine running linux with jdk 1.5
 Using jdk 1.4 and windows it is working ok (but I think the problem is 
with jdk 1.5 not linux).
 This is the error message :

+
| Build and Install all Jetspeed 2 jars Jetspeed-2 Registry Components
| Memory: 58M/73M
+
Attempting to download jmock-SNAPSHOT.jar.
jar:install:
build:end:
build:start:
java:prepare-filesystem:
   [mkdir] Created dir: 
/home/danilo/prg/portal/jetspeed/components/registry/target/classes

java:compile:
   [echo] Compiling to 
/home/danilo/prg/portal/jetspeed/components/registry/target/classes
   [echo]
==

 NOTE: Targetting JVM 1.5, classes
 will not run on earlier JVMs
==
   [javac] Compiling 52 source files to 
/home/danilo/prg/portal/jetspeed/components/registry/target/classes
   [javac] 
/home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: 
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
   [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
   [javac] for (Enumeration enum = bundle.getKeys(); 
enum.hasMoreElements();)
   [javac]  ^
   [javac] 
/home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:282: 
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
   [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
   [javac] for (Enumeration enum = bundle.getKeys(); 
enum.hasMoreElements();)
   [javac]   ^
   [javac] 
/home/danilo/prg/portal/jetspeed/components/registry/src/java/org/apache/jetspeed/om/impl/LanguageImpl.java:284: 
as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
   [javac] (try -source 1.4 or lower to use 'enum' as an identifier)
   [javac] String key = (String) enum.nextElement();
   [javac]   ^
   [javac] 3 errors

BUILD FAILED
File.. /home/danilo/prg/portal/jetspeed/maven.xml
Element... maven:reactor
Line.. 133
Column 40
Unable to obtain goal [java:compile] -- 
/home/danilo/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: 
ant:javac Compile failed; see the compiler error output for details.
Total time: 12 minutes 55 seconds
Finished at: Sat Mar 12 11:09:11 EST 2005


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


Struts like forwards

2002-12-02 Thread Danilo Luiz Rheinheimer
Hello,

  I am learning to use Jetspeed.
  I did my first hello world velocity portlet with a default action
and a form when submited trigger a doXXX method on the action class.
This is working ok.
  My question is how to select the velocity template used to show the
action result. On struts I do this by selecting the forward I want to
use.
  But I do not found how to do something like this on Jetspeed. Any
help ?

-- 
Best regards,
 Danilo  mailto:[EMAIL PROTECTED]



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




Re: Replacing jetspeed authentication/authorization

2002-10-01 Thread Danilo Luiz Rheinheimer

Hello dfclark,

Tuesday, October 1, 2002, 2:40:04 PM, you wrote:

dksc Has anyone replaced the default Jetspeed (Turbine) authentication?

  Yes. I did it.

dksc Is there a
dksc description/tutorial anywhere describing the authentication process excuted by
dksc Jetspeed?

  Look at the documentation David send me on a message today :

Documentation covers the interfaces:
http://jakarta.apache.org/jetspeed/site/security.html
Source code and default implementations are in the cvs.
Look under org.apache.jetspeed.services.security,
org.apache.jetspeed.om.security

  Download the source code from CVS and look on the nosecurity options.
  Modify it to your needs.

  You will need to change JetspeedSecurity.properties to use the new
classes, this is described on the previous link.

-- 
Best regards,
 Danilomailto:[EMAIL PROTECTED]



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




Portal to a legacy system

2002-09-26 Thread Danilo Luiz Rheinheimer

Hello,

  I am in the process of use Jetspeed to create a portal to a legacy
system (wrote in Delphi who uses a Oracle database).
  This system controls a university, and is used by his professors,
students and employees.
  The question I have is how make the login of this users on Jetspeed
? All persons who will use the system have his data stored on the
Delphi system with his usernames and passwords. So I will not
replicate this information on another database, I will never create a
user on the portal but just access the information from the Oracle
database.
  What I am thinking in to do is implement all the interfaces
explained on http://jakarta.apache.org/jetspeed/site/security.html to
get the data from my Delphi system. Some operations as
usermanagement.addUser will always throw a exception because I will
not allow user be created.

  And what about roles ? Each user will need to have a role base on
who he is (student, professor, employee).

  Comments please.

-- 
Best regards,
 Danilo  mailto:[EMAIL PROTECTED]



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




How to start

2002-09-25 Thread Danilo Luiz Rheinheimer

Hi,

  What I can use as a starting point to make my jetspeed portal ?
  The problem is the sample who comes with jetspeed has many features
so I am felling lost.
  What I need to keep to have a really minimal portal (just a simple
user autentication) and one hello world portlet ?
  So with this I can envolve the portal to fill my needs.
  TIA.

-- 
Best regards,
 Danilo  mailto:[EMAIL PROTECTED]



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