In your directory structure, you need "main" after "greet".
modules/org/samples/greet/main
A module id is composed of a name and a slot, with "main" as the default
slot. The directory structure must include the slot.
On 2/17/14, 9:06 PM, Arun Gupta wrote:
I'm trying to create a simple sample that shows JBoss Modules
and
source code is checked in at:
https://github.com/arun-gupta/wildfly-samples/tree/master/jboss-modules
Also created the following directories in "modules":
modules/org
modules/org/samples
modules/org/samples/greet
modules/org/samples/greet/greet-api-1.0-SNAPSHOT.jar
modules/org/samples/greet/greet-simple-1.0-SNAPSHOT.jar
modules/org/samples/greet/modules.xml
modules.xml looks like:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.0" name="org.samples.greet">
<resources>
<resource-root path="greet-api-1.0.0-SNAPSHOT.jar" />
<resource-root path="greet-simple-1.0.0-SNAPSHOT.jar" />
</resources>
</module>
The web application accesses a service from API module but no results
are returned. No error logs, no service not resolved error, nothing.
Seems like I'm doing something incorrectly basic. Suggestions how to
debug this further ?
Thanks,
Arun
--
Brian Stansberry
Senior Principal Software Engineer
JBoss by Red Hat