on 08-05-2008 10:03 PM
Hello,
I am creating a web application dynpro.
And I use a model JavaBeans.
So for this, I think the dictionary, I create an ejb and a draft java.
Then what I have to do is load. Jar in the web application dynpro.
And since the properties of the project web dynpro I must add two jar.
The next step is to create a model from JavaBeans ....
when I want to do this tells me that I can not JavaBeans is invalid.
If someone can help me.
Thank you
HI,
U r missing one more jar file is ejb20.jar..
add this jar too in..
For this u need to switch webdynpro perspective->properties of proct->java build path-> libraries..
like this you'll add all thre jars in java buildpath..
Save metadata..
U can go through this link n check ur steps,this link will give you all d information regarding the How to import java Bean model.
It will b really hlepful for you..
Link: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
Regards,
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Already follow in the footsteps of the guide and still does not work well.
Estubo watching and when I deploy the project jar of ear, I miss the following error:
Aug 6, 2008 7:16:21 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[002]Deployment aborted
Settings
SDM host : gyxpws010
SDM port : 50018
URL to deploy : file:/C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp24610Ear.ear
Result
=> deployment aborted : file:/C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/temp24610Ear.ear
Aborted: development component 'Ear'/'sap.com'/'localhost'/'2008.08.06.07.16.15':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application sap.com/Ear.. Reason: null; nested exception is: java.lang.NullPointerException
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
It may be caused by what the JavaBeans model can not be imported.
Thank you
Hi,
Thre is some problem with your javaBean project check ur J2EE project, I think problem could b with your javabeans.
And check whether you r giving refrence of ur java project (which contains wrapper class for your beans ) or not??
After checking this Create jar of wrapper class then create jar
file for ejb project again..using Build Archive option.
then create Ear file for Ear project using Build Archive option..then deploy this new Ear file... try it out..
Regards,
Khushboo
hi,
have u add all jar file to the lib of web dynpro project classpath?
you have to put the .jar file of the EJB Module Project and the jar file Java Project in the library folder of the Web Dynpro application.do as follow
1. Switch to the Navigator View and select your EJB project
-> ejbapplication.jar. From the context menu, select Copy and navigate to web dynpro application -> lib. Select Paste from the context menu.
2. Proceed in the same way with the JAR file of your Java project.
3. Add the two JAR Files to the classpath of your Web Dynpro project.
4. Add also the ejb20.jar to the classpath. Use the classpath variable TSSAP_JAVAX_HOME.
and then save aal metadata and create model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.