You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Balaji Chandrasekaran <cb...@virtusa.com> on 2005/06/17 10:27:15 UTC

Configuring oracle with jetspeed



When I try to configure oracle database instead of hypersonic I am
getting this error. Can anyone from Jetspeed team help me on this as
soon as possible?









D:\Vericept Softwares\jetspeed-database\scripts>ant

Buildfile: build.xml



db.create:



db.execute:

     [echo] Executing scripts for ./sql/DML/oracle/drop.sql



BUILD FAILED

file:D:/Vericept%20Softwares/jetspeed-database/scripts/build.xml:38:
Class Not F

ound: JDBC driver oracle.jdbc.driver.OracleDriver could not be loaded



Total time: 1 second

D:\Vericept Softwares\jetspeed-database\scripts>











This is my build.properties file





#
------------------------------------------------------------------------
-

# configure Oracle Test DB (only needed when running unit tests)

#
------------------------------------------------------------------------
-

 org.apache.jetspeed.test.database.default.name=oracle

 org.apache.jetspeed.test.database.ojb.platform=oracle9i

 org.apache.jetspeed.test.database.url =
jdbc:oracle:thin:@md-training:1521:ORACL

 org.apache.jetspeed.test.database.driver =
oracle.jdbc.driver.OracleDriver

 org.apache.jetspeed.test.database.user = balajic

 org.apache.jetspeed.test.database.password = balajic

#
------------------------------------------------------------------------
-

# configure Oracle Production DB

#
------------------------------------------------------------------------
-

 org.apache.jetspeed.production.database.default.name=oracle

 org.apache.jetspeed.production.database.ojb.platform=oracle9i

 org.apache.jetspeed.production.database.url =
jdbc:oracle:thin:@md-training:1521:ORACL

 org.apache.jetspeed.production.database.driver =
oracle.jdbc.driver.OracleDriver

 org.apache.jetspeed.production.database.user = balajic

 org.apache.jetspeed.production.database.password = balajic

#
------------------------------------------------------------------------
-







This is my Jetspeed.xml file





<!--

Copyright 2004 The Apache Software Foundation



Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at



    http://www.apache.org/licenses/LICENSE-2.0



Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

-->

<Context path="/jetspeed" docBase="jetspeed" crossContext="true">



  <Realm className="org.apache.catalina.realm.JAASRealm"

         appName="Jetspeed"


userClassNames="org.apache.jetspeed.security.impl.UserPrincipalImpl"


roleClassNames="org.apache.jetspeed.security.impl.RolePrincipalImpl"

         useContextClassLoader="false"

         debug="0"/>





            <Resource name="jdbc/jetspeed" auth="Container"

            factory="org.apache.commons.dbcp.BasicDataSourceFactory"

            type="javax.sql.DataSource" username="sa" password=""

            driverClassName="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@md-training:1521:ORACL"

            maxActive="100" maxIdle="30" maxWait="10000"/>



</Context>























---------------------------------------------------------------------------------------------
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is intended for the addressee only. Any unauthorized disclosure, use, dissemination, copying, or distribution of this message or any of its attachments or the information contained in this e-mail, or the taking of any action based on it, is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail and delete this message.