Discussion:
[openjms-developer] Test harness error
Arunvijai
2003-07-03 16:31:17 UTC
Permalink
Hello all,

While I am trying to run testharness test suite, I get the following errors.

OpenJMS version --- 0.7.5
Java Version --- 1.4
OS --- HP-UX.

===========
# ./test.sh -execute -config ./config/http_jms.xml
log4j:ERROR No appenders could be found for category (exolab).
log4j:ERROR Please initialize the log4j system properly.
Using OPENJMS_HOME: /home/ars/openjms-0.7.5
Using JAVA_HOME: /opt/java1.4
OpenJMS 0.7.5 (build 19)
Exolab Inc. (C) 1999-2003. All rights reserved. openjms.sourceforge.net
21:47:36.958 INFO [main] - Started service [ThreadPoolManager]
21:47:36.962 INFO [main] - Started service [EventManagerThread]
21:47:37.144 INFO [main] - Removed expired messages.
21:47:37.145 INFO [main] - Started service [DatabaseService]
21:47:37.146 INFO [main] - Started service [Scheduler]
21:47:37.147 INFO [main] - Started service [LeaseManagerReaper]
21:47:37.147 INFO [main] - Registering Garbage Collection every 60000 for
memory.
21:47:37.157 INFO [main] - Registering Garbage Collection every 120000 for
other resources.
21:47:37.158 INFO [main] - Started service [GCCollectionService]
21:47:37.229 INFO [main] - Started service [MessageManager]
21:47:37.269 INFO [main] - Creating server interface for the http connector
21:47:37.301 INFO [main] - Creating server interface for the tcp connector
21:47:37.328 INFO [main] - Creating JNDI interface for the tcp connector
21:47:37.349 INFO [main] - Started TCP JNDI server on port 3035
javax.jms.JMSException: Failed to get InitialContext
at
org.exolab.testharness.jms.util.ClientHelper.getTopicConnection(ClientHelper
.java:184)
at
org.exolab.testharness.jms.util.ServerAdapter.connect(ServerAdapter.java:111
)
at
org.exolab.testharness.jms.util.RemoteServerAdapter.start(RemoteServerAdapte
r.java:104)
at
org.exolab.testharness.jms.util.OpenJMSProvider.initialise(OpenJMSProvider.j
ava:144)
at org.exolab.testharness.jms.TestHarness.main(TestHarness.java:172)
javax.jms.JMSException: Connection refused
at
org.exolab.jms.administration.mipc.IpcJmsAdminConnection.raise(IpcJmsAdminCo
nnection.java:316)
at
org.exolab.jms.administration.mipc.IpcJmsAdminConnection.send(IpcJmsAdminCon
nection.java:252)
at
org.exolab.jms.administration.mipc.IpcJmsAdminConnection.stopServer(IpcJmsAd
minConnection.java:208)
at
org.exolab.testharness.jms.util.ServerAdapter.stop(ServerAdapter.java:90)
at
org.exolab.testharness.jms.util.RemoteServerAdapter.stop(RemoteServerAdapter
.java:124)
at
org.exolab.testharness.jms.util.OpenJMSProvider.cleanup(OpenJMSProvider.java
:157)
at org.exolab.testharness.jms.TestHarness.main(TestHarness.java:208)
=============================================================

But, I could successfully run the rmi tests, and openjms.
( ./test.sh -execute -config ./config/rmi_jms.xml ) & (
./test.sh -execute -config ./config/openjms.xml )

Any comments?

Thanks
- Arun.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003
Tim Anderson
2003-07-04 02:35:00 UTC
Permalink
Have you deployed the openjms.war?
Search the archives or refer to the users guide
on how to do this.

Regards,

Tim
-----Original Message-----
Arunvijai
Sent: Friday, 4 July 2003 2:31 AM
Subject: [openjms-developer] Test harness error
Hello all,
While I am trying to run testharness test suite, I get the
following errors.
OpenJMS version --- 0.7.5
Java Version --- 1.4
OS --- HP-UX.
===========
# ./test.sh -execute -config ./config/http_jms.xml
log4j:ERROR No appenders could be found for category (exolab).
log4j:ERROR Please initialize the log4j system properly.
Using OPENJMS_HOME: /home/ars/openjms-0.7.5
Using JAVA_HOME: /opt/java1.4
OpenJMS 0.7.5 (build 19)
Exolab Inc. (C) 1999-2003. All rights reserved. openjms.sourceforge.net
21:47:36.958 INFO [main] - Started service [ThreadPoolManager]
21:47:36.962 INFO [main] - Started service [EventManagerThread]
21:47:37.144 INFO [main] - Removed expired messages.
21:47:37.145 INFO [main] - Started service [DatabaseService]
21:47:37.146 INFO [main] - Started service [Scheduler]
21:47:37.147 INFO [main] - Started service [LeaseManagerReaper]
21:47:37.147 INFO [main] - Registering Garbage Collection every 60000 for
memory.
21:47:37.157 INFO [main] - Registering Garbage Collection every
120000 for
other resources.
21:47:37.158 INFO [main] - Started service [GCCollectionService]
21:47:37.229 INFO [main] - Started service [MessageManager]
21:47:37.269 INFO [main] - Creating server interface for the
http connector
21:47:37.301 INFO [main] - Creating server interface for the tcp
connector
21:47:37.328 INFO [main] - Creating JNDI interface for the tcp connector
21:47:37.349 INFO [main] - Started TCP JNDI server on port 3035
javax.jms.JMSException: Failed to get InitialContext
at
org.exolab.testharness.jms.util.ClientHelper.getTopicConnection(Cl
ientHelper
.java:184)
at
org.exolab.testharness.jms.util.ServerAdapter.connect(ServerAdapte
r.java:111
)
at
org.exolab.testharness.jms.util.RemoteServerAdapter.start(RemoteSe
rverAdapte
r.java:104)
at
org.exolab.testharness.jms.util.OpenJMSProvider.initialise(OpenJMS
Provider.j
ava:144)
at
org.exolab.testharness.jms.TestHarness.main(TestHarness.java:172)
javax.jms.JMSException: Connection refused
at
org.exolab.jms.administration.mipc.IpcJmsAdminConnection.raise(Ipc
JmsAdminCo
nnection.java:316)
at
org.exolab.jms.administration.mipc.IpcJmsAdminConnection.send(IpcJ
msAdminCon
nection.java:252)
at
org.exolab.jms.administration.mipc.IpcJmsAdminConnection.stopServe
r(IpcJmsAd
minConnection.java:208)
at
org.exolab.testharness.jms.util.ServerAdapter.stop(ServerAdapter.java:90)
at
org.exolab.testharness.jms.util.RemoteServerAdapter.stop(RemoteSer
verAdapter
.java:124)
at
org.exolab.testharness.jms.util.OpenJMSProvider.cleanup(OpenJMSPro
vider.java
:157)
at
org.exolab.testharness.jms.TestHarness.main(TestHarness.java:208)
=============================================================
But, I could successfully run the rmi tests, and openjms.
( ./test.sh -execute -config ./config/rmi_jms.xml ) & (
./test.sh -execute -config ./config/openjms.xml )
Any comments?
Thanks
- Arun.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.495 / Virus Database: 294 - Release Date: 6/30/2003
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
openjms-developer mailing list
https://lists.sourceforge.net/lists/listinfo/openjms-developer
Loading...