on 03-23-2007 6:37 AM
Hi,
I have built a par. Now I want to package it into an ear, as I want to use application-j2ee-engine.xml. I've read Packaging PARs in J2EE Applications and add
the following to application-J2ee-engine.xml:
<modules-additional>
<module>
<entry-name>
KMCTitan.par
</entry-name>
<container-type>
PortalRuntimeContainer
</container-type>
</module>
</modules-additional>
But, my question is, where should this KMCTitan.jar be placed?
I am using NWDS.
Thanks,
Ray
hai ,
create j2ee library project >add jars in server-provider.xml> deploy it
open application-j2ee -engine.xml --> in general tab add reference to that library project.
this will solve your problem.
regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ray,
par2sda.bat calls sapmake.bat which uses ant from the following location:
%SAPIDE_HOME%JDTeclipsepluginsorg.apache.ant_1.5.3
Please check if you have strictly followed SAP note 696084 and have set the environment variable SAPIDE_HOME correctly. Also, check if ant.jar and optional.jar are present in the location mentioned above.
Hope it helps!
-Vladimir
Ray,
As per the J2EE specification, we should put all the .jar files in lib folder.
I suggest you to follow the same..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ray
Please see SAP note 696084
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shilpa,
Thanks for help. I have download sapmake_util from Note 696084 and followed all steps.
However, when I run par2sda,
java.lang.NoClassDefFoundException: org.apache.tools.ant.Main
.
I have already installed ant and put ant.jar in classpath. So what could be the cause of this error?
Thanks,
Ray
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.