java - Weblogic Web Services - EJB (not a jar) returns NoClassDefFoundError -
i very new development , have inherited 10-year old application converted oas weblogic. 1 of operations of web service not work, while 2 do. when examining source, looks difference between 2 work , 1 not ejb-ref in web.xml
the ear deployed built ant , there no jar files within ear file or it's war file. when non-functioning operation called correct arguments weblogic web services testing page, returns:
java.lang.noclassdeffounderror: not initialize class org.geotools.cs.geographiccoordinatesystem
- the ear file contains /lib directory, meta-inf directory , war file.
- the war file contains classes directory, meta-inf directory , number of xml documents.
- the library in question error exists in /lib folder of ear.
the application xml looks this:
<?xml version='1.0' encoding='utf-8'?> <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" version="5"> <display-name>map viewer services</display-name> <module> <web> <web-uri>mapviewerservicesporttypeimpl.war</web-uri> <context-root>/outside/mapviewer</context-root> </web> </module> </application>
the weblogic-application.xml seems contain default information:
<?xml version='1.0' encoding='utf-8'?> <weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.3/weblogic-application.xsd"></weblogic-application>
the /web/web-inf/web.xml contains reference ejb:
<?xml version = '1.0' encoding = 'windows-1252'?> <!doctype web-app public "-//sun microsystems, inc.//dtd web application 2.3//en" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <description>web.xml file map viewer service application</description> <servlet> <servlet-name>mapviewerws</servlet-name> <servlet-class>oracle.j2ee.ws.statelessjavarpcwebservice</servlet-class> <init-param> <param-name>class-name</param-name> <param-value>ws1.mapviewer.mapviewerservices</param-value> </init-param> <init-param> <param-name>interface-name</param-name> <param-value>ws1.mapviewer.imapviewerws</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>mapviewerws</servlet-name> <url-pattern>/mapviewerws</url-pattern> </servlet-mapping> <session-config> <session-timeout>35</session-timeout> </session-config> <mime-mapping> <extension>html</extension> <mime-type>text/html</mime-type> </mime-mapping> <mime-mapping> <extension>txt</extension> <mime-type>text/plain</mime-type> </mime-mapping> <ejb-ref> <ejb-ref-name>ws1.mapviewer.notifiedresults</ejb-ref-name> <ejb-ref-type>session</ejb-ref-type> <home>ws1.mapviewer.notifiedresultshome</home> <remote>ws1.mapviewer.notifiedresults</remote> <ejb-link>ws1.mapviewer.notifiedresults</ejb-link> </ejb-ref> </web-app>
if not sufficient information able diagnose or suggest option, please let me know , can post additional details. in advance help!
Comments
Post a Comment