egcoelho 8 de jan. de 2004
Talvez ajude:
o erro que dá quando eu rodo o JUnit é:
java . io . FileNotFoundException & # 58 ; C & # 58 ; fenasegSCBRNS - WEB - R1RNSW - API - R1javaconfigsecurity . properties & # 40 ; The system cannot find the path specified & # 41 ;
at java . io . FileInputStream . open & # 40 ; Native Method & # 41 ;
at java . io . FileInputStream . & lt ; init & gt ; & # 40 ; FileInputStream . java & # 58 ; 106 & # 41 ;
at com . sun . enterprise . util . Utility . getPropertiesFromFile & # 40 ; Utility . java & # 58 ; 42 & # 41 ;
at com . sun . enterprise . iiop . POAEJBORB . & lt ; clinit & gt ; & # 40 ; POAEJBORB . java & # 58 ; 78 & # 41 ;
at java . lang . Class . forName0 & # 40 ; Native Method & # 41 ;
at java . lang . Class . forName & # 40 ; Class . java & # 58 ; 219 & # 41 ;
at org . omg . CORBA . ORB . create_impl & # 40 ; ORB . java & # 58 ; 295 & # 41 ;
at org . omg . CORBA . ORB . init & # 40 ; ORB . java & # 58 ; 336 & # 41 ;
at com . sun . enterprise . util . ORBManager . createORB & # 40 ; ORBManager . java & # 58 ; 138 & # 41 ;
at com . sun . enterprise . util . ORBManager . init & # 40 ; ORBManager . java & # 58 ; 65 & # 41 ;
at com . sun . enterprise . naming . SerialInitContextFactory . & lt ; init & gt ; & # 40 ; SerialInitContextFactory . java & # 58 ; 31 & # 41 ;
at sun . reflect . NativeConstructorAccessorImpl . newInstance0 & # 40 ; Native Method & # 41 ;
at sun . reflect . NativeConstructorAccessorImpl . newInstance & # 40 ; NativeConstructorAccessorImpl . java & # 58 ; 39 & # 41 ;
at sun . reflect . DelegatingConstructorAccessorImpl . newInstance & # 40 ; DelegatingConstructorAccessorImpl . java & # 58 ; 27 & # 41 ;
at java . lang . reflect . Constructor . newInstance & # 40 ; Constructor . java & # 58 ; 274 & # 41 ;
at java . lang . Class . newInstance0 & # 40 ; Class . java & # 58 ; 308 & # 41 ;
at java . lang . Class . newInstance & # 40 ; Class . java & # 58 ; 261 & # 41 ;
at javax . naming . spi . NamingManager . getInitialContext & # 40 ; NamingManager . java & # 58 ; 649 & # 41 ;
at javax . naming . InitialContext . getDefaultInitCtx & # 40 ; InitialContext . java & # 58 ; 243 & # 41 ;
at javax . naming . InitialContext . init & # 40 ; InitialContext . java & # 58 ; 219 & # 41 ;
at javax . naming . InitialContext . & lt ; init & gt ; & # 40 ; InitialContext . java & # 58 ; 175 & # 41 ;
at fenaseg . rns . comum . testes . TestBookComEJB . criaSessionBean & # 40 ; TestBookComEJB . java & # 58 ; 33 & # 41 ;
at fenaseg . rns . comum . testes . TestBookComEJB . setUp & # 40 ; TestBookComEJB . java & # 58 ; 26 & # 41 ;
at junit . framework . TestCase . runBare & # 40 ; TestCase . java & # 58 ; 125 & # 41 ;
at junit . framework . TestResult $ 1 . protect & # 40 ; TestResult . java & # 58 ; 106 & # 41 ;
at junit . framework . TestResult . runProtected & # 40 ; TestResult . java & # 58 ; 124 & # 41 ;
at junit . framework . TestResult . run & # 40 ; TestResult . java & # 58 ; 109 & # 41 ;
at junit . framework . TestCase . run & # 40 ; TestCase . java & # 58 ; 118 & # 41 ;
at junit . framework . TestSuite . runTest & # 40 ; TestSuite . java & # 58 ; 208 & # 41 ;
at junit . framework . TestSuite . run & # 40 ; TestSuite . java & # 58 ; 203 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . runTests & # 40 ; RemoteTestRunner . java & # 58 ; 396 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . run & # 40 ; RemoteTestRunner . java & # 58 ; 280 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . main & # 40 ; RemoteTestRunner . java & # 58 ; 172 & # 41 ;
java . io . FileNotFoundException & # 58 ; C & # 58 ; fenasegSCBRNS - WEB - R1RNSW - API - R1javaconfigejb . properties & # 40 ; The system cannot find the path specified & # 41 ;
at java . io . FileInputStream . open & # 40 ; Native Method & # 41 ;
at java . io . FileInputStream . & lt ; init & gt ; & # 40 ; FileInputStream . java & # 58 ; 106 & # 41 ;
at com . sun . enterprise . util . Utility . getPropertiesFromFile & # 40 ; Utility . java & # 58 ; 42 & # 41 ;
at com . sun . enterprise . iiop . J2EEInitializer . & lt ; init & gt ; & # 40 ; J2EEInitializer . java & # 58 ; 54 & # 41 ;
at sun . reflect . NativeConstructorAccessorImpl . newInstance0 & # 40 ; Native Method & # 41 ;
at sun . reflect . NativeConstructorAccessorImpl . newInstance & # 40 ; NativeConstructorAccessorImpl . java & # 58 ; 39 & # 41 ;
at sun . reflect . DelegatingConstructorAccessorImpl . newInstance & # 40 ; DelegatingConstructorAccessorImpl . java & # 58 ; 27 & # 41 ;
at java . lang . reflect . Constructor . newInstance & # 40 ; Constructor . java & # 58 ; 274 & # 41 ;
at java . lang . Class . newInstance0 & # 40 ; Class . java & # 58 ; 308 & # 41 ;
at java . lang . Class . newInstance & # 40 ; Class . java & # 58 ; 261 & # 41 ;
at com . sun . corba . ee . internal . Interceptors . PIORB . registerORBInitializers & # 40 ; PIORB . java & # 58 ; 377 & # 41 ;
at com . sun . corba . ee . internal . Interceptors . PIORB . parseProperties & # 40 ; PIORB . java & # 58 ; 347 & # 41 ;
at com . sun . corba . ee . internal . TxPOA . TxPIORB . parseProperties & # 40 ; TxPIORB . java & # 58 ; 116 & # 41 ;
at com . sun . corba . ee . internal . corba . ORB . set_parameters & # 40 ; ORB . java & # 58 ; 461 & # 41 ;
at com . sun . corba . ee . internal . POA . POAORB . set_parameters & # 40 ; POAORB . java & # 58 ; 156 & # 41 ;
at com . sun . corba . ee . internal . Interceptors . PIORB . set_parameters & # 40 ; PIORB . java & # 58 ; 336 & # 41 ;
at org . omg . CORBA . ORB . init & # 40 ; ORB . java & # 58 ; 337 & # 41 ;
at com . sun . enterprise . util . ORBManager . createORB & # 40 ; ORBManager . java & # 58 ; 138 & # 41 ;
at com . sun . enterprise . util . ORBManager . init & # 40 ; ORBManager . java & # 58 ; 65 & # 41 ;
at com . sun . enterprise . naming . SerialInitContextFactory . & lt ; init & gt ; & # 40 ; SerialInitContextFactory . java & # 58 ; 31 & # 41 ;
at sun . reflect . NativeConstructorAccessorImpl . newInstance0 & # 40 ; Native Method & # 41 ;
at sun . reflect . NativeConstructorAccessorImpl . newInstance & # 40 ; NativeConstructorAccessorImpl . java & # 58 ; 39 & # 41 ;
at sun . reflect . DelegatingConstructorAccessorImpl . newInstance & # 40 ; DelegatingConstructorAccessorImpl . java & # 58 ; 27 & # 41 ;
at java . lang . reflect . Constructor . newInstance & # 40 ; Constructor . java & # 58 ; 274 & # 41 ;
at java . lang . Class . newInstance0 & # 40 ; Class . java & # 58 ; 308 & # 41 ;
at java . lang . Class . newInstance & # 40 ; Class . java & # 58 ; 261 & # 41 ;
at javax . naming . spi . NamingManager . getInitialContext & # 40 ; NamingManager . java & # 58 ; 649 & # 41 ;
at javax . naming . InitialContext . getDefaultInitCtx & # 40 ; InitialContext . java & # 58 ; 243 & # 41 ;
at javax . naming . InitialContext . init & # 40 ; InitialContext . java & # 58 ; 219 & # 41 ;
at javax . naming . InitialContext . & lt ; init & gt ; & # 40 ; InitialContext . java & # 58 ; 175 & # 41 ;
at fenaseg . rns . comum . testes . TestBookComEJB . criaSessionBean & # 40 ; TestBookComEJB . java & # 58 ; 33 & # 41 ;
at fenaseg . rns . comum . testes . TestBookComEJB . setUp & # 40 ; TestBookComEJB . java & # 58 ; 26 & # 41 ;
at junit . framework . TestCase . runBare & # 40 ; TestCase . java & # 58 ; 125 & # 41 ;
at junit . framework . TestResult $ 1 . protect & # 40 ; TestResult . java & # 58 ; 106 & # 41 ;
at junit . framework . TestResult . runProtected & # 40 ; TestResult . java & # 58 ; 124 & # 41 ;
at junit . framework . TestResult . run & # 40 ; TestResult . java & # 58 ; 109 & # 41 ;
at junit . framework . TestCase . run & # 40 ; TestCase . java & # 58 ; 118 & # 41 ;
at junit . framework . TestSuite . runTest & # 40 ; TestSuite . java & # 58 ; 208 & # 41 ;
at junit . framework . TestSuite . run & # 40 ; TestSuite . java & # 58 ; 203 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . runTests & # 40 ; RemoteTestRunner . java & # 58 ; 396 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . run & # 40 ; RemoteTestRunner . java & # 58 ; 280 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . main & # 40 ; RemoteTestRunner . java & # 58 ; 172 & # 41 ;
Warning & # 58 ; unable to read transaction . interoperability config property
java . io . FileNotFoundException & # 58 ; C & # 58 ; fenasegSCBRNS - WEB - R1RNSW - API - R1javaconfigsecurity . properties & # 40 ; The system cannot find the path specified & # 41 ;
at java . io . FileInputStream . open & # 40 ; Native Method & # 41 ;
at java . io . FileInputStream . & lt ; init & gt ; & # 40 ; FileInputStream . java & # 58 ; 106 & # 41 ;
at com . sun . enterprise . util . Utility . getPropertiesFromFile & # 40 ; Utility . java & # 58 ; 42 & # 41 ;
at com . sun . enterprise . iiop . security . SecurityMechanismSelector . & lt ; clinit & gt ; & # 40 ; SecurityMechanismSelector . java & # 58 ; 102 & # 41 ;
at com . sun . enterprise . iiop . IIOPSSLSocketFactory . getEndPointInfo & # 40 ; IIOPSSLSocketFactory . java & # 58 ; 211 & # 41 ;
at com . sun . corba . ee . internal . iiop . ConnectionTable . getConnection & # 40 ; ConnectionTable . java & # 58 ; 73 & # 41 ;
at com . sun . corba . ee . internal . iiop . ConnectionTable . getConnection & # 40 ; ConnectionTable . java & # 58 ; 68 & # 41 ;
at com . sun . corba . ee . internal . iiop . GIOPImpl . getConnection & # 40 ; GIOPImpl . java & # 58 ; 70 & # 41 ;
at com . sun . corba . ee . internal . corba . InitialNamingClient . locateObject & # 40 ; InitialNamingClient . java & # 58 ; 769 & # 41 ;
at com . sun . corba . ee . internal . corba . InitialNamingClient . getIORUsingHostInfo & # 40 ; InitialNamingClient . java & # 58 ; 597 & # 41 ;
at com . sun . corba . ee . internal . corba . InitialNamingClient . resolveCorbaloc & # 40 ; InitialNamingClient . java & # 58 ; 573 & # 41 ;
at com . sun . corba . ee . internal . corba . InitialNamingClient . resolveUsingORBInitRef & # 40 ; InitialNamingClient . java & # 58 ; 544 & # 41 ;
at com . sun . corba . ee . internal . corba . InitialNamingClient . cachedInitialReferences & # 40 ; InitialNamingClient . java & # 58 ; 1080 & # 41 ;
at com . sun . corba . ee . internal . corba . InitialNamingClient . resolve_initial_references & # 40 ; InitialNamingClient . java & # 58 ; 981 & # 41 ;
at com . sun . corba . ee . internal . corba . ORB . resolve_initial_references & # 40 ; ORB . java & # 58 ; 2425 & # 41 ;
at com . sun . enterprise . naming . SerialContext . getProvider & # 40 ; SerialContext . java & # 58 ; 52 & # 41 ;
at com . sun . enterprise . naming . SerialContext . lookup & # 40 ; SerialContext . java & # 58 ; 120 & # 41 ;
at javax . naming . InitialContext . lookup & # 40 ; InitialContext . java & # 58 ; 347 & # 41 ;
at fenaseg . rns . comum . testes . TestBookComEJB . criaSessionBean & # 40 ; TestBookComEJB . java & # 58 ; 34 & # 41 ;
at fenaseg . rns . comum . testes . TestBookComEJB . setUp & # 40 ; TestBookComEJB . java & # 58 ; 26 & # 41 ;
at junit . framework . TestCase . runBare & # 40 ; TestCase . java & # 58 ; 125 & # 41 ;
at junit . framework . TestResult $ 1 . protect & # 40 ; TestResult . java & # 58 ; 106 & # 41 ;
at junit . framework . TestResult . runProtected & # 40 ; TestResult . java & # 58 ; 124 & # 41 ;
at junit . framework . TestResult . run & # 40 ; TestResult . java & # 58 ; 109 & # 41 ;
at junit . framework . TestCase . run & # 40 ; TestCase . java & # 58 ; 118 & # 41 ;
at junit . framework . TestSuite . runTest & # 40 ; TestSuite . java & # 58 ; 208 & # 41 ;
at junit . framework . TestSuite . run & # 40 ; TestSuite . java & # 58 ; 203 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . runTests & # 40 ; RemoteTestRunner . java & # 58 ; 396 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . run & # 40 ; RemoteTestRunner . java & # 58 ; 280 & # 41 ;
at org . eclipse . jdt . internal . junit . runner . RemoteTestRunner . main & # 40 ; RemoteTestRunner . java & # 58 ; 172 & # 41 ;