portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Dulisch <mduli...@gmail.com>
Subject Re: Configuring oracle with jetspeed
Date Fri, 17 Jun 2005 08:49:48 GMT
Hi Balaji,

why are you using ant ant not maven as described in the docs?

Please have a look here:
http://portals.apache.org/jetspeed-2/database.html

There it is described that you have to set a property with the
location of you jdbc jar file from oracle.

Martin

On 6/17/05, Balaji Chandrasekaran <cbalaji@virtusa.com> wrote:
> 
> 
> 
> 
> 
> 
> 
> 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.
>

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


Mime
View raw message