[wildfly-dev] HornetQException[errorType=NATIVE_ERROR_CANT_OPEN_CLOSE_FILE message=Can't open file]

Arun Gupta arun.gupta at gmail.com
Thu Nov 21 17:20:28 EST 2013


Trying to run Java EE 7 unit tests and the complete log is at:

https://arungupta.ci.cloudbees.com/job/Java%20EE%207%20Samples%20on%20WildFly-cb/29/consoleFull

HornetQ throws the following error:

[0m10:51:36,892 INFO  [org.jboss.ws.common.management] (MSC
service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack
CXF Server 4.2.3.Final
10:51:37,031 WARN  [org.hornetq.core.server] (ServerService
Thread Pool -- 58) HQ222010: Critical IO Error, shutting down the
server. file=AIOSequentialFile:/scratch/jenkins/workspace/Java EE 7
Samples on WildFly-cb/wildfly-8.0.0.Beta2-SNAPSHOT/standalone/data/messagingjournal/hornetq-data-1.hq.tmp,
message=Can't open file:
HornetQException[errorType=NATIVE_ERROR_CANT_OPEN_CLOSE_FILE
message=Can't open file]
    at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.init(Native
Method) [hornetq-journal-2.4.0.Beta2.jar:]
    at org.hornetq.core.asyncio.impl.AsynchronousFileImpl.open(AsynchronousFileImpl.java:220)
[hornetq-journal-2.4.0.Beta2.jar:]
    at org.hornetq.core.journal.impl.AIOSequentialFile.open(AIOSequentialFile.java:190)
[hornetq-journal-2.4.0.Beta2.jar:]

Several test deployments are failing with the following reason:

Caused by: java.lang.Exception: {"JBAS014771: Services with
missing/unavailable dependencies" =>
["jboss.naming.context.java.module.test.test.DefaultJMSConnectionFactory
is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]"]}
    at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
    at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)

If I run in the default Web profile then this error does not occur as shown at:

https://arungupta.ci.cloudbees.com/job/Java%20EE%207%20Samples%20on%20WildFly-cb/30/consoleFull

But JMS tests fail.

I can't reproduce this issue with the latest workspace on my machine.

Any suggestions ?

Arun

-- 
http://blog.arungupta.me
http://twitter.com/arungupta



More information about the wildfly-dev mailing list