Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RJDBC: "child process has died" in docker #319

Open
wangchong666 opened this issue Sep 29, 2018 · 2 comments
Open

RJDBC: "child process has died" in docker #319

wangchong666 opened this issue Sep 29, 2018 · 2 comments

Comments

@wangchong666
Copy link

  • docker image
    opencpu/rstudio

test.R

library(RJDBC)
test<-function(){
  drv_gbase=JDBC("com.gbase.jdbc.Driver","gbase-connector-java-8.3.81.53-build54.1-
}
POST /library/hello/R/test/json
child process has died

In call:
tryCatch({
    if (length(priority)) 
        set_priority(priority)
    if (length(rlimits)) 
        set_rlimits(rlimits)
    if (length(gid)) 
        setgid(gid)
    if (length(uid)) 
        setuid(uid)
    if (length(profile)) 
        aa_change_profile(profile)
    if (length(device)) 
        options(device = device)
    graphics.off()
    options(menu.graphics = FALSE)
    serialize(withVisible(eval(orig_expr, parent.frame())), NULL)
}, error = function(e) {
    old_class <- attr(e, "class")
    structure(e, class = c(old_class, "eval_fork_error"))
}, finally = substitute(graphics.off()))
@wangchong666 wangchong666 changed the title child process has died in docker RJDBC: child process has died in docker Sep 29, 2018
@wangchong666 wangchong666 changed the title RJDBC: child process has died in docker RJDBC: "child process has died" in docker Sep 29, 2018
@ff6347
Copy link

ff6347 commented Mar 12, 2020

@wangchong666 Did you ever solve this problem?

@jeroen
Copy link
Member

jeroen commented Mar 15, 2020

OpenCPU does not work with Java, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants