Title: Message
Hi Dheeraj,
 
I got it work now. I think the server-config.wsdd is messed up in my jboss/server/default/deploy/axis.war directory. I had to remove the axis.war and reinstalled it.
 
Thanks for helping!
Jane


From: Soti, Dheeraj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:32 PM
To: '[email protected]'
Subject: RE: Axis example doesn't work since yesterday

Jane,
 
If you don't give that then it takes the default one. I tried looking at the src for AdminClient and javadoc tells something about it.I downloaded 1.2RC2 and it came with that. For me it works fine without the additional argument also. Are u using Tomcat or something else. Is it running?
 
Dheeraj
 
/**
     * <p>Processes a set of administration commands.</p>
     * <p>The following commands are available:</p>
     * <ul>
     *   <li><code>-l<i>url</i></code> sets the AxisServlet URL</li>
     *   <li><code>-h<i>hostName</i></code> sets the AxisServlet host</li>
     *   <li><code>-p<i>portNumber</i></code> sets the AxisServlet port</li>
     *   <li><code>-s<i>servletPath</i></code> sets the path to the
     *              AxisServlet</li>
     *   <li><code>-f<i>fileName</i></code> specifies that a simple file
     *              protocol should be used</li>
     *   <li><code>-u<i>username</i></code> sets the username</li>
     *   <li><code>-w<i>password</i></code> sets the password</li>
     *   <li><code>-d</code> sets the debug flag (for instance, -ddd would
     *      set it to 3)</li>
     *   <li><code>-t<i>name</i></code> sets the transport chain touse</li>
     *   <li><code>list</code> will list the currently deployed services</li>
     *   <li><code>quit</code> will quit (???)</li>
     *   <li><code>passwd <i>value</i></code> changes the admin password</li>
     *   <li><code><i>xmlConfigFile</i></code> deploys or undeploys
     *       Axis components and web services</li>
     * </ul>
     * <p>If <code>-l</code> or <code>-h -p -s</code> are not set, the
     * AdminClient will invoke
     * <code>http://localhost:8080/axis/servlet/AxisServlet</code>.</p>
     *
     * @param args Commands to process
     * @return XML result or null in case of failure. In the case of multiple
     * commands, the XML results will be concatenated, separated by \n
     * @exception Exception Could be an IO exception, an AxisFault or something else
     */
-----Original Message-----
From: Jianghui Liu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:12 PM
To: [email protected]
Subject: RE: Axis example doesn't work since yesterday

Hi Dheeraj,
 
The only difference between yours and mine is the -lhttp://localhost:8080/axis/services/AdminService  option, what is that? is it necessary? I don't seem have it in my axis-dist. Where did you get it? Can you please share it with me?
 
P.S. the happyaxis.jsp doesn't complain anything.
Thanks,
Jane
 


From: Soti, Dheeraj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:07 PM
To: '[email protected]'
Subject: RE: Axis example doesn't work since yesterday

Jane,
 
The command I run is :
 
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
 
Here is my AXISCLASSPATH where AXIS_LIB is c:\axis
 
%AXIS_LIB%\axis.jar;%AXIS_LIB%\wsdl4j.jar;%AXIS_LIB%\commons-discovery.jar;%AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
 
Did u tried doing  http://localhost:8080/axis/happyaxis.jsp that checks and report for missing things.
 
Dheeraj
 
 
-----Original Message-----
From: Jianghui Liu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:56 PM
To: [email protected]
Subject: RE: Axis example doesn't work since yesterday

Hi, Dheeraj,
 
I listened to you and retyped all those libraries, but it still not working. Any other jar files did u include in your script? can you give me the command you run to deploy too?
 
thanks a lot.
Jane


From: Soti, Dheeraj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:28 PM
To: '[email protected]'; [EMAIL PROTECTED]
Subject: RE: Axis example doesn't work since yesterday

Jane,
 
I am also new to axis and for me it is working fine. Did u set your AXIS classpath properly following these instructions. 
set AXIS_HOME=c:\axis
set AXIS_LIB=%AXIS_HOME%\lib
set AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;
  %AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;
  %AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
Are u copying and pasting this command. If yes then try typing the whole thing. Sometimes some invisible special characters also cause issues.
 
Dheeraj
 
-----Original Message-----
From: Jianghui Liu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 11:26 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Axis example doesn't work since yesterday

Hi all,

Since yesterday I cannot get even an axis example work. I copied following files

samples/userguide/example3/deploy.wsdd

samples.userguide.example3.MyService

Into my work environment and try to deploy the service by using:

${JAVA} -classpath ${CLASSPATH} org.apache.axis.client.AdminClient deploy.wsdd

But I keep getting this error:

pache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: Found languageSpecificType namespace '', expected 'http://xml

he.org/axis/wsdd/providers/java'

lang.ClassNotFoundException: Found languageSpecificType namespace '', expected 'http://xml.apache.org/axis/wsdd/providers/java'

at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:213)

at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:341)

at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520)

at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:287)

at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:293)

at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:419)

at org.apache.axis.encoding.SerializationContextImpl.getTypeMapping(SerializationContextImpl.java:376)

at org.apache.axis.AxisFault.writeDetails(AxisFault.java:766)

at org.apache.axis.message.SOAPFault.outputImpl(SOAPFault.java:199)

at org.apache.axis.message.MessageElement.output(MessageElement.java:783)

at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:174)

at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)

at org.apache.axis.message.MessageElement.output(MessageElement.java:783)

at org.apache.axis.AxisFault.output(AxisFault.java:692)

at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:259)

at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:468)

at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)

at org.apache.axis.Message.getContentType(Message.java:399)

at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:887)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

 

Does anybody have any idea? Appreciate your help!

Jane


Reply via email to