-
Notifications
You must be signed in to change notification settings - Fork 0
/
RMISecurityManager.html
447 lines (388 loc) · 24.9 KB
/
RMISecurityManager.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
<html>
<head><title>Yahoo! Mail</title></head>
<body alink=#0000ff vlink=#0000ff bgcolor=#ffffff background=http://a1.g.a.yimg.com/7/1/31/000/us.yimg.com/i/mail/nfymbg.gif>
<table border=0 width="100%" cellpadding=0 cellspacing=0><tr>
<td width="132" align=left valign=top>
<map name=m><area coords="0,0,115,60" href="/ym/us/Welcome?YY=82723"><area coords="0,60,65,75" href="http://rd.yahoo.com/mail_us/nav/?http://my.yahoo.com/" target="_blank"><area coords="66,60,116,75" href="http://rd.yahoo.com/mail_us/nav/?http://www.yahoo.com" target="_blank"></map><img src="http://a1.g.a.yimg.com/7/1/31/000/us.yimg.com/i/mail/m3.gif" width=115 height=75 border=0 alt="" usemap="#m">
<table border=0 cellpadding=0 cellspacing=0 width="100%">
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="/ym/us/ShowFolder?rb=Inbox&YY=82723&order=down&sort=date&pos=0&YN=1">Check Mail</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="/ym/us/Compose?YY=82723&order=down&sort=date&pos=0">Compose</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="/ym/us/Folders?x=1&YY=82723&order=down&sort=date&pos=0">Folders</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="http://address.mail.yahoo.com/yab/us?v=YM&nf=1&cmode=1&Lang=us&YY=82723&order=down&sort=date&pos=0">Addresses</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="/ym/us/Search?YY=82723&order=down&sort=date&pos=0">Search</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="/ym/us/Options?YY=82723&order=down&sort=date&pos=0">Options</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="http://rd.yahoo.com/mail_us/nav/?http://help.yahoo.com/help/us/mail/" target=_blank>Help Desk</a></font></td></tr>
<tr><td nowrap><font face="Arial,Helvetica" size=-1> <a href="/ym/us/Logout?YY=82723">Sign Out</a></font></td></tr>
<tr><td nowrap> <br></td></tr>
<tr><td nowrap>
<P><table cellspacing=0 border=0 cellpadding=0><tr><td><a href="http://rd.yahoo.com/M=44900.428155.2175333.317188/P=m1v2ekd4110004/S=150500021:SW/A=182063/R=0/*http://www.jfax.com/visitjfax.asp?VID=3-41&BID=224-1031-196a&page=splashpages/yahoo/YFreeTrial.html" target="_blank"><img src="http://a32.g.a.yimg.com/7/32/31/000/us.yimg.com/a/jf/jfax/44900/196a031.gif" width=25 height=25 border=0></a></td><td><a href="http://rd.yahoo.com/M=44900.428155.2175333.317188/P=m1v2ekd4110004/S=150500021:SW/A=182063/R=1/*http://www.jfax.com/visitjfax.asp?VID=3-41&BID=224-1031-196a&page=splashpages/yahoo/YFreeTrial.html" target="_blank"><font size=2>Faxes<br>Voicemail</font></a></td></tr></table><P></td></tr>
<tr><td height=5></td></tr>
<tr><td colspan=2>
<table cellpadding=2 cellspacing=0 border=0 width="100%">
<tr><td align=center bgcolor="#dcdcdc"><a href="http://rd.yahoo.com/mail_us/nav/?http://greetings.yahoo.com" target="_blank"><small>Send A Greeting</small></a></td></tr></table>
<tr><td height=5></td></tr>
<tr><td colspan=2>
<table cellpadding=2 cellspacing=0 border=0 width="100%">
<tr><td align=center bgcolor="#dcdcdc"><a href="http://rd.yahoo.com/mail_us/nav/?http://messenger.yahoo.com/intl/us/" target="_blank"><small>Get Y! Messenger</small></a></td></tr></table>
</table>
</td>
<td width="1%"> </td>
<td width="100%" valign=top>
<table cellpadding=2 cellspacing=0 border=0 width="100%">
<tr bgcolor="#a0b8c8">
<td><b>Read Message</b></td>
<td align=right><font face="Arial,Helvetica" size=-1><b>
<a href="http://rd.yahoo.com/mail_us/help/?http://help.yahoo.com/help/us/mail/context/context-18.html" target="_blank">
Help</a>
</b></font></td>
</tr>
<tr><td align=center colspan=2>
<table cellpadding=8><tr><td align=center>
<a href="http://rd.yahoo.com/M=27229.509820.2255446.394561/P=m1v2ekd4110004/S=150500004:N/A=213422/?http://ad.doubleclick.net/jump/N483.1stusa.yahoo/B5014.29;sz=468x60;cell=6je8;ord=944588611" target="_blank"><img width=468 height=60 src="http://ad.doubleclick.net/ad/N483.1stusa.yahoo/B5014.29;sz=468x60;cell=6je8;ord=944588611" alt="Click Here for Wingspanbank.com" border=0></a></td></tr></table>
<hr width="100%" noshade size=1>
</td></tr>
<form name=frmCompose method=post action="/ym/us/Compose?box=Inbox&Mid=7460_2210756_110261_949_9771_0&inc=&Search=&YY=82723&order=down&sort=date&pos=0">
<tr bgcolor="#ffffff">
<td nowrap valign=middle>
<input type=submit name=REP value="Reply">
<input type=submit name=REPA value="Reply All">
<input type=submit name=FWD value="Forward">
<font face="Arial,Helvetica" size=-2>
<select name="fwopt">
<option value="attach">as attachment
<option selected value="quoted">inline text
</select>
</font>
</td>
<td align=right valign=middle nowrap><font face="Arial,Helvetica" size=-1>
<a href="/ym/us/ShowLetter?box=Inbox&MsgId=7460_2210756_110261_949_9771_0&toc=1&Search=&YY=82723&order=down&sort=date&pos=0"><b>Download</b></a> Attachments
</font></td>
</tr>
</form>
<form name=frmShowLtr method=post action="/ym/us/ShowLetter?YY=82723&order=down&sort=date&pos=0">
<input type=hidden name="MsgId" value="7460_2210756_110261_949_9771_0" >
<input type=hidden name=box value="Inbox">
<tr bgcolor="#dcdcdc">
<td nowrap valign=middle><font face="Arial,Helvetica" size=-1>
<input type=submit name=DEL value="Delete">
<b><a href="/ym/us/ShowLetter?box=Inbox&MsgId=7460_2210756_110261_949_9771_0&NEXT=1&inc=&num=&Search=&YY=82723&order=down&sort=date&pos=0">Next</a></b>
| <b><a href="/ym/us/ShowFolder?box=Inbox&YY=82723&order=down&sort=date&pos=0">Inbox</a></b>
</font></td>
<td align=right nowrap><font face="Arial,Helvetica" size=-1>
<select name="destBox">
<option value="">- Choose Folder -
</select>
<input type=submit name=MOV value="Move">
</font></td>
</tr>
</form>
</table>
<table cellspacing=0 cellpadding=0 width="100%">
<tr valign=top><td><table cellspacing=0 cellpadding=1>
<tr><td align=left colspan=2>From Alejandro P. Revilla Tue Dec 7 08:47:36 1999</td></tr>
<tr><td align=right valign=top nowrap><b>X-Apparently-To:</b></td><td> [email protected] via mdd301.mail.yahoo.com</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from csd.cs.com.uy (HELO ms.cs.com.uy) (206.99.51.136)
by mta123.mail.yahoo.com with SMTP; 7 Dec 1999 16:47:50 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from apr.cs.com.uy (apr.cs.com.uy [206.99.51.131])
by ms.cs.com.uy (8.9.1/8.9.1) with ESMTP id NAA41246
for <[email protected]>; Tue, 7 Dec 1999 13:50:04 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> (from apr@localhost)
by apr.cs.com.uy (8.8.5/8.8.5) id NAA05191
for [email protected]; Tue, 7 Dec 1999 13:47:37 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Date:</b></td><td> Tue, 7 Dec 1999 13:47:36 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>From:</b></td><td> "Alejandro P. Revilla" <[email protected]><small> | <b><a href="/ym/BlockSender?NBR=1&[email protected]&box=Inbox&MsgId=7460_2210756_110261_949_9771_0&inc=&num=&Search=&YY=82723&order=down&sort=date&pos=0">Block address</a></b></small></td></tr>
<tr><td align=right valign=top nowrap><b>To:</b></td><td> Trent Jarvi <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Subject:</b></td><td> Forward of JINI-USERS thread</td></tr>
<tr><td align=right valign=top nowrap><b>Message-ID:</b></td><td> <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Mime-Version:</b></td><td> 1.0</td></tr>
<tr><td align=right valign=top nowrap><b>Content-Type:</b></td><td> multipart/mixed; boundary=+QahgC5+KEYLbs62</td></tr>
<tr><td align=right valign=top nowrap><b>X-Mailer:</b></td><td> Mutt 0.95.4i</td></tr>
<tr><td align=right valign=top nowrap><b>Content-Length:</b></td><td> 9771</td></tr>
</table></td>
<td valign=top><form action="http://address.mail.yahoo.com/yab/us?v=YM&cmode=1&Lang=us&nf=1" method="post">
<table cellpadding=0 cellspacing=0 border=0 width="100%">
<tr valign=top><td bgcolor="#ffffff" align=right>
<font face="Arial" size="-1">
<input type="hidden" name="v" value="YM">
<input type="hidden" name="A" value="a">
<input type="hidden" name="fn" value="Alejandro P.,">
<input type="hidden" name="ln" value="Revilla,">
<input type="hidden" name="e" value="[email protected],">
<input type="hidden" name="m" value="1">
<input type="hidden" name=".done" value="http://f3.mail.yahoo.com/ym/us/ShowLetter?MsgId=7460_2210756_110261_949_9771_0&order=down&inc=&sort=date&box=Inbox&YY=82723">
<input type="submit" value="Add Addresses">
</font>
</td></tr>
</table>
</form></td>
</tr>
</table>
<br>
<pre><font size=-1>Hi Trent,
There's a problem accesing CommAPI after setting an
RMISecurityManager(). I did not have time to find out where
the problem is, just went thru a simple workaround. Now I
see somebody else on JINI-USERS reporting the same problem
and it happens not to appear on Windoze machines.
Just for your information and for you to be aware of it
I am attaching two messages (original message and my response)
to JINI-USERS.
I personally think the problem may well be at comm.jar
solaris implementation.
Best regards
--Alejandro
</font></pre>
<HR size=1> <center><font size=-1><b>Attachment: Forwarded Message</b></font></center><br>
<table cellspacing=0 cellpadding=1>
<tr><td align=right valign=top nowrap><b>Return-Path:</b></td><td> <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from localhost (localhost [127.0.0.1])
by apr.cs.com.uy (8.8.5/8.8.5) with ESMTP id TAA10006
for <apr@localhost>; Sun, 5 Dec 1999 19:12:49 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from csd.cs.com.uy
by localhost with POP3 (fetchmail-4.7.6)
for apr@localhost (single-drop); Sun, 05 Dec 1999 19:12:49 -0300 (EST)</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from cs.cs.com.uy (cs.cs.com.uy [206.99.51.130])
by ms.cs.com.uy (8.9.1/8.9.1) with SMTP id TAA53622
for <[email protected]>; Sun, 5 Dec 1999 19:14:30 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> (qmail 18134 invoked by alias); 5 Dec 1999 22:12:10 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Delivered-To:</b></td><td> [email protected]</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> (qmail 42448 invoked from network); 5 Dec 1999 22:12:08 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from mail.javasoft.com (HELO mail.java.sun.com) (204.160.241.28)
by cs.cs.com.uy with SMTP; 5 Dec 1999 22:12:08 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from mail (mail.java.sun.com [204.160.241.28])
by mail.java.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA28872;
Sun, 5 Dec 1999 14:07:56 -0800 (PST)</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with
spool id 2782139 for [email protected]; Sun, 5 Dec 1999
14:03:53 -0800</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from catwalk.los-gatos.net ([207.214.112.33]) by mail.java.sun.com
(8.9.3+Sun/8.9.3) with ESMTP id OAA28480 for
<[email protected]>; Sun, 5 Dec 1999 14:03:51 -0800 (PST)</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from catwalk.los-gatos.net (localhost [127.0.0.1]) by
catwalk.los-gatos.net (8.8.7/8.8.7) with SMTP id NAA07234 for
<[email protected]>; Sun, 5 Dec 1999 13:57:01 -0800</td></tr>
<tr><td align=right valign=top nowrap><b>X-Mailer:</b></td><td> KMail [version 1.0.28]</td></tr>
<tr><td align=right valign=top nowrap><b>Content-Type:</b></td><td> text/plain</td></tr>
<tr><td align=right valign=top nowrap><b>References:</b></td><td> <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>MIME-Version:</b></td><td> 1.0</td></tr>
<tr><td align=right valign=top nowrap><b>Content-Transfer-Encoding:</b></td><td> 8bit</td></tr>
<tr><td align=right valign=top nowrap><b>Approved-By:</b></td><td> Doug Sutherland <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Message-ID:</b></td><td> <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Date:</b></td><td> Sun, 5 Dec 1999 13:48:52 -0800</td></tr>
<tr><td align=right valign=top nowrap><b>Reply-to:</b></td><td> [email protected]</td></tr>
<tr><td align=right valign=top nowrap><b>Sender:</b></td><td> "A mailing list for discussing Sun's Jini (tm) Technology"
<[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>From:</b></td><td> Doug Sutherland <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Organization:</b></td><td> The Cats Net</td></tr>
<tr><td align=right valign=top nowrap><b>Subject:</b></td><td> Re: Fwd: RMI Security Manager prevents access to other classes?</td></tr>
<tr><td align=right valign=top nowrap><b>To:</b></td><td> [email protected]</td></tr>
<tr><td align=right valign=top nowrap><b>In-Reply-To:</b></td><td> <[email protected]></td></tr>
</table>
<br>
<pre><font size=-1>Hi,
Allow me to clarify this problem further. I am aware of the Java 2
security policies, and I am starting both the server and client with
the -Djava.security.policy=policy parameter, where policy contains
the usual
permission java.security.AllPermission
The code works fine on Windows with the win32com.dll driver for
Javacomm API. But on Linux the same code fails when trying to load
the RXTXCommDriver (native driver for javacomm on linux). Seems
like it might be a bug in gnu.io.RXTXCommDriver, either that or
RMISecurityManager is not behaving the same way on Linux.
Any Ideas?
Thanks,
Doug
> Correction: I meant to say:
>
> - if I comment out System.setSecurityManager(new
RMISecurityManager())
> ^^^
> the serial port access works fine. But with the RMI security
manager
> the loading of serial port drivers fails.
>
> Doug
>
>
>
> ---------- Forwarded Message ----------
> Subject: RMI Security Manager prevents access to other classes?
> Date: Sun, 5 Dec 1999 04:49:54 -0800
> From: Doug Sutherland <<a href="/ym/[email protected]&YY=82723&order=down&sort=date&pos=0">[email protected]</a>>
>
>
> Hi There,
>
> I am working with JDK1.2 (blackdown) on Linux kernel 2.0.36 (Redhat
5.2).
> I have an RMI client application that connects to an RMI server,
grabs
> some data, and sends it out the serial port to an LCD display using
the
> Java commapi for Linux. I have a situation where:
>
> - if I comment out System.setSecurityManager(new SecurityManager())
> the serial port access works fine, I write out characters to the
> display no problem. The program finds the serial ports using
> getPortIdentifier and is able to open the serial port.
>
> - if I put back in the RMI security manager, the application does
> not find the serial ports, instead it throws an exception while
> trying to load the serial drivers:
>
> caught java.lang.IllegalArgumentException: name can't be null
> while loading driver gnu.io.RXTXCommDriver
>
> It appears that the RMI security manager is somehow messing with the
> loading of the native serial port driver (RXTX for linux). I assume
> that this is a feature not a bug. What do I need to do to get the
> RMI security manager to allow access to other classes? In this case
> the serial driver consists of a native shared library:
>
> /usr/local/java/jdk1.2/jre/lib/i386/libSerial.so
>
> And java classes that reside here:
>
> /usr/local/java/jdk1.2/jre/lib/ext/jcl.jar
> /usr/local/java/jdk1.2/jre/lib/ext/comm.jar
>
> Anyone have any ideas? Do you have commapi working in an app
> that also does RMI? Any tips would be appreciated.
>
> Thanks,
> Doug
===========================================================================
To unsubscribe, send email to <a href="/ym/[email protected]&YY=82723&order=down&sort=date&pos=0">[email protected]</a> and include in the
body
of the message "signoff JINI-USERS". For general help, send email to
<a href="/ym/[email protected]&YY=82723&order=down&sort=date&pos=0">[email protected]</a> and include in the body of the message "help".
To view past JINI-USERS postings, please see:
<a href="http://archives.java.sun.com/archives/jini-users.html" target=_blank>http://archives.java.sun.com/archives/jini-users.html</a>
To participate in the community, please visit:
<a href="http://www.jini.org" target=_blank>http://www.jini.org</a>
</font></pre>
<HR size=1> <center><font size=-1><b>Attachment: Forwarded Message</b></font></center><br>
<table cellspacing=0 cellpadding=1>
<tr><td align=right valign=top nowrap><b>Return-Path:</b></td><td> <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from localhost (localhost [127.0.0.1])
by apr.cs.com.uy (8.8.5/8.8.5) with ESMTP id NAA04642
for <apr@localhost>; Tue, 7 Dec 1999 13:07:42 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from csd.cs.com.uy
by localhost with POP3 (fetchmail-4.7.6)
for apr@localhost (single-drop); Tue, 07 Dec 1999 13:07:43 -0300 (EST)</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from cs.cs.com.uy (cs.cs.com.uy [206.99.51.130])
by ms.cs.com.uy (8.9.1/8.9.1) with SMTP id NAA20040
for <[email protected]>; Tue, 7 Dec 1999 13:09:33 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> (qmail 42616 invoked by alias); 7 Dec 1999 16:07:10 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Delivered-To:</b></td><td> [email protected]</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> (qmail 21107 invoked from network); 7 Dec 1999 16:07:07 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from mail.javasoft.com (HELO mail.java.sun.com) (204.160.241.28)
by cs.cs.com.uy with SMTP; 7 Dec 1999 16:07:07 -0000</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from mail (mail.java.sun.com [204.160.241.28])
by mail.java.sun.com (8.9.3+Sun/8.9.3) with ESMTP id IAA01760;
Tue, 7 Dec 1999 08:01:25 -0800 (PST)</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8d) with
spool id 2820739 for [email protected]; Tue, 7 Dec 1999
07:19:24 -0800</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from ms.cs.com.uy (csd.cs.com.uy [206.99.51.136]) by
mail.java.sun.com (8.9.3+Sun/8.9.3) with ESMTP id HAA22568 for
<[email protected]>; Tue, 7 Dec 1999 07:19:18 -0800 (PST)</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> from apr.cs.com.uy (apr.cs.com.uy [206.99.51.131]) by ms.cs.com.uy
(8.9.1/8.9.1) with ESMTP id MAA16516; Tue, 7 Dec 1999 12:21:03 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Received:</b></td><td> (from apr@localhost) by apr.cs.com.uy (8.8.5/8.8.5) id MAA03834; Tue,
7 Dec 1999 12:18:39 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Mail-Followup-To:</b></td><td> Doug Sutherland <[email protected]>, [email protected]</td></tr>
<tr><td align=right valign=top nowrap><b>References:</b></td><td> <[email protected]>
<[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Mime-Version:</b></td><td> 1.0</td></tr>
<tr><td align=right valign=top nowrap><b>Content-Type:</b></td><td> text/plain; charset=us-ascii</td></tr>
<tr><td align=right valign=top nowrap><b>X-Mailer:</b></td><td> Mutt 0.95.4i</td></tr>
<tr><td align=right valign=top nowrap><b>Approved-By:</b></td><td> "Alejandro P. Revilla" <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Message-ID:</b></td><td> <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Date:</b></td><td> Tue, 7 Dec 1999 12:18:38 -0300</td></tr>
<tr><td align=right valign=top nowrap><b>Reply-to:</b></td><td> "Alejandro P. Revilla" <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Sender:</b></td><td> "A mailing list for discussing Sun's Jini (tm) Technology"
<[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>From:</b></td><td> "Alejandro P. Revilla" <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>Subject:</b></td><td> Re: Fwd: RMI Security Manager prevents access to other classes?</td></tr>
<tr><td align=right valign=top nowrap><b>Comments:</b></td><td> To: Doug Sutherland <[email protected]></td></tr>
<tr><td align=right valign=top nowrap><b>To:</b></td><td> [email protected]</td></tr>
<tr><td align=right valign=top nowrap><b>In-Reply-To:</b></td><td> <[email protected]>; from Doug
Sutherland on Sun, Dec 05, 1999 at 01:48:52PM -0800
</td></tr>
</table>
<br>
<pre><font size=-1>>
> The code works fine on Windows with the win32com.dll driver for
> Javacomm API. But on Linux the same code fails when trying to load
> the RXTXCommDriver (native driver for javacomm on linux). Seems
> like it might be a bug in gnu.io.RXTXCommDriver, either that or
> RMISecurityManager is not behaving the same way on Linux.
>
> Any Ideas?
>
I've experienced that very same problem. My work around was
to install RMISecurityManager _after_ fetching the desired
CommPortIdentifier (and of course I can perform I/O on the ports
after setting RMISecurityManager)
This is not necessary a problem with RXTXCommDriver,
there are other components involved such as 'comm.jar'.
--Alejandro
===========================================================================
To unsubscribe, send email to <a href="/ym/[email protected]&YY=82723&order=down&sort=date&pos=0">[email protected]</a> and include in the
body
of the message "signoff JINI-USERS". For general help, send email to
<a href="/ym/[email protected]&YY=82723&order=down&sort=date&pos=0">[email protected]</a> and include in the body of the message "help".
To view past JINI-USERS postings, please see:
<a href="http://archives.java.sun.com/archives/jini-users.html" target=_blank>http://archives.java.sun.com/archives/jini-users.html</a>
To participate in the community, please visit:
<a href="http://www.jini.org" target=_blank>http://www.jini.org</a>
</font></pre>
<br>
<table cellpadding=2 cellspacing=0 border=0 width="100%">
<form name=frmShowLtr2 method=post action="/ym/us/ShowLetter?YY=82723&order=down&sort=date&pos=0">
<input type=hidden name="MsgId" value="7460_2210756_110261_949_9771_0" >
<input type=hidden name=box value="Inbox">
<tr bgcolor="#dcdcdc">
<td nowrap valign=middle><font face="Arial,Helvetica" size=-1>
<input type=submit name=DEL value="Delete">
<b><a href="/ym/us/ShowLetter?box=Inbox&MsgId=7460_2210756_110261_949_9771_0&NEXT=1&inc=&num=&Search=&YY=82723&order=down&sort=date&pos=0">Next</a></b>
| <b><a href="/ym/us/ShowFolder?box=Inbox&YY=82723&order=down&sort=date&pos=0">Inbox</a></b>
</font></td>
<td align=right nowrap><font face="Arial,Helvetica" size=-1>
<select name="destBox">
<option value="">- Choose Folder -
</select>
<input type=submit name=MOV value="Move">
</font></td>
</tr>
</form>
<form method=post action="/ym/us/Compose?box=Inbox&Mid=7460_2210756_110261_949_9771_0&inc=&Search=&YY=82723&order=down&sort=date&pos=0">
<tr bgcolor="#ffffff">
<td nowrap valign=middle>
<input type=submit name=REP value="Reply">
<input type=submit name=REPA value="Reply All">
<input type=submit name=FWD value="Forward">
<font face="Arial,Helvetica" size=-2>
<select name="fwopt">
<option value="attach">as attachment
<option selected value="quoted">inline text
</select>
</font></td>
<td align=right valign=middle nowrap><font face="Arial,Helvetica" size=-1>
<a href="/ym/us/ShowLetter?box=Inbox&MsgId=7460_2210756_110261_949_9771_0&toc=1&Search=&YY=82723&order=down&sort=date&pos=0"><b>Download</b></a> Attachments
</font></td>
</form>
</tr></table>
<font size=-1>
<a href="http://www.yahoo.com/docs/info/privacy.html">Privacy Policy</a> -
<a href="http://edit.my.yahoo.com/config/show_agree?.src=ym&.done=http://mail.yahoo.com">Terms of Service</a>
-
<a href="http://docs.yahoo.com/info/guidelines/mail.html">Guidelines</a>
<BR>
<i>Copyright © 1994-1999 <a href="http://rd.yahoo.com/mail_us/tos/?http://www.yahoo.com" target="_blank">Yahoo!</a> Inc. All rights reserved.</i>
</font></td></tr></table>
</body>
</html>
<!-- web305:0.140 -->