on 12-24-2006 6:06 PM
Hello All,
I am trying to acces an EJB from a Web Dynpro, can you please suggest what I could have done wrong I have added all the required jar file, can you please suggest what could be wrong:
Dec 25, 2006 1:56:04 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: john/wd: Build failed for sap.com/john/wd(MyComponents) in variant "default":
The Build terminated with errors
------------------------------------- Build log ------------------------------------------------------
Build Plugin Version: 1.6.3 (630_REL) from 03 November 2004 12:47:57
Start: 25.12.2006 01:56:03
Temp dir: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9
prepare:
[mkdir] Created dir: C:Documents and Settingsjohn.dtcLocalDevelopmentDCssap.comjohnwd_compgendefaultdeploy
[mkdir] Created dir: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwdpackages
gen:
[ddgen]
[ddgen] [Info] Property deployment is true: Deployment information is provided!
[ddgen] [Info] Property sourcepath: C:Documents and Settingsjohn.dtcLocalDevelopmentDCssap.comjohnwd_compsrc/packages
[ddgen] [Info] Property targetpath: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9/gdd
[ddgen] [Info] Property archivename: sap.com~john~wd
[ddgen] [Info] Property vendor: sap.com
[ddgen] [Info] Property dcname: john/wd
[ddgen] [Info] Property language: Available languages are automatically determined!
[ddgen] [Info] Property addpaths ...
[ddgen] [Info] SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
[ddgen] [Info] SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
[ddgen] [Info] SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
[ddgen] [Info] SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
[ddgen] [Info] Destination directory C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gdd does not exist
[ddgen] [Info] Destination directory C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gdd is created
[ddgen] [Info] Initialize generation templates from configuration jar:file:/C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
[ddgen] [Info] Generating dbtables/sdmDeployDd.xml
[ddgen] [Info] Generation finished (0 seconds)
[ddgen]
[wdgen]
[wdgen] [Info] Property deployment is true: Deployment information is provided!
[wdgen] [Info] Property sourcepath: C:Documents and Settingsjohn.dtcLocalDevelopmentDCssap.comjohnwd_compsrc/packages
[wdgen] [Info] Property targetpath: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwd
[wdgen] [Info] Property archivename: sap.com~john~wd
[wdgen] [Info] Property vendor: sap.com
[wdgen] [Info] Property dcname: john/wd
[wdgen] [Info] Property language: Available languages are automatically determined!
[wdgen] [Info] Property addpaths ...
[wdgen] [Info] SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
[wdgen] [Info] SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
[wdgen] [Info] SapMetamodelWebdynproContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
[wdgen] [Info] SapMetamodelDictionaryContent.zip - C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_JTECHS/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
[wdgen] [Info] Initialize generation templates from configuration jar:file:/C:/Program Files/SAP/JDT/eclipse/plugins/com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
[wdgen] [Info] TextView DefaultTextView: UIElement does not have a label
[wdgen] [Info] Generating packages/myCompany/wdp/IPrivateMyAppView.java
[wdgen] [Info] Generating packages/myCompany/MyAppView.java
[wdgen] [Info] Generating packages/myCompany/wdp/InternalMyAppView.java
Warning: searching view element definition for TransparentContainer RootUIElementContainer
Warning: searching view element definition for FlowLayout Layout
Warning: searching view element definition for TextView DefaultTextView
Warning: searching view element definition for FlowData DefaultTextView_layoutdata
[wdgen] [Info] Generating packages/myCompany/wdp/IPublicMyApp.java
[wdgen] [Info] Generating packages/myCompany/wdp/IPrivateMyApp.java
[wdgen] [Info] Generating packages/myCompany/MyApp.java
[wdgen] [Info] Generating packages/myCompany/wdp/InternalMyApp.java
[wdgen] [Info] Generating packages/myCompany/wdp/IPublicMyAppInterfaceCfg.java
[wdgen] [Info] Generating packages/myCompany/wdp/IExternalMyAppInterfaceCfg.java
[wdgen] [Info] Generating packages/myCompany/wdp/IPrivateMyAppInterfaceCfg.java
[wdgen] [Info] Generating packages/myCompany/MyAppInterfaceCfg.java
[wdgen] [Info] Generating packages/myCompany/wdp/InternalMyAppInterfaceCfg.java
[wdgen] [Info] Generating packages/myCompany/MyAppInterfaceCfg.wdcontroller
[wdgen] [Info] Generating packages/myCompany/wdp/IPublicMyAppWinInterfaceView.java
[wdgen] [Info] Generating packages/myCompany/wdp/IPrivateMyAppWinInterfaceView.java
[wdgen] [Info] Generating packages/myCompany/MyAppWinInterfaceView.java
[wdgen] [Info] Generating packages/myCompany/wdp/InternalMyAppWinInterfaceView.java
[wdgen] [Info] Generating packages/myCompany/wdp/IPublicMyAppInterface.java
[wdgen] [Info] Generating packages/myCompany/wdp/IExternalMyAppInterface.java
[wdgen] [Info] Generating packages/myCompany/wdp/IPrivateMyAppInterface.java
[wdgen] [Info] Generating packages/myCompany/MyAppInterface.java
[wdgen] [Info] Generating packages/myCompany/wdp/InternalMyAppInterface.java
[wdgen] [Info] Generating packages/myCompany/MyAppInterface.wdcontroller
[wdgen] [Info] Generating packages/myCompany/wdp/IMessageMyApp.java
[wdgen] [Info] Generating configuration/Components/myCompany.MyApp/MyApp.xml
[wdgen] [Info] Generating packages/myCompany/wdp/ResourceMyApp.properties
[wdgen] [Info] Generating configuration/Applications/myCompany.MyApp/MyApp.xml
[wdgen] [Info] Generating portalapp.xml
[wdgen] [Info] Generating wd.xml
[wdgen] [Info] Generating application.xml
[wdgen] [Info] Generating application-j2ee-engine.xml
[wdgen] [Info] Generating PublicPartFileList.properties
[wdgen] [Info] Generating PublicPartFileList.xml
[wdgen] [Info] Generation finished (0 seconds)
[wdgen]
[mkdir] Created dir: C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9classes
[javac] Compiling 22 source files to C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9classes
C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwdpackagesmyCompanyMyApp.java:121: cannot access javax.ejb.EJBHome
file javaxejbEJBHome.class not found
SimpleSession mySessionBean = myBeanHome.create();
^
C:Documents and Settingsjohn.dtcLocalDevelopmentt73950E79E943BFC31907C47C958D3CA9gwdpackagesmyCompanyMyApp.java:123: cannot access javax.ejb.EJBObject
file javaxejbEJBObject.class not found
String x = mySessionBean.businessMethod();
^
2 errors
Build with ERRORS
file:C:/Documents and Settings/john/.dtc/LocalDevelopment/DCs/sap.com/john/wd/_comp/gen/default/logs/build.xml:58: Compile failed; see the compiler error output for details.
End: 25.12.2006 01:56:04 (Duration: 1 second)
Message was edited by:
John Bray
in your WD DC add Used DCs
Add Dependency
---Local Development
-
SAP-JEE
-
ejb20
Message was edited by:
hello ha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have a look _
Using EJBs in Web Dynpro (20)
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/a11ba7c8-0401-0010-23b5-f5d2394c0ac0">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/a11ba7c8-0401-0010-23b5-f5d2394c0ac0</a>
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.