on 02-06-2008 12:09 PM
Hi Experts,
When I am exporting as PAR file, in the par file I am not getting the jar files, which I am adding as external jar files in the java build path - Libraries
Please tell me the solution. urgent...
Regards,
Shyam
My problem got solved, Thanks for all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thanks for your response, still my problem is not solved. Actually in my project I am connecting to oracle database. As I included necessary jar files it is not giving any problems at compile time, but when I export as PAR file, and deploy in the server, it is not connecting to oracle database.
Can you please tell me how can I refer oracle drivers/ external jars at server?
Urgent...
Regards,
Shyam.
Edited by: Shyam on Feb 7, 2008 4:25 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Step 6 makes your third party jars available during runtime on your server since you put the dependency to runtime. I don't think you need/can reference your j2ee server dc in the portalapp.xml.
Summary of the link I sent you:
1. Create an External Library DC
2. Copy all of the Jars I needed to the libraries folder of this DC
3. Create two Public Parts (right click on the jar files in Package Explorer)
i) compilePart (with purpose compilation)
ii) assemblyPart (with purpose assembly)
4 Create a new DC of type J2EE Server Component / Library
5. Add a Used DC to the J2EE Library, reference the compilePart from previous step, and set Dependency type to Build
6. Add another Used DC, reference the assemblePart, this time select both Build and Runtime Dependency Types
7. Build and deploy.
Br
Göran
Shyam,
This may be helpful too....
/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shyam
The jars that you are adding to the java build path will not be included when you deploy the PAR file to the server. Follow this link on how to create deployable third party jars. /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Br
Göran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.