You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Anthony Smith <an...@fedex.com> on 2004/04/12 17:50:18 UTC

Torque/Jetspeed/Turbine

I have an existing database with already deinfed colomn names and tables. I
do not want to change already exisiting table and column names. I do not
minfd adding any to get Jetspeed to work correctly.


The problem I am havin is finding the code/setting to make jetspeed look for
my table names and not the out of the box names. Where can I find this?

For example I get this error below becasue I have not table called
TURBINE_USER.Hw can I make it look for say PORTAL_USER?

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): ORA-00942:
table or view does not exist

	at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250)
	at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225)
	at
org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineUser
Peer.java:87)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurbine
User.java:36)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTu
rbineUserPeer.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTur
bineUserPeer.java:128)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Torque/Jetspeed/Turbine

Posted by Anthony Smith <an...@fedex.com>.
As soon as I run ANT it blows up becasue some of the files were indded
looking for those orginal column & table names.

-----Original Message-----
From: Suchisubhra Sinha (susinha) [mailto:susinha@cisco.com]
Sent: Monday, April 12, 2004 4:05 PM
To: 'Jetspeed Users List'; anthony.smith@fedex.com
Subject: RE: Torque/Jetspeed/Turbine


Change the xml  and run ant. I didn't do that but why  not give a shot.

~suchi

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com]
Sent: Monday, April 12, 2004 1:39 PM
To: Jetspeed Users List
Subject: RE: Torque/Jetspeed/Turbine


If I alter the security-schema.xml then my project won't compile because
other files are looking for the original table/column names. Right?

So, I can even alter that code or create synonyms and views and stuff? Are
those my only 2 options? Is anyone else doing or have experienced this?

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com]
Sent: Monday, April 12, 2004 10:50 AM
To: Jetspeed Users List
Subject: Torque/Jetspeed/Turbine


I have an existing database with already deinfed colomn names and tables. I
do not want to change already exisiting table and column names. I do not
minfd adding any to get Jetspeed to work correctly.


The problem I am havin is finding the code/setting to make jetspeed look for
my table names and not the out of the box names. Where can I find this?

For example I get this error below becasue I have not table called
TURBINE_USER.Hw can I make it look for say PORTAL_USER?

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): ORA-00942:
table or view does not exist

	at
org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250)
	at
org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225)
	at
org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineUser
Peer.java:87)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurbine
User.java:36)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTu
rbineUserPeer.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTur
bineUserPeer.java:128)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Torque/Jetspeed/Turbine

Posted by "Suchisubhra Sinha (susinha)" <su...@cisco.com>.
Change the xml  and run ant. I didn't do that but why  not give a shot. 

~suchi

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com] 
Sent: Monday, April 12, 2004 1:39 PM
To: Jetspeed Users List
Subject: RE: Torque/Jetspeed/Turbine


If I alter the security-schema.xml then my project won't compile because
other files are looking for the original table/column names. Right?

So, I can even alter that code or create synonyms and views and stuff? Are
those my only 2 options? Is anyone else doing or have experienced this?

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com]
Sent: Monday, April 12, 2004 10:50 AM
To: Jetspeed Users List
Subject: Torque/Jetspeed/Turbine


I have an existing database with already deinfed colomn names and tables. I
do not want to change already exisiting table and column names. I do not
minfd adding any to get Jetspeed to work correctly.


The problem I am havin is finding the code/setting to make jetspeed look for
my table names and not the out of the box names. Where can I find this?

For example I get this error below becasue I have not table called
TURBINE_USER.Hw can I make it look for say PORTAL_USER?

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): ORA-00942:
table or view does not exist

	at
org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250)
	at
org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225)
	at
org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineUser
Peer.java:87)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurbine
User.java:36)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTu
rbineUserPeer.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTur
bineUserPeer.java:128)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Torque/Jetspeed/Turbine

Posted by Anthony Smith <an...@fedex.com>.
If I alter the security-schema.xml then my project won't compile because
other files are looking for the original table/column names. Right?

So, I can even alter that code or create synonyms and views and stuff? Are
those my only 2 options? Is anyone else doing or have experienced this?

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com]
Sent: Monday, April 12, 2004 10:50 AM
To: Jetspeed Users List
Subject: Torque/Jetspeed/Turbine


I have an existing database with already deinfed colomn names and tables. I
do not want to change already exisiting table and column names. I do not
minfd adding any to get Jetspeed to work correctly.


The problem I am havin is finding the code/setting to make jetspeed look for
my table names and not the out of the box names. Where can I find this?

For example I get this error below becasue I have not table called
TURBINE_USER.Hw can I make it look for say PORTAL_USER?

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): ORA-00942:
table or view does not exist

	at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250)
	at org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225)
	at
org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineUser
Peer.java:87)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurbine
User.java:36)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTu
rbineUserPeer.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTur
bineUserPeer.java:128)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Torque/Jetspeed/Turbine

Posted by "Suchisubhra Sinha (susinha)" <su...@cisco.com>.
Change securty-schema.xml  file in build/torque/schema directory.

~suchi

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com] 
Sent: Monday, April 12, 2004 8:50 AM
To: Jetspeed Users List
Subject: Torque/Jetspeed/Turbine


I have an existing database with already deinfed colomn names and tables. I
do not want to change already exisiting table and column names. I do not
minfd adding any to get Jetspeed to work correctly.


The problem I am havin is finding the code/setting to make jetspeed look for
my table names and not the out of the box names. Where can I find this?

For example I get this error below becasue I have not table called
TURBINE_USER.Hw can I make it look for say PORTAL_USER?

java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): ORA-00942:
table or view does not exist

	at
org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:250)
	at
org.apache.torque.util.BasePeer.initTableSchema(BasePeer.java:225)
	at
org.apache.jetspeed.om.security.turbine.TurbineUserPeer.<clinit>(TurbineUser
Peer.java:87)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUser.<clinit>(BaseTurbine
User.java:36)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTu
rbineUserPeer.java:141)
	at
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.<clinit>(BaseTur
bineUserPeer.java:128)


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org