[JBoss JIRA] (AS7-3031) NullPointerException in jboss.jacorb.poa-service.rootpoa on clean shutdown
by Radoslav Husar (Created) (JIRA)
NullPointerException in jboss.jacorb.poa-service.rootpoa on clean shutdown
--------------------------------------------------------------------------
Key: AS7-3031
URL: https://issues.jboss.org/browse/AS7-3031
Project: Application Server 7
Issue Type: Bug
Components: MSC
Affects Versions: No Release
Environment: todays master 49c6d332bc239e63671802647d7aa3aa54879fa1
Reporter: Radoslav Husar
Assignee: David Lloyd
Fix For: 7.1.0.Final
Just noticed now.
(The web NPE is reported here AS7-2877, connectors dont wait but they should).
{noformat}
[JBossINF] 19:15:54,401 INFO [org.jboss.as.messaging] (MSC service thread 1-14) JBAS011605: Unbound messaging object to jndi name java:/RemoteConnectionFactory
[JBossINF] 19:15:54,401 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-11) Pausing Coyote HTTP/1.1 on http-perf18-10.16.90.54-8080
[JBossINF] 19:15:54,402 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-11) Stopping Coyote HTTP/1.1 on http-perf18-10.16.90.54-8080
[JBossINF] 19:15:54,404 INFO [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-6) ISPN000029: Passivating all entries to disk
[JBossINF] 19:15:54,405 INFO [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-6) ISPN000030: Passivated 0 entries in 1 milliseconds
2011/12/14 19:15:54:413 EST [DEBUG][RMI TCP Connection(11)-10.16.90.52] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - JBossShutdown command executed successfuly.
2011/12/14 19:15:54:414 EST [DEBUG][RMI TCP Connection(11)-10.16.90.52] HOST perf17.mw.lab.eng.bos.redhat.com:rootProcess:c - Waiting for server to shutdown.
[JBossINF] 19:15:54,418 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
[JBossINF] 19:15:54,424 INFO [org.jboss.as.osgi] JBAS011921: Stopping OSGi Framework
[JBossINF] 19:15:54,427 WARN [org.jboss.msc.service.fail] MSC00004: Failure during stop of service jboss.jacorb.poa-service.rootpoa: java.lang.NullPointerException
[JBossINF] at org.jacorb.poa.POA.destroy(Unknown Source)
[JBossINF] at org.jboss.as.jacorb.service.CorbaPOAService.stop(CorbaPOAService.java:187)
[JBossINF] at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1909) [jboss-msc-1.0.1.GA.jar:]
[JBossINF] at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1872) [jboss-msc-1.0.1.GA.jar:]
[JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
[JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
[JBossINF] at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
[JBossINF]
[JBossINF] 19:15:54,440 INFO [org.jboss.as.clustering] JBAS010302: Stopped org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSBImpl cache from sfsb container
[JBossINF] 19:15:54,446 INFO [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
[JBossINF] 19:15:54,451 INFO [org.apache.coyote.ajp.AjpProtocol] Pausing Coyote AJP/1.3 on ajp-perf18-10.16.90.54-8009
[JBossINF] 19:15:54,451 INFO [org.apache.coyote.ajp.AjpProtocol] Stopping Coyote AJP/1.3 on ajp-perf18-10.16.90.54-8009
[JBossINF] 19:15:54,453 INFO [org.apache.catalina.core.StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
[JBossINF] 19:15:54,454 INFO [org.jboss.as.clustering] JBAS010302: Stopped org.jboss.test.clusterbench.ejb.stateful.LocalStatefulSB cache from sfsb container
[JBossINF] 19:15:54,461 INFO [org.infinispan.eviction.PassivationManagerImpl] ISPN000029: Passivating all entries to disk
[JBossINF] 19:15:54,464 INFO [org.infinispan.eviction.PassivationManagerImpl] ISPN000029: Passivating all entries to disk
[JBossINF] 19:15:54,465 INFO [org.infinispan.eviction.PassivationManagerImpl] ISPN000030: Passivated 0 entries in 1 milliseconds
[JBossINF] 19:15:54,465 INFO [org.infinispan.eviction.PassivationManagerImpl] ISPN000030: Passivated 0 entries in 4 milliseconds
[JBossINF] 19:15:54,470 INFO [org.hornetq.core.server.impl.HornetQServerImpl] HornetQ Server version 2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121) [a76d23d5-26b1-11e1-bff2-d48564693bb6] stopped
[JBossINF] 19:15:54,475 INFO [org.jboss.weld] Stopping weld service
[JBossINF] 19:15:54,495 INFO [org.jboss.as.clustering] JBAS010302: Stopped repl cache from sfsb container
[JBossINF] 19:15:54,495 INFO [org.jboss.as.clustering] JBAS010302: Stopped repl cache from web container
[JBossINF] 19:15:54,498 INFO [org.jboss.as.server.deployment] Stopped deployment clusterbench-ee6-ejb.jar in 53ms
[JBossINF] 19:15:54,500 INFO [org.jboss.as.server.deployment] Stopped deployment clusterbench-ee6-web.war in 55ms
[JBossINF] 19:15:54,501 INFO [org.jboss.as.server.deployment] Stopped deployment clusterbench-ee6.ear in 66ms
[JBossINF] 19:15:54,543 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] ISPN000082: Stopping the RpcDispatcher
[JBossINF] 19:15:54,616 SEVERE [org.jgroups.protocols.UNICAST2] perf18/web: sender window for perf19/web not found
[JBossINF] 19:15:54,631 ERROR [org.apache.catalina.connector.CoyoteAdapter] An exception or error occurred in the container during the request processing: java.lang.NullPointerException
[JBossINF] at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:524) [jbossweb-7.0.5.Final.jar:]
[JBossINF] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) [jbossweb-7.0.5.Final.jar:]
[JBossINF] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505) [jbossweb-7.0.5.Final.jar:]
[JBossINF] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445) [jbossweb-7.0.5.Final.jar:]
[JBossINF] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.5.Final.jar:]
[JBossINF] at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
[JBossINF]
[JBossINF] 19:15:54,634 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] ISPN000082: Stopping the RpcDispatcher
[JBossINF] 19:15:54,635 INFO [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying TransactionManagerService
[JBossINF] 19:15:54,636 INFO [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery manager
[JBossINF] 19:15:55,003 INFO [org.jboss.as] JBoss AS 7.1.0.CR1-SNAPSHOT "Tesla" stopped in 520ms
{noformat}
--
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, 8 months
[JBoss JIRA] (AS7-3172) Logging incosistency "WARN" vs "WARNING"
by Radoslav Husar (Created) (JIRA)
Logging incosistency "WARN" vs "WARNING"
----------------------------------------
Key: AS7-3172
URL: https://issues.jboss.org/browse/AS7-3172
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.1.0.CR1
Reporter: Radoslav Husar
Assignee: James Perkins
Priority: Minor
Fix For: 7.1.0.Final
AS7 internally logs as warn like this
{noformat}
12:24:10,959 WARNING [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (MSC service thread 1-11) Channel Muxer already has a default up handler installed (org.jboss.as.clustering.jgroups.ClassLoaderAwareUpHandler@f5ad7f4) but now it is being overridden
{noformat}
but projects like Infinispan end up logging
{noformat}
12:28:22,463 WARN [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] Problems unmarshalling remote command from byte buffer: org.infinispan.CacheException: Cache manager is either starting up or shutting down but it's not interrupted, so type (id=74) cannot be resolved.
{noformat}
and this is inconsistent and is a usability issue for people analying logs (like myself).
How is this handled, what can be done here?
--
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, 8 months
[JBoss JIRA] Created: (AS7-1839) Console: Editing exampleDS' JNDI results in "uknown error" even tough the failure description is present on the output
by Radoslav Husar (JIRA)
Console: Editing exampleDS' JNDI results in "uknown error" even tough the failure description is present on the output
----------------------------------------------------------------------------------------------------------------------
Key: AS7-1839
URL: https://issues.jboss.org/browse/AS7-1839
Project: Application Server 7
Issue Type: Bug
Components: Console
Affects Versions: 7.0.1.Final
Reporter: Radoslav Husar
Assignee: Heiko Braun
Attachments: unknown-error-console.png
The lack of information is what I am after. I am not sure if it should work :-) (ie changing the JNDI name)
{code}
14:08:47,341 ERROR [org.jboss.as.controller] (HttpManagementService-threads - 6) Operation ("write-attribute") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "java:jboss/datasources/ExampleDS")
]) - failure description: "Attribute jndi-name is not writeable"
{code}
See screenshot.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (AS7-1883) CLI domain deploy reports error on missing server-groups adds content anyway
by Thomas Diesler (JIRA)
CLI domain deploy reports error on missing server-groups adds content anyway
-----------------------------------------------------------------------------
Key: AS7-1883
URL: https://issues.jboss.org/browse/AS7-1883
Project: Application Server 7
Issue Type: Bug
Components: CLI
Reporter: Thomas Diesler
Assignee: Alexey Loubyansky
{code}
$ bin/jboss-admin.sh --connect
Connected to domain controller at localhost:9999
[domain@localhost:9999 /] deploy ./bundles/org/apache/aries/util/main/org.apache.aries.util-0.3.jar
Either --all-server-groups or --server-groups must be specified.
{code}
On the server side the content is added. A subsequent deploy fails
{code}
[domain@localhost:9999 /] deploy ./bundles/org/apache/aries/util/main/org.apache.aries.util-0.3.jar --all-server-groups
'org.apache.aries.util-0.3.jar' is already deployed (use --force to force re-deploy).
{code}
I suggest not to add the content on missing server-group argument
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (AS7-1840) Usability: modifing configuration significantly changes the xml
by Radoslav Husar (JIRA)
Usability: modifing configuration significantly changes the xml
---------------------------------------------------------------
Key: AS7-1840
URL: https://issues.jboss.org/browse/AS7-1840
Project: Application Server 7
Issue Type: Enhancement
Components: Server
Affects Versions: 7.0.1.Final, 7.0.0.Final
Reporter: Radoslav Husar
Assignee: Jason Greene
Related to AS7-442, there are multiple things that rapidly change from the standard shipped XML.
This is major usability issue for people who try to figure out what are the changes in the original XML and the current one. Here is a diff after adding just a sample DS:
The items are:
* indentation
* comments AS7-442
* whitespaces (" />" VS "/>")
* defaults implicit Vs explicit (i.e. autoflush="true")
* No newline at end of file
* attribute ordering (ie interface="management" port="8090" VS port="8090" interface="management")
{code}
1c1,23
< <?xml version='1.0' encoding='UTF-8'?>
---
> <!--
> ~ JBoss, Home of Professional Open Source.
> ~ Copyright 2011, Red Hat, Inc., and individual contributors
> ~ as indicated by the @author tags. See the copyright.txt file in the
> ~ distribution for a full listing of individual contributors.
> ~
> ~ This is free software; you can redistribute it and/or modify it
> ~ under the terms of the GNU Lesser General Public License as
> ~ published by the Free Software Foundation; either version 2.1 of
> ~ the License, or (at your option) any later version.
> ~
> ~ This software is distributed in the hope that it will be useful,
> ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
> ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> ~ Lesser General Public License for more details.
> ~
> ~ You should have received a copy of the GNU Lesser General Public
> ~ License along with this software; if not, write to the Free
> ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> -->
>
> <server xmlns="urn:jboss:domain:1.0">
3d24
< <server name="rhusar.brq.redhat.com" xmlns="urn:jboss:domain:1.0">
22,23c43,44
< <extension module="org.jboss.as.web"/>
< <extension module="org.jboss.as.weld"/>
---
> <extension module="org.jboss.as.web" />
> <extension module="org.jboss.as.weld" />
24a46
>
26,32c48,54
< <security-realms>
< <security-realm name="PropertiesMgmtSecurityRealm">
< <authentication>
< <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
< </authentication>
< </security-realm>
< </security-realms>
---
> <security-realms>
> <security-realm name="PropertiesMgmtSecurityRealm">
> <authentication>
> <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir" />
> </authentication>
> </security-realm>
> </security-realms>
34,35c56,57
< <native-interface interface="management" port="9999"/>
< <http-interface interface="management" port="9990"/>
---
> <native-interface interface="management" port="9999" />
> <http-interface interface="management" port="9990"/>
37a60
>
40c63
< <console-handler name="CONSOLE" autoflush="true">
---
> <console-handler name="CONSOLE">
46c69,70
< <periodic-rotating-file-handler name="FILE" autoflush="true">
---
>
> <periodic-rotating-file-handler name="FILE">
53d76
< <append value="true"/>
54a78
>
63a88
>
74,80c99,102
< <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="H2DS">
< <connection-url>
< jdbc:h2:mem:test;DB_CLOSE_DELAY=-1
< </connection-url>
< <driver>
< h2
< </driver>
---
> <datasource jndi-name="java:jboss/datasources/ExampleDS" enabled="true" use-java-context="true" pool-name="H2DS">
> <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
> <driver>h2</driver>
> <pool></pool>
82,103c104,105
< <user-name>
< sa
< </user-name>
< <password>
< sa
< </password>
< </security>
< </datasource>
< <datasource jndi-name="asdsadasd" pool-name="asdasdasd_Pool">
< <connection-url>
< asda
< </connection-url>
< <driver>
< h2
< </driver>
< <security>
< <user-name>
< sdas
< </user-name>
< <password>
< dasd
< </password>
---
> <user-name>sa</user-name>
> <password>sa</password>
108,110c110
< <xa-datasource-class>
< org.h2.jdbcx.JdbcDataSource
< </xa-datasource-class>
---
> <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
116c116
< <deployment-scanner name="default" path="deployments" scan-enabled="true" scan-interval="5000" relative-to="jboss.server.base.dir" deployment-timeout="60"/>
---
> <deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" />
118c118
< <subsystem xmlns="urn:jboss:domain:ee:1.0"/>
---
> <subsystem xmlns="urn:jboss:domain:ee:1.0" />
119a120,128
> <!-- EJB3 pools -->
> <pools>
> <bean-instance-pools>
> <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5"
> instance-acquisition-timeout-unit="MINUTES"/>
> </bean-instance-pools>
> </pools>
>
> <!-- Session bean configurations -->
125,129c134
< <pools>
< <bean-instance-pools>
< <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
< </bean-instance-pools>
< </pools>
---
>
148,149c153,154
< <archive-validation enabled="false"/>
< <bean-validation enabled="false"/>
---
> <archive-validation enabled="false" />
> <bean-validation enabled="false" />
151,155c156,160
< <short-running-threads blocking="true" allow-core-timeout="false">
< <core-threads count="10" per-cpu="20"/>
< <queue-length count="10" per-cpu="20"/>
< <max-threads count="10" per-cpu="20"/>
< <keepalive-time time="10" unit="SECONDS"/>
---
> <short-running-threads blocking="true">
> <core-threads count="10" per-cpu="20"/>
> <queue-length count="10" per-cpu="20"/>
> <max-threads count="10" per-cpu="20"/>
> <keepalive-time time="10" unit="seconds"/>
157,161c162,166
< <long-running-threads blocking="true" allow-core-timeout="false">
< <core-threads count="10" per-cpu="20"/>
< <queue-length count="10" per-cpu="20"/>
< <max-threads count="10" per-cpu="20"/>
< <keepalive-time time="10" unit="SECONDS"/>
---
> <long-running-threads blocking="true">
> <core-threads count="10" per-cpu="20"/>
> <queue-length count="10" per-cpu="20"/>
> <max-threads count="10" per-cpu="20"/>
> <keepalive-time time="10" unit="seconds"/>
166c171
< <jmx-connector server-binding="jmx-connector-server" registry-binding="jmx-connector-registry"/>
---
> <jmx-connector registry-binding="jmx-connector-registry" server-binding="jmx-connector-server" />
171,172c176,177
< <subsystem xmlns="urn:jboss:domain:naming:1.0"/>
< <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>
---
> <subsystem xmlns="urn:jboss:domain:naming:1.0" />
> <subsystem xmlns="urn:jboss:domain:pojo:1.0" />
175,177c180
< <property name="manager.root">
< jboss-osgi
< </property>
---
> <property name="manager.root">jboss-osgi</property>
179a183,188
> <!--
> A comma seperated list of module identifiers. Each system module
> is added as a dependency to the OSGi framework module. The packages
> from these system modules can be made visible as framework system packages.
> http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Constants.html#FRAME...
> -->
181,187c190,193
< org.apache.commons.logging,
< org.apache.log4j,
< org.jboss.as.osgi,
< org.slf4j,
< </property>
< <property name="org.osgi.framework.startlevel.beginning">
< 1
---
> org.apache.commons.logging,
> org.apache.log4j,
> org.jboss.as.osgi,
> org.slf4j,
188a195,198
> <!--
> Framework environment property identifying extra packages which the system bundle
> must export from the current execution environment
> -->
190,198c200,208
< org.apache.commons.logging;version=1.1.1,
< org.apache.log4j;version=1.2,
< org.jboss.as.osgi.service;version=7.0,
< org.jboss.osgi.deployment.interceptor;version=1.0,
< org.jboss.osgi.spi.capability;version=1.0,
< org.jboss.osgi.spi.util;version=1.0,
< org.jboss.osgi.testing;version=1.0,
< org.jboss.osgi.vfs;version=1.0,
< org.slf4j;version=1.5.10,
---
> org.apache.commons.logging;version=1.1.1,
> org.apache.log4j;version=1.2,
> org.jboss.as.osgi.service;version=7.0,
> org.jboss.osgi.deployment.interceptor;version=1.0,
> org.jboss.osgi.spi.capability;version=1.0,
> org.jboss.osgi.spi.util;version=1.0,
> org.jboss.osgi.testing;version=1.0,
> org.jboss.osgi.vfs;version=1.0,
> org.slf4j;version=1.5.10,
199a210,211
> <!-- Specifies the beginning start level of the framework -->
> <property name="org.osgi.framework.startlevel.beginning">1</property>
201a214
> <!-- modules registered with the OSGi layer on startup -->
203a217
> <!-- bundles installed on startup -->
206a221
> <!-- bundles started in startlevel 1 -->
210a226
> <!-- bundles started in startlevel 2 -->
217a234
> <!-- bundles started in startlevel 3 -->
226c243
< <subsystem xmlns="urn:jboss:domain:security:1.1">
---
> <subsystem xmlns="urn:jboss:domain:security:1.0">
236a254
> <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
239c257
< <uuid/>
---
> <uuid />
242d259
< <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>
244d260
< <object-store/>
247c263
< <connector name="http" protocol="HTTP/1.1" socket-binding="http" scheme="http"/>
---
> <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/>
249,250c265,266
< <alias name="localhost"/>
< <alias name="example.com"/>
---
> <alias name="localhost" />
> <alias name="example.com" />
253c269
< <subsystem xmlns="urn:jboss:domain:weld:1.0"/>
---
> <subsystem xmlns="urn:jboss:domain:weld:1.0" />
254a271
>
260c277
< <inet-address value="${jboss.bind.address:127.0.0.1}"/>
---
> <inet-address value="${jboss.bind.address:127.0.0.1}"/>
262a280
>
266,267c284,285
< <socket-binding name="jmx-connector-registry" port="1090" interface="management"/>
< <socket-binding name="jmx-connector-server" port="1091" interface="management"/>
---
> <socket-binding name="jmx-connector-registry" interface="management" port="1090"/>
> <socket-binding name="jmx-connector-server" interface="management" port="1091"/>
269c287
< <socket-binding name="osgi-http" port="8090" interface="management"/>
---
> <socket-binding name="osgi-http" interface="management" port="8090"/>
274c292,293
< </server>
\ No newline at end of file
---
>
> </server>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months