[jboss-dev] Error in org.jboss.test.naming.test.SimpleUnitTestCase
Scott Stark
sstark at redhat.com
Wed Oct 15 10:52:28 EDT 2008
Yes, I just commented the test out as the http invoker has been removed
by default due to JBAS-6072
Brian Stansberry wrote:
> Is anyone seeing failures in SimpleUnitTestCase.testHttpInvoker? I
> ran the smoke-tests before committing an upgrade to JBC and JGroups
> but got the failure below. Hard to imagine it has anything to do w/ a
> JBC/JGroups upgrade...
>
> <testcase classname="org.jboss.test.naming.test.SimpleUnitTestCase"
> name="testHttpInvoker" time="0.022">
> <error message="Failed to retrieve Naming interface for provider
> http://localhost:8080/invoker/JNDIFactory"
> type="javax.naming.NamingException">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:84)
>
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
> at
> javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
> at javax.naming.InitialContext.init(InitialContext.java:223)
> at javax.naming.InitialContext.<init>(InitialContext.java:197)
> at
> org.jboss.test.naming.test.SimpleUnitTestCase.testHttpInvoker(SimpleUnitTestCase.java:323)
>
> Caused by: java.io.FileNotFoundException:
> http://localhost:8080/invoker/JNDIFactory
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at
> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1225)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1219)
>
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:906)
>
> at
> org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:133)
>
> at
> org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:80)
>
> Caused by: java.io.FileNotFoundException:
> http://localhost:8080/invoker/JNDIFactory
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168)
>
> at
> sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1923)
>
> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:573)
> at java.net.URLConnection.getContentLength(URLConnection.java:468)
> at
> org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:128)
>
More information about the jboss-development
mailing list