I am getting a axis page. there is Administration link is coming and i can logged in by admin/axis .
So please can suggest me what I need to do.
Thanks
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
In that case, check the Tomcat logs if there is more information. You may also want to turn the access log to see which exact URL is being accessed.
Raj Shri
Greenhorn
Joined: May 02, 2010
Posts: 28
posted
0
Ulf Dittmer wrote:In that case, check the Tomcat logs if there is more information. You may also want to turn the access log to see which exact URL is being accessed.
D:\WS-Sample\src>java org.apache.axis.client.AdminClient org\kamal\wssample\ws\g
enerated\deploy.wsdd -l http://localhost:8080/axis2/axis2-admin/ -u admin -w axi
s2
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
Processing file org\kamal\wssample\ws\generated\deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad envelope tag: html
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad en
velope tag: html
at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.
java:71)
at org.apache.axis.encoding.DeserializationContext.startElement(Deserial
izationContext.java:1048)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
ment(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
StartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSCo
ntentDriver.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$Prolog
Driver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U
nknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:796)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
at org.apache.axis.client.AdminClient.main(AdminClient.java:463)
Can you please help me. I checked the tomcat logs but there I did not getting ant error.
That's most likely the wrong URL; check the Axis documentation for how to properly invoke the AdminClient.
vignesh manohar
Greenhorn
Joined: Oct 28, 2009
Posts: 7
posted
0
Hi.. I am facing a similar kind of problem. I am using eclipse and have jboss server. I am using Axis2 for web service (installed the plug-in).
I dont get any error while creating using bottom up approach.
But when i hit end point, i get 404 error.
As you were telling before, i am not able get admin servlet.
HTTP Status 404 - /WebApp/services/AdminServlet
I am able to understand this problem slightly, but how to resolve this? Please help
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35258
7
posted
0
As you were telling before, i am not able get admin servlet.
HTTP Status 404 - /WebApp/services/AdminServlet
Is anything configured to listen at this URL? Is Axis running and happy?
cnivas redy
Greenhorn
Joined: Apr 19, 2008
Posts: 17
posted
0
check your web.xml for Admin servlet mappings and also web-inf/classes check for your admin servlet class. if you dont need admin servlet you can just remove the mappings. in my case the axis plugin was not providing the Admin Servlets. so I used to directly hit the service by typing the entire URL.
try something like http://localhost:8080/<ur web app name>/services/<your service class name>?wsdl --> this will give you the WSDL of your service or
http://localhost:8080/<ur web app name>/services/listServices --> this URL will provide you the list of available services. there if your service is not listed then try debugging your code and jars that you are using.
hope this helps.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.