You need to deploy the aar expanded. Just do a jar xf myaar.aar in the
services dir , then remove the aar. From there you'll get a rela path
you can access.

You don't need any axis2 jars in the aar. Just follow the tutorial as is.

To put spring in debug mode, the way I do it is to put any recent
log4j jar in the WEB-INF/lib dir, then copy and paste the following in
the default WEB-INF/classes/log4j.properties:

##################INICIO DOS APPENDERs################################

#-------------------------------------------------------------------#
#-------------------------------------------------------------------#

# console2 será um appender de console que exibirá todas as propriedades
log4j.appender.console2=org.apache.log4j.ConsoleAppender

log4j.appender.console2.layout=org.apache.log4j.PatternLayout
log4j.appender.console2.layout.ConversionPattern=%d [%c] - %m%n

#-------------------------------------------------------------------#
#################INICIO DO ROOTlOGGER################################

log4j.rootLogger=DEBUG, console2

###################FIM DO ROOTlOGGER################################


#############INICIO DAS DECLARAÇÕES DE CATEGORIAS####################

log4j.category.org.apache.axis2=DEBUG, console2
log4j.category.org.springframework=DEBUG, console2

That'll put both spring and axis2 in DEBUG, puttting the logs in
catalina.out in the tomcat case.

HTH,
Robert

On 7/11/07, Brian Kates <[EMAIL PROTECTED]> wrote:
I see that this is a common problem and I too am struggling with it.  I'm
trying to locate Hibernate mapping files as defined in my
applicationContext.  I have one mapping file, called TransferScenario.  It
is located at /domain/TransferScenario inside the AAR.  In my
applicationContext, I am looking for it at the following location:

<property name="mappingResources">
    <list>

<value>classpath*:**/domain/TransferScenario.hbm.xml</value>
    </list>
</property>

I have tried various permutations of the above with no luck.  I still get
the FileNotFoundException.  Any ideas?  In the documentation it suggests
turning the logging to DEBUG.  How do I do that?  Where is the logger?

I'm curious, which jars have to be inside of the AAR?  I only have my
project jars (i.e. Spring, Hibernate, Oracle, etc) inside of the AAR.  Do I
need any of the AXIS2 jars?

If I decide to deploy my service as a WAR, what is the structure of the WAR
file?  I assume it's:

/WEB-INF/classes/...
/WEB-INF/lib/...
/WEB-INF/web.xml
/WEB-INF/applicationContext
/WEB-INF/services.xml

Thanks.

-Brian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to