Re: Start Javaspaces 2.1 by command line
liang li <[email protected]> Tue, 27 May 2008 11:04:10 +0800
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_19734_4572582.1211857450399
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
hi,
1
maybe you can modify startAll.config,like this:
// javaspace 4 outrigger
new NonActivatableServiceDescriptor(
"http://" + host + ":" + port + "/outrigger-dl.jar" + jskdl + "
http://" + host + ":" + port + "/onecgs-dl.jar",
policy,
"C:\\jini2_1\\lib\\outrigger.jar;C:\\jini2_1\\onecgs\\lib\\onecgs.jar",
"com.sun.jini.outrigger.TransientOutriggerImpl",
new String[] {
"C:\\jini2_1\\installverify\\support\\outrigger.config" }
),
onecgs.jar is my jar,so you can add many classpath.
2
not ping ok does not means cannot use jeri(or other) protocol, if the
problem still
maybe you should moidfy your firewall setting, i think the connecttion
between
hosts is necessary.
3 i use outrigger without fiddle, i think if you install jini 2.1 correctly
,launch-all.exe will run normal that will start fiddle , lookup, outrigger,
etc
service.a service browser will shown.
if you wanna use javaspace, blitz is also good choice.
hope useful.
byron lee
2008/5/26, Bulzan Stefan <[email protected]>:
>
> Hello,
> I've started Fiddler and outrigger with the scripts from previous messages.
> It seems that because of the new version, 2.1 some permissions weren't
> granted, so I've set a grant all permission policy.
> 1.Now it can't access the classes I need:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> net/jini/space/JavaSpace05
> though the classes are available in jini-ext.jar library.
> I've changed the manifest file from start.jar , but I don't think this is a
> very wise thing to do.
> How can I make these classes visible to the code from start.jar?
>
>
> 2.Another issue is that it requires access to 224.0.1.85, a machine which
> I
> can't reach (I cannot ping it).
> What's the thing with 224.0.1.85? Do I have to connect to it to use
> JavaSpaces?!
>
> 3. If I start an outrigger and a fiddler on the same machine , the last
> server started will
> give a bind exception. How can I start both services without conflict?
>
> Hope you can answer me soon, I really need this.
> Thank you
> Stefan.
>
> ===========================================================================
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff JAVASPACES-USERS". For general help, send email to
> [email protected] and include in the body of the message "help".
>
> To view past JAVASPACES-USERS postings, please see:
> http://archives.java.sun.com/archives/javaspaces-users.html
>
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html
------=_Part_19734_4572582.1211857450399
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div>hi,</div>
<div>1</div>
<div>maybe you can modify startAll.config,like this:</div>
<p> // javaspace 4 outrigger<br> new NonActivatableServiceDescriptor(<br> "http://" + host + ":" + port + "/outrigger-dl.jar" + jskdl + " http://" + host + ":" + port + "/onecgs-dl.jar",<br>
policy,<br> "C:\\jini2_1\\lib\\outrigger.jar;C:\\jini2_1\\onecgs\\lib\\onecgs.jar",<br> "com.sun.jini.outrigger.TransientOutriggerImpl",<br> new String[] { "C:\\jini2_1\\installverify\\support\\outrigger.config" }<br>
),</p>
<div>onecgs.jar is my jar,so you can add many classpath.<br> </div>
<div>2</div>
<div>not ping ok does not means cannot use jeri(or other) protocol, if the problem still</div>
<div>maybe you should moidfy your firewall setting, i think the connecttion between</div>
<div>hosts is necessary.</div>
<div> </div>
<div>3 i use outrigger without fiddle, i think if you install jini 2.1 correctly</div>
<div>,launch-all.exe will run normal that will start fiddle , lookup, outrigger, etc</div>
<div>service.a service browser will shown.</div>
<div> </div>
<div>if you wanna use javaspace, blitz is also good choice.</div>
<div> </div>
<div>hope useful.</div>
<div>byron lee<br> </div>
<div><span class="gmail_quote">2008/5/26, Bulzan Stefan <<a href="mailto:[email protected]">[email protected]</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br>I've started Fiddler and outrigger with the scripts from previous messages.<br>It seems that because of the new version, 2.1 some permissions weren't<br>
granted, so I've set a grant all permission policy.<br>1.Now it can't access the classes I need:<br><br>Exception in thread "main" java.lang.NoClassDefFoundError:<br>net/jini/space/JavaSpace05<br>though the classes are available in jini-ext.jar library.<br>
I've changed the manifest file from start.jar , but I don't think this is a<br>very wise thing to do.<br>How can I make these classes visible to the code from start.jar?<br><br><br>2.Another issue is that it requires access to <a href="http://224.0.1.85">224.0.1.85</a>, a machine which I<br>
can't reach (I cannot ping it).<br>What's the thing with <a href="http://224.0.1.85">224.0.1.85</a>? Do I have to connect to it to use JavaSpaces?!<br><br>3. If I start an outrigger and a fiddler on the same machine , the last<br>
server started will<br>give a bind exception. How can I start both services without conflict?<br><br>Hope you can answer me soon, I really need this.<br>Thank you<br>Stefan.<br><br>===========================================================================<br>
To unsubscribe, send email to <a href="mailto:[email protected]">[email protected]</a> and include in the body<br>of the message "signoff JAVASPACES-USERS". For general help, send email to<br><a href="mailto:[email protected]">[email protected]</a> and include in the body of the message "help".<br>
<br>To view past JAVASPACES-USERS postings, please see:<br><a href="http://archives.java.sun.com/archives/javaspaces-users.html">http://archives.java.sun.com/archives/javaspaces-users.html</a><br></blockquote></div><br>
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
<p>
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html
------=_Part_19734_4572582.1211857450399--