Are you saying I should put the log.properties in
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\axis\WEB-INF\classes
then bounce the Tomcat server?
No editing changes to C:\Program Files\Apache Software
Foundation\Tomcat 5.5\conf\logging.properties?
thanks,
Anil

--- Yura Tkachenko <[EMAIL PROTECTED]> wrote:

> Hi,
> 1) it's depend how you configurate filtering by
> packages - you can turn to
> use tomcat log or direct it to axis.log file for
> e.g.
> 2) you should put log4j.properties in the
> WEB-INF\classes folder.
> 
> 
> 2007/1/19, Anil Philip <[EMAIL PROTECTED]>:
> >
> > Thank you for replying.
> > Sorry, but it is not clear about:
> > 1) Will the error be in the axis log files, or in
> the
> > Tomcat log files?
> > 2) How do I turn on logging for axis. ie. where
> should
> > I put the log properties file and will it be
> > automatically picked up?
> >
> > thanks,
> > Anil
> >
> > --- Yura Tkachenko <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hi,
> > > try to specify DEBUG, because even with INFO you
> can
> > > see nothing. You need
> > > to have log4j.properties file for Tomcat. Here
> is
> > > example of
> > > log4j.properties:
> > >
> > > # Set root category priority to INFO and its
> only
> > > appender to CONSOLE.
> > > log4j.rootCategory=INFO, CONSOLE
> > > #log4j.rootCategory=INFO, CONSOLE, LOGFILE
> > >
> > > # Set the enterprise logger category to FATAL
> and
> > > its only appender to
> > > CONSOLE.
> > > log4j.logger.org.apache.axis.enterprise=FATAL,
> > > CONSOLE
> > >
> > > # CONSOLE is set to be a ConsoleAppender using a
> > > PatternLayout.
> > >
> >
>
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
> > > log4j.appender.CONSOLE.Threshold=INFO
> > >
> >
>
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
> > >
> log4j.appender.CONSOLE.layout.ConversionPattern=-
> > > %m%n
> > >
> > > # LOGFILE is set to be a File appender using a
> > > PatternLayout.
> > >
> log4j.appender.LOGFILE=org.apache.log4j.FileAppender
> > > log4j.appender.LOGFILE.File=axis.log
> > > log4j.appender.LOGFILE.Append=true
> > > log4j.appender.LOGFILE.Threshold=INFO
> > >
> >
>
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
> > >
> log4j.appender.LOGFILE.layout.ConversionPattern=%-4r
> > > [%t] %-5p %c %x - %m%n
> > >
> > > Modify it if you need.
> > > 2007/1/19, Anil Philip
> <[EMAIL PROTECTED]>:
> > > >
> > > > Thank you for replying.
> > > > I do not see anything in the server logs.
> > > >
> > > > I looked at the admin, manager and catalina
> logs.
> > > > Are there others, or should the logging
> > > granularity be
> > > > set to Info - but I dont know where to set it.
> > > >
> > > > We are using Tomcat 5.5
> > > >
> > > > Any help appreciated.
> > > > thanks,
> > > > Anil
> > > >
> > > > --- Luis Rivera <[EMAIL PROTECTED]> wrote:
> > > >
> > > > >
> > > > >     Anil,
> > > > >
> > > > > I do not know what is the exact problem, but
> I
> > > have
> > > > > seen the same exception
> > > > > many times. The server is mapping the
> original
> > > > > exception to
> > > > > "InvocationTargetException". Therefore, I
> would
> > > > > recommend looking into the
> > > > > server logs to know the original Exception
> and
> > > > > proceed accordingly.
> > > > >
> > > > >    Hope that helps,
> > > > >     --Luis R.
> > > > >
> > > > > >From: Anil Philip
> <[EMAIL PROTECTED]>
> > > > > >Reply-To: axis-user@ws.apache.org
> > > > > >To: axis-user@ws.apache.org
> > > > > >Subject: help. newbie error. cannot deploy
> > > > > >Date: Thu, 18 Jan 2007 15:02:54 -0800 (PST)
> > > > > >
> > > > > >Hello,
> > > > > >
> > > > > >I am an Axis newbie. Trying to deploy.
> > > > > >
> > > > > >I receive an error. Nothing in the logs to
> show
> > > > > more
> > > > > >detail:
> > > > > >
> > > > > >
> > > > > >
> > > > > >C:\Everest\WebDeploy>java -classpath
> > > > > >C:\Everest\WebDeploy\axis\axis.jar;
> > > > > >
> > > > >
> > > >
> > >
> >
>
>C:\Everest\WebDeploy\axis\axis-ant.jar;C:\Everest\WebDeploy\axis\commons-
> > > > discovery-0.2.jar;
> > > > > >
> > > > >
> > > >
> > >
> >C:\Everest\WebDeploy\axis\commons-logging-1.0.4.jar
> > > > ;C:\Everest\WebDeploy\axis\jaxrpc.jar;
> > > > > >
> > > > >
> > > > >C:\Everest\WebDeploy\axis\log4j-1.2.14.jar
> > > > ;C:\Everest\WebDeploy\axis\saaj.jar;
> > > > > >
> > > > >
> > > > >C:\Everest\WebDeploy\axis\wsdl4j-1.5.1.jar
> > > > ;C:\Everest\WebDeploy\axis\activation.jar;
> > > > > >
> > > > > >C:\Everest\WebDeploy\axis\mail.jar;
> > > > > >org.apache.axis.client.AdminClient
> > > > > >C:\Everest\WebDeploy\deploy.wsdd
> > > > > >
> > > > > >Processing file
> > > C:\Everest\WebDeploy\deploy.wsdd
> > > > > >
> > > > > >Exception: AxisFault
> > > > > >
> > > > > >  faultCode:
> > > > >
> > > >
> > >
> >
>
>{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > >
> > > > > >  faultSubcode:
> > > > > >
> > > > > >  faultString:
> > > > > >java.lang.reflect.InvocationTargetException
> > > > > >
> > > > > >  faultActor:
> > > > > >
> > > > > >  faultNode:
> > > > > >
> > > > > >  faultDetail:
> > > > > >
> > > > > >
> > > > >
> >{http://xml.apache.org/axis/}hostname:ITDMWEB01
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >Any help appreciated.
> > > > > >
> > > > > >Thanks,
> > > > > >
> > > > > >Anil
> > > > > >
> > > > > >P.S.
> > > > > >wsdd is
> > > > >
> >---------------------------------------------
> > > > > >
> > > > > ><!-- Use this file to deploy some
> > > handlers/chains
> > > > > and
> > > > > >services      -->
> > > > > ><!-- Two ways to do this:
> > > > > >              -->
> > > > > ><!--   java
> org.apache.axis.client.AdminClient
> > > > > >deploy.wsdd          -->
> > > > > ><!--      after the axis server is running
> > > > > >              -->
> > > > > ><!-- or
> > > > > >              -->
> > > > > ><!--   java org.apache.axis.utils.Admin
> > > > > client|server
> > > > > >deploy.wsdd   -->
> > > > > ><!--      from the same directory that the
> Axis
> > > > > engine
> > > > > >runs         -->
> > > > > >
> > > > > ><deployment
> > > > > >    
> xmlns="http://xml.apache.org/axis/wsdd/";
> > > > > >
> > > > >
> > > >
> > >
> >
>
>xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
> > > > > >
> > > > > >   <!-- Services from DonkeyClockService
> WSDL
> > > > > service
> > > > > >-->
> > > > > >
> > > > > >   <service name="DonkeyClock"
> > > provider="java:RPC"
> > > > > >style="wrapped" use="literal">
> > > > > >       <parameter
> name="wsdlTargetNamespace"
> > > > > >value="urn:donkeyclock.deploy"/>
> > > > > >       <parameter name="wsdlServiceElement"
> > > > > >value="DonkeyClockService"/>
> > > > > >       <parameter name="schemaQualified"
> > > > > >value="urn:donkeyclock.deploy"/>
> > > > > >       <parameter name="wsdlServicePort"
> > > > > >value="DonkeyClock"/>
> > > > > >       <parameter name="className"
> > > > >
> > > >
> > >
> >
>
>value="deploy.donkeyclock.DonkeyClockSoapBindingSkeleton"/>
> > > > > >       <parameter name="wsdlPortType"
> > > > > >value="DonkeyClock"/>
> > > > > >       <parameter name="typeMappingVersion"
> > > > > >value="1.2"/>
> > > > > >       <parameter name="allowedMethods"
> > > value="*"/>
> > > > > >       <parameter name="scope"
> > > value="Session"/>
> > > > > >
> > > > > >       <typeMapping
> > > > > >         xmlns:ns="urn:donkeyclock.deploy"
> > > > > >         qname="ns:ATriggerDetail"
> > > > > >
> > > > >
> type="java:deploy.donkeyclock.ATriggerDetail"
> > > > > >
> > > > >
> > > >
> > >
> >
>
>serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> > > > > >
> > > > >
> > > >
> > >
> >
>
>deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> > > > > >         encodingStyle=""
> > > > > >       />
> > > > > >       <typeMapping
> > > > > >         xmlns:ns="urn:donkeyclock.deploy"
> > > > > >         qname="ns:AJobDetail"
> > > > > >
> > > type="java:deploy.donkeyclock.AJobDetail"
> > > > > >
> > > > >
> > > >
> > >
> >
>
>serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> > > > > >
> > > > >
> > > >
> > >
> >
>
>deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> > > > > >         encodingStyle=""
> > > > > >       />
> > > > > >   </service>
> > > > > ></deployment>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
>____________________________________________________________________________________
> > > > > >It's here! Your new message!
> > > > > >Get new email alerts with the free Yahoo!
> > > Toolbar.
> > > > >
> > > >
> > >
> >
>
>http://tools.search.yahoo.com/toolbar/features/mail/
> > > > > >
> > > > >
> > > >
> > >
> >
>
>---------------------------------------------------------------------
> > > > > >To unsubscribe, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > >For additional commands, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
_________________________________________________________________
> > > > > Valentine's Day -- Shop for gifts that spell
> > > L-O-V-E
> > > > > at MSN Shopping
> > > > >
> > > >
> > > >
> > >
> >
> >
>
http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
____________________________________________________________________________________
> > > > 8:00? 8:25? 8:40? Find a flick in no time
> > > > with the Yahoo! Search movie showtime
> shortcut.
> > > > http://tools.search.yahoo.com/shortcuts/#news
> > > >
> > > >
> > >
> >
>
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Thanks,
> > > Yura.
> > >
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel
> sites to find flight and
> > hotel bargains.
> > http://farechase.yahoo.com/promo-generic-14795097
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> Thanks,
> Yura.
> 



 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

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

Reply via email to