<FATAL 14:09:59,453 StdPeerGroup:509> Missing peer group service :
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000205
net.jxta.exception.ServiceNotFoundException:
urn:jxta:uuid-DEADBEEFDEAFBABAFEEDBABE0000000205
at
net.jxta.impl.peergroup.GenericPeerGroup.lookupService(GenericPeerGroup.java:361)
at
net.jxta.impl.peergroup.GenericPeerGroup.checkServices(GenericPeerGroup.java:372)
at
...
Reason: bug in JXTA reference implementation
new MimeMediaType("text","xml")
to:
MimeMediaType.XMLUTF8
NOTE: MimeMediaType.XML_DEFAULTENCODING will not work!!!
Thanks to Jean-Christophe Hugly for providing the solution.
Handler[] handlers =
Logger.getLogger( "" ).getHandlers();
for ( int index = 0; index < handlers.length; index++ ) {
handlers[index].setLevel( Level.FINE );
}
Anyway, it is better to set the level inside the log.properties file.
// erase EOL seq.
while( pom[(int)(len-1)]<' ' ) len--;
String nsIOR = new String( pom, 0, (int)len );
NSroot = NamingContextHelper.narrow(
ORB.init().string_to_object( nsIOR ) );
See also: sz.tools.ns.NSHelper
public static reservation_type from_int (int value) {
switch (value) {
case _RTYPE_ABSOLUTE : return RTYPE_ABSOLUTE;
case _RTYPE_RELATIVE : return RTYPE_RELATIVE;
default :
// <MODIFIED - sz>
// throw new org.omg.CORBA.BAD_PARAM("Enum out of range");
return RTYPE_ABSOLUTE;
// </MODIFIED>
}
}
idl
does not apply the -jP <package>
setting to all compiled files when the <package> contains
a dot idl -jP blahblah.yadayada *.idl
try to issue:
#!/bin/csh
...
foreach i (*.idl)
idl -jP blahblah.yadayada $i
end
...
See also: /home/iris/lbszie/java/DevMan/idl/compile11
orb.create_output_stream();
use
orb.create_any().create_output_stream();
// the datagram contents were converted to String before
byte[] b = msg.getBytes();
int len = b.length;
while( b[len-1]<' ' ) len--;
msg = new String( b,0,len );
java.lang.SecurityException: ORBSingleton: access denied
at com.sun.CORBA.idl.ORBSingleton.string_to_object(Compiled Code)
...
org.omg.CORBA.ORB.init( prog_args, System.getProperties() )
instead of init()
for( int i=0; i<listeners_table.length; i++ )
try {
listeners_table[i].some_oneway_call();
}
catch( COMM_FAILURE cf ) {
// wake up a thread eating dead listeners, and ...
continue;
}
Still I don't like it.
inout
.
ld.so.1: more: fatal: relocation error:
file more: symbol cur_term: referenced symbol not found
Killed
or similar appears
Reason: problem with your LD_LIBRARY_PATH
Solution: try to remove /usr/ucblib
from your
LD_LIBRARY_PATH