Illegal dependency error on deploying GP Web Dynpro application
Hello All,
We have created a GP application (FamilyStatusChange) on NWDS 7.0.11. We are using EP. 7.0 SP11.
On deploying and running this application via NWDS
java.lang.NoClassDefFoundError: com/sap/caf/eu/gp/co/api/EngineException
When I try to checkin and activate the activity corresponding to FamilyStatusChange, the activation fails and I get the following error:
Development Component Build (2007-06-29 03:27:08)
Component name: FamilyStatusChange
Component vendor: xyz.com
SC compartment: xyz.com_SC_XYZ_PORTAL_SP11_1
Configuration: JD2_XYZSP11_D
Location: JD2_XYZSP11_D
Source code location: http://dads:51900/dtr/ws/XYZSP11/adobe.com_SC_XYZ_PORTAL_SP11/dev/active/DCs/xyz.com/FamilyStatusChange/_comp/
DC root folder: /usr/sap/JD2/JC19/j2ee/CBS/85/.B/13602/DCs/xyz.com/FamilyStatusChange/_comp/
DC type: Web Dynpro
Host: dads
DC Model check:
All used DCs are available locally
validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
validating dependency to public part "default" of DC "sap.com/tc/cmi"
validating dependency to public part "default" of DC "sap.com/tc/ddic/ddicruntime"
validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
validating dependency to public part "default" of DC "sap.com/tc/wd/webdynpro"
validating dependency to public part "default" of DC "sap.com/tc/logging"
validating dependency to public part "default" of DC "sap.com/tc/wdp/metamodel/content"
validating dependency to public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
validating dependency to public part "default" of DC "sap.com/com.sap.aii.util.misc"
validating dependency to public part "default" of DC "sap.com/com.sap.exception"
validating dependency to public part "default" of DC "sap.com/com.sap.mw.jco"
validating dependency to public part "default" of DC "sap.com/caf/eu/gp/api"
validating dependency to public part "default" of DC "sap.com/caf/eu/gp/api/wd"
ERROR: Illegal dependency: Access list does not allow use of sap.com/caf/eu/gp/api for xyz.com/FamilyStatusChange(xyz.com_SC_XYZ_PORTAL_SP11_1) with respect to public part default.
Build failed with errors.
Also when I try to add used DCs (public part "default" of DC "sap.com/caf/eu/gp/api" and public part "default" of DC "sap.com/caf/eu/gp/api/wd") to this application, I get the illegal dependency error.
Please let me know if there is any settings / access that need to be in place so that this application runs fine. Also let me know the Jar files that need to be added to make this app work.
Regards,
Vibha
Hi Romain,
I am still working on the issue. But here are my findings. I am stuck up with Basis team to deploy the missing Jar files.
I had created a GP webdynpro application in EP7 SP6. When we moved to SP11, I copied the same application from SP6 track to SP11 track. Then I got the error upon deployment. Now the catch here is the way GP related Interfaces and classes are used in SP7 and above.
The changes can be summarized as follows:
1. You need to reference to DC caf/eu/gp/api but instead of using the Public Part
default you need to use Public Part external
2. All published Interfaces now start with the prefix IGP
3. All published Classes now start with the prefix GP
Please go through the document "Implementing a Web Dynpro Callable Object which Implements the GP Interface" on SDN.
For illegal dependency issue, if the DC has already been added then you get this error. If required, remove the used DC and add it again.
Also ensure that the DCs that you are adding as Used DC in your application are deployed on the J2EE engine.If not deploy them through SDM.
My development configuration contains the following DCs:
- caf/eu/gp/api(PP - External)
- caf/eu/gp/api/wd(PP - GPWebDynproCO)
- com.sap.exception
- com.sap.security.api.sda
- tc/logging
Hope this solves your issue.
Regards,
Vibha Singhal
Message was edited by:
Armin Reichert
Similar Messages
-
Error while deploying the Web Dynpro application
HI All,
I have developed a Web dynpro application. Now when I am deploying the application I am getting an error.
Description
Jan 8, 2008 2:14:12 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[002]Deployment aborted
Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !
Can any one please help me regarding this.
Regards
NehaHi Neha,
It seems that there is problem with your SDM server. It seems that during J2EE engine configuration SDM server is not configured. Actually this configuration is done by Basis Team.
By the way try out your Server setting:
Go To:: Windows -> Preferences -> SAP J2EE Engine
[Mention the required details over there]
And Check whether you are getting Active SDM Server under J2EE Engine.
Regards,
Nittin Garg -
500 internal server error while deploying a Web Dynpro application
Hi
I got the 500 internal server error while deploying the application to server.
I tried to find the log file at usr --> SAP --> SID --> JC XX --> j2EE --> Cluster --> Server 0 --> log, but no log was there.
There were structure changes in the RFC and also code change in my Web
Dynpro code.
I´m working on EP 7.
NWDS version is 7.0.1
Please help me as the production move is pending because of this.
Regards
Vineet VikramHi
Restarting the server does not help in my case.
I tried it several times.
I'm getting following error message in NWA>
Originated from: com.sapmarkets.bam.logcontroller.InvalidLogQuerySessionException: Invalid or expired log query session "1"
at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.closeLogQuerySession(LogControllerFacade.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0
Can you pl help on this.
Regards
Vineet Vikram -
Error While Deploying A Web Dynpro Appln thru NWDS
HI,
I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter a invalid SDM pwd i get some other exception. So the pwd SDM entered by me is correct.
can any one help me in solving this
regards
Nilesh TaunkHi Nilesh,
Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
1. Click on Secure store
2. Right you will find :
admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
Restart the server and try login visual admin
Deploy now...Other wise see this thread same error solved:
Re: An Deploy Problem about Credentials.
Regards
Suresh -
How to customize error mess, when an Web Dynpro application Deployed
Hi Frndz...
When we r deploying any web dynpro application , if there was any error in that WDP application its showing an error page the list of errors with HOST name n patch level n OS details n so many n with the line number of that error in the code.. Normally.
But as my requirement i need to restrict the HOST,OS ,PATCH details in this list to avoid the security issues.
If anybody have any idea plz share with me...
Regards
RajeshHi..
Thank u boss, ur reply was very helpfull to sort out our requirment.
Regrads
Rajesh -
SDM failed when deploying a Web Dynpro application
SDM failed when deploying a Web Dynpro application - I get the following error message:
Sep 19, 2006 2:25:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : eix-blade-011
SDM port : 50118
URL to deploy : file:/D:/DOCUME1/AMRM1.AZI/LOCALS1/Temp/temp43621sap.comwelcome.ear
Deployment exception : Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011
Inner exception was :
Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011Amr Azim,
You must have logged in thru a dedicated connection to any server through say VPN before deploying.This way the sdm uses the same login as that of already establised connection.
So 'sign of' all connections to any servers before deploying and redeploy your application.Here you will be prompted to supply the sdm password and deployment shall proceed. -
I am getting a error while executing the Web Dynpro Application Page.
Hi All,
I am getting a Error while executing a web dynpro application :::
: Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component: Z_WEP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
I have checked this error description in ST22 :
What happened?
The exception 'CX_WDR_RT_EXCEPTION' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_WDR_CLIENT_APPLICATION=====CP' has to be
terminated.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_WDR_RT_EXCEPTION', was not caught
and
therefore caused a runtime error.
The reason for the exception is:
Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered. Component:
Z_XXP_PERSONAL_DATA, View: OVERVIEW, Window: Z_XXP_PERSONAL_DATA
Can u plz help me regarding this error.
Thanks,
Deepika>Navigation in Phase WDDOMODIFYVIEW Cannot Be Triggered
Looks to me like you are trying to fire a navigation plug within WDDOMODIFYVIEW. According to the rules of the WD Phase Model this is not allowed. -
How to display the error message during the web dynpro application runtime
hi,
I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
But when i do the same on server-2,there just show something like:
500 Internal Server Error
SAP NetWeaver Application Server 7.00/Java AS 7.00
Failed to process request. Please contact your system administrator.
but the server-1 will stop the j2ee engine.
how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
Appreciate your inputs...
(Note:server-1 and server-2 have same software version)
Edited by: BingLin Zhong on Feb 18, 2008 2:13 AMThe Sap-Notes 962319:
1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
If it is undefined, proceed with the next step.
If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
Always consider restarting the system after making changes on the settings.
It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again. -
Error while accesing ABAP web dynpro application
Hi Experts,
We are getting warning symbol on web page status bar, when we are accessing the ABAP web dynpro application
only first page of application is getting loaded and when we click on page it is showing error on status bar and we can perform any thing.
once we double click on warning icon,
below details are coming:
Line: 1491
Char: 3
Error: Object Expected
Code: 0
URL: url of the ABAP web dynpro application
This scenario is occuring for many ABAP WD application for a client.
Please guide how to solve this issue?
Thanks!
PiyushHi
First try a very simple application with nothing in it just one text saying Hello World
Run it and see what happens.
Also check if your url uses FQDN name. something like https:
company.name.co:50000\.......
If you do not use the FQDN it will always show a script error on the bottom and some functions will not work e.g
dropdowns.
regards
Yuval. -
HTTP 500 internal server error while starting abap web dynpro application
Hi there,
i have some problems concerning my web dynpro abap configurations in the system. When i start an application the browser appears and displays the http 500 internal server error. The required icf nodes are activated, as far as i know. the following properties are set:
hostname: aet
port: 8000
The generated url for the web dynpro application looks as follows:
http://aet.ls3001:8000/sap/bc/webdynpro/sap/zwdr_test?sap-language=EN
Maybe anybody of you out there has an idea for that situation.
Thanks for your afford and kind regards,
AlbertHi Ulli,
the error message says:
UNKNOWN HOST
Description: Unable to locate the server named "aet.ls3001" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.
So the problem is the hostname.
When i replace the hostname with the ip of the server, the following error occures:
COULD NOT CONNECT
Description: Could not connect to the server "10.18.187.9".
But with SAPLogon, its possible to connect on the server by filling in the ip adress.
Kind regards,
Albert -
Error using tabs in Web Dynpro application
Hi all,
I am working on a web Dynpro application where I want to use "tabs" to display different vendor details, basically I need two tabs one for header data, one for address data. What I did is I created a group and there created the element for the user to enter the vendor number and also created a button and binded it with the BAPI, now I created a tab using tabstrip and then inserting the tab and adding the element to the tab (in my case i m using the table type), once I finish this and try to do the syntax chek i am getting this error: "ACC: Element "TAB" does not have a header"
Can you please help me with this?
Thanks,
RajatLooks like i was missing some step... I deleted everything and then re created and this time it works.
-
Error message display in web dynpro application?
Hi All,
In my web dynpro application I am displaying error messages but the focus does not go to the field where error occured and also if I click on the error message it does not lead to the place of error.
And also when I navigate to another view the error message does not go.
Below is my code:
* report message
DATA err1_text TYPE syst-msgv1.
err1_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
CALL METHOD lo_message_manager->report_t100_message
EXPORTING
msgid = 'ZAA'
msgno = '005'
msgty = 'E'
p1 = err1_text
RECEIVING
message_id = lo_text.
Please suggest me the way to do it.
Thanks & Regards
ArchanaHi,
I got your point.. in the BIND_TABLE( set_intiail_elemts = abap_true) change this to ABAP_FALSE.
Because of this you are gettng the intiial values. Eventhough your table has no BALNK/space records.
bind a single element
node->bind_table(
new_items = lt_year_list
set_initial_elements = abap_true ).
change as
bind a single element
node->bind_table(
new_items = lt_year_list
set_initial_elements = abap_false ).
You can use this code - I have tjhe dropdwon for projects event I'm doing the same.
navigate from <CONTEXT> to <PROJECT> via lead selection
lo_nd_project = wd_context->get_child_node( 'PROJECT' ).
***Gets the selected project id from drop down
if lo_nd_project is not initial.
CALL METHOD lo_nd_project->GET_LEAD_SELECTION
RECEIVING
ELEMENT = lo_el_project.
get all declared attributes
if lo_el_project is not initial.
lo_el_project->get_static_attributes(
IMPORTING
static_attributes = ls_project ).
change your code to
lo_nd_year_list = wd_context->get_child_node( name = wd_this->wdctx_year_list ).
***Gets the selected project id from drop down
if lo_nd_year_list is not initial.
CALL METHOD lo_nd_year_list->GET_LEAD_SELECTION
RECEIVING
ELEMENT = lo_el_year_list .
IF lo_el_year_list IS NOT INITIAL.
get single attribute
lo_el_year_list->get_attribute(
EXPORTING
name = `YEAR`
IMPORTING
value = lv_year ).
Regards,
Lekha. -
Got reading error when deploying a web Dynpro project
Hi everyone,
I'm working on NWDS 7.1 CE. After I synchronized a project (using the "Create Project" option), then Build and Deploy it under the Development Infrastructure perspective, I can run it by choosing the "Run" option of the web Dynpro project's application. But once I chose "Deploy new arcihve and run", I got the following error message:
[ERROR CODE DPL.DC.3095] A reading error occurred while loading the SDU 'D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/3888/dow.comgcacmpprofitcenterui.ear'.; nested exception is:
com.sap.engine.services.dc.util.readers.sdu_reader.SduReaderException: [ERROR CODE DPL.DC.3388]
The specified file D:/usr/sap/DW1/J00/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/3888/dow.com~gca~cmp~profitcenter~ui.ear is not a valid SAP deployable unit. In case it is Java Enterprise application, please convert it to SAP compatible deloyable unit first.
Additional information: 'The information about the development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation is missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
Does anyone know what happens here? What's the difference of the Build/Deploy commands under Web Dynpro perspective and under Development Infrastructure perspective? After I made changes to the project, can I just deploy it under the Development Infrastructure perspective?
Thanks,
JamesHi Nilesh,
Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
1. Click on Secure store
2. Right you will find :
admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
Restart the server and try login visual admin
Deploy now...Other wise see this thread same error solved:
Re: An Deploy Problem about Credentials.
Regards
Suresh -
Problem deploying sample web dynpro application.
I am not able to deploy and run a sample code of Web Dynpro. It gives the following error.
<b>Caught exception while checking the login credentials for SAP J2EE Engine. Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Access Denied.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
</b>
I am able to log in to SDM using the same password but not deploy the code.
I have also tried restarting the server, SDM.Hi,
Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
1. Click on Secure store
2. Right you will find :
admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
Restart the server and try login visual admin
Now you deploy.... Otherwise see this thread same problem but solved.
Re: An Deploy Problem about Credentials.
Regards
Suresh -
Error when debugging the Web DynPro application-Flight Example
Hi all,
I am trying to execute the Flight Application example.
In the Search View I have entered City from and to and getting only one record in the table control as output in Result View irrespective of any cities.
I checked with SAPR/3 but it is showing more records.
For finding the error I tried to DEBUG the application.starting the DEBUG immediately I am getting the error REMOTE VM NOT CONNECTED.I am trying to solve this error to Starting the DEBUG.
If any tips to solve this error in DEBUG mode and what is the reson the other records are not showing in the output Result view.
Thanks in Advance.
Regards,
RamHi,
This is clearly a version imcompatibility issue ,
check below link :
/message/9597673#9597673 [original link is broken]
Please do some search on sdn before posting the questions. as the answer is already available.
Regards
Deepak
Maybe you are looking for
-
Is there a way to tighten a text bounding box?
Hey all, I've looked before but never found a definitive answer to this question: Is there a way to tighten the text bounding box without converting it to outlines? I work for a screen printer, and want to figure out a way to tighten the bounding box
-
Error while checking configuration for adobe
Hi, when iam checking this with below steps 1. Log on to your SAP Net Weaver AS ABAP. 2. Call transaction SA38 and enter the name FP_TEST_00. 3. Choose Execute (F8). A dialog box is displayed. 4. Enter FP_TEST_00 in the field Form. This is displayed
-
Sent step by step apdu command to load cap file into javacard
Dear All, I have log file about process loading cap file into card: Loading "E:\Sample.cap" ... T - 80F28000024F00 C - 08A000000003000000019E9000 ISD AID : A000000003000000 T - 80E602001407A000000132000108A00000000300000000000000 C - 009000 T - 80E80
-
Can't move pictures between folders in a library
For some reason I cannot drag-move pictures selected in the filmstrip or in the grid view to another folder in the library folder tree.Clicking on a picture in the filmstrip and dragging to another folder does not produce the familiar hand associated
-
Can one profit center be attached to two profit center groups?
Hi Can one profit center be attached to two profit center groups? how ? Regards Rakesh