Hi

i am trying to install pljava in dspace for statistics
addon but it is giving me the following errors

java doesnot exist 

although i have each and every thing of dspace is
working fine


i have pljava  files in the /dspace/lib/ 


can somebody help where i am wrong 

Thanks

Regards
ASIM
Wichita State university
-------------------------------------------------------

Following is the error that i got when i try to
install pljava



[EMAIL PROTECTED] lib]$ psql -U postgres -d dspace
dspace=# \i install.sql
CREATE SCHEMA
GRANT
psql:install.sql:6: ERROR:  could not access file
"pljava": No such file or directory
psql:install.sql:8: ERROR:  function
sqlj.java_call_handler() does not exist
psql:install.sql:12: ERROR:  could not access file
"pljava": No such file or directory
psql:install.sql:14: ERROR:  function
sqlj.javau_call_handler() does not exist
psql:install.sql:23: NOTICE:  CREATE TABLE will create
implicit sequence "jar_repository_jarid_seq" for
serial column "jar_repository.jarid"
psql:install.sql:23: NOTICE:  CREATE TABLE / PRIMARY
KEY will create implicit index "jar_repository_pkey"
for table "jar_repository"
psql:install.sql:23: NOTICE:  CREATE TABLE / UNIQUE
will create implicit index
"jar_repository_jarname_key" for table
"jar_repository"
CREATE TABLE
GRANT
psql:install.sql:32: NOTICE:  CREATE TABLE will create
implicit sequence "jar_entry_entryid_seq" for serial
column "jar_entry.entryid"
psql:install.sql:32: NOTICE:  CREATE TABLE / PRIMARY
KEY will create implicit index "jar_entry_pkey" for
table "jar_entry"
psql:install.sql:32: NOTICE:  CREATE TABLE / UNIQUE
will create implicit index "jar_entry_jarid_key" for
table "jar_entry"
CREATE TABLE
GRANT
ALTER TABLE
psql:install.sql:43: NOTICE:  CREATE TABLE / PRIMARY
KEY will create implicit index "classpath_entry_pkey"
for table "classpath_entry"
CREATE TABLE
GRANT
psql:install.sql:50: NOTICE:  CREATE TABLE will create
implicit sequence "typemap_entry_mapid_seq" for serial
column "typemap_entry.mapid"
psql:install.sql:50: NOTICE:  CREATE TABLE / PRIMARY
KEY will create implicit index "typemap_entry_pkey"
for table "typemap_entry"
CREATE TABLE
GRANT
psql:install.sql:55: ERROR:  language "java" does not
exist
psql:install.sql:59: ERROR:  language "java" does not
exist
psql:install.sql:63: ERROR:  language "java" does not
exist
psql:install.sql:67: ERROR:  language "java" does not
exist
psql:install.sql:71: ERROR:  language "java" does not
exist
psql:install.sql:75: ERROR:  language "java" does not
exist
psql:install.sql:79: ERROR:  language "java" does not
exist
psql:install.sql:83: ERROR:  language "java" does not
exist
psql:install.sql:87: ERROR:  language "java" does not
exist



------------------------------------------------------
Following is my etc profile file

-----------------------------------------------------


# /etc/profile                                        
                                                      
                             
# System wide environment and startup programs, for
login setup
# Functions and aliases go in /etc/bashrc
                                                      
                                                      
               
export JAVA_HOME=/usr/local/j2sdk1.4.2_09
export PATH=$JAVA_HOME/bin:$PATH
CLASSPATH=:/usr/local/j2sdk1.4.2_09/lib:usr/local/j2sdk1.4.2_09/jre:$CLASSPATH
export CLASSPATH
                                                      
                                                      
               
export ANT_HOME=/usr/local/ant/
#export PATH=${PATH}:${ANT_HOME}/bin
                                                      
                                                      
               
                                                      
                                                      
               
                                                      
                                                      
               
                                                      
                                                      
               
                                                      
                                                      
               
                                                      
                                                      
               
export
LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client:$JAVA_HOME/jre/lib/i386/native_threads
                                                      
                                                      
               
CLASSPATH=${PATH}:/dspace/lib/deploy.jar:/dspace/lib/postgresql-8.1-409.jdbc3.jar:/dspace/lib/pljava.jar
; export CLASSPATH
                                                      
                                                      
               
                                                      
                                                      
               
                                                      
                                                      
               
export CATALINE_HOME=/usr/local/jakarta-tomcat-4.1.31
export PATH=$CATALINE_HOME/bin:$PATH
                                                      
                                                      
               
LD_LIBRARY_PATH=/usr/local/pgsql/lib
export LD_LIBRARY_PATH
PATH=/usr/local/pgsql/bin:$PATH
export PATH
MANPATH=/usr/local/pgsql/man:$MANPATH
export MANPATH
                                                      
                                                      
               
                                                      
                                                      
               
export JAVA_OPTS="-Xmx512M -Xms64M
-Dfile.encoding=UTF-8"
                                                      
                                                      
               
                                                      
                                                      
               
pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)"
; then
 if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
           else
              PATH=$1:$PATH
           fi
        fi
}
                                                      
                                                      
               
# Path manipulation
if [ `id -u` = 0 ]; then
        pathmunge /sbin
        pathmunge /usr/sbin
        pathmunge /usr/local/sbin
fi
                                                      
                                                      
               
pathmunge /usr/X11R6/bin after
                                                      
                                                      
               
unset pathmunge
                                                      
                                                      
               
# No core files by default
ulimit -S -c 0 > /dev/null 2>&1
                                                      
                                                      
               
USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
                                                      
                                                      
               
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
                                                      
                                                      
               
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
    INPUTRC=/etc/inputrc
fi
                                                      
                                                      
               
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE
INPUTRC
                                                      
                                                      
               
for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
                                                      
                                                      
               

     . $i
    fi
done
                                                      
                                                      
               
unset i



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to