on 03-10-2006 11:51 AM
I was just trying my hand at Module programming and thought i wud start off with "Step by step guide to develop a module for reading file name in a sender file
adapter" by Krishnakumar Ramamoorthy.
Seems alls done but the problem is when i try to create bean archive (Page 10 of the pdf) it doesnt give me the option. Build EJB Archive link seems to be disabled in my case.
Any pointers Experts ??
ShaBZ
Try following:
Choose 'Package Explorer' view.
Close project, open project.
Choose 'J2EE Explorer' view.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ShaBZ,
have you added the ejb candidates to your ejb-jar.xml?
The error might be because you have everything in your workspace but the configuration file ejb-jar.xml does not know what is the class and rest of the details for your ejb. For checking this, go to J2EE explorer and you will see ejb candidates.Right click on it and select add to ejb-jar.xml. You should now see the Build EJB Archive option enabled.
Regards,
Amol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you see only these 3 then it means you have already added the ejb candidate to the ejb-jar.xml. In that case i would suggest you to :
1. expand ejb-jar.xml in the same view i.e. J2EE Explorer.
2. delete the ejb entry from there.
3. this will automatically refresh the view and will now show ejb candidates. now add the same as again to ejb-jar.xml
4. Now double click on ejb-jar.xml and go to source tab.Make sure the configuration values for following tags confirm to
---
<home>com.sap.aii.af.mp.module.ModuleHome</home>
<remote>com.sap.aii.af.mp.module.ModuleRemote</remote>
<local-home>com.sap.aii.af.mp.module.ModuleLocalHome</local-home>
<local>com.sap.aii.af.mp.module.ModuleLocal</local>
--
value for <ejb-class>
should be same as the fully qualified name of your module processor class.
Hope this helps.
~Amol
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.