You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Gaasch, Derek" <dg...@montana.edu> on 2002/11/04 19:09:36 UTC

ant init with 2.2rc1

Hi. I'm having trouble getting 2.2. up and running -- on ant init, I get a
"BUILD SUCCESSFUL", but when I scroll up, I see that some SQL is failing...
the problem it seems is that turbine is trying to generate a table called
'default' which mysql does not like at all. (reserved word?) Any suggestions
for overcoming this?

Thanks
-d

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: ant init with 2.2rc1

Posted by Eric Emminger <er...@ericemminger.com>.
Derek

> Hi. I'm having trouble getting 2.2. up and running -- on ant init, I get a
> "BUILD SUCCESSFUL", but when I scroll up, I see that some SQL is failing...
> the problem it seems is that turbine is trying to generate a table called
> 'default' which mysql does not like at all. (reserved word?) Any suggestions
> for overcoming this?

Make sure that the name property of the <database> element is set in all
the schema files in your project, especially id-table-schema.xml.

Hope that helps.

Eric

-- 
Eric Emminger
eric@ericemminger.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Problem in authorization

Posted by K Nataraj <kn...@prodapt.com>.
Hello,
     i have a problem extending the VelocitySecureScreen. I have actually
extended the VelocitySecureScreen and all my screens extend from the class
which extends VelocitySecureScreen. In the isAuthorized(RunData data) method
i perform check as whether the user has logged in . If not i set the
template to Login page. But when Login page is loaded i need to perform some
db operations . When isAuthorized(rundata) fails the screen is set to Login
but the java file Login.java in screens directory doesnt seem to execute..
Any thoughts abt it??

Thanks
nataraj




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: ant init with 2.2rc1

Posted by Malcolm Kendall <mi...@blueyonder.co.uk>.
Hi Derek,
The offending use of "default" as a database name
will not affect the running if the sample app.
	>drop database if exists default;
	>create database default;
You could just delete these lines from Web-inf/src/sql/create-db.sql
See also scarab #TRQS35 which provides a proper patch.
Regards,
Malcolm

-----Original Message-----
From: Gaasch, Derek [mailto:dgaasch@montana.edu]
Sent: 04 November 2002 18:10
To: 'Turbine Users List'
Subject: ant init with 2.2rc1



Hi. I'm having trouble getting 2.2. up and running -- on ant init, I get a
"BUILD SUCCESSFUL", but when I scroll up, I see that some SQL is failing...
the problem it seems is that turbine is trying to generate a table called
'default' which mysql does not like at all. (reserved word?) Any suggestions
for overcoming this?

Thanks
-d

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>