-
Bug
-
Resolution: Done
-
Critical
-
EAP_EWP 5.2.0 ER2
-
None
-
Workaround Exists
-
-
Regression
-
Not Required
-
NEW
There are many tests in EWP testsuite failing with similar stacktrace due to failure in lookup of InitialContext using org.jboss.naming.HttpNamingContextFactory.
I have tried to run these tests against node0=localhost ,node0=$MYTESTIP_1(valid ip address ) as well as without passing node0 and they are failing consistently.
I found https://issues.jboss.org/browse/JBAS-6072 and i am wondering if this is related...Are these tests not commented in EWP and they are expected to fail?
Hudson job:
Failing tests:
org.jboss.test.cluster.multicfg.test.HAJndiTestCase(all testcases in both tcp and udp mode)
org.jboss.test.naming.test.SecurityUnitTestCase
org.jboss.test.naming.test.SimpleUnitTestCase
org.jboss.test.security.test.LoginModulesUnitTestCase
org.jboss.test.security.test.XMLLoginModulesUnitTestCase
StackTrace:
Error Message
Failed to retrieve Naming interface for provider http://localhost:8080/invoker/JNDIFactory
Stacktrace
javax.naming.NamingException: Failed to retrieve Naming interface for provider http://localhost:8080/invoker/JNDIFactory [Root exception is java.io.FileNotFoundException: http://localhost:8080/invoker/JNDIFactory]
at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:96)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at org.jboss.test.NamingUtil.getFullInitialContext(NamingUtil.java:125)
at org.jboss.test.NamingUtil.getFullInitialContext(NamingUtil.java:141)
at org.jboss.test.NamingUtil.getFullInitialContextFromUrl(NamingUtil.java:165)
at org.jboss.test.cluster.multicfg.test.HAJndiTestCase.testLocalBinding(HAJndiTestCase.java:91)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: java.io.FileNotFoundException: http://localhost:8080/invoker/JNDIFactory
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)
at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:209)
at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:92)
Caused by: java.io.FileNotFoundException: http://localhost:8080/invoker/JNDIFactory
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2300)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:579)
at java.net.URLConnection.getContentLength(URLConnection.java:474)
at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:204)
- is related to
-
JBPAPP-9912 SRPLoginModuleUnitTestCase fails consistently in EWP testsuite due to LoginException
- Resolved
- relates to
-
JBAS-6072 Retire http-invoker.sar
- Closed
-
JBPAPP-5302 properties-service.xml missing from EWP 5.1
- Closed