[JBoss JIRA] (AS7-4043) Expose additional web subsystem metrics
by Brian Stansberry (JIRA)
Brian Stansberry created AS7-4043:
-------------------------------------
Summary: Expose additional web subsystem metrics
Key: AS7-4043
URL: https://issues.jboss.org/browse/AS7-4043
Project: Application Server 7
Issue Type: Feature Request
Components: Web
Reporter: Brian Stansberry
Assignee: Remy Maucherat
A user has requested that some further web subsystem metrics be exposed via the management interface:
"When we run JVM with "-Dorg.apache.tomcat.util.ENABLE_MODELER=true"
option, we can get currentThreadsBusy via JMX.
e.g.
ObjectName poolObjName = new
ObjectName("jboss.web:type=ThreadPool,name=ajp-0.0.0.0-0.0.0.0-8009");
ajpCurrentThreadsBusy = ((Integer) pfServer.getAttribute(poolObjName,
"currentThreadsBusy")).intValue();
It is nice if we could get the information via CLI like:
/subsystem=web/connector=ajp13:read-attribute(name=current-threads-busy)
Additionally, We also would like to get activeSessionCount. We can get
the information via JMX like:
ObjectName sessionObjName = new
ObjectName("jboss.web:type=Manager,path=/tpcw,host=default-host");
activeSessions = ((Long) pfServer.getAttribute(sessionObjName,
"activeSessionCount")).intValue();
And it is nice if we could get the information with CLI like:
/deployment=tpcw.war/subsystem=web/servlet=TPCWServletWithEncoding:read-attribute(name=active-session-count)"
I don't think the active-sessionc-count belongs under the "servlet" resource though, since sessions are not associated with servlets.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBRULES-3266) Rule, import with wildcards and variable / patternBinding
by Per Sterner (Created) (JIRA)
Rule, import with wildcards and variable / patternBinding
---------------------------------------------------------
Key: JBRULES-3266
URL: https://issues.jboss.org/browse/JBRULES-3266
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.3.0.Final
Environment: Windows, Equinox
Reporter: Per Sterner
Assignee: Mark Proctor
I got the exception "java.lang.NoClassDefFoundError: de/pelle7/testpackage/event/myEvent (wrong name: de/pelle7/testpackage/event/MyEvent)" while adding my resources.
I removed the import wildcards and the error disappeard.
Finally I found the problem:
I used the patternBinding 'myEvent' and there is a class called 'MyEvent' and I used an wildcard import where the class 'MyEvent' is located.
My solution is that I replaced all my pattern bindings with the suffix '$' which is more convenient.
Perhaps it would be nice to produce an rule-compilation error. with a line notice.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (AS7-2284) Don't enable web console unless it is populated with data
by Lukáš Petrovický (Created) (JIRA)
Don't enable web console unless it is populated with data
---------------------------------------------------------
Key: AS7-2284
URL: https://issues.jboss.org/browse/AS7-2284
Project: Application Server 7
Issue Type: Enhancement
Components: Console
Affects Versions: 7.1.0.Alpha1
Reporter: Lukáš Petrovický
Assignee: Heiko Braun
Try logging into the web console immediately after the server starts. What you see is... nothing. We're missing all the data - deployments, modules... Basically, the menu on the left side doesn't show anything.
If you refresh the console a little while after that (tens of seconds later), the data are all properly there. What I propose is that, until the data are available, the console be either disabled or with some sort of "Loading, please wait..." dialog preventing users from interacting with the UI.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] Created: (JBRULES-2244) MVEL raising errors for declared types when there is a package import (import x.y.x.*)
by Edson Tirelli (JIRA)
MVEL raising errors for declared types when there is a package import (import x.y.x.*)
--------------------------------------------------------------------------------------
Key: JBRULES-2244
URL: https://jira.jboss.org/jira/browse/JBRULES-2244
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler, drools-core
Affects Versions: 5.0.1.FINAL, 5.0.0.FINAL
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 5.1.0.M1
The following DRL:
===================================================
package org.drools.examples.broker
import org.drools.examples.broker.model.*;
declare Statistics
symbol : String @key()
average : double
end
rule "Setup statistics"
when
$c : Company( $s : symbol )
not( Statistics( symbol == $s ) )
then
Statistics s = new Statistics();
s.symbol = $s;
insert( s );
end
===================================================
Generates the error:
-----------------------------
BuildError: Unable to build expression for 'consequence': Failed to compile: 1 compilation error(s):
- (1,10) unqualified type in strict mode for: Statistics ' Statistics s = new Statistics();
s.symbol = $s;
insert( s );
' broker.drl drools-examples-fusion/src/main/rules line 42 Drools Error
-----------------------------
But if we change the import to:
===================================================
import org.drools.examples.broker.model.Company
import org.drools.examples.broker.model.StockTick
import org.drools.examples.broker.model.SuddenDropEvent
===================================================
Everything works just fine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (AS7-4276) setting default-interface to crap makes AS completely non-responsive
by Heiko Rupp (JIRA)
Heiko Rupp created AS7-4276:
-------------------------------
Summary: setting default-interface to crap makes AS completely non-responsive
Key: AS7-4276
URL: https://issues.jboss.org/browse/AS7-4276
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: Heiko Rupp
Assignee: Brian Stansberry
[standalone@localhost:9999 socket-binding-group=standard-sockets] /:read-children-names(type=interface)
'type' is not found among the supported properties: [child-type]
[standalone@localhost:9999 socket-binding-group=standard-sockets] /:read-children-names(child-type=interface)
{
"outcome" => "success",
"result" => [
"management",
"public",
"unsecure"
]
}
[standalone@localhost:9999 socket-binding-group=standard-sockets] :write-attribute(name=default-interface,value=non-existing-crap)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone@localhost:9999 socket-binding-group=standard-sockets] /:reload
{
"outcome" => "success",
"response-headers" => {"process-state" => "reload-required"}
}
[standalone@localhost:9999 socket-binding-group=standard-sockets] :read-attribute(name=default-interface)
Failed to perform read-operation-description to validate the request: java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
console says:
17:27:25,358 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.network.non-existing-crap (missing) dependents: [service jboss.socket-binding-manager]
17:27:25,366 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.0.0.Beta1 (AS 7.1.0.Final-redhat-1) started (with errors) in 5676ms - Started 116 of 206 services (43 services failed or missing dependencies, 46 services are passive or on-demand)
No ports are open. User has to shut down the server, edit standalone.xml and try again.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months