similar to: classpath Issue

Displaying 20 results from an estimated 2000 matches similar to: "classpath Issue"

2007 Jun 14
0
connecting to db2 via RJDBC
Hello, I seem to have issues with setting the driver: My code: library(RJDBC) getStatic <- function() { # set driver driverClass <- JDBC("com.ibm.db2.jcc.DB2Driver","someClassPath.jar","'") conn <- dbConnect(driverClass,"serverName") etc etc } I get this error > data <-getData()
2013 Feb 08
1
ClassNotFoundException when running distributed job using rJava package
Hi, I have a MapReduce Java code, which I am calling from R using rJava. I have prepared the R package and tested that successfully. But when I deployed the package in a cluster and executed it, I am getting ClassNotFoundException. If I run the same job directly without integrating with R, it runs perfectly. Here is my R code: library(rJava) muMstSpark <- function(mesosMaster = NULL, input =
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
I have been experiencing issues with an R script hanging when connecting to an Oracle database. To help debug, I found a function here in the nabble forum and made a small test script: #!/usr/bin/Rscript --no-restore --no-save --no-init-file library("RJDBC") drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'") dbCheck =
2009 Mar 30
0
Problem with Tomcat
Hi, Tomcat was running well and suddenly stop of working. I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2 /etc/tomcat5/tomcat5.conf looks like as follows: JAVA_HOME="/usr/lib/jvm/java" CATALINA_HOME="/usr/share/tomcat5" JASPER_HOME="/usr/share/tomcat5" CATALINA_TMPDIR="/usr/share/tomcat5/temp"
2008 Feb 04
1
Java and Xalan
Hello, I have some problems running some tools of java in CentOS. Anyone know where is the problem for this? > [jv at localhost ~]$ java org.apache.xalan.xslt.Process > Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.xalan.xslt.Process > at gnu.java.lang.MainThread.run(libgcj.so.7rh) > Caused by: java.lang.ClassNotFoundException:
2009 Mar 24
0
A question about rJava and the classpath
Hello, Since this an R package, I'm sending the email. I'm loading all the jar files as: library(rJava) hadoop <- Sys.getenv("HADOOP") allfiles <- c(list.files(hadoop,pattern="jar$",full.names=T),list.files(paste(hadoop,"lib",sep=.Platform$file.sep,collapse=""),pattern="jar$",full.names=T)) allfiles <-
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
Puppet 3.3.1 // CentOS release 6.4 (Final) rpm -qa | grep puppet puppetlabs-release-6-7.noarch puppet-3.1.1-1.el6.noarch puppetdb-1.3.0-1.el6.noarch puppet-server-3.1.1-1.el6.noarch puppetdb-terminus-1.3.0-1.el6.noarch Installed from yum packages: Running Transaction Installing : puppetdb-1.3.0-1.el6.noarch
2008 Feb 07
0
R GUI installation on Linux/SuSE 10.3
After a long sufferance I had succeeded in installing R GUI on my Linux/SuSE system. It worked fine. Unluckily a system upgrade patch messed up my monitor so I had to reinstall SuSE 10.3 and every other application on top of it. I have R running back with text interface. I tried to get the nice R GUI up & running again. I followed all the steps to reinstall the R GUI but this time I get a
2011 Jul 08
2
java annoyances
Fresh install on a brand new box (Dell Precision 3500) of 5.6. I install Sun java-1.6.0_26-b03, Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) Then ln -s /usr/lib/jvm/java-1.6.0-sun-1.6.0.26.x86_64/jre/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins about:plugins shows java enabled (oddly enough, I seem to have flash, 32-bit, in the 32 bit libs, and that doesn't show; guess
2009 Feb 25
0
JRI problem with NoClassDefFoundError
I tried to run rtest.java (example Java file found together with JRI library). But I got the following error. I run it with NetBeans on Windows XP. run: java.lang.NoClassDefFoundError: Files\R\R-2/8/1\library\rJava\jri Caused by: java.lang.ClassNotFoundException: Files\R\R-2.8.1\library\rJava\jri at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at
2008 Oct 01
3
Installing RWeka package in CentOS 5: problems with JAVA?
Hi, I am a R user, with some experience in MacOS, Linux, etc, but I am having a problem that I cannot solve: I have a linux server (CentOS 5) and I installed sun jdk1.6. For instance: $ java -version Java version "1.6.0_10-rc2" Java(TM) SE Runtime Environment (build 1.6.0_10-rc2-b32) Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) I also installed the latest version of R:
2007 Sep 27
2
rJava and RJDBC
I am desperate for help. I am trying to get the RJDBC and rJava .5to work on both my windows xp and linux Redhat EL5 Server. On both I get a ava.lang.ClassNotFoundException when calling JDBC(). My example is require(RJDBC) classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar' driverClass=c("com.mysql.jdbc.Driver") drv <-
2008 Jan 02
1
problems with JAVA in JGR library on ubuntu 7.04
Hi All I installed JGR library both on ubuntu 7.10 and 7.04 on 7.10 all went fine, but on 7.04 I recived massage: Exception in thread "main" java.lang.NoClassDefFoundError: org/rosuda/JRI/RMainLoopCallbacks at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at
2002 Jul 01
0
error starting SJava: classpath?
Does SJava require that omegahat be installed? I have installed the binary Windows package (SJavaWin_0.62-8.zip), made the change eliminating the call to .alias(), with the following results on startup: > library(SJava) > .JavaInit() Error in .JavaInit() : Couldn't start Java Virtual Machine: Cannot find the Omegahat interface manager class. Check you classpath! > tmp <-
2002 Aug 09
2
error starting SJava: classpath
Dear R experts, Sorry, I am resending this, since I have not received this mail myself for the past 5 hours. I saw a similar question dated July 2. But there is no answer to it. Does anybody have a solution to it? I am using window NT, and the R version is 1.5.1, the SJava package is the binary version SJavaWin_0.62-8.zip. Here are the error message: > library(SJava) > .JavaInit()
2012 Nov 26
1
Class Not found execption
I am trying to call a r file named es.r which have lotes of R functions. These R functions are internally calling java functions by using ".jnew()" and ".jcall()". I have added necessary jar's to the Classpath and I am able to run es.r from command prompt . But when I tried to call it from anoter r file using source() getting Exception Error in
2006 Oct 09
1
Discussion starter for package level Connection API
Thought I'd try and start a discussion. Feel free to jump in. I guess R needs to strike the right balance between opening up the internals to package writers and not allowing them to do bad things. My first attempt at cracking this nut is to just memcpy() the Rconnection and not allow access to the private stuff: /* Alternative to allowing C code access to connection API. */ Rconnection
2010 Dec 13
1
errors in getconnection or scan
I was wondering if there was a function like "does connection exists" ? I am currently using loops to build up a database, and I have either > B = getConnection(localization) Error in getConnection(localization) : there is no connection -2147483648 In addition: Warning message: In getConnection(localization) : NAs introduced by coercion or > B = scan(localization) Error in
2007 Apr 06
1
getConnection is not found in R depending on the Linux flavour (RedHat or Debian) - dyn.load problems
Hello R developers, I am working on the "seqinr" package and I encounter a tricky problem using a C function. We defined a C fonction called "getzlibsock" which is dedicated to compressed socket connections. This function is using the R internal C function called "getConnection(int)" in order to get information about the socket previously opened with the
2007 Nov 14
1
isOpen on closed connections
As far as I can tell, 'isOpen' cannot return FALSE in the case when 'rw = ""'. If the connection has already been closed by 'close' or some other function, then isOpen will produce an error. The problem is that when isOpen calls 'getConnection', the connection cannot be found and 'getConnection' produces an error. The check to see if it is