Re: help needed with myjxta installation in a vlan environment
James Todd <[email protected]> Tue, 12 Jul 2005 09:20:35 -0700
| Newsgroups | gmane.comp.java.jxta.user,gmane.comp.java.jxta.devel |
|---|---|
| Message-ID | <[email protected]> |
inline. hth, - james -- James Todd :: blogs.sun.com/gonzo | weblogs.java.net/blog/gonzo MyJXTA :: use it - learn it - do it Java == platform independence XML == application independence JXTA == network independence Secure End-to-End Computing abhishek sourabh wrote: > Hi James, > > Thanks for the quick reply. I have used the java web > start to install the application and I was able to > connect to the public network once too (i think so, I > got a "hi" msg from gonjo, i think that was you or > some welcome bot, but nothing after that and i had to > terminate the process due to some problem i cant > recall .. probably being unable to type.) the hi messages i indeed an auto-response from my peer. therefore your instance was installed, running and connected to the public network. you might want to hang out a bit on myjxta as others may be online but not at their keyboards. either that or have a friend start another instance. you, too, can start 2 instances: http://wiki.java.net/bin/view/Jxta/RunningJXTA lastly, if we sync up, and when i'm no longer on vacation, i will work with you to ensure we are both online and connected. i have had trouble with a "internationalized/input method enabled" firefox (could be underlying jre registered with firefox) whereby i could no longer input keystrokes yet the mouse continued to work. after switching to my own firefox install and mapping to a jre i installed this problem went away. > > But the problem has been that each time i click on > myJXTA icon, it starts going through the entire web > start process again. tries to install the entire thing > again. This has happened quite a few times. ( i tried > it again right now .. but it has hung at the point > "starting application ..") upon second and subsequent runs webstart will check to see if any component of the application has changed and if so will download it to run. for me, on linux, the subsequent runs of myjxta occur in quick succession, ie the entire initial webstart process is not rerun. we should try out some tests. second and subsequent concurrent instances of myjxta do not fully initialize but instead will simply pass their system parameters on to the first running instance. i wonder if you have a hidden version of myjxta running (eg double clicking the webstart icon). > > Then i downloded the files and the batch file had a > SET command missing before sp="-DJXTA_HOME=%home%" > code (at least thats what i surmised)... i changed > that and continued with the installation. I had > downloaded 2.3.4 version... it threw too many errors > and would not show me the chat window... then i > downloaded 2.3.3. and it was able to show a chat > window, but did not detect another user. we should work with 2.3.4 or even the nightly build. i made some modifications to the bat script yesterday along the lines of adding the missing "set" command ... but i didn't test it as i don't have a windows box readily available at this time. the application output may not be errors but simply logging information. > > i have already been through the myJXTA web log. and > tried to make the changes to the profile.xml and > myjxta.xml. But there are three directories where > .myjxta folder and these two files are present. i was > not sure in which directory i should make the changes. > I am not sure if i need to change the uuid from what > was given in the blog. There were some differences in > the decription of the files in the blog and the > contents of my xml files. Hence i was really not sure > what/how to make the changes. depending on which application from which you invoke webstart the specified HOME can vary. optimally, it would always be under the user home directory, as is the case on *nix, but this does not appear to be the case on windows. eg i have seen different versions of firefox specify a different HOME. this is one reason we added the "status" directive that will output, to system out, the current JXTA_HOME value. a directive is an irc-like command that can be entered in the chat dialog, eg: /status we likely need to include this information in a popup dialog or some such interface. you can run more then one concurrent instance as long as they have distinct JXTA_HOME values and they do not conflict port-wise. the default configuration addresses the port resolution concern. each directory that includes a PlatformConfig and, for MyJXTA, myjxta.xml is known as the application instance JXTA_HOME. the myjxta.xml and profile.xml files can include default values which are not visibly present for all deployments. nonetheless, all constructs listed in the profile.xml schema are available: http://wiki.java.net/bin/view/Jxta/ExtConfig and attributes can be added to elements to override defaults. > > i will try downloading the recent version and > installing it and would tell you of the results. we should coordinate some time whereby you and i are both online concurrently, if possible. > > thanks for your time. thank you for the feedback and trying out myjxta :) > > abhishek > > P.S.: I am CCing this to dev list as well.but i am not > sure if this will be allowed past filters cuz i dont > think non-member mails are allowed. > > --- James Todd <[email protected]> wrote: > > >>Hi Abhishek - >> >> Cc'ing the MyJXTA dev list ... as others on that >>list run MyJXTA on Windows. >> >> I'm still on vacation, and running late for an >>appointment, so my response >> here is short. That said, when I'm back online >>I'll help out as needed. The >> MyJXTA code slingers are quite helpful as well so >>I suspect someone on the >> above Cc list can help. >> >> In short, MyJXTA can likely fill your needs. That >>said, any JXTA application >> with like capabilities can help as well. >> >> You might want to try the WebStart/JNLP build if >>you haven't already: >> >> >> > > http://download.jxta.org/build/nightly/jnlp/myjxta.jnlp > >> note: webstart information - >>http://java.sun.com/products/javawebstart >> >> I have not run the MyJXTA bat script for awhile >>now and it could be that it >> includes an error. If so, we should get that >>fixed. Hmmmmmmmm ... I just looked >> at the file that generates the bat script and made >>some mods that might work. >> It should be tested. >> >> I recommend trying to connect on the default >>"Public Network" (aka PubNet) first >> and if it works as expected we can work to help >>you construct a private network >> deployment. A blog titled "My MyJXTA" on java.net >>details how to achieve a private >> network deployment: >> >> http://weblogs.java.net/blog/gonzo >> >> note: configuration improvements are forthcoming >>that should further ease/aid >> non-default deployments >> >> Lastly, the MyJXTA Wiki has more information as >>well: >> >> http://wiki.java.net/bin/view/Jxta/MyJXTA >> >> hth, >> >>- james >> >>-- >>James Todd :: blogs.sun.com/gonzo | >>weblogs.java.net/blog/gonzo >> >>MyJXTA :: use it - learn it - do it >> >>Java == platform independence >>XML == application independence >>JXTA == network independence >> >>Secure End-to-End Computing >> >> >>abhishek sourabh wrote: >> >>>hi, >>> >>>I am a student and I just came across myJXTA and >> >>was >> >>>interested in >>>knowing if it can be used in my lan environment. >>> >>>Our >>>lan has 3 vlans which makes it impossible to use a >>>broadcast based messenger for communicating to >>>everyone. We were looking for a non-server based >>>solution which can connect the users in all 3 >> >>vlans >> >>>and allow them to see everyone who is on-line, >> >>send >> >>>msgs to them and exchange files with them. we >> >>wanted a >> >>>software which would allow us to do this without >> >>any >> >>>need to connect to outside the three vlans. The >>>software should automatically detect all the users >> >>and >> >>>list them. If the division in to 3 vlans mean that >> >>the >> >>>address of at least one router/rendezvous computer >>>needs >>>to be given, then that is okay. >>> >>>I am not proficient with java but from what i >> >>could >> >>>gather myjxta can be used for solving this >> >>problem. i >> >>>copied the zip files from downloads section and >> >>tried >> >>>installing it on my system, but there seemed to be >>>some errors in the batch files. i have a win XP >>>system. On executing the batch file, the dos >> >>window >> >>>gave an error saying that 'sd' is not a recognised >>>command name. i tried launching the demo version >> >>from >> >>>the site http://www.jxta.org/demo.html but it >> >>takes >> >>>too long to install and i am not clear if this is >> >>what >> >>>is needed for our purpose. >>> >>>Could you help me by answering the following >>>questions: >>> >>>1. Can myJXTA help me solve the problem mentioned >>>above? >>>2. Can it do so in a way that technically >> >>primitive >> >>>people can use it? >>>3. If yes, What are the steps i should take? >>>4. If you could send me an installation file (my >>>account can accept files up to 10 Mb size, if the >>>files >>>are bigger, a link would also do), in case the >> >>files >> >>>given in the download section are not suitable for >> >>my >> >>>purpose or are not a stable version. >>>5. If the files just need to be tweaked a little >> >>bit >> >>>to make it suitable, can i do that and distribute >> >>the >> >>>files among the users of my lan. This distribution >>>would just be for the purpose of using the >> >>software >> >>>and not selling/profiting out of it. >>>6. If the files need to be tweaked, can it be done >> >>by >> >>>a relatively inexperienced user? If yes, are there >> >>any >> >>>manuals/guidelines for handholding? >>> >>>thanks a lot, looking forward to hearing from you. >>> >>>abhishek >>> >>> >>> >>> >> > __________________________________________________________ > >>>How much free photo storage do you get? Store your >> >>friends 'n family snaps for FREE with Yahoo! Photos >>http://in.photos.yahoo.com >> >>> > --------------------------------------------------------------------- > >>>To unsubscribe, e-mail: [email protected] >>>For additional commands, e-mail: >> >>[email protected] >> >> > --------------------------------------------------------------------- > >>To unsubscribe, e-mail: [email protected] >>For additional commands, e-mail: [email protected] >> >> > > > > > > _______________________________________________________ > Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for FREE! http://in.mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >