I've got ojbc6.jar, to correspond with my java version.

While building the project with Maven I got an error saying that I'd need to
manually download ojdbc14.jar too, so I did that, and stuck it in my
dspace-source/lib folder.

However, looking at my [dspace-source]/dspace/target/dspace-1.5.0-build.dir/
directory, in the lib folder there it only shows ojdbc14-10.2.0.2.0.jar ...
So I copied ojdbc6.jar in there to see if it would fix the error, but got
nothing.

I know that's a bit of a messy explanation, let me know if I can clarify
anything. Any ideas?

Thanks,
Rebekah


>
> On Mon, Jul 21, 2008 at 3:29 PM, Graham Triggs <[EMAIL PROTECTED]>
> wrote:
>
>> Sounds like you might have a wonky ojdbc jar.
>>
>> What version is it?
>>
>> Can you try replacing it with the latest version downloaded from Oracle?
>>
>> G
>>
>> Rebekah Burke wrote:
>>
>>> Hi all,
>>>
>>> I am on step 7, the ant fresh_install step, of installing Dspace 1.5 from
>>> the PDF manual, using Oracle 11g on Debian Linux.
>>>
>>> I am receiving this Bad Packet Type java error when I run ant
>>> fresh_install..
>>>
>>>
>>>
>>>
>>> [EMAIL 
>>> PROTECTED]:/home/rburke/dspace-1.5.0-release/dspace/target/dspace-1.5.0-build.dir$
>>> ant fr
>>> esh_install
>>> Buildfile: build.xml
>>>
>>> init_installation:
>>>
>>> init_configs:
>>>     [copy] Copying 1 file to
>>> /usr/local/apache-tomcat-6.0.16/webapps/dspace/config
>>>
>>> setup_database:
>>>     [java] 2008-07-21 15:21:06,909 INFO
>>>  org.dspace.core.ConfigurationManager @ Loading system provided config
>>> property (-Ddspace.configuration): config/dspace.cfg
>>>     [java] 2008-07-21 15:21:06,915 INFO
>>>  org.dspace.core.ConfigurationManager @ Using default log4j provided log
>>> configuration,if uninitended, check your dspace.cfg for (log.init.config)
>>>     [java] 2008-07-21 15:21:06,915 INFO
>>>  org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
>>>     [java] 2008-07-21 15:21:07,098 FATAL
>>> org.dspace.storage.rdbms.InitializeDatabase @ Caught exception:
>>>     [java] java.sql.SQLException: Io exception: Bad packet type
>>>     [java]     at
>>> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
>>>     [java]     at
>>> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
>>>     [java]     at
>>> oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
>>>     [java]     at
>>> oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
>>>     [java]     at
>>> oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
>>>     [java]     at
>>> oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
>>>     [java]     at
>>> oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
>>>     [java]     at
>>> oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
>>>     [java]     at
>>> java.sql.DriverManager.getConnection(DriverManager.java:582)
>>>     [java]     at
>>> java.sql.DriverManager.getConnection(DriverManager.java:185)
>>>     [java]     at
>>> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)
>>>     [java]     at
>>> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
>>>     [java]     at
>>> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
>>>     [java]     at
>>> org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
>>>     [java]     at
>>> java.sql.DriverManager.getConnection(DriverManager.java:582)
>>>     [java]     at
>>> java.sql.DriverManager.getConnection(DriverManager.java:207)
>>>     [java]     at
>>> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:514)
>>>     [java]     at
>>> org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:869)
>>>     [java]     at
>>> org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:100)
>>>
>>> BUILD FAILED
>>> /home/rburke/dspace-1.5.0-release/dspace/target/dspace-1.5.0-build.dir/build.xml:380:
>>> Java returned: 1
>>>
>>>
>>>
>>> I can't find anything about this in relation to Dspace online. It seems
>>> to be something to do with the OJDBC drivers. Can anybody help?
>>>
>>> Regards,
>>> Rebekah
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> DSpace-tech mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>
>>
>> This email has been scanned by Postini.
>> For more information please visit http://www.postini.com
>>
>>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to