[jboss-as7-dev] HTTP API throwing error for jndi-view operation

Vimal Kansal vkansal at redhat.com
Fri Nov 11 03:15:38 EST 2011


Thanks Darran. Semantically, don't you think dump-services is really a 
get(i.e read) operation?

On 11/11/2011 7:13 PM, Darran Lofthouse wrote:
> Hi Vimal,
>
> Using GET requests only a small subset of the read only operations are
> available, this operation would need to be invoked as a POST request
> from an external client.
>
> Regards,
> Darran Lofthouse.
>
>
> On 11/11/2011 04:20 AM, Vimal Kansal wrote:
>> Hi,
>>
>> I am trying to use Http API to display the JNDI view (which I am ble to
>> get via CLI alright) by pointing my browser as
>> http://localhost:9990/management/subsystem/naming?operation=jndi-view
>> and I get the following error :
>>
>> 15:16:53,086 ERROR [stderr] (HttpManagementService-threads - 1)
>> Exception in thread "HttpManagementService-threads - 1"
>> java.lang.ExceptionInInitializerError
>> 15:16:53,087 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> org.jboss.as.domain.http.server.DomainApiHandler.convertGetRequest(DomainApiHandler.java:422)
>> 15:16:53,088 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:263)
>> 15:16:53,089 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:191)
>> 15:16:53,091 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
>> 15:16:53,093 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:69)
>> 15:16:53,095 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
>> 15:16:53,096 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:689)
>> 15:16:53,097 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
>> 15:16:53,098 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:661)
>> 15:16:53,099 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>> 15:16:53,100 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> 15:16:53,101 ERROR [stderr] (HttpManagementService-threads - 1)
>> at java.lang.Thread.run(Thread.java:662)
>> 15:16:53,102 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.threads.JBossThread.run(JBossThread.java:122)
>> 15:16:53,103 ERROR [stderr] (HttpManagementService-threads - 1) Caused
>> by: java.lang.IllegalArgumentException: Invalid bundle interface
>> org.jboss.as.domain.http.server.HttpServerMessages (implementati
>> on not found)
>> 15:16:53,103 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.logging.Messages.getBundle(Messages.java:81)
>> 15:16:53,104 ERROR [stderr] (HttpManagementService-threads - 1)
>> at org.jboss.logging.Messages.getBundle(Messages.java:46)
>> 15:16:53,105 ERROR [stderr] (HttpManagementService-threads - 1)
>> at
>> org.jboss.as.domain.http.server.HttpServerMessages.<clinit>(HttpServerMessages.java:39)
>> 15:16:53,106 ERROR [stderr] (HttpManagementService-threads - 1)
>> ... 13 more
>>
>> Thx
>>
>> Vimal
>>
>>
>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list