Hi,
I have one problem run indexing on Oracle XE. In case only one entity is annotated as @Indexed looks like indexing goes well. But when I try to annotate two or more entities to be indexed I'm getting very often connection error:
Code:
ERROR [Hibernate Search: collectionsloader-4] (JDBCExceptionReporter.java:101) - Listener refused the connection with the following error:
ORA-12518, TNS:listener could not hand off client connection
The Connection descriptor used by the client was:
192.168.240.89:1521:XE
ERROR [Hibernate Search: collectionsloader-4] (EntityConsumerLuceneworkProducer.java:103) - error during batch indexing:
org.hibernate.exception.GenericJDBCException: Cannot open connection
ERROR [Hibernate Search: entityloader-2] (JDBCExceptionReporter.java:101) - Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
192.168.240.89:1521:XE
It looks like indexer runs new process for any annotated entity. I could't find the reason why XE refuses connections except that limit of connections is reached (strange, because I run this on just started DB).
Are there some workaround on this problem? Can indexer be run in one process?
Thanks.