axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "robert lazarski" <robertlazar...@gmail.com>
Subject Re: Locating Hibernate resources in AAR
Date Thu, 12 Jul 2007 20:19:09 GMT
WEB-INF/classes is fine - that's where spring would look for the
hibernate files without axis2. I believe the mapping location could be
a relative path from WEB-INF , but if you're ok with using a classpath
location outside the AAR then you can't do any better than
WEB-INF/classes .

Glad it worked out ;-) .
Robert

On 7/12/07, Brian Kates <bek-816@shaw.ca> wrote:
> Ok, I think I get it.  Thanks for spelling it out.  So according to the
> logs, my compilation classpath is the following (removed a whole bunch of
> Jars).  Correct me if I'm wrong, but you were suggesting I put the mapping
> files in axis2/WEB-INF/classes (which is the first entry below).  In that
> case I would have to prefix the mapping files in the application context
> with "classpath" (as per the documentation).  I would rather avoid using a
> real path (i.e. c:/path/to/location/myfile.hbm.xml), so I'm
> wondering if there are any best practices / alternatives to WEB-INF classes?
>
>
> Compilation classpath initialized:
> /C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/classes/;
> /C:/Program Files\Apache Software Foundation\Tomcat
> 5.5\work\Catalina\localhost\axis2;
> /C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/classes/;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/XmlSchema-1.3.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/activation-1.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/annogen-0.1.0.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axiom-api-1.2.4.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axiom-dom-1.2.4.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axiom-impl-1.2.4.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-adb-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-adb-codegen-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-codegen-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-fastinfoset-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-java2wsdl-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-jaxbri-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-jaxws-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-jaxws-api-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-jibx-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-json-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-kernel-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-metadata-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-saaj-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-saaj-api-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-soapmonitor-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-spring-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/axis2-xmlbeans-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/backport-util-concurrent-2.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/commons-codec-1.3.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/commons-fileupload-1.1.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/commons-httpclient-3.0.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/commons-io-1.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/commons-logging-1.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/jakarta-httpcore-4.0-alpha4.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/jaxen-1.1-beta-10.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/jibx-run-1.1.4.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/log4j-1.2.14.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/mail-1.4.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/neethi-2.0.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/spring-beans-1.2.8.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/spring-context-1.2.8.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/spring-core-1.2.8.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/spring-web-1.2.8.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/stax-api-1.0.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/woden-1.0-incubating-M7a.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/wsdl4j-1.6.2.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/wstx-asl-3.2.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/xalan-2.7.0.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/xbean-2.2.0.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/xercesImpl-2.8.1.jar;/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/axis2/WEB-INF/lib/xml-apis-1.3.03.jar;
> /C:/Program Files/Apache Software Foundation/Tomcat 5.5/shared/classes/;
> /C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/classes/;
> ...etc
>
> Thanks.
>
> -Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message