Hello

We are trying to integrate Axis 1.1 with WLS 8.1. Specifically,what we need
todois expose a service object of an existing Web Application as a Web
Service. Please note that in this scenario, WLS is only used as a servlet
container, so we chose to go about it using Apache Axis.

Following the instructions given in
http://ws.apache.org/axis/java/install.html#advanced, we added the necessary
jar files in the WEB-INF/lib directory of our web app and also added the
following fragment to the web.xml descriptor:

<servlet>
<servlet-name>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>*.jws</url-pattern>
</servlet-mapping>

However, when trying to access a test .jws file located at the web app root
folder, we get a HTTP 500 erro with the following stacktrace:

Error 500--Internal Server Error 
javax.servlet.ServletException:
[HTTP:101249][ServletContext(id=3724904,name=Gesddb,context-path=/Gesddb)]:
Servlet class com.bea.wlw.runtime.core.dispatcher.HttpServer for servlet
*.jws could not be loaded because the requested class was not found in the
classpath
C:\eclipse\workspace\GESDDB\Gesddb;C:\eclipse\workspace\GESDDB\Gesddb\WEB-IN
F\classes;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnot
delete\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\aopalliance
30110.jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnot
delete\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\asm30111.ja
r;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\e
xtract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\axis-ant30112.jar;C
:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extr
act\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\axis30113.jar;C:\bea\w
eblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\exa
mplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\cglib-2.030114.jar;C:\bea\web
logic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examp
lesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\commons-collections30115.jar;C:
\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extra
ct\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\commons-discovery30116.
jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete
\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\commons-fileuploa
d30117.jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlno
tdelete\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\commons-lo
gging30118.jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.
wlnotdelete\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\dom4j3
0119.jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotd
elete\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\ehcache30120
.jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelet
e\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\hibernate230121.
jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete
\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\itext-1.02b30122.
jar;C:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete
\extract\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\jaxrpc30123.jar;C
:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extr
act\examplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\jstl30124.jar;C:\bea\w
eblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\exa
mplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\log4j-1.2.830125.jar;C:\bea\w
eblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\exa
mplesServer_Gesddb_Gesddb\jarfiles\WEB-INF\lib\odmg30126.jar;C:\bea\weblogic
81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesSe
rver_Gesddb_Gesddb\jarfiles\WEB-INF\lib\saaj30127.jar;C:\bea\weblogic81\samp
les\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Ge
sddb_Gesddb\jarfiles\WEB-INF\lib\spring30128.jar;C:\bea\weblogic81\samples\d
omains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Gesddb_
Gesddb\jarfiles\WEB-INF\lib\standard30129.jar;C:\bea\weblogic81\samples\doma
ins\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_Gesddb_Ges
ddb\jarfiles\WEB-INF\lib\wsdl4j30130.jar.
java.lang.ClassNotFoundException:
com.bea.wlw.runtime.core.dispatcher.HttpServer.
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:794)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:50
4)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:349)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6310)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3622)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170 

The web app itself is operating fine. The fact that the missing class name
is com.bea.wlw.runtime.core.dispatcher.HttpServer seems to imply an
association of jws files with Workshop? Please note that during
development/testing we have chosen to deploy the web app to the examples
domain- could this be related?

Any help is greatly appreciated. Has anyone else come across this?

Reply via email to