You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Reej Nayagam <re...@gmail.com> on 2021/12/01 04:01:33 UTC

Re: Bufferunderflowexception while indexing

Thanks Shawn. Our other applications (ENT applications) are using
ojdbc8_g.jar for connecting to oracle 19C and no connectivity issues for
them, so thought can use the same jar as well. Thank you for the reply will
check on this.

Regards
Reej

On Wed, 1 Dec 2021 at 12:25 AM, Shawn Heisey <ap...@elyograg.org> wrote:

> On 11/29/21 11:40 PM, Reej Nayagam wrote:
> > We are using solr 8.8.2, upgraded oracle from 12c to 19c, so changed the
> > driver from ojdbc6.jar to ojdbc8_g.jar
> > Now while indexing, the logs shows the below. Sorry I cannot attach the
> log
> > file.
> >
> > A month back this environment was working fine, connecting to oracle 12C,
> > and then the servers were down for upgrade and after that when restarted
> we
> > are getting this error
> > we are connecting to DB in data-config.xml as below
> > *<datasource name = "xxxx" driver="oracle.jdbc.OracleDriver"
> > url="jdbc:oracle:thin:@//xxxxxx" usr="xxx" password="yyyy"
> > encryptkeyfile="\ddd.txt" />*
>
>
> This appears to be a problem with the Oracle JDBC driver. Searching with
> google turns up a number of pages about that exception with Oracle
> JDBC.  The top two results on that Google search require an Oracle
> support contract (which I don't have) to view.  See this stackoverflow
> post:
>
>
> https://stackoverflow.com/questions/46338306/sqldeveloper-java-nio-bufferunderflowexception
>
> The last comment there says "I had the same error with SQL Developer 18.
> I downgraded the Oracle driver to the one supplied with Oracle 12.1
> (ojdbc7.jar). I can now connect just fine."
>
> If you need more detailed help, talk to Oracle.
>
> Thanks,
> Shawn
>
>
> --
*Thanks,*
*Reej*