• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot upload files or create folders java jackrabbit 1.0

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This email might help you resolve the problem : http://osdir.com/ml/java-geronimo-user/2006-11/msg00078.html
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic