- 
        1. Re: getRealPath returns null in JBoss 3 betatownsendmerino May 16, 2002 1:38 PM (in response to per_nyfelt)I'm in the same situation - will this be fixed? 
- 
        2. Re: getRealPath returns null in JBoss 3 betajules May 18, 2002 7:37 PM (in response to per_nyfelt)
 If it's a Tomcat feature/problem, then you are at the mercy of Jakarta - and should be lobbying them.
 If you try it with Jetty and find the same problem, I will look at it.
 Jules
- 
        3. Re: getRealPath returns null in JBoss 3 betadnamiot May 19, 2002 6:34 PM (in response to per_nyfelt)The same is true for Weblogic too by the way :) 
 The only workaround for us was to deploy unpacked.
 >this worked without problems in JBoss-2.4.0_Tomcat-3.2.3
 it was unpacked actually by JBoss itself
- 
        4. Re: getRealPath returns null in JBoss 3 betaopi99 Aug 20, 2002 1:31 PM (in response to per_nyfelt)damn ... 
 ... is there an other way to get this information out?
 Is it possible to get an option in jboss where I can say to jboss unpack the war's self or not?
- 
        5. Re: getRealPath returns null in JBoss 3 betappetit Aug 23, 2002 4:39 AM (in response to per_nyfelt)It works for me with JBoss 3.0.1 and Jetty. 
 I got it working before with JBoss 3.0.O and Tomcat 4.0.2b2, but it's not working anymore with JBoss 3.0.1 and Tomcat 4.0.4...
 Hope this helps
 Philippe
- 
        6. Re: getRealPath returns null in JBoss 3 betadidi Dec 10, 2002 5:17 PM (in response to per_nyfelt)it doesnot work for me either. 
 but a small hint for per_nyfelt: you should not use File in a EJB. Use FileDataSource (from javax.activation. instead)
- 
        7. Re: getRealPath returns null in JBoss 3 betappetit Dec 13, 2002 2:58 AM (in response to per_nyfelt)IMHO, It seems to be an issue due to the fact that Tomcat 4.1.x may now be clustered. So they can't anymore manage absolute path to a file or directory. 
 It would explain why this method works with previous releases of Tomcat and Jetty...
 I can be wrong however...
- 
        8. Re: getRealPath returns null in JBoss 3 betadidi Dec 17, 2002 3:12 PM (in response to per_nyfelt)that could be right .... 
 but how can I handle this now? How do I realize a file upload? Is it only possible to common shared directories? (like /tmp/)
- 
        9. Re: getRealPath returns null in JBoss 3 betadidi Dec 17, 2002 3:13 PM (in response to per_nyfelt)that could be right .... 
 but how can I handle this now? How do I realize a file upload? Is it only possible to common shared directories? (like /tmp/)
- 
        10. Re: getRealPath returns null in JBoss 3 betadidi Dec 17, 2002 3:14 PM (in response to per_nyfelt)that could be right .... 
 but how can I handle this now? How do I realize a file upload? Is it only possible to common shared directories? (like /tmp/)
- 
        11. Re: getRealPath returns null in JBoss 3 betadidi Dec 17, 2002 3:17 PM (in response to per_nyfelt)that could be right ... 
 but how can I handle this now? How do I realize a file upload? Is it only possible to common shared directories? (like /tmp )
- 
        12. Re: getRealPath returns null in JBoss 3 betadidi Dec 17, 2002 3:19 PM (in response to per_nyfelt)but how can I handle this now? How do I realize a file upload? Is it only possible to common shared directories? (like /tmp) 
- 
        13. Re: getRealPath returns null in JBoss 3 betadidi Dec 17, 2002 7:46 PM (in response to per_nyfelt)sorry, some how my browser went crazy. 
 But the question is still serious
 
     
     
     
     
     
    