-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
7
-
generic
-
generic
It appears to be that tnameserv cannot be started in JDK 7 b94 due to missing resource bundle.
Example:
<ag153348@spb-piker> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
<ag153348@spb-piker> /set/java/re/jdk/7/promoted/ea/b94/binaries/linux-i586/bin/tnameserv -ORBInitialPort 7777
Exception in thread "main" java.lang.Error: fatal: missing resource bundle: com.sun.corba.se.impl.orbutil.resources.sunorb_en_US
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.initResources(CorbaResourceUtil.java:90)
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getString(CorbaResourceUtil.java:34)
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText(CorbaResourceUtil.java:67)
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText(CorbaResourceUtil.java:57)
at com.sun.corba.se.impl.naming.cosnaming.TransientNameServer.main(TransientNameServer.java:201)
# In JDK 7 b93 everything works well:
<ag153348@spb-piker> /set/java/re/jdk/7/promoted/ea/b93/binaries/linux-i586/bin/tnameserv -ORBInitialPort 7777
Initial Naming Context:
IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000000000010000000000000096000102000000000a3132372e302e302e32001e6100000045afabcb0000000020000f424000000001000000000000000200000008526f6f74504f41000000000d544e616d65536572766963650000000000000008000000010000000114000000000000020000000100000020000000000001000100000002050100010001002000010109000000010001010000000026000000020002
TransientNameServer: setting port for initial object references to: 7777
Ready.
The following JCK tests fail due to this issue because they need the tnameserv service up and running:
api/javax_management/remote/JMXConnector/index.html#IIOPConnectorTest
api/javax_management/remote/JMXConnectorServer/index.html#IIOPConnectorServerTest
api/javax_management/remote/JMXConnectorServerFactory/index.html#JMXConnectorServerFactoryTest
api/javax_management/remote/JMXConnectionNotification/RmiIiopFromServerTest.html#RmiIiopFromServerTest
api/javax_management/remote/misc/concurrency/index.html#RmiIiopConcurrencyTest
api/javax_management/remote/rmi/RMIConnector/IIOPAddNotificationListener.html#IIOPAddNotificationListener
api/javax_management/remote/misc/connectionId/index.html#RmiIiopConnectionIdTest
api/javax_management/remote/rmi/RMIConnector/IIOPCredentialsTest.html#IIOPCredentialsTest
api/javax_management/remote/rmi/RMIConnector/IIOPGetMBeanServerConnectionTest.html#IIOPGetMBeanServerConnection
api/javax_management/remote/rmi/RMIConnector/IIOPRemoveConnectionNotificationListener.html#IIOPRemoveConnectionNotificationListener
api/javax_management/remote/rmi/RMIConnector/RMIConnectorToStringTest.html#RMIConnectorToStringTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerAttachedMBSTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerIsActiveTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerRMIServerTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerJNDI_REBIND_ATTRIBUTETest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerToJMXConnectorTest
api/javax_management/remote/protocol/RmiIIOPAuthorizationKoTest.html#RmiIIOPAuthorizationKoTest
api/javax_management/remote/protocol/RmiIIOPAuthorizationTest.html#RmiIIOPAuthorizationTest
api/org_omg/CORBA/AnyTC/AnyTC.html#AnyTypeCodeTest_003_localexec
api/org_omg/CORBA/AnyTC/AnyTC.html#AnyTypeCodeTest_001_localexec
api/org_omg/CORBA/CStatus/CStatusTest.html#CStatus_test_compilation
api/org_omg/CORBA/DefinitionKind/DefinitionKindTest.html#DefinitionKind_test_compilation
api/org_omg/CORBA/DII/DIITest.html#DII_test_compilation
api/org_omg/CORBA/DSI/DSITest.html#DSI_test_compilation
api/org_omg/CORBA/DSI/DSITest.html#DSINegative_test_localexec
api/org_omg/CORBA/NameValue/NameValueTest.html#NameValue_test_compilation
api/org_omg/CORBA/IDLType/IDLTypeTest.html#IDLType_test_compilation
api/org_omg/CORBA/ExceptionTest/ExcTest.html#Exc_test_compilation
api/org_omg/CORBA/NVList/NVListTest.html#NVList_test_compilation
api/org_omg/CORBA/ObjImpl/ObjectImplTest.html#ObjectImpl_test_compilation
api/org_omg/CORBA/ORBTest/ORBTest.html#ORB_Test_Compilation
api/org_omg/CORBA/Named/NameTest.html#Named_test_compilation
api/org_omg/CORBA/SeqHolders/SeqHolders.html#SeqHolders_Test_Compilation
api/org_omg/CORBA/stack/StackTest.html#StackTest_Compilation
api/org_omg/CORBA/StubTest/StubTest.html#StubTest_callback
api/org_omg/CORBA/SimpleMarshal/SimpleMarshal.html#SimpleMarshal_Test_Compilation
api/org_omg/CORBA/StubTest/StubTest.html#StubTest_localexec
api/org_omg/CORBA/TIE/TieTest.html#Tie_Test_localexec
api/org_omg/CosNaming/NamingContext/NamingContextTest.html#NamingContext
Note: I've tested that on Linux (spb-piker.russia) and Solaris 10 Sparc (nexus.sfbay).
Example:
<ag153348@spb-piker> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
<ag153348@spb-piker> /set/java/re/jdk/7/promoted/ea/b94/binaries/linux-i586/bin/tnameserv -ORBInitialPort 7777
Exception in thread "main" java.lang.Error: fatal: missing resource bundle: com.sun.corba.se.impl.orbutil.resources.sunorb_en_US
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.initResources(CorbaResourceUtil.java:90)
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getString(CorbaResourceUtil.java:34)
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText(CorbaResourceUtil.java:67)
at com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText(CorbaResourceUtil.java:57)
at com.sun.corba.se.impl.naming.cosnaming.TransientNameServer.main(TransientNameServer.java:201)
# In JDK 7 b93 everything works well:
<ag153348@spb-piker> /set/java/re/jdk/7/promoted/ea/b93/binaries/linux-i586/bin/tnameserv -ORBInitialPort 7777
Initial Naming Context:
IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e300000000000010000000000000096000102000000000a3132372e302e302e32001e6100000045afabcb0000000020000f424000000001000000000000000200000008526f6f74504f41000000000d544e616d65536572766963650000000000000008000000010000000114000000000000020000000100000020000000000001000100000002050100010001002000010109000000010001010000000026000000020002
TransientNameServer: setting port for initial object references to: 7777
Ready.
The following JCK tests fail due to this issue because they need the tnameserv service up and running:
api/javax_management/remote/JMXConnector/index.html#IIOPConnectorTest
api/javax_management/remote/JMXConnectorServer/index.html#IIOPConnectorServerTest
api/javax_management/remote/JMXConnectorServerFactory/index.html#JMXConnectorServerFactoryTest
api/javax_management/remote/JMXConnectionNotification/RmiIiopFromServerTest.html#RmiIiopFromServerTest
api/javax_management/remote/misc/concurrency/index.html#RmiIiopConcurrencyTest
api/javax_management/remote/rmi/RMIConnector/IIOPAddNotificationListener.html#IIOPAddNotificationListener
api/javax_management/remote/misc/connectionId/index.html#RmiIiopConnectionIdTest
api/javax_management/remote/rmi/RMIConnector/IIOPCredentialsTest.html#IIOPCredentialsTest
api/javax_management/remote/rmi/RMIConnector/IIOPGetMBeanServerConnectionTest.html#IIOPGetMBeanServerConnection
api/javax_management/remote/rmi/RMIConnector/IIOPRemoveConnectionNotificationListener.html#IIOPRemoveConnectionNotificationListener
api/javax_management/remote/rmi/RMIConnector/RMIConnectorToStringTest.html#RMIConnectorToStringTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerAttachedMBSTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerIsActiveTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerRMIServerTest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerJNDI_REBIND_ATTRIBUTETest
api/javax_management/remote/rmi/RMIConnectorServer/index.html#RMIConnectorServerToJMXConnectorTest
api/javax_management/remote/protocol/RmiIIOPAuthorizationKoTest.html#RmiIIOPAuthorizationKoTest
api/javax_management/remote/protocol/RmiIIOPAuthorizationTest.html#RmiIIOPAuthorizationTest
api/org_omg/CORBA/AnyTC/AnyTC.html#AnyTypeCodeTest_003_localexec
api/org_omg/CORBA/AnyTC/AnyTC.html#AnyTypeCodeTest_001_localexec
api/org_omg/CORBA/CStatus/CStatusTest.html#CStatus_test_compilation
api/org_omg/CORBA/DefinitionKind/DefinitionKindTest.html#DefinitionKind_test_compilation
api/org_omg/CORBA/DII/DIITest.html#DII_test_compilation
api/org_omg/CORBA/DSI/DSITest.html#DSI_test_compilation
api/org_omg/CORBA/DSI/DSITest.html#DSINegative_test_localexec
api/org_omg/CORBA/NameValue/NameValueTest.html#NameValue_test_compilation
api/org_omg/CORBA/IDLType/IDLTypeTest.html#IDLType_test_compilation
api/org_omg/CORBA/ExceptionTest/ExcTest.html#Exc_test_compilation
api/org_omg/CORBA/NVList/NVListTest.html#NVList_test_compilation
api/org_omg/CORBA/ObjImpl/ObjectImplTest.html#ObjectImpl_test_compilation
api/org_omg/CORBA/ORBTest/ORBTest.html#ORB_Test_Compilation
api/org_omg/CORBA/Named/NameTest.html#Named_test_compilation
api/org_omg/CORBA/SeqHolders/SeqHolders.html#SeqHolders_Test_Compilation
api/org_omg/CORBA/stack/StackTest.html#StackTest_Compilation
api/org_omg/CORBA/StubTest/StubTest.html#StubTest_callback
api/org_omg/CORBA/SimpleMarshal/SimpleMarshal.html#SimpleMarshal_Test_Compilation
api/org_omg/CORBA/StubTest/StubTest.html#StubTest_localexec
api/org_omg/CORBA/TIE/TieTest.html#Tie_Test_localexec
api/org_omg/CosNaming/NamingContext/NamingContextTest.html#NamingContext
Note: I've tested that on Linux (spb-piker.russia) and Solaris 10 Sparc (nexus.sfbay).
- duplicates
-
JDK-6955873 CORBA resources bundles and javax.activity missing from b94
-
- Resolved
-