I am
trying to use a non jared class repository and doc tree durring
development of a J2EE application using JBoss/Tomcat 4 (Catalina). I set up my
application.xml file to point to the unjared doc root and the code repository
but I seem to be having 2 path related problems:
1)
JBoss can't find the ejb-jar.xml file even though it is in the META-INF
subdirectory of the place where the application.xml's ejb module points.
I know it finds the directory because if I change the path in the
application.xml's ejb/module elemet then I get a different error (one
that states it can't find the directory).
2)
No matter where I add the classpath (it jboss.conf using ClassPathExtention,
to the system classpath of the jboss start command, etc) Catalina can't find
the servlet or filter code on startup.
My setup consists of a directory structure
and application.xml that looks like the
following:
/ -
|
- cots -
|
|
| -
jbossroot-
|
|
|
- catalina ...
|
|
|
- jboss -
|
|
|
- conf
|
...
| -
deploy -
|
|
|
- j2eeApp -
|
|
| -
META_INF -
| |
|
application.xml
- htdocs -
| |
| -
WEB-INF-
|
|
|
web.xml
|
|
|
| ... doc
tree with jsp's/html
|
- source -
|
-
classes -
|
- com (this is the tree containing the class files)
|
|
| -
company -
| |
|
...
|
- META-INF-
|
ejb-jar.xml
My
application.xml looks like the following:
<application>
<display-name>J2EEApp</display-name>
<module><ejb>../../../../../source/classes</ejb></module>
<module>
<web>
<web-uri>../../../../../../htdocs</web-uri>
<context-root>/</context-root>
</web>
</module>
</application>
Any help would be appreciated.
Thanks
Jim