RE: RE: build jetspeed-1.5 failed

2004-05-09 Thread Choong Yong, Koh
Hi, Avinash

The error message suggests that you do not have the class 
org.apache.torque.task.TorqueDataModelTask.  As of torque-3.1, somehow they have 
separated the classes needed for generation from the classes needed during runtime, so 
the class you need is now distributed in torque-gen-3.1-beta1.jar.  Check in your 
.maven/repository/torque/jars whether you have this file.

Also, I suspect the root of your problem is that your maven-torque plugin 
might be wrong/corrupted.  Check in your 
.maven/plugins/maven-torque-plugin-3.2/project.xml to see if there is a dependency 
with groupId torque and artifactId torque-gen.  If not, try removing the 
maven-torque-plugin-3.2 folder and re-run maven. (I am assuming that you are running 
maven on online-mode, so that any required dependencies are automatically downloaded.)

Choong Yong, Koh

-Original Message-
From: Avinash G [mailto:[EMAIL PROTECTED]
Sent: Friday, May 07, 2004 5:54 PM
To: Nicolas MAYEUR
Subject: RE: RE: build jetspeed-1.5 failed


hi nico,

Thanks a lot for your reply. I tried as what you said. But it didn't work. What could 
be wrong. what else can we do.
Thanks in advance.

Avinash



 Original Message Follows---
It looks like you don't have the right torque jar in your repository.
I already had the same trouble with an other jar (ant.jar).
Delete the folder "C:/Documents and Settings/sam/.maven/repository/torque",
and play again.
("maven war" should work with JS1.5)
Nico

-Message d'origine-
De : Avinash G [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 7 mai 2004 09:51
À : [EMAIL PROTECTED]
Objet : build jetspeed-1.5 failed


Hi all,

I have a task of creating a portal using jetspeed. I have downloaded
jetspeed-1.5- src. The path of the jetspeed is in "d:jetspeed-1.5". when I
tried to build and install it using "maven war" as given in the tutorial,
the build got failed i got the error as follows.



===D:\jetspeed-1.5>maven
 war
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc2

Tag library requested that is not present: 'maven' in plugin: 'null'
Tag library requested that is not present: 'maven' in plugin: 'null'
Tag library requested that is not present: 'maven' in plugin: 'null'
build:start:

war:init:
java:prepare-filesystem:

java:compile:
prepare.apis:
[echo] Generating Jetspeed XML bindings
[java] -- Suppressing non fatal warnings.

BUILD FAILED
File.. file:/C:/Documents and
Settings/sam/.maven/plugins/maven-torque-plugi
n-3.2/plugin.jelly
Element... taskdef
Line.. 51
Column 63
taskdef class org.apache.torque.task.TorqueDataModelTask cannot be found
Total time: 5 seconds

===
Can any one please help me. Thank You in advance.

G.Avinash


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 *** Ce message et toutes les pièces jointes (ci-après le "message") sont
établis à l'intention exclusive de ses destinataires et sont confidentiels.
Si vous recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à
sa destination, toute diffusion ou toute publication, totale ou partielle,
est interdite, sauf autorisation expresse. L'internet ne permettant pas
d'assurer l'intégrité de ce message, le groupe Itras décline toute
responsabilité au titre de ce message, dans l'hypothèse où il aurait été
modifié. ***

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



RE: Are the jetspeed user limited ???

2004-05-05 Thread Choong Yong, Koh
Hi,

I assume you are using the file /src/sql/external/turbine-mysql.sql.  It is 
pretty odd that this file does not seem to be correct for mysql.  The solution my team 
has is to generate the schema sql from source.  These are the steps to follow:

- get the jetspeed1.5 source
- edit project.properties, change the following line:
database = mysql (or another database that you are using)
- in the command line, run maven:
maven torque:sql-generate

Once the build is successful, you should be able to find the generated sql 
files under /target/classes/sql.  The schema file for users is security-schema.sql.

Choong Yong, Koh
Aretae Pte Ltd

-Original Message-
From: Michael Muller [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 3:48 PM
To: Jetspeed Users List
Subject: RE: Are the jetspeed user limited ???


I finally solved the problem,
The SQL script to create the table within the source code was not
accepted by mySQL so I modified it by removing the attribute IDENTITY
and renaming the type BINARY by BLOB.

The Identity attribute mustn't be removed but replaced by the attribute
AUTO_INCREMENT.




-Original Message-
From: Stefan Rennick Egglestone [mailto:[EMAIL PROTECTED] 
Sent: mardi, 4. mai 2004 12:39
To: Jetspeed Users List
Subject: Re: Are the jetspeed user limited ???

I'm having a similar problem.

I've tried adding a new user using the admin servlet, and no error 
messages are given, but the user isn't added.

Am using mySQL 5/ Tomcat 5.

I've seen previous emails on the mailing list which indicate that you 
get problems if you delete the Tommy Turbine user, but I haven't done 
that. What I have done is play around with the 
JetspeedSecurity.properties file, which does specify some parameters for

security, but I've tried changing everything back to how it was, and 
this hasn't helped.

I've actually got 7 users in my database, along with 5 roles and 3 
groups, so it may not be an identical problem.

Any ideas?

Michael Muller wrote:

>Hi all,
> 
>I've just installed jetspeed-1.5 and it works quite well!
> 
>But I've a problem: 
>I cannot have more than 4 users.
>When I add the add user form it seems as it would have added it, but
the
>new user is not in the database!!!
>(I'm using mySql to store the user.)
>Same thing for the group browser, I cannot have more than 3 groups.
> 
>I watched at the logs, nothing abnormal ...
> 
>Does someone have an idea? Is there any parameter to change? 
> 
>Thanks in advance
> 
>Michael Muller
> 
>
>  
>



This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK
legislation.


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