|
This
is probably because you didn't have the logging setup correctly. Try putting a
log4j.properties file on your classpath. In eclipse one way to do this is to
create a conf folder, but log4j.properties in there, then go to project
properties | java build path and add conf as a class folder to your project. For
console logging your log4j.properties should contain something
like
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p
%c{1}:%L - %m%n
log4j.rootLogger=info, stdout
see
Log4j docs for further details of config options. Change the info, to debug when
things aren't working.
If you
are running tools from the command line e.g. adminClient, have a look at http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/UsingCommandLineTools,
this has stuff about ensuring the logging is enabled for command line
invocations of the major axis tools.
All
best
Andy
Andrew Premdas Student Systems Developer Manchester
University
Thank You for the reply.
My
problem was two-fold.
Firstly, I was invoking TomCat under Eclipse. For reasons I don't
understand this led to no errors being logged. When I started TomCat
from the Windows Start menu and tried to deploy I discovered in one of the
TomCat logs that my deploy was failing because I was missing one of my custom
*.jar files.
John,
Normally when u deploy using the WSDD generated it
should deploy the webservices, but in some cases it doesnt happen ( I dunno
for what cases ) ..
So check ur server-config.wsdd file under AXIS and
see if it contains the details of your deployed services.
If not then copy the contents from <service>
tag to <\service> tag(Including both) and paste it to your
server-config.wsdd.
Hope this helps ..
Cheers
Dhanush
----- Original Message -----
Sent: Thursday, May 27, 2004 8:19
PM
Subject: RE: Issue with Axis running
under TomCat
Now, that I have that missing library copied over to commons/lib I
am experiencing yet another problem.
I am running the axis-deploy task that was autogenerated with the
client stubs. The task returns without any errors; however, when I
query axis for a list of deployed services I don't see
them.
In short, the task runs but fails to deploy the
services.
In addition, there are no errors or stack traces in the log
file.
Any help would and is appreciated...
Thanks,
John M.
Thank You!
I don't know how I missed that!
Please look that you have included saaj.jar
also in the your lib directory
All,
I am
trying to run Axis under TomCat 5.0. I can run the Axis home
page http://127.0.0.1:8080/axis and
even go through the different links.
However,
I am seeing the following in the log file:
.
.
.
javax.servlet.ServletException: Error
instantiating servlet class
org.apache.axis.transport.http.AdminServlet
.
.
.
-----
Root Cause -----
java.lang.NoClassDefFoundError:
javax/xml/soap/SOAPException
I have
axis.jar in my common\lib directory.
Any help
would be appreciated...
Thanks,
John
M.
*********************************************************
Disclaimer:
This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.
*********************************************************
Visit us at http://www.mahindrabt.com
|
|