[JBoss JIRA] (AS7-3358) CLONE - NullPointerException when HQ backup server is shutting down after clean shutdown
by Andy Taylor (JIRA)
[ https://issues.jboss.org/browse/AS7-3358?page=com.atlassian.jira.plugin.s... ]
Andy Taylor resolved AS7-3358.
------------------------------
Resolution: Done
fixed with the HQ 2.2.11 update
> CLONE - NullPointerException when HQ backup server is shutting down after clean shutdown
> ----------------------------------------------------------------------------------------
>
> Key: AS7-3358
> URL: https://issues.jboss.org/browse/AS7-3358
> Project: Application Server 7
> Issue Type: Bug
> Components: JMS
> Affects Versions: 7.1.0.CR1
> Reporter: Pavel Slavicek
> Assignee: Andy Taylor
> Priority: Minor
> Fix For: 7.2.0.Alpha1
>
>
> This issue is also in AS7.
> Cloned from JBPAPP-6137:
> Hi Clebert,
> I hit NullPointerException when dedicated backup server was shutting down after clean shutdown command. Live server was stopped (clean shutdown too) several seconds before backup server. It seems that backup tried to take its role. NullPointerException is ugly and it should not occur.
> I am putting it on minor priority.
> Thank you.
> 10:42:42,071 INFO [ClusterManagerImpl] announcing backup
> 10:42:42,072 INFO [HornetQServerImpl] HornetQ Backup Server version 2.2.1.GA (Zmmmmmmmm, 121) [e9d8059a-5140-11e0-8830-005056c00008] started, waiting live to fail before it gets active
> 10:42:49,387 INFO [ClusterManagerImpl] backup announced
> ^C10:51:03,362 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
> 10:51:03,423 WARN [RemotingConnectionImpl] Connection failure has been detected: The connection was disconnected because of server shutdown [code=4]
> 10:51:03,628 WARN [ClientSessionFactoryImpl] Failed to connect to server.
> 10:51:03,634 SEVERE [HornetQServerImpl] Failure in initialisation
> java.lang.NullPointerException
> at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1436)
> at org.hornetq.core.server.impl.HornetQServerImpl.access$100(HornetQServerImpl.java:130)
> at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreBackupActivation.run(HornetQServerImpl.java:398)
> at java.lang.Thread.run(Thread.java:636)
> 10:51:04,634 INFO [HornetQServerImpl] HornetQ Server version 2.2.1.GA (Zmmmmmmmm, 121) [e9d8059a-5140-11e0-8830-005056c00008] stopped
--
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, 3 months
[JBoss JIRA] (AS7-3504) HornetQ thread dead lock
by Stefano Maestri (JIRA)
Stefano Maestri created AS7-3504:
------------------------------------
Summary: HornetQ thread dead lock
Key: AS7-3504
URL: https://issues.jboss.org/browse/AS7-3504
Project: Application Server 7
Issue Type: Bug
Components: JMS
Reporter: Stefano Maestri
Assignee: Andy Taylor
Priority: Blocker
Fix For: 7.1.0.Final
After changes for AS7-3379
Found one Java-level deadlock:
"Thread-1 (HornetQ-client-global-threads-487721956)":
waiting to lock monitor 7fcb400cec58 (object 7d5eb7090, a java.lang.Object),
which is held by "MSC service thread 1-9"
"MSC service thread 1-9":
waiting to lock monitor 7fcb43911dd8 (object 7d5eb70d8, a java.lang.Object),
which is held by "Thread-1 (HornetQ-client-global-threads-487721956)"
Java stack information for the threads listed above:
"Thread-1 (HornetQ-client-global-threads-487721956)":
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.close(ClientSessionFactoryImpl.java:458)
- waiting to lock (a java.lang.Object)
at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.close(HornetQXAResourceWrapper.java:391)
at org.hornetq.jms.server.recovery.HornetQXAResourceWrapper.connectionFailed(HornetQXAResourceWrapper.java:232)
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.callFailureListeners(ClientSessionFactoryImpl.java:905)
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:690)
- locked (a java.lang.Object)
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:556)
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.access$000(ClientSessionFactoryImpl.java:79)
at org.hornetq.core.client.impl.ClientSessionFactoryImpl$DelegatingFailureListener.connectionFailed(ClientSessionFactoryImpl.java:1560)
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.callFailureListeners(RemotingConnectionImpl.java:582)
at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.fail(RemotingConnectionImpl.java:335)
at org.hornetq.core.client.impl.ClientSessionFactoryImpl$Channel0Handler$1.run(ClientSessionFactoryImpl.java:1467)
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
"MSC service thread 1-9":
at org.hornetq.core.client.impl.ClientSessionFactoryImpl.close(ClientSessionFactoryImpl.java:461)
- waiting to lock (a java.lang.Object)
- locked (a java.lang.Object)
at org.hornetq.core.client.impl.ServerLocatorImpl.doClose(ServerLocatorImpl.java:1294)
at org.hornetq.core.client.impl.ServerLocatorImpl.close(ServerLocatorImpl.java:1238)
at org.hornetq.jms.client.HornetQConnectionFactory.close(HornetQConnectionFactory.java:554)
at org.hornetq.ra.HornetQResourceAdapter.stop(HornetQResourceAdapter.java:265)
at org.jboss.as.connector.metadata.deployment.AbstractResourceAdapterDeploymentService.stop(AbstractResourceAdapterDeploymentService.java:172)
at org.jboss.as.connector.services.ResourceAdapterActivatorService.stop(ResourceAdapterActivatorService.java:122)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1909)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1872)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
see there
https://github.com/jbossas/jboss-as/pull/1261
--
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, 3 months
[JBoss JIRA] (JBEE-103) Add support for JDK 7 APIs
by Marek Goldmann (JIRA)
Marek Goldmann created JBEE-103:
-----------------------------------
Summary: Add support for JDK 7 APIs
Key: JBEE-103
URL: https://issues.jboss.org/browse/JBEE-103
Project: JBoss JavaEE Spec APIs
Issue Type: Bug
Components: jboss-jstl-api
Reporter: Marek Goldmann
Assignee: Paul Gier
Currently it's not possible to build this project (jboss-jstl-api_1.2_spec-1.0.2.Final tag) with JDK7:
{code}
[goldmann@localhost spec]$ rpmbuild -ba jboss-jstl-1.2-api.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5sVgvP
+ umask 022
+ cd /home/goldmann/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/goldmann/rpmbuild/BUILD
+ rm -rf jboss-jstl-1.2-api-1.0.2.Final
+ /usr/bin/xz -dc /home/goldmann/rpmbuild/SOURCES/jboss-jstl-1.2-api-1.0.2.Final.tar.xz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jboss-jstl-1.2-api-1.0.2.Final
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pAIj5a
+ umask 022
+ cd /home/goldmann/rpmbuild/BUILD
+ cd jboss-jstl-1.2-api-1.0.2.Final
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mvn-rpmbuild install javadoc:aggregate
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss JSTL 1.2 API 1.0.2.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java-version) @ jboss-jstl-api_1.2_spec ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven-version) @ jboss-jstl-api_1.2_spec ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ jboss-jstl-api_1.2_spec ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 19 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ jboss-jstl-api_1.2_spec ---
[INFO] Compiling 244 source files to /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bootstrap class path not set in conjunction with -source 1.6
/home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[74,27] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[75,27] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:[75,7] error: DataSourceWrapper is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,26] [deprecation] getVariableResolver() in JspContext has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,29] [deprecation] getExpressionEvaluator() in JspContext has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,9] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,9] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping JBoss JSTL 1.2 API
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.833s
[INFO] Finished at: Wed Jan 25 07:16:08 EST 2012
[INFO] Final Memory: 19M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jboss-jstl-api_1.2_spec: Compilation failure: Compilation failure:
[ERROR] bootstrap class path not set in conjunction with -source 1.6
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[74,27] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[75,27] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:[75,7] error: DataSourceWrapper is not abstract and does not override abstract method getParentLogger() in CommonDataSource
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,26] [deprecation] getVariableResolver() in JspContext has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,29] [deprecation] getExpressionEvaluator() in JspContext has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[340,9] [deprecation] ExpressionEvaluator in javax.servlet.jsp.el has been deprecated
[ERROR] /home/goldmann/rpmbuild/BUILD/jboss-jstl-1.2-api-1.0.2.Final/src/main/java/org/apache/taglibs/standard/lang/jstl/test/PageContextImpl.java:[341,9] [deprecation] VariableResolver in javax.servlet.jsp.el has been deprecated
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
error: Bad exit status from /var/tmp/rpm-tmp.pAIj5a (%build)
{code}
--
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, 3 months
[JBoss JIRA] (AS7-3473) Fix capitalization mismatch in subsystem description
by Stefan Guilhen (JIRA)
Stefan Guilhen created AS7-3473:
-----------------------------------
Summary: Fix capitalization mismatch in subsystem description
Key: AS7-3473
URL: https://issues.jboss.org/browse/AS7-3473
Project: Application Server 7
Issue Type: Task
Components: IIOP
Affects Versions: 7.1.0.CR1b
Reporter: Stefan Guilhen
Assignee: Stefan Guilhen
Fix For: 7.1.0.Final
The allowed values of jacorb subsystem properties are currently displayed in capital letters (ON, OFF) while the description and default values show a different string (on, off):
"queue-wait" => {
"type" => STRING,
"description" => "Indicates whether requests that exceed the maximum queue size should wait (on) or not (off). When disabled, a TRANSIENT exception is thrown if the queue is full.",
"expressions-allowed" => false,
"nillable" => true,
"default" => "off",
"allowed" => [
"OFF",
"ON"
],
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
--
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, 3 months
[JBoss JIRA] (AS7-3439) JacORB management transactions attribute allows an undocumented value
by David Bosschaert (JIRA)
David Bosschaert created AS7-3439:
-------------------------------------
Summary: JacORB management transactions attribute allows an undocumented value
Key: AS7-3439
URL: https://issues.jboss.org/browse/AS7-3439
Project: Application Server 7
Issue Type: Bug
Components: IIOP, Server
Affects Versions: 7.1.0.CR1b
Reporter: David Bosschaert
Assignee: Stefan Guilhen
The allowed values list 'spec' but the description only mentions 'on' and 'off'
{noformat}
"transactions" => {
"type" => STRING,
"description" => "Indicates whether the transactions interceptors are to be installed (on) or not (off).",
"expressions-allowed" => false,
"nillable" => true,
"default" => "off",
"allowed" => [
"ON",
"OFF",
"SPEC"
],
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
{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, 3 months
[JBoss JIRA] (AS7-2888) SecurityException when starting domain mode with signed modules
by Paul Gier (Created) (JIRA)
SecurityException when starting domain mode with signed modules
---------------------------------------------------------------
Key: AS7-2888
URL: https://issues.jboss.org/browse/AS7-2888
Project: Application Server 7
Issue Type: Bug
Components: Class Loading
Affects Versions: 7.1.0.Beta1
Reporter: Paul Gier
Assignee: David Lloyd
Priority: Blocker
I'm still sometimes seeing the signed jar security exception described in AS7-2724.
The difference now is that it only seems to happen when starting in domain mode, and it only fails sometimes.
{noformat}
[Server:server-one] 16:53:28,229 WARN [org.jboss.modules] (ServerService Thread Pool -- 46) Failed to define class org.omg.CORBA.ORB in Module "org.jacorb:main" from local module loader @1d256fa (roots: /home/pgier/projects/jboss-as/build/target/jboss-as-7.1.0.CR1-SNAPSHOT/modules): java.lang.SecurityException: class "org.omg.CORBA.ORB"'s signer information does not match signer information of other classes in the same package
[Server:server-one] at java.lang.ClassLoader.checkCerts(ClassLoader.java:807) [:1.6.0_20]
[Server:server-one] at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488) [:1.6.0_20]
[Server:server-one] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626) [:1.6.0_20]
[Server:server-one] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_20]
[Server:server-one] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_20]
[Server:server-one] at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:330) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:411) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:260) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.Module.loadModuleClass(Module.java:500) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143) [jboss-modules.jar:1.1.0.CR4]
[Server:server-one] at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_20]
[Server:server-one] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_20]
{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, 3 months