[JBoss JIRA] Created: (JBAS-7587) DeploymentException - Thrown every time during Start and Stop of a Jboss AS web deployer.
by Pandiyan SK (JIRA)
DeploymentException - Thrown every time during Start and Stop of a Jboss AS web deployer.
-----------------------------------------------------------------------------------------
Key: JBAS-7587
URL: https://jira.jboss.org/jira/browse/JBAS-7587
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployers, Other
Affects Versions: JBossAS-4.2.3.GA
Environment: Linux server
Reporter: Pandiyan SK
Assignee: Ales Justin
I have deployed the my application into the Jboss AS. While deploying(start) and redeploying(stop) my application am getting the following deployement exception.
JBOS/JBOSS 201 ALERT AUG05 11:39:17
2009-08-05 11:39:17,917 WARN [org.jboss.web.WebModule] Stopping failed jboss.web.deployment:war=xlatool.war,id=-806858549
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.management.InstanceNotFoundException: jboss.web:type=Engine is not registered.)
at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:436)
at org.jboss.web.WebModule.stopModule(WebModule.java:100)
at org.jboss.web.WebModule.stopService(WebModule.java:66)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.stop(Unknown Source)
at org.jboss.system.ServiceController.stop(ServiceController.java:508)
at sun.reflect.GeneratedMethodAccessor8499.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy163.stop(Unknown Source)
at org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:498)
at sun.reflect.GeneratedMethodAccessor8502.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy164.stop(Unknown Source)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:667)
at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:659)
at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:638)
at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:516)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1058)
at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1033)
at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:996)
Caused by: javax.management.InstanceNotFoundException: jboss.web:type=Engine is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:550)
at org.jboss.web.tomcat.service.TomcatDeployer.performUndeployInternal(TomcatDeployer.java:441)
at org.jboss.web.tomcat.service.TomcatDeployer.performUndeploy(TomcatDeployer.java:418)
at org.jboss.web.AbstractWebDeployer.stop(AbstractWebDeployer.java:422)
... 59 more
--
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
14 years, 9 months
[JBoss JIRA] Created: (JBAS-7835) "ignore-dependency" injection from jboss.xml not work in bean with superclass'es
by Krashan Brahmanjara (JIRA)
"ignore-dependency" injection from jboss.xml not work in bean with superclass'es
--------------------------------------------------------------------------------
Key: JBAS-7835
URL: https://jira.jboss.org/jira/browse/JBAS-7835
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-5.1.0.GA
Environment: jboss-5.1.0.GA with jdk1.6.0_17
Reporter: Krashan Brahmanjara
Priority: Minor
I got bean based on superclass with shared logic and some circular dependencies
Unfortunately "ignore-dependency" injection from jboss.xml seems to work only if attributes are declared in current class not in superclass'es - I can't use annotations because ear is praparet for weblogic too.
Error example : org.jboss.deployers.spi.DeploymentException: Error deploying test.jar: Unable to create annotation for method/field defBean for EJB AlgBean
Deployment "vfszip:test.ear/" is in error due to the following reason(s): java.lang.NoSuchFieldException: defBean
for case :
<?xml version="1.0" encoding="UTF-8" ?>
<jboss xmlns="http://www.jboss.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd"
version="3.0">
<enterprise-beans>
<session>
<ejb-name>AlgBean</ejb-name>
<ignore-dependency>
<injection-target>
<injection-target-class>test.DefLocal</injection-target-class>
<injection-target-name>defBean</injection-target-name>
</injection-target>
</ignore-dependency>
</session>
</enterprise-beans>
</jboss>
@Stateless(name = "AlgBean", mappedName = "ejb.DefAlg")
public class AlgBean extends AlgBeanImpl implements DefAlgLocal,DefAlgRemote {
}
public class AlgBeanImpl implements DefAlg {
@EJB
protected DefLocal defBean;
}
There are no problems is DefLocal defBean is moved from superclass to AlgBean.
--
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
14 years, 9 months
[JBoss JIRA] Created: (JBRULES-2456) Field completion in guided rule editor doesn't show camel-case 'multi-words' java beans properties
by Guillaume HOLLER (JIRA)
Field completion in guided rule editor doesn't show camel-case 'multi-words' java beans properties
--------------------------------------------------------------------------------------------------
Key: JBRULES-2456
URL: https://jira.jboss.org/jira/browse/JBRULES-2456
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-guvnor
Affects Versions: FUTURE
Environment: windows
Reporter: Guillaume HOLLER
Assignee: Mark Proctor
I have attached an example model class and the modified BRMSSuggestionCompletionLoaderTest class (with the new testLoaderWithComplexFields method) to demonstrate the issue.
The test shows that the SuggestionCompletionLoader exposes all javabean properties as ModelFields but then fails to expose them in specific categories according to accessor/mutator classification. In the test, only the fields for
which the assertion:
assert fieldName.equals(fieldName.toLowerCase())
is verified are exposed by methods engine.getModelFields(FieldAccessorsAndMutators.[ACCESSOR|MUTATOR], "Agent"): nom, prenom and sexe (and the keyword 'this' of course).
Consequence is for example that in guided editor, only this fields are proposed as restriction fields in the WHEN side of the RULE .
I have found tha the problem lies in method loadClassFields of SuggestionCompletionLoader and propose a patch (attached).
--
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
14 years, 9 months