#1 Install Lucene Domain Index 3.4.0.

open
nobody
5
2011-12-22
2011-12-22
Jack_24
No

Hi

I am trying to update from lucene-ojvm-bin-10g-2.9.2.1.1 to Lucene Domain Index 3.4.0. Initially i just tried to execute "ant " command and it gave me build failure error. After searching over google I followed below steps
1. copied new file lucene-odi-bin-3.4.0.1.0
2. ant install-odi-10g
3. ant ncomp-runtime-retrotranslator-sys-code
4. ant ncomp-lucene-all
5. ant ncomp-status

After doing ant ncomp-status i got below error. Can you please help here. Can I ignore this error or I need to do anything else. ncomp-status: [java] -- invocation: java oracle.jaccelerator.Make -DSCHEMA=??? -DPASSWORD=??? -Dsource.server=orcl -Dtarget.server=orcl -Dloadjava.opt.database.suffix=@orcl -Dproject.user.and.password=-user ???/???@orcl -Dstatus.output.file=tmp/statusnc-???_ncomp_odi.txt tmp/???_ncomp_odi.jar.status [java] C:\ORACLE\product\10.2.0\db_1\BIN\jdk\/bin/java -ms256M -mx1024M -classpath .;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/lib/jaccelerator.zip;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/lib/aurora_ncomp_gen.zip;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/lib/ncomp.zip;C:\ORACLE\product\10.2.0\db_1\BIN/jdbc/lib/classes12.jar;C:\ORACLE\product\10.2.0\db_1\BIN/sqlj/lib/translator.zip; oracle.jaccelerator.ClassListLoaderGenerator -DLLExtension dll -libPrefix "ora" -projectSpec tmp/???_ncomp_odi_minimalClassListAndTCDumper -user ???/???@orcl tmp/???_ncomp_odi.jar [java] -- dumper: tmp/lucene_ncomp_odi_minimalClassListAndTCDumper.java [java] -- closing connection: null [java] -- closed connection: null [java] C:\ORACLE\product\10.2.0\db_1\BIN/bin/loadjava.bat -oci8 -resolve -u ???/??? C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/SQL.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/ForEachClass.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/ClassProcessor.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/PackageDisableNcomp.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/PackageValidateAll.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/ClassProperties.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/Dumper.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/TransitiveClosureDumper.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/MinimizeNcompListAndDumpTC.java C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome/Installer.java tmp/???_ncomp_odi_minimalClassListAndTCDumper.java [java] Error while determining classes contained in tmp\lucene_ncomp_odi_minimalClassListAndTCDumper.java [java] Exception oracle.aurora.sqljdecl.ParseException: Encountered "/" at line 14, column 17. [java] Was expecting one of: [java] "extends" ... [java] "implements" ... [java] "{" ... [java] [java] C:\ORACLE\product\10.2.0\db_1\BIN\jdk\/bin/java -ms256M -mx1024M -classpath .;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/jahome;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/lib/jaccelerator.zip;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/lib/aurora_ncomp_gen.zip;C:\ORACLE\product\10.2.0\db_1\BIN/javavm/lib/ncomp.zip;C:\ORACLE\product\10.2.0\db_1\BIN/jdbc/lib/classes12.jar;C:\ORACLE\product\10.2.0\db_1\BIN/sqlj/lib/translator.zip; oracle.jaccelerator.client.FindClassesToNcomp jdbc:oracle:oci8:@orcl ??? ??? tmp/???_ncomp_odi_minimalClassListAndTCDumper increment tmp\statusnc-???_ncomp_odi.txtThe following operations failed [java] tmp\lucene_ncomp_odi_minimalClassListAndTCDumper.java: creation [java] exiting : Failures occurred during processing [java] [java] -- connString: jdbc:oracle:oci8:@orcl [java] -- create or replace function jaccelerator___find_class_list (b blob) return VARCHAR2 as language java name 'oracle.jaccelerator.server.tmp/lucene_ncomp_odi_minimalClassListAndTCDumper.increment(oracle.sql.BLOB) return java.lang.String'; [java] -- create or replace function jaccelerator_find_class_list return blob as myb blob; res varchar2(100); begin dbms_lob.createtemporary(myb, TRUE, DBMS_LOB.SESSION); res := jaccelerator___find_class_list(myb); return myb; end; [java] -- { ? = call jaccelerator_find_class_list() } [java] error in: FindClassesToNcomp :java.sql.SQLException: ORA-06550: line 1, column 13: [java] PLS-00905: object LUCENE.JACCELERATOR_FIND_CLASS_LIST is invalid [java] ORA-06550: line 1, column 7: [java] PL/SQL: Statement ignored [java] [java] java.sql.SQLException: ORA-06550: line 1, column 13: [java] PLS-00905: object LUCENE.JACCELERATOR_FIND_CLASS_LIST is invalid [java] ORA-06550: line 1, column 7: [java] PL/SQL: Statement ignored [java] [java] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111) [java] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:671) [java] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:597) [java] at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:571) [java] at oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:764) [java] at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1159) [java] at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284) [java] at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3389) [java] at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4222) [java] at oracle.jaccelerator.client.FindClassesToNcomp.doit(FindClassesToNcomp.java:82) [java] at oracle.jaccelerator.client.JDBCDriver.run(JDBCDriver.java:75) [java] at oracle.jaccelerator.client.FindClassesToNcomp.main(FindClassesToNcomp.java:17) [java] Make executed 3 actions BUILD SUCCESSFUL Total time: 11 seconds

Regards

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks