You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jose Airton F. da Silva" <ja...@hotmail.com> on 2002/05/29 00:23:33 UTC

Please Help-me - Basic install of Axis on Web Server Resin 2.1.0

I installed the Axis context in webapps directory of Resin web server.
I started Resin web server and I invoked the URL http://localhost:8080/axis/
. The web server answered with the Apache-Axis page, without any problem.
When I attempt to invoke the URL
http://localhost:8080/axis/servlet/AxisServlet, I got the error shown below.

I don't know what happen.

Could someone help me?

Jose Airton.


ERROR:

500 Servlet Exception
org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Must
include type attribute for Handler deployment!
 at org.apache.axis.AxisEngine.init(Unknown Source)
 at org.apache.axis.AxisEngine.<init>(Unknown Source)
 at org.apache.axis.server.AxisServer.<init>(Unknown Source)
 at org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown
Source)
 at org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown
Source)
 at org.apache.axis.server.AxisServer.getServer(Unknown Source)
 at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
 at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
 at org.apache.axis.transport.http.AxisServlet.doGet(Unknown Source)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
 at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
5)
 at com.caucho.server.http.Invocation.service(Invocation.java:291)
 at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:217)
 at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
 at java.lang.Thread.run(Thread.java:479)

Re: Please Help-me - Basic install of Axis Beta2 on Resin 2.1.1 Web Server

Posted by "Jose Airton F. da Silva" <ja...@hotmail.com>.
Hi Scott Nichol,

I'm still having problem with Axis  and Resin.

My environment is now with Windows 2000 server, Sun JDK 1.3.1, Resin 2.1.1 e
Axis Beta2.

I did this:

 1. Unzip xml-axis-beta2.zip to e:\ (so Axis root is e:\xml-axis-beta2).
 2. Unzip resin-2.1.1.zip  to   e:\ (so Resin root is e:\resin-2.1.1).
 3. xcopy e:\xml-axis-beta2\webapps\axis\*   e:\resin-2.1.1\webapps\axis /e
(to  make Axis a Resin webapp).
 4. e:\resin-2.1.1\bin\httpd (to start Resin).
 5. Surf to http://localhost:8080/axis - OK - I saw welcome page.
6. Click link to http://localhost:8080/axis/servlet/AxisServlet  - OK - I
saw some services.

After that I deployed the service. The service name is "InvertStrService". I
deployed the service successfully with the following command line:

     java
g.apache.axis.client.AdminClient   -lhttp://localhost:8080/axis/services/Adm
inService deploy.wsdd

The Axis engine built the file "server-config.wsdd". This file is in the
e:\Resin-2.1.1\webapps\axis\WEB-INF directory.

After that I tried to surf to
http://localhost:8080/axis/services/InvertStrService?wsdl. It happened a new
error.

I got the error shown below. I am sending some files to you.

Thansk for help,

Jose.

========================================================================
500 Servlet Exception
org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Invalid
WSDD element 'deployment' (wanted 'deployment')
 at org.apache.axis.AxisEngine.init(AxisEngine.java:175)
 at org.apache.axis.AxisEngine.<init>(AxisEngine.java:158)
 at org.apache.axis.server.AxisServer.<init>(AxisServer.java:121)
 at
org.apache.axis.server.DefaultAxisServerFactory.createNewServer(DefaultAxisS
erverFactory.java:155)
 at
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerF
actory.java:93)
 at org.apache.axis.server.AxisServer.getServer(AxisServer.java:105)
 at
org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:202)
 at
org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:166)
 at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:215)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
 at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
6)
 at com.caucho.server.http.Invocation.service(Invocation.java:311)
 at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:218)
 at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:160)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
 at java.lang.Thread.run(Thread.java:479)
============================================================================
==


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, May 28, 2002 11:53 PM
Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin
2.1.0


> Jose,
>
> I have similarly had success with Resin 2.1.1 and Axis beta 2 on Red Hat
7.3
> using the IBM JDK 1.3.1.  I have not defined JAVA_HOME or CLASSPATH.  If
you
> need details on my installation, let me know.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, May 28, 2002 10:19 PM
> Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin
2.1.0
>
>
> > Jose,
> >
> > I had no problem getting the beta2 distribution of Axis working under
Resin
> > 2.1.1.  Perhaps there is a problem with 2.1.0?  Working on Windows 2000,
here
> is
> > what I did:
> >
> > 1. Unzip xml-axis-beta2.zip to i:\ (so Axis root is i:\xml-axis-beta2).
> > 2. Unzip resin-2.1.1.zip to i:\ (so Resin root is i:\resin-2.1.1).
> > 3. xcopy i:\xml-axis-beta2\webapps\axis\* i:\resin-2.1.1\webapps\axis /e
(to
> > make Axis a Resin webapp).
> > 4. i:\resin-2.1.1\bin\httpd (to start Resin).
> > 5. Surf to http://localhost:8080/axis (to see welcome page).
> > 6. Click link to http://localhost:8080/axis/servlet/AxisServlet (to see
some
> > services).
> >
> > Other things of note:
> >
> > * I have JAVA_HOME=j:\jdk1.3.1 (the Sun JDK) in my environment.
> > * j:\jdk1.3.1\jre\lib\ext is empty.
> > * I have
> >
CLASSPATH=.;j:\soap-2_2\lib\soap.jar;j:\soap-2_2;j:\xerces-1_2_3\xerces.jar;
> >
>
k:\progra~1\allaire\jrun\lib\ext\mail.jar;k:\progra~1\allaire\jrun\lib\ext\a
ctiv
> > ation.jar;
> > k:\progra~1\allaire\jrun\lib\ext\jaxp.jar
> >
> > As I said, maybe 2.1.1 changes something important from 2.1.0.  Or
perhaps
> there
> > is something about the JDK, environment or OS you are using.  Can you
post
> some
> > more details about your environment?
> >
> > Scott Nichol
> >


Re: Please Help-me - Basic install of Axis Beta2 on Resin 2.1.1 Web Server

Posted by "Jose Airton F. da Silva" <ja...@hotmail.com>.
Hi Scott Nichol,

I'm still having problem with Axis  and Resin.

My environment is now with Windows 2000 server, Sun JDK 1.3.1, Resin 2.1.1 e
Axis Beta2.

I did this:

 1. Unzip xml-axis-beta2.zip to e:\ (so Axis root is e:\xml-axis-beta2).
 2. Unzip resin-2.1.1.zip  to   e:\ (so Resin root is e:\resin-2.1.1).
 3. xcopy e:\xml-axis-beta2\webapps\axis\*   e:\resin-2.1.1\webapps\axis /e
(to  make Axis a Resin webapp).
 4. e:\resin-2.1.1\bin\httpd (to start Resin).
 5. Surf to http://localhost:8080/axis - OK - I saw welcome page.
6. Click link to http://localhost:8080/axis/servlet/AxisServlet  - OK - I
saw some services.

After that I deployed the service. The service name is "InvertStrService". I
deployed the service successfully with the following command line:

     java
g.apache.axis.client.AdminClient   -lhttp://localhost:8080/axis/services/Adm
inService deploy.wsdd

The Axis engine built the file "server-config.wsdd". This file is in the
e:\Resin-2.1.1\webapps\axis\WEB-INF directory.

After that I tried to surf to
http://localhost:8080/axis/services/InvertStrService?wsdl. It happened a new
error.

I got the error shown below. I am sending some files to you.

Thansk for help,

Jose.

========================================================================
500 Servlet Exception
org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Invalid
WSDD element 'deployment' (wanted 'deployment')
 at org.apache.axis.AxisEngine.init(AxisEngine.java:175)
 at org.apache.axis.AxisEngine.<init>(AxisEngine.java:158)
 at org.apache.axis.server.AxisServer.<init>(AxisServer.java:121)
 at
org.apache.axis.server.DefaultAxisServerFactory.createNewServer(DefaultAxisS
erverFactory.java:155)
 at
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerF
actory.java:93)
 at org.apache.axis.server.AxisServer.getServer(AxisServer.java:105)
 at
org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:202)
 at
org.apache.axis.transport.http.AxisServlet.getEngine(AxisServlet.java:166)
 at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:215)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
 at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
6)
 at com.caucho.server.http.Invocation.service(Invocation.java:311)
 at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
 at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:218)
 at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:160)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
 at java.lang.Thread.run(Thread.java:479)
============================================================================
==


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, May 28, 2002 11:53 PM
Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin
2.1.0


> Jose,
>
> I have similarly had success with Resin 2.1.1 and Axis beta 2 on Red Hat
7.3
> using the IBM JDK 1.3.1.  I have not defined JAVA_HOME or CLASSPATH.  If
you
> need details on my installation, let me know.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, May 28, 2002 10:19 PM
> Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin
2.1.0
>
>
> > Jose,
> >
> > I had no problem getting the beta2 distribution of Axis working under
Resin
> > 2.1.1.  Perhaps there is a problem with 2.1.0?  Working on Windows 2000,
here
> is
> > what I did:
> >
> > 1. Unzip xml-axis-beta2.zip to i:\ (so Axis root is i:\xml-axis-beta2).
> > 2. Unzip resin-2.1.1.zip to i:\ (so Resin root is i:\resin-2.1.1).
> > 3. xcopy i:\xml-axis-beta2\webapps\axis\* i:\resin-2.1.1\webapps\axis /e
(to
> > make Axis a Resin webapp).
> > 4. i:\resin-2.1.1\bin\httpd (to start Resin).
> > 5. Surf to http://localhost:8080/axis (to see welcome page).
> > 6. Click link to http://localhost:8080/axis/servlet/AxisServlet (to see
some
> > services).
> >
> > Other things of note:
> >
> > * I have JAVA_HOME=j:\jdk1.3.1 (the Sun JDK) in my environment.
> > * j:\jdk1.3.1\jre\lib\ext is empty.
> > * I have
> >
CLASSPATH=.;j:\soap-2_2\lib\soap.jar;j:\soap-2_2;j:\xerces-1_2_3\xerces.jar;
> >
>
k:\progra~1\allaire\jrun\lib\ext\mail.jar;k:\progra~1\allaire\jrun\lib\ext\a
ctiv
> > ation.jar;
> > k:\progra~1\allaire\jrun\lib\ext\jaxp.jar
> >
> > As I said, maybe 2.1.1 changes something important from 2.1.0.  Or
perhaps
> there
> > is something about the JDK, environment or OS you are using.  Can you
post
> some
> > more details about your environment?
> >
> > Scott Nichol
> >


Re: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0

Posted by Scott Nichol <sn...@scottnichol.com>.
Jose,

I have similarly had success with Resin 2.1.1 and Axis beta 2 on Red Hat 7.3
using the IBM JDK 1.3.1.  I have not defined JAVA_HOME or CLASSPATH.  If you
need details on my installation, let me know.

Scott Nichol

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, May 28, 2002 10:19 PM
Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0


> Jose,
>
> I had no problem getting the beta2 distribution of Axis working under Resin
> 2.1.1.  Perhaps there is a problem with 2.1.0?  Working on Windows 2000, here
is
> what I did:
>
> 1. Unzip xml-axis-beta2.zip to i:\ (so Axis root is i:\xml-axis-beta2).
> 2. Unzip resin-2.1.1.zip to i:\ (so Resin root is i:\resin-2.1.1).
> 3. xcopy i:\xml-axis-beta2\webapps\axis\* i:\resin-2.1.1\webapps\axis /e (to
> make Axis a Resin webapp).
> 4. i:\resin-2.1.1\bin\httpd (to start Resin).
> 5. Surf to http://localhost:8080/axis (to see welcome page).
> 6. Click link to http://localhost:8080/axis/servlet/AxisServlet (to see some
> services).
>
> Other things of note:
>
> * I have JAVA_HOME=j:\jdk1.3.1 (the Sun JDK) in my environment.
> * j:\jdk1.3.1\jre\lib\ext is empty.
> * I have
> CLASSPATH=.;j:\soap-2_2\lib\soap.jar;j:\soap-2_2;j:\xerces-1_2_3\xerces.jar;
>
k:\progra~1\allaire\jrun\lib\ext\mail.jar;k:\progra~1\allaire\jrun\lib\ext\activ
> ation.jar;
> k:\progra~1\allaire\jrun\lib\ext\jaxp.jar
>
> As I said, maybe 2.1.1 changes something important from 2.1.0.  Or perhaps
there
> is something about the JDK, environment or OS you are using.  Can you post
some
> more details about your environment?
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Jose Airton F. da Silva" <ja...@hotmail.com>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, May 28, 2002 6:23 PM
> Subject: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0
>
>
> > I installed the Axis context in webapps directory of Resin web server.
> > I started Resin web server and I invoked the URL http://localhost:8080/axis/
> > . The web server answered with the Apache-Axis page, without any problem.
> > When I attempt to invoke the URL
> > http://localhost:8080/axis/servlet/AxisServlet, I got the error shown below.
> >
> > I don't know what happen.
> >
> > Could someone help me?
> >
> > Jose Airton.
> >
> >
> > ERROR:
> >
> > 500 Servlet Exception
> > org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
> > org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Must
> > include type attribute for Handler deployment!
> >  at org.apache.axis.AxisEngine.init(Unknown Source)
> >  at org.apache.axis.AxisEngine.<init>(Unknown Source)
> >  at org.apache.axis.server.AxisServer.<init>(Unknown Source)
> >  at org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown
> > Source)
> >  at org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown
> > Source)
> >  at org.apache.axis.server.AxisServer.getServer(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.doGet(Unknown Source)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> >  at
> > com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
> > 5)
> >  at com.caucho.server.http.Invocation.service(Invocation.java:291)
> >  at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
> >  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:217)
> >  at
> > com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
> >  at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
> >  at java.lang.Thread.run(Thread.java:479)
> >
>
>


Problems with Axis beta2 on Resin 2.1.1 server

Posted by "Jose Airton F. Silva" <ja...@hotmail.com>.
Please, I need help. Could someone help me?

I'm using Windows 2000 server, Axis beta2, Resin 2.1.1, Sun JDK 1.3.1_03,
and Microsoft Internet Explorer 5.00.

I  installed and run Axis beta2 on Tomcat 4.0.2.
I successfully deployed and invoked my "InvertStrService" web service.

I  installed and run Axis beta2 on Resin 2.1.1.
I successfully  surfed  to http://localhost:8080/axis and
http://localhost:8080/axis/servlet/AxisServlet.
But the Axis server created a wrong SERVER-CONFIG. WSDD when I deployed the
"InvertStrService"  web service.

I tried to use on Resin 2.1.1 the SERVER-CONFIG. WSDD  file created by Axis
beta2 on Tomcat 4.0.2 but I got an error when I try to surf to
http://localhost:8080/axis/services/InvertStrService?wsdl. That error is
returned by Internet Explorer browser. The error is shown below.

I reported this error as bug (#9510) but I didn't get an answer until this
moment.

Thanks,

Jose.

****************************************************************
SERVER-CONFIG.WSDD FILE CREATED BY AXIS BETA2 ON RESIN 2.1.1
****************************************************************

<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns:="http://xml.apache.org/axis/wsdd/"
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:="http://www.w3.org/2000/xmlns/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <globalConfiguration xmlns:="http://xml.apache.org/axis/wsdd/">
  <parameter name="adminPassword" value="admin"/>
  <parameter name="attachments.Directory" value="E:\resin-2.1.1
\webapps\axis\WEB-INF\attachments"/>
  <parameter name="attachments.implementation"
value="org.apache.axis.attachments.AttachmentsImpl"/>
  <parameter name="sendXsiTypes" value="true"/>
  <parameter name="sendMultiRefs" value="true"/>
  <parameter name="sendXMLDeclaration" value="true"/>
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler"/>
  </requestFlow>
 </globalConfiguration>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="MsgDispatcher"
type="java:org.apache.axis.providers.java.MsgProvider"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="RPCDispatcher"
type="java:org.apache.axis.providers.java.RPCProvider"/>
 <service xmlns:="http://xml.apache.org/axis/wsdd/" name="AdminService"
provider="java:MSG">
  <parameter name="allowedMethods" value="AdminService"/>
  <parameter name="enableRemoteAdmin" value="false"/>
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
 </service>
 <service xmlns:="http://xml.apache.org/axis/wsdd/" name="InvertStrService"
provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" value="invertstr.InvertStr"/>
 </service>
 <service xmlns:="http://xml.apache.org/axis/wsdd/" name="Version"
provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service>
 <transport xmlns:="http://xml.apache.org/axis/wsdd/" name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
 </transport>
 <transport xmlns:="http://xml.apache.org/axis/wsdd/" name="local">
  <responseFlow>
   <handler type="java:org.apache.axis.transport.local.LocalResponder"/>
  </responseFlow>
 </transport>
</deployment>

*******************
DEPLOY.WSDD FILE
*******************

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 <service name="InvertStrService" provider="java:RPC">
  <parameter name="className" value="invertstr.InvertStr"/>
  <parameter name="allowedMethods" value="*"/>
 </service>

</deployment>


****************************************
ERROR RETURNED BY INTERNET EXPLORER
****************************************

  The XML page cannot be displayed
  Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.


----------------------------------------------------------------------------
--

  Duplicate attribute. Line 2, Position 483



<wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/InvertStrService"
xmlns:="" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:intf="http://localhost:8080/axis/services/InvertStrService"
xmlns:impl="http://localhost:8080/axis/services/InvertStrService-impl"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:="http://www.w3.org/2000/xmlns/">
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------^



(---- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, May 28, 2002 11:19 PM
Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin
2.1.0


> Jose,
>
> I had no problem getting the beta2 distribution of Axis working under
Resin
> 2.1.1.  Perhaps there is a problem with 2.1.0?  Working on Windows 2000,
here is
> what I did:
>
> 1. Unzip xml-axis-beta2.zip to i:\ (so Axis root is i:\xml-axis-beta2).
> 2. Unzip resin-2.1.1.zip to i:\ (so Resin root is i:\resin-2.1.1).
> 3. xcopy i:\xml-axis-beta2\webapps\axis\* i:\resin-2.1.1\webapps\axis /e
(to
> make Axis a Resin webapp).
> 4. i:\resin-2.1.1\bin\httpd (to start Resin).
> 5. Surf to http://localhost:8080/axis (to see welcome page).
> 6. Click link to http://localhost:8080/axis/servlet/AxisServlet (to see
some
> services).
>
> Other things of note:
>
> * I have JAVA_HOME=j:\jdk1.3.1 (the Sun JDK) in my environment.
> * j:\jdk1.3.1\jre\lib\ext is empty.
> * I have
>
CLASSPATH=.;j:\soap-2_2\lib\soap.jar;j:\soap-2_2;j:\xerces-1_2_3\xerces.jar;
>
k:\progra~1\allaire\jrun\lib\ext\mail.jar;k:\progra~1\allaire\jrun\lib\ext\a
ctiv
> ation.jar;
> k:\progra~1\allaire\jrun\lib\ext\jaxp.jar
>
> As I said, maybe 2.1.1 changes something important from 2.1.0.  Or perhaps
there
> is something about the JDK, environment or OS you are using.  Can you post
some
> more details about your environment?
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Jose Airton F. da Silva" <ja...@hotmail.com>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, May 28, 2002 6:23 PM
> Subject: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0
>
>
> > I installed the Axis context in webapps directory of Resin web server.
> > I started Resin web server and I invoked the URL
http://localhost:8080/axis/
> > . The web server answered with the Apache-Axis page, without any
problem.
> > When I attempt to invoke the URL
> > http://localhost:8080/axis/servlet/AxisServlet, I got the error shown
below.
> >
> > I don't know what happen.
> >
> > Could someone help me?
> >
> > Jose Airton.
> >
> >
> > ERROR:
> >
> > 500 Servlet Exception
> > org.apache.axis.InternalException:
org.apache.axis.ConfigurationException:
> > org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Must
> > include type attribute for Handler deployment!
> >  at org.apache.axis.AxisEngine.init(Unknown Source)
> >  at org.apache.axis.AxisEngine.<init>(Unknown Source)
> >  at org.apache.axis.server.AxisServer.<init>(Unknown Source)
> >  at
org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown
> > Source)
> >  at org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown
> > Source)
> >  at org.apache.axis.server.AxisServer.getServer(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.doGet(Unknown Source)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> >  at
> >
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
> > 5)
> >  at com.caucho.server.http.Invocation.service(Invocation.java:291)
> >  at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
> >  at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:217)
> >  at
> >
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
> >  at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
> >  at java.lang.Thread.run(Thread.java:479)
> >
>
>


Problems with Axis beta2 on Resin 2.1.1 server

Posted by "Jose Airton F. Silva" <ja...@hotmail.com>.
Please, I need help. Could someone help me?

I'm using Windows 2000 server, Axis beta2, Resin 2.1.1, Sun JDK 1.3.1_03,
and Microsoft Internet Explorer 5.00.

I  installed and run Axis beta2 on Tomcat 4.0.2.
I successfully deployed and invoked my "InvertStrService" web service.

I  installed and run Axis beta2 on Resin 2.1.1.
I successfully  surfed  to http://localhost:8080/axis and
http://localhost:8080/axis/servlet/AxisServlet.
But the Axis server created a wrong SERVER-CONFIG. WSDD when I deployed the
"InvertStrService"  web service.

I tried to use on Resin 2.1.1 the SERVER-CONFIG. WSDD  file created by Axis
beta2 on Tomcat 4.0.2 but I got an error when I try to surf to
http://localhost:8080/axis/services/InvertStrService?wsdl. That error is
returned by Internet Explorer browser. The error is shown below.

I reported this error as bug (#9510) but I didn't get an answer until this
moment.

Thanks,

Jose.

****************************************************************
SERVER-CONFIG.WSDD FILE CREATED BY AXIS BETA2 ON RESIN 2.1.1
****************************************************************

<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns:="http://xml.apache.org/axis/wsdd/"
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:="http://www.w3.org/2000/xmlns/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <globalConfiguration xmlns:="http://xml.apache.org/axis/wsdd/">
  <parameter name="adminPassword" value="admin"/>
  <parameter name="attachments.Directory" value="E:\resin-2.1.1
\webapps\axis\WEB-INF\attachments"/>
  <parameter name="attachments.implementation"
value="org.apache.axis.attachments.AttachmentsImpl"/>
  <parameter name="sendXsiTypes" value="true"/>
  <parameter name="sendMultiRefs" value="true"/>
  <parameter name="sendXMLDeclaration" value="true"/>
  <requestFlow>
   <handler type="java:org.apache.axis.handlers.JWSHandler"/>
  </requestFlow>
 </globalConfiguration>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="MsgDispatcher"
type="java:org.apache.axis.providers.java.MsgProvider"/>
 <handler xmlns:="http://xml.apache.org/axis/wsdd/" name="RPCDispatcher"
type="java:org.apache.axis.providers.java.RPCProvider"/>
 <service xmlns:="http://xml.apache.org/axis/wsdd/" name="AdminService"
provider="java:MSG">
  <parameter name="allowedMethods" value="AdminService"/>
  <parameter name="enableRemoteAdmin" value="false"/>
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
 </service>
 <service xmlns:="http://xml.apache.org/axis/wsdd/" name="InvertStrService"
provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" value="invertstr.InvertStr"/>
 </service>
 <service xmlns:="http://xml.apache.org/axis/wsdd/" name="Version"
provider="java:RPC">
  <parameter name="allowedMethods" value="getVersion"/>
  <parameter name="className" value="org.apache.axis.Version"/>
 </service>
 <transport xmlns:="http://xml.apache.org/axis/wsdd/" name="http">
  <requestFlow>
   <handler type="URLMapper"/>
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
  </requestFlow>
 </transport>
 <transport xmlns:="http://xml.apache.org/axis/wsdd/" name="local">
  <responseFlow>
   <handler type="java:org.apache.axis.transport.local.LocalResponder"/>
  </responseFlow>
 </transport>
</deployment>

*******************
DEPLOY.WSDD FILE
*******************

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 <service name="InvertStrService" provider="java:RPC">
  <parameter name="className" value="invertstr.InvertStr"/>
  <parameter name="allowedMethods" value="*"/>
 </service>

</deployment>


****************************************
ERROR RETURNED BY INTERNET EXPLORER
****************************************

  The XML page cannot be displayed
  Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.


----------------------------------------------------------------------------
--

  Duplicate attribute. Line 2, Position 483



<wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/InvertStrService"
xmlns:="" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:intf="http://localhost:8080/axis/services/InvertStrService"
xmlns:impl="http://localhost:8080/axis/services/InvertStrService-impl"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:="http://www.w3.org/2000/xmlns/">
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------------------------^



(---- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, May 28, 2002 11:19 PM
Subject: Re: Please Help-me - Basic install of Axis on Web Server Resin
2.1.0


> Jose,
>
> I had no problem getting the beta2 distribution of Axis working under
Resin
> 2.1.1.  Perhaps there is a problem with 2.1.0?  Working on Windows 2000,
here is
> what I did:
>
> 1. Unzip xml-axis-beta2.zip to i:\ (so Axis root is i:\xml-axis-beta2).
> 2. Unzip resin-2.1.1.zip to i:\ (so Resin root is i:\resin-2.1.1).
> 3. xcopy i:\xml-axis-beta2\webapps\axis\* i:\resin-2.1.1\webapps\axis /e
(to
> make Axis a Resin webapp).
> 4. i:\resin-2.1.1\bin\httpd (to start Resin).
> 5. Surf to http://localhost:8080/axis (to see welcome page).
> 6. Click link to http://localhost:8080/axis/servlet/AxisServlet (to see
some
> services).
>
> Other things of note:
>
> * I have JAVA_HOME=j:\jdk1.3.1 (the Sun JDK) in my environment.
> * j:\jdk1.3.1\jre\lib\ext is empty.
> * I have
>
CLASSPATH=.;j:\soap-2_2\lib\soap.jar;j:\soap-2_2;j:\xerces-1_2_3\xerces.jar;
>
k:\progra~1\allaire\jrun\lib\ext\mail.jar;k:\progra~1\allaire\jrun\lib\ext\a
ctiv
> ation.jar;
> k:\progra~1\allaire\jrun\lib\ext\jaxp.jar
>
> As I said, maybe 2.1.1 changes something important from 2.1.0.  Or perhaps
there
> is something about the JDK, environment or OS you are using.  Can you post
some
> more details about your environment?
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Jose Airton F. da Silva" <ja...@hotmail.com>
> To: <ax...@xml.apache.org>
> Sent: Tuesday, May 28, 2002 6:23 PM
> Subject: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0
>
>
> > I installed the Axis context in webapps directory of Resin web server.
> > I started Resin web server and I invoked the URL
http://localhost:8080/axis/
> > . The web server answered with the Apache-Axis page, without any
problem.
> > When I attempt to invoke the URL
> > http://localhost:8080/axis/servlet/AxisServlet, I got the error shown
below.
> >
> > I don't know what happen.
> >
> > Could someone help me?
> >
> > Jose Airton.
> >
> >
> > ERROR:
> >
> > 500 Servlet Exception
> > org.apache.axis.InternalException:
org.apache.axis.ConfigurationException:
> > org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Must
> > include type attribute for Handler deployment!
> >  at org.apache.axis.AxisEngine.init(Unknown Source)
> >  at org.apache.axis.AxisEngine.<init>(Unknown Source)
> >  at org.apache.axis.server.AxisServer.<init>(Unknown Source)
> >  at
org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown
> > Source)
> >  at org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown
> > Source)
> >  at org.apache.axis.server.AxisServer.getServer(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
> >  at org.apache.axis.transport.http.AxisServlet.doGet(Unknown Source)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> >  at
> >
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
> > 5)
> >  at com.caucho.server.http.Invocation.service(Invocation.java:291)
> >  at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
> >  at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:217)
> >  at
> >
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
> >  at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
> >  at java.lang.Thread.run(Thread.java:479)
> >
>
>


Re: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0

Posted by Scott Nichol <sn...@scottnichol.com>.
Jose,

I had no problem getting the beta2 distribution of Axis working under Resin
2.1.1.  Perhaps there is a problem with 2.1.0?  Working on Windows 2000, here is
what I did:

1. Unzip xml-axis-beta2.zip to i:\ (so Axis root is i:\xml-axis-beta2).
2. Unzip resin-2.1.1.zip to i:\ (so Resin root is i:\resin-2.1.1).
3. xcopy i:\xml-axis-beta2\webapps\axis\* i:\resin-2.1.1\webapps\axis /e (to
make Axis a Resin webapp).
4. i:\resin-2.1.1\bin\httpd (to start Resin).
5. Surf to http://localhost:8080/axis (to see welcome page).
6. Click link to http://localhost:8080/axis/servlet/AxisServlet (to see some
services).

Other things of note:

* I have JAVA_HOME=j:\jdk1.3.1 (the Sun JDK) in my environment.
* j:\jdk1.3.1\jre\lib\ext is empty.
* I have
CLASSPATH=.;j:\soap-2_2\lib\soap.jar;j:\soap-2_2;j:\xerces-1_2_3\xerces.jar;
k:\progra~1\allaire\jrun\lib\ext\mail.jar;k:\progra~1\allaire\jrun\lib\ext\activ
ation.jar;
k:\progra~1\allaire\jrun\lib\ext\jaxp.jar

As I said, maybe 2.1.1 changes something important from 2.1.0.  Or perhaps there
is something about the JDK, environment or OS you are using.  Can you post some
more details about your environment?

Scott Nichol

----- Original Message -----
From: "Jose Airton F. da Silva" <ja...@hotmail.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, May 28, 2002 6:23 PM
Subject: Please Help-me - Basic install of Axis on Web Server Resin 2.1.0


> I installed the Axis context in webapps directory of Resin web server.
> I started Resin web server and I invoked the URL http://localhost:8080/axis/
> . The web server answered with the Apache-Axis page, without any problem.
> When I attempt to invoke the URL
> http://localhost:8080/axis/servlet/AxisServlet, I got the error shown below.
>
> I don't know what happen.
>
> Could someone help me?
>
> Jose Airton.
>
>
> ERROR:
>
> 500 Servlet Exception
> org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
> org.apache.axis.deployment.wsdd.WSDDException: java.lang.Exception: Must
> include type attribute for Handler deployment!
>  at org.apache.axis.AxisEngine.init(Unknown Source)
>  at org.apache.axis.AxisEngine.<init>(Unknown Source)
>  at org.apache.axis.server.AxisServer.<init>(Unknown Source)
>  at org.apache.axis.server.DefaultAxisServerFactory.createNewServer(Unknown
> Source)
>  at org.apache.axis.server.DefaultAxisServerFactory.getServer(Unknown
> Source)
>  at org.apache.axis.server.AxisServer.getServer(Unknown Source)
>  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
>  at org.apache.axis.transport.http.AxisServlet.getEngine(Unknown Source)
>  at org.apache.axis.transport.http.AxisServlet.doGet(Unknown Source)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
>  at
> com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
> 5)
>  at com.caucho.server.http.Invocation.service(Invocation.java:291)
>  at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
>  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:217)
>  at
> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:159)
>  at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
>  at java.lang.Thread.run(Thread.java:479)
>