[JBoss-user] [Management, JMX/JBoss] - How can i get Servlet Detail for web-console.war in JBoss4.0

2006-04-03 Thread lbrd
hi,

how can i get web-console.war's Servlets detail in Jboss4.0.2 . i can get this 
detail in Jboss4.0.0 but in Jboss4.0.2 it won't allow on Jmx-console also.

Another thing is in Jboss4.0.2 it deployed as 'console-mgr.sar' and not as 
'web-console.war'.

how can i get the list of Servlet attribute of console-mgr.sar.


lbrd.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3934366#3934366

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3934366


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - with minimal configuration want to start some services throu

2006-03-22 Thread lbrd
hi 

can any one tell me how can i get MBeanServer instance with jboss minimal 
configuration.

see i want to connect with JBoss JMX agent from outside the Jboss. i can do 
this with jboss all and default option but for minimal option it throws 
NamingService Not available exception.

as per my knowledge jboss with minimal configuration it starts JNDI,LOGGING AND 
JMXMbeanServer

but how can i get this MBeanServer instance ???

if we get this then may be...

anyhow if we can start Naming Service at runtime ... 

because,
 
I need some jboss version info at runtime.

can anybody help me?

thanks
lirin.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3931918#3931918

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931918


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - JBoss Server Response Time

2006-03-15 Thread lbrd
hi 

can anybody tell me that how can i get the Server Response Time? for JBoss 
4.x.

is there any MBean which contain the Jboss average response time.?
OR 
we need to start any service.


lbrd.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3930567#3930567

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930567


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - jmx/invoker/RMIAdaptor - This is working with JBoss 4.x but

2006-03-02 Thread lbrd
)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)

i am not able to understand why this is not working.

this code is already working for JBOSS 4.X BUT IT IS NOT WORKING FOR JBOSS 3.X

i need urgent reply.

thanks in advance

lbrd.   

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927410#3927410

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927410


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - jmx/rmi/RMIAdaptor - Working with JBoss 4.x but Not with 3.x

2006-03-02 Thread lbrd
)
 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) 
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 
at java.lang.Thread.run(Thread.java:534) 

i am not able to understand why this is not working. 

this code is already working for JBOSS 4.X BUT IT IS NOT WORKING FOR JBOSS 3.X 

i need urgent reply. 

thanks in advance 

lbrd. 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927411#3927411

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927411


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread lbrd
thanks for giving me reply,

but i am new for JBoss - JMX.

NOW, i browsed the http://localhost:8080/web-console, J2EE Domains , Manager , 
Jboss Root folder.

i am able to find web-console-war but i am not able to find Jsp/Source Code for 
Servlet.jsp can u pls suggest me what i should do now.

pls tell me am i on write path? as  u said.


lbrd.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926496#3926496

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926496


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread lbrd
hi, 

ok fine i got the Servlet.jsp but now my question is

this servlet is deployed in the same JBoss Server but i want this information 
from outside the JBoss.

how it can be possible to get Web Application Detail from outside the JBoss?

becaue my program is simple Java Main program which connect with the server at 
runtime with the help of RMIAdaptor OR HttpAdaptor with the help of 
InitialContext. 

Now, i cannot get the detail like Web-Console/Servlet.jsp , because this 
Web-Console deployed in JBoss But in my case i want it from outside the JBoss.
can u help me to identified how can i do this?

lbrd.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926508#3926508

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926508


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Web Application Detail through JMX(Urgent require).

2006-02-27 Thread lbrd
ya ,

i tried to find from 

http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX

but, i couldn't ...

see actually i want to Monitor Web Application Parameter but not from the 
inside of JBoss but from OutSide of JBoss.

For this i connect my agent through HttpAdaptor okay, now i can manage to get 
parameter like Server Started date and time OR Version, etc. but i am not able 
to get proper ObjectName which will give me the detail of
WebApplication Parameter.

Now, i tried one more thing as below,
 
ObjectName nameWebModule = new 
ObjectName(jboss.management.local:J2EEApplication=Notification.ear,J2EEServer=Local,j2eeType=WebModule,name=admincentral.war);
ObjectName nameContainerName = new 
ObjectName(jboss.web:service=WebServer);
ObjectName nameservletServiceName = new 
ObjectName(jboss.web:serviceName=jboss.web,type=Service);
try {
ServletMBean smbean = new 
Servlet(nameWebModule,nameContainerName,nameservletServiceName);
 
System.out.println(Servlet Name: + 
new ObjectName(smbean.getobjectName()).getKeyProperty(name));
} catch (InvalidParentException e5) {
// TODO Auto-generated catch block
e5.printStackTrace();
}


but this give the NullPointerException at  javax.management.ObjectName 
servletServiceName.



lbrd.




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926563#3926563

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926563


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Web Application Detail through JMX(Urgent require).

