weblogic 9
unix
I am having a problem with packaging my ear file. Weblogic cant find any classes within my ear file.
The structure i have:
ear file:
.
./lib
./lib/jaxen-1.1-beta-9.jar
./lib/commons-logging.jar
./lib/aif-j2ee.jar
./lib/commons-codec.jar
./lib/acfglib.jar
./lib/commons-fileupload.j
ar
./lib/UIFFormLayout.jar
./lib/velocity-dep-1.4.jar
./lib/commons-httpclient.j
ar
./lib/jdom.jar
./dfgeif.jar
./fdbackendadapter.war
./META-INF/<manifest>
./META-INF/application.xml
fdbackendadapter.war:
./WEB-INF/lib/<libraries>
./WEB-INF/web.xml
./META-INF/<manifest>
web.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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 id="WebApp">
<display-name>
Client Server
</display-name>
<description>
Client Server
</description>
<servlet>
<servlet-name>UServer</ser
vlet-name>
<servlet-class>bl.u.server
.UControll
er</servle
t-class>
</servlet>
<servlet-mapping>
<servlet-name>UServer</ser
vlet-name>
<url-pattern>*</url-patter
n>
</servlet-mapping>
</web-app>
weblogic.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "
http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<!--
NOTE: If you are deploying the EAR file or the exploded EAR, this tag no
longer sets the context root. To specify the context root of the web
application, set the <context-root> tag in the META-INF/application.xml
file of this EAR file instead.
-->
<context-root>
/UServer
</context-root>
</weblogic-web-app>
application.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "
http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>BEA_WLS_SAMP
LE_ADK</di
splay-name
>
<description>This is a J2EE application that contains a sample connector and Web application for configuring application views for the adapter.</description>
<module>
<web id="uif-server">
<web-uri>fdbackendadapter.
war</web-u
ri>
<context-root>/UServer</co
ntext-root
>
</web>
</module>
</application>
Start Free Trial