[JBoss JIRA] (AS7-2840) TS: How to use -Djpda with clustered tests
by Radoslav Husar (Created) (JIRA)
TS: How to use -Djpda with clustered tests
------------------------------------------
Key: AS7-2840
URL: https://issues.jboss.org/browse/AS7-2840
Project: Application Server 7
Issue Type: Bug
Components: Clustering, Documentation, Test Suite
Affects Versions: 7.1.0.Beta1
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Minor
The doc now says whats pasted below, but I am not sure if both servers are listening on 8787 because (that would fail the startup), if I have to connect to both or where do I configure that, etc.
{code}
Running JBoss AS instances with debugger
Adding -Djpda (May be changed to -Ddebug in the future) will make JBoss AS run with JPDA JVM arguments for debugging.
It will suspend and wait for the debugger to connect at port 8787.
JBoss AS is started by Arquillian, when the first test which requires given instance is run. There's (currently) no challenge text in the console, it will look like the first test is stuck. This is being solved in http://jira.codehaus.org/browse/SUREFIRE-781.
Depending on which test group(s) you run, multiple instances may be started. In that case, you need to attach the debugger multiple times.
{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
14 years, 3 months
[JBoss JIRA] (AS7-3358) CLONE - NullPointerException when HQ backup server is shutting down after clean shutdown
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/AS7-3358?page=com.atlassian.jira.plugin.s... ]
Jason Greene updated AS7-3358:
------------------------------
Fix Version/s: 7.2.0.Alpha1
(was: 7.1.0.Final)
> 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
14 years, 3 months