2006-02-26 Thread lbrd
hi 
already i asked this question many ways but still i am searching the answer of 
this question, already i searched in google and many more search engine. but i 
couldn't found any proper answer.

Already i got some success to found Application Server CPU Usage parameters and 
JDBC Parameters as well some basic Jboos Monitor Parameter like start 
date,version and etc. but for web application 
parameterhuh.pls help me.

i need some WebApplication parameters as below. and i already get the Instance 
of 
MBeanServerConnection. and on the base of it already i found

i) Application Server Monitor Parameter and JDBC Parameter.

But, some how i couldn't found the proper MBean which will give me the 
WebApplication Parameters detail like as follow.

i)WebApplication Name
ii)Context root
iii)Response Time and many more

see i am using HttpAdaptor for getting MBeanServer Instance and Parameter 
because my JBoss Monitor application is deployed at outside the JBoss server.

can anyone tell me which MBean is responsible for giving me this WebApplication 
Parameter. Which domain name and Service or type i will have to pass in 
ObjectName Constructor.

pls this is third time i am putting my question here...

ur small clue can be appreciable pls help me this is urgently require.


lbrd









View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926437#3926437

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926437


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Monitor Web as well as J2ee Application

2006-02-22 Thread lbrd
hi i am new for JMX ,

how can i get the J2ee Application detail as following.

i) No of EJB deployed 
ii) No WebApplication are configure.(No of War)
iii) No of J2ee Application are deployed.
iv) JDBC Connection Pool Related Information.

already i got MBeanServerConnection Instance but i don't know which 
Domain Name and Service Name has to passed in the ObjectName Instance.

MBeanServerConnection.getAttribute(new ObjectName(HERE WE HAVE TO PASS DOMAIN 
AND SERVICE DETAIL.))

i urgently require this information .

pls help me..

lbrd.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925761#3925761

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925761


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - can i know the JBoss Server Started tiem and date from outsi

2006-02-21 Thread lbrd
hi i am new for Jboss - JMX,
can anyone tell me,how can i identify the Server Start time and date.

because i can get the Instance of MBeanServer but MBeanServer doesn't have the 
method like getStartDate().

but ya, Server has method like getStartDate().

so how can i access this Server Interface getStartDate() with the help of JMX 
from outside the JBoss.


lbrd.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925261#3925261

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925261


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - How can get Web Application Detail from JBoss through MBean.

2006-02-21 Thread lbrd
)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)



Can any one help me out how can i get Web Application Detail at run time.

pls i need urgent help because i am stuck up at one place.
lbrd

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925350#3925350

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925350


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Access MBeanServer Instance from Outside the JBoss

2006-02-20 Thread lbrd
hi i am new for JBoss - JMX. 
Can any one tell, how can i access the Instance of JBoss MBeanServer .

i try with below code.

Properties = new Properties();
  Properties.put(java.naming.factory.initial, 
org.jboss.naming.HttpNamingContextFactory);
  Properties.put(java.naming.provider.url, 
http://localhost:8080/invoker/JNDIFactory;);
  Properties.put(java.naming.factory.url.pkgs, 
org.jboss.naming.client);
  
InitialContext ctx = new InitialContext(Properties); // 
From jndi.properties
server = (MBeanServerConnection) 
ctx.lookup(jmx/invoker/HttpAdaptor);
try {
ObjectName name = new 
ObjectName(jboss.system:type=Server);
try {
MBeanInfo info = 
server.getMBeanInfo(name);
System.out.println(JNDIclass Name: + 
info.getClassName());
} catch (InstanceNotFoundException e3) {
// TODO Auto-generated catch block
e3.printStackTrace();
} 


but this is giving me the below like error stack trace.

javax.naming.ServiceUnavailableException: Unexpected failure [Root exception is 
java.lang.NoClassDefFoundError: javax/transaction/Transaction]
at 
org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:56)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy0.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
at javax.naming.InitialContext.lookup(Unknown Source)
at JbossMonitor.JbossMonitorTest.(JbossMonitorTest.java:114)
at JbossMonitor.JbossMonitorTest.main(JbossMonitorTest.java:238)
Caused by: java.lang.NoClassDefFoundError: javax/transaction/Transaction
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getDeclaredConstructor(Unknown Source)
at java.io.ObjectStreamClass.getExternalizableConstructor(Unknown 
Source)
at java.io.ObjectStreamClass.access$1200(Unknown Source)
at java.io.ObjectStreamClass$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(Unknown Source)
at java.io.ObjectStreamClass.lookup(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at org.jboss.invocation.http.interfaces.Util.invoke(Util.java:126)
at 
org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:103)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
at 
org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:42)
... 9 more

pls help me as soon as possible.

lbrd



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925006#3925006

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925006


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user