Cloudbees Tomcat Application IOException -


i'm using cloudbees java paas, have created tomcat 8 applications , uploaded 2 war files:

  • openrdf workbench
  • openrdf sesame

[source: http://www.openrdf.org ]

i uploaded workbench , after supposed waiting period, instance of openrdf workbench working, able access web interface. after, uploaded sesame , after supposed waiting period, tried access url sesame, , appeared:

http status 500 - servlet.init() servlet openrdf-http-server threw exception  (...)  root cause  java.io.ioexception: unable create logging directory /var/genapp/apps/8ec10836/.aduna/openrdf-sesame/logs     info.aduna.app.logging.base.logconfigurationbase.setbasedir(logconfigurationbase.java:70)     info.aduna.app.appconfiguration.init(appconfiguration.java:155)     info.aduna.app.appconfiguration.init(appconfiguration.java:140)     sun.reflect.nativemethodaccessorimpl.invoke0(native method)     sun.reflect.nativemethodaccessorimpl.invoke(unknown source)     sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source)     java.lang.reflect.method.invoke(unknown source) 

how can fix it?

when deploy kind of applications on paas, should aware file system not persistent, in case application uses kind of configuration file, every time restart/deploy application lose information.

the way file system works on cloudbees explained here. can see cannot write files want.

temporary/ephemeral filesystem access available application. in java app injected "java.io.tmpdir" system property - can store files there needed. please note following:


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -