hai
i required the  details of directory where jboss installed  in servlet/jsp

when I am using
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.system%3Atype%3DServerConfig

it displays all info.

but when i am using 

<jsp:useBean id="myBean" class="org.jboss.system.server.ServerConfigImpl" 
scope="session" />

<%
String ss = myBean.SERVER_HOME_DIR;
out.println(ss);
%>

in jsp page,
I get error of

getRootCause():
java.lang.InstantiationException: class org.jboss.system.server.ServerConfigImpl
 : java.lang.InstantiationException: org.jboss.system.server.ServerConfigImpl
        at org.apache.jsp.test1_jsp._jspService(test1_jsp.java:56)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:210)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
58)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:507)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
        at org.mortbay.http.HttpServer.service(HttpServer.java:863)
        at org.jboss.jetty.Jetty.service(Jetty.java:460)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
201)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)


please help me to  get the directory where jboss is installed.
Thank you.
k.harisudan

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855849#3855849

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855849


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to