Re: Issue with JxtaSocket example
"Martin Gainty" <[email protected]> Mon, 22 Aug 2005 20:49:26 -0400
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
What is Vacation ? Oh yes go someplace non work-related and get paid for it I remember reading about that in a book somewhere Martin- ----- Original Message ----- From: "Mohamed Abdelaziz" <[email protected]> To: <[email protected]> Sent: Monday, August 22, 2005 5:16 PM Subject: Re: [JXTA user] Issue with JxtaSocket example >I don't know why I overlooked the obvious (still in vacation mode), > Since it is being loaded as resource, ensure it exists in the classpath. > > Mohamed > > > Martin Gainty wrote: > >> Agreed - $CWD will change >> Following the principle of aliases in httpd.conf >> I would suggest setting up a property or predefined environment >> variable and use the property or env variable for your relative path >> Martin- >> ----- Original Message ----- From: "Mohamed Abdelaziz" >> <[email protected]> >> To: <[email protected]> >> Sent: Monday, August 22, 2005 4:31 PM >> Subject: Re: [JXTA user] Issue with JxtaSocket example >> >> >>> I suggest you specify the full canonical path of the file instead. >>> IDE's usually alter the $CWD, which would result in the behavior >>> you're seeing. >>> >>> Mohamed >>> >>> Bruce Rosenthal wrote: >>> >>>> Unfortuneatly, I have it in $CWD, $CWD/.jxta, $CWD/client (just to >>>> cover my bases). >>>> >>>> I also tried forcing the issue by invoking InputStream is as follows: >>>> >>>> InputStream is = >>>> getResourceInputStream(System.getProperty("user.dir") + "\\" + fname); >>>> >>>> and that also doesn't work. >>>> >>>> I can show you vai a WebEx if you want. >>>> >>>> Mohamed Abdelaziz wrote: >>>> >>>>> sounds like "PlatformConfig.master" does not exist in $CWD >>>> >>>> > > > -- > http://blogs.sun.com/roller/page/hamada > http://weblogs.java.net/blog/hamada > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >