Bug using WEB-INF/lib Jar archives
Hi, I am running iPlanet 6.0Sp3 on Windows 2000. I deployed our Web
application in the form of a War file and it is now under the APPS/modules
directory as the following directory: APPS/modules/ourapp.
When I start the iPlanet Application Server, it fails to find any of the
classes in the Jar files in APPS/modules/ourapp/WEB-INF/lib/. Is this a bug?
One workaround is to unjar all of these files, but this is counter to the
J2EE spec. Another workaround is to modify the classpath in the iPlanet
registry, but this would expose the classes to other Web applications
running in the same server.
Thanks for any help. Martin
Hi Martin,
I think you are packinh up the jar file inside the war module, as far as i know
there should be no jar file inside the module/App-name dir tree.
all the modules either war or jar should be in <GX_ROOT_DIR>/JAR dir.
So try making the war module with class files only(static content can also be
added) with appropriate deployment descriptor.
I will mail you separately the procedure for creating a war file from deployment
tool gui.
Please mail me back if you have any other problems.
Sanjeev.
Developer Support Group iAS.
Martin Gilchrist wrote:
> Hi, I am running iPlanet 6.0Sp3 on Windows 2000. I deployed our Web
> application in the form of a War file and it is now under the APPS/modules
> directory as the following directory: APPS/modules/ourapp.
>
> When I start the iPlanet Application Server, it fails to find any of the
> classes in the Jar files in APPS/modules/ourapp/WEB-INF/lib/. Is this a bug?
>
> One workaround is to unjar all of these files, but this is counter to the
> J2EE spec. Another workaround is to modify the classpath in the iPlanet
> registry, but this would expose the classes to other Web applications
> running in the same server.
>
> Thanks for any help. Martin