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
Similar Messages
-
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. -
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 -
A problem when start web dynpro application....
each time I start web dynpro application, I always be asked to provide username and password,
but one of my colleague was only ased that for the first time.......
it puzzled me very much, anybody helps me out?the box is checked by default , isn't it.......
but it seems that the checkbox is not work.....i still have to asked to provide username/password
thanks for your answer.. -
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,
VibhaHi 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 -
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 -
Problem with starting the Web Dynpro Application
Hello,
I have a problem with my web dynpro application, which is in our SAP Portal. We have three different systems (development, test, production). In production always the follewing error message occurs:
The URL https://zsil2401.servers.wacker.corp:9004/sap/bc/webdynpro/sap/ZPLM_EN_FORM_300MM/ was not called due to an error.
Note
The following error text was processed in the system P1A : is not a valid attribute type.
The error occurred on the application server zsil2401_P1A_04 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GETATTRIBUTE_RTTI of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: INIT_ATTRIBUTES of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: CREATE_FROM_STRUCT of program CL_WDR_CONTEXT_NODE_INFO======CP
Method: IFWDR_RG_CTRL_HANDLE~INIT_CONTEXT of program SAPLWDR_RG_GENERATED_SRC_API
Method: IFWDR_INTERNAL_API~INIT_CONTEXT of program SAPLWDR_RG_PROXY_FACTORY
Method: CONSTRUCTOR of program /1BCWDY/35DSOWFU6YQV6I81U8VG==CP
Method: IF_WDR_CLASSLOADER~GET_COMPONENT_CONTROLLER of program /1BCWDY/35DSOWFU6YQV6I81U8VG==CP
Method: CONSTRUCTOR of program CL_WDR_DELEGATING_COMPONENT===CP
Method: CONSTRUCTOR of program CL_WDR_CLIENT_COMPONENT=======CP
Method: CONSTRUCTOR of program CL_WDR_CLIENT_APPLICATION=====CP
Some User get this message also in test an development. What could be the reason?
Note: Nothing has changed in coding or context.....this error occurs without any changements
Thanks for your help
Best Regards
MartinHi,
May be you can put an external breakpoint in the method "_get_attribute_rtti"(of class CL_WDR_CONTEXT_NODE_INFO).
From that you can find out which attribute is causing the dump , and try to solve the issue . May be some data dictionary object is not transported to production.(Assuming that you have permission to put breakpoints in production system..:))
Aditya. -
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 -
Error when web dynpro application is deployed
Hi,
I get this error when i deploy the web dynpro application
Could you please help to know wat it is about ? my application is extremely simple hello world application.
java.lang.ClassNotFoundException: helloworld.wdp.InternalHelloworld -
Loader Info -
ClassLoader name: [local/helloworld] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tc~cmi Resources: D:\usr\sap\ID6\DVEBMGS00\j2ee\cluster\server0\apps\local\helloworld\webdynpro\public\lib\app.jar Loading model: {parent,references,local} -
thanks......Hi Murtuza,
I have done it.
Reload means I closed and opened the project
but still i get the error
this time it also says negative cache
The initial exception that caused the request to fail, was:
java.lang.ClassNotFoundException: helloworld.wdp.InternalHelloworld Found in negative cache -
Loader Info -
ClassLoader name: [local/helloworld] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tc~cmi Resources: D:\usr\sap\ID6\DVEBMGS00\j2ee\cluster\server0\apps\local\helloworld\webdynpro\public\lib\app.jar Loading model: {parent,references,local} - -
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 -
Errors in While trying to Deopy Web Dynpro Application
Hi,
I have NetWeaver 2004S in My local System. I am facing one problem while deploying that Web Dynpro Application from NWDS. Error is pasted below. But i can deploy EP Application. I am facing the same problem when i tried to Deploy from Remote GUI.
Can anyone help me in fixing this problem.
Thanks,
Sridhar
<u>Exception i got while deploying.</u>
Starting Deployment of SampleWD
Aborted: development component 'SampleWD'/'local'/'LOKAL'/'0.2006.06.05.11.29.10':
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: [H1B-2F241-HMY] with user name: [Administrator] 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)
Deployment of SampleWD finished with Error (Duration 2473 ms)Hi Sridhar,
Please follow the steps below:
1. Open ConfigTool ( drive:\usr\sap\J2E (your instance)\JC01\j2ee\configtool
2. Go to Secure Store and change the password for the property admin/password/J2E (This password should same as the one you are trying to login to portal)
3. Click Add
4. Click Save and restart your server.
Should be able to deploy your components.
Happy deploying
Best Regards,
Shiva -
Basic question on a web dynpro application
Hi All,
I am new to NWDS 2004 and I just executed my first web dynpro application that is on https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating your first web dynpro application.pdf
I have couple of questions
1. when i click the back button the text that was entered in the Start view is visible even after I hit the back button in the result view. Can you tell me how to keep the input field empty in the start view after hitting back button?
2. After deploying the Web Dynpro application, where from the Portal, can i assign this web dynpro application to a user .
Thank you
Regards
LukeTry putting adding this code to your onActionBack method.
public void <b>onActionBack</b>(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionBack(ServerEvent)
<b>String headerText = " ";
wdContext.currentContextElement().setHeaderText(headerText);</b>
wdThis.wdFirePlugToStartView();
//@@end
REgards,
RIch Heilman -
How to transport web dynpro applications to QA.
Hi All,
I am requred to transport the portal objects from Dev to QA. THe portal has about 3 web dynpro applications. Overall there are only few objects to be transported and JDI is not used.
Now if I make a EPA file and upload it in QA will the web dynpro applications work? If not, what are the steps needed to make it functioning, please advice.
Thanks for your help.
Regards
SureshHi Suresh.
I think the easiest way is to deploy the Web Dynpro application at QA and to create a transport package of the PCD elements.
That way you are in control of what is deployed and what is not deployed.
Another solution might be to check the 'Include all dependent objects', but be careful to select 'None' in the overwrite dropdown box when importing. Or else standard SAP templates will be overwritten.
Best regards,
Jacob -
Problem deploying Web Dynpro Application Definition
Hi,
I have written a Web Dynpro and then deployed it to an EP6 NW04 server without first defining the Web Dynpro Application (silly me, I know - how could I do such a thing?). Anyway, afterwards, I created the Web Dynpro Application definition, but no matter how many times I redeploy, it does not add it to the Web Dynpro now sitting on the server.
Können Sie mir bitte helfen?
MartinHi
Martin,
Although server is being maintained by third part(one option is though visual admin since you can't access it) other option is use youe web browser with url http://your server IP address:50000/index.html u will find webdynpro link as mentioned below
<b><u>Web Dynpro</u></b>
Web Dynpro is a User Interface technology available within the SAP NetWeaver Developer Studio.
Various Web Dynpro tools provide administrators and application developers with performance measurement and application administration capabilities. The Web Dynpro runtime is already deployed.
Now Click on <b><u>Web Dynpro </u></b> link
you will find Content administrato and web Dynpro administrator u will b directed to login page after entering with UID and passwd u can see all deployed applications ( u can check ur application) and details...
I hope this may help u..
RK -
Cannot deploy Web dynpro application from NWDS
Hi,
I am new to EP. I created a web dynpro application in nwds and tried to deploy it. But it gives the following error .
Settings
SDM host : nw04
SDM port : 50118
URL to deploy : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
Result
=> deployment aborted : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
Aborted: development component 'WelcomeWebDynproprj'/'local'/'LOKAL'/'0.2007.05.02.19.35.01'/'0':
<b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool</b>. For more information, see SAP note 701654.
com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
I have even configured J2EE server in the nwds through preferences. I have used the default passwords during installing sneak preview.
What should i do to deploy my application successfully??????My Server settings are fine in preferences of NWDS. Every thing is showing green
I get the same problem even when i delpoy through SDM.
This is the error when i deploy through SDM
Deployment started Thu May 03 06:27:27 PDT 2007
===========================================================================
Starting Deployment of MyFirstWebDynProPrj
Aborted: development component 'MyFirstWebDynProPrj'/'local'/'LOKAL'/'0.2007.04.14.22.37.46'/'0':
<b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool.</b> For more information, see SAP note 701654.
com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: <b>Wrong security credentials detected while trying to obtain connection to the J2EE Engine.</b>
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
Deployment of MyFirstWebDynProPrj finished with Error (Duration 6656 ms)
It seems like a configuration issue in SAP J2EE Engine Config Tool.What should i do.
Highest points will be awarded if some one can help me in this
Maybe you are looking for
-
SQL developer online data move
Hi, I am using SQL developer 2.1 to migrate tables from Sybase 12 database to oracle 11g. I have used online data move option for moving sybase data into oracle tables, but even after data move is completed not all rows have been moved from sybase ta
-
The Below piece of code working fine and its writting the log in to LogOutput file. import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; private static Log logger = LogFactory.getLog(RequestAction.class); logger.info("
-
Hi All, I have a doubt with the ABAP Proces types used in PCs. In one of our PCs, we have a ABAP process for posting Sales files on the appln server based on the periods every month. As for the vaiarnt filed,we have a variant but our variant has no v
-
CSS Mill for Portlet Border Customizations
Can someone let me know if this is a bug: I created a new template in <PT_HOME>\ptimages\imageserver\plumtree\common\public\css. All I did was copy and rename one that was already there. I tried using platPortletBorder to set the portlet borders = 0.
-
Hi, I have recently upgraded from a Canon 20D to a Canon 70D. Now my CS5 states that the raw files are not supported. How do I add the 70D as a supported camera? I prefer using the raw editor from Bridge/PS to the software from Canon which will conve