• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot upload files or create folders java jackrabbit 1.0  RSS feed

 
unai trecet
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!
My app is having a problems working with files. It is a J2EE, Struts and Hibernate application. It uses a MySQL database. The files must be protected so it uses a hashmap table to save them by using Jackrabbit 1.0 library. It worked fine till last January, when something went wrong (I don’t know what!!). It is running on a CentOS 6 server, using Apache and Tomcat 5.5. The problem is this: when an app user try to save a file and attach it to an entity (you can attach files to almost everything in the app), nothing appears after you do it. The error showed in the console this:



The method mentioned in the error (JackrabbitPh.java:256) return, at one point, a null variable so it cannot create the node. It worked fine two months ago, but know it doesn’t even in my local machine (Windows 7). It is not a permission issue, they are the right ones. The code hasn’t changed neither. I know that this is a bit confuse but I can’t bring more information . Thank you very much!
 
Roger Sterling
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This email might help you resolve the problem : http://osdir.com/ml/java-geronimo-user/2006-11/msg00078.html
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does that com.tsystems.web.common.JackrabbitPh belong to your app? What does the code at line:


com.tsystems.web.common.JackrabbitPh.comprobarNodoRaiz(JackrabbitPh.java:273)


look like?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